BITS 32 SECTION .text EXTERN _real_debug_handler GLOBAL _debug_handler _debug_handler: pusha mov eax,[esp+36] call _real_debug_handler popa ret 4