Function at 0x65648c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
mov dl, 1
mov eax, dword [0x5bf788]
call fcn.005bffbc
mov dword [0x724b88], eax
mov eax, dword [0x700c54]
mov dword [ebp - 0xc], eax
push 0x6566c4
push 0xa
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x47bb48]
call fcn.0049c0dc
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [0x724b88]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 0x20]
call fcn.004072c8
mov dl, 1
mov eax, dword [0x4d00a0]
call fcn.004d90b0
mov dword [0x724b8c], eax
mov eax, dword [0x724b88]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [0x724b8c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x724b88]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [0x724b8c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [0x724b88]
push eax
mov eax, dword [0x724b8c]
call fcn.004d99e4
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x44]
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x655bb8
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
push 0x6566ec
mov eax, dword [ebp - 0x38]
push eax
call sub.user32.dll_LoadIconW
mov dword [ebp - 0x34], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorW
mov dword [ebp - 0x30], eax
push 0
call sub.gdi32.dll_GetStockObject
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, 0x656700
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x48]
push eax
call sub.user32.dll_RegisterClassW
test ax, ax
inc dword [0x6f9db8]
mov eax, dword [0x724b88]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [0x724b88]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x6fdc50]
mov eax, dword [eax]
call fcn.00587254
sub eax, dword [ebp - 0x18]
sar eax, 1
jns 0x6565c7
adc eax, 0
mov dword [ebp - 0x10], eax
mov eax, dword [0x6fdc50]
mov eax, dword [eax]
call fcn.0058724c
sub eax, dword [ebp - 0x1c]
sar eax, 1
jns 0x6565e0
adc eax, 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
mov edx, 0x656710
mov eax, 0x656700
mov ecx, 0xcf0000
call fcn.0041134c
mov dword [ebp - 4], eax
mov edx, 0xfffffff0
mov eax, dword [ebp - 4]
call fcn.00410f7c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, 0xc00000
sub eax, 0x800000
sub eax, 0x40000
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, 0xfffffff0
mov eax, dword [ebp - 4]
call fcn.004111c8
mov eax, dword [0x6fd678]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_UpdateWindow
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x65668c
lea eax, [ebp - 0x64]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x64]
push eax
call sub.user32.dll_DispatchMessageW
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call sub.user32.dll_GetMessageW
test eax, eax
jne 0x65667a
mov eax, dword [0x724b88]
call fcn.004072c8
mov eax, dword [0x724b8c]
call fcn.004072c8
pop ebx
mov esp, ebp
pop ebp
ret