挂钩Windows API(11) push offset old_protect lea eax,[esi+014h] push [eax] lea eax,[esi+00Ch] push [eax] push [esi] call VirtualProtect ;恢复页保护属性free_mem: push MEM_RELEASE push 0 push esi call VirtualFree ;释放内存do_sleep: push 5000 call Sleep push 0 call ExitProcessnew_sleep: ret 004hend start第二次调用Sleep的结果是这样: 004010A4: 6888130000 push 000001388h 004010A9: E80A000000 call Sleep Sleep: ;这里是跳转到IAT里的地址 004010B8: FF2514204000 jmp dword ptr [000402014h] tabulka: 00402014: 79 67 E8 77 6C 7D E8 77 Kernel32.Sleep: 77E86779: E937A95788 jmp 0004010B5h new_sleep: 004010B5: C20400 ret 004h