Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .text:00401490 sub_401490 proc near ; CODE XREF: WinMain(x,x,x,x)+14p
- .text:00401490
- .text:00401490 WndClass = WNDCLASSA ptr -28h
- .text:00401490
- .text:00401490 sub esp, 28h
- .text:00401493 mov eax, lpWindowName
- .text:00401498 push ebx
- .text:00401499 push esi
- .text:0040149A push edi
- .text:0040149B mov esi, ds:FindWindowA
- .text:004014A1 push ebp
- .text:004014A2 push eax ; lpWindowName
- .text:004014A3 push 0 ; lpClassName
- .text:004014A5 call esi ; FindWindowA
- .text:004014A7 test eax, eax
- .text:004014A9 jz short loc_4014B8
- .text:004014AB mov eax, 1
- .text:004014B0 pop ebp
- .text:004014B1 pop edi
- .text:004014B2 pop esi
- .text:004014B3 pop ebx
- .text:004014B4 add esp, 28h
- .text:004014B7 retn
Add Comment
Please, Sign In to add comment