Created
February 4, 2013 15:55
-
-
Save neuro-sys/4707599 to your computer and use it in GitHub Desktop.
Limbo main loop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00453FB0 > 83EC 1C SUB ESP,1C | |
| 00453FB3 . 53 PUSH EBX | |
| 00453FB4 . 55 PUSH EBP | |
| 00453FB5 . 56 PUSH ESI | |
| 00453FB6 . 8B35 90CC8A00 MOV ESI,DWORD PTR DS:[<&USER32.PeekMessa>; USER32.PeekMessageA | |
| 00453FBC . 57 PUSH EDI | |
| 00453FBD . 6A 01 PUSH 1 ; /RemoveMsg = PM_REMOVE | |
| 00453FBF . 6A 00 PUSH 0 ; |MsgFilterMax = WM_NULL | |
| 00453FC1 . 6A 00 PUSH 0 ; |MsgFilterMin = WM_NULL | |
| 00453FC3 . 6A 00 PUSH 0 ; |hWnd = NULL | |
| 00453FC5 . 8D4424 20 LEA EAX,DWORD PTR SS:[ESP+20] ; | | |
| 00453FC9 . 50 PUSH EAX ; |pMsg | |
| 00453FCA . 8BE9 MOV EBP,ECX ; | | |
| 00453FCC . FFD6 CALL ESI ; \PeekMessageA | |
| 00453FCE . 85C0 TEST EAX,EAX | |
| 00453FD0 . 74 36 JE SHORT limbo.00454008 | |
| 00453FD2 . 8B3D 94CC8A00 MOV EDI,DWORD PTR DS:[<&USER32.Translate>; USER32.TranslateMessage | |
| 00453FD8 . 8B1D 98CC8A00 MOV EBX,DWORD PTR DS:[<&USER32.DispatchM>; USER32.DispatchMessageA | |
| 00453FDE . 8BFF MOV EDI,EDI | |
| 00453FE0 > 837C24 14 12 CMP DWORD PTR SS:[ESP+14],12 | |
| 00453FE5 . 74 2B JE SHORT limbo.00454012 | |
| 00453FE7 . 8D4C24 10 LEA ECX,DWORD PTR SS:[ESP+10] | |
| 00453FEB . 51 PUSH ECX | |
| 00453FEC . FFD7 CALL EDI | |
| 00453FEE . 8D5424 10 LEA EDX,DWORD PTR SS:[ESP+10] | |
| 00453FF2 . 52 PUSH EDX | |
| 00453FF3 . FFD3 CALL EBX | |
| 00453FF5 . 6A 01 PUSH 1 | |
| 00453FF7 . 6A 00 PUSH 0 | |
| 00453FF9 . 6A 00 PUSH 0 | |
| 00453FFB . 6A 00 PUSH 0 | |
| 00453FFD . 8D4424 20 LEA EAX,DWORD PTR SS:[ESP+20] | |
| 00454001 . 50 PUSH EAX | |
| 00454002 . FFD6 CALL ESI | |
| 00454004 . 85C0 TEST EAX,EAX | |
| 00454006 .^75 D8 JNZ SHORT limbo.00453FE0 | |
| 00454008 > 5F POP EDI | |
| 00454009 . 5E POP ESI | |
| 0045400A . 5D POP EBP | |
| 0045400B . B0 01 MOV AL,1 | |
| 0045400D . 5B POP EBX | |
| 0045400E . 83C4 1C ADD ESP,1C | |
| 00454011 . C3 RETN | |
| 00454012 > 5F POP EDI | |
| 00454013 . 5E POP ESI | |
| 00454014 . C645 05 01 MOV BYTE PTR SS:[EBP+5],1 | |
| 00454018 . 5D POP EBP | |
| 00454019 . 32C0 XOR AL,AL | |
| 0045401B . 5B POP EBX | |
| 0045401C . 83C4 1C ADD ESP,1C | |
| 0045401F . C3 RETN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment