Function at 0x4040d9
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x406894], eax
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x406898], eax
push 0xa
push dword [0x406898]
push 0
push dword [0x406894]
call 0x4040d9
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x4043a3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x406894]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x406005
push 0x1f8
push dword [0x406894]
call sub.USER32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_RegisterClassExA
push 0x190
push dword [0x406894]
call sub.USER32.dll_LoadBitmapA
mov dword [0x406128], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0x7d
push 0x13e
push 0xf3
push 0x11b
push 0x10c80000
push 0x40602d
push 0x406005
push 0x40000
call sub.USER32.dll_CreateWindowExA
mov dword [ebp - 0x50], eax
push 1
push dword [ebp - 0x50]
call sub.USER32.dll_ShowWindow
push 0x40604f
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xe
call sub.GDI32.dll_CreateFontA
mov dword [0x4060d0], eax
push 0
push dword [0x406894]
push 8
push dword [ebp - 0x50]
push 0x16
push 0xc8
push 0xf
push 0x5a
push 0x50800080
push 0
push section..data
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4068a8], eax
push 0
push dword [0x406894]
push 8
push dword [ebp - 0x50]
push 0x16
push 0xc8
push 0x28
push 0x5a
push 0x50800080
push 0
push section..data
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4068a4], eax
push 0
push dword [0x406894]
push 0
push dword [ebp - 0x50]
push 0x16
push 0x46
push 0x12
push 0x14
push 0x50000000
push 0x406057
push 0x406014
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4060d4], eax
push 0
push dword [0x406894]
push 0
push dword [ebp - 0x50]
push 0x16
push 0x46
push 0x2b
push 0x14
push 0x50000000
push 0x40605e
push 0x406014
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4060d8], eax
push 0
push dword [0x406894]
push 1
push dword [ebp - 0x50]
push 0x19
push 0x64
push 0x46
push 0x1e
push 0x50000000
push 0x406022
push 0x40601b
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4060dc], eax
push 0
push dword [0x406894]
push 3
push dword [ebp - 0x50]
push 0x19
push 0x64
push 0x46
push 0xb4
push 0x50000000
push 0x406028
push 0x40601b
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x4060e8], eax
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4060d4]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4060d8]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4068a4]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4068a8]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4060dc]
call sub.USER32.dll_SendMessageA
push 0
push dword [0x4060d0]
push 0x30
push dword [0x4060e8]
call sub.USER32.dll_SendMessageA
push dword [ebp - 0x50]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_GetMessageA
or eax, eax
je 0x40439c
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_DispatchMessageA
jmp 0x404375
mov eax, dword [ebp - 0x44]
leave
ret 0x10