Function at 0x4041e8
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x436b04
call fcn.0042b128
sub esp, 0x44
mov eax, dword [0x446760]
push ebx
push esi
push edi
push 4
xor ebx, ebx
pop edi
mov esi, ecx
push 0x70
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 0x405cf2
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
mov ebx, str.MainWndClass
push eax
mov dword [ebp - 0x30], 0x65
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x66
push dword [0x446760]
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push 0x405923
push 0xffffffffffffffff
mov dword [esi + 0x364], eax
call dword [sym.imp.USER32.dll_SetWindowsHookA]
push str.RICHED32.DLL
mov dword [esi + 0x368], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi + 0x12c], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
mov dword [ebp - 0x14], edi
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [esi + 0x4d0]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x10], eax
call edi
mov ecx, eax
mov eax, dword [ebp - 0x10]
sub ecx, 0x28
cmp eax, ecx
jle 0x4042ca
add eax, 0xffffffd8
mov dword [esi + 0x4d0], eax
mov eax, dword [esi + 0x4cc]
push 0
mov dword [ebp - 0x10], eax
call edi
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + 0x14]
cmp edx, eax
jle 0x4042ea
add ecx, 0xffffffec
mov dword [esi + 0x4cc], ecx
mov eax, dword [esi + 0x4c8]
mov edx, dword [esi + 0x4d0]
mov ecx, dword [esi + 0x4c4]
push esi
push dword [0x446760]
sub edx, eax
push 0
push 0
push edx
mov edx, dword [esi + 0x4cc]
sub edx, ecx
push edx
push eax
push ecx
push 0xcf0000
call fcn.00405cc3
push eax
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [ebp - 0x28]
mov dword [esi + 0x10c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
call edi
sub eax, 0x28
cmp dword [ebp - 0x1c], eax
jle 0x40438c
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push 0xffffffffffffffd8
lea eax, [ebp - 0x28]
push ebx
push eax
call edi
cmp dword [ebp - 0x24], ebx
jge 0x404368
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
call edi
mov eax, dword [ebp - 0x1c]
push 1
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [esi + 0x10c]
call fcn.004174f5
add esp, 0x18
push 0x30
call fcn.0042b147
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x4043b2
push esi
push 0x407d53
push 0x2a7
mov ecx, eax
call fcn.004088b6
jmp 0x4043b4
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x158
mov dword [esi + 0x114], eax
call fcn.0042b147
pop ecx
mov dword [ebp - 0x10], eax
push 1
cmp eax, ebx
pop edi
mov dword [ebp - 4], edi
je 0x4043df
mov ecx, eax
call fcn.00407ecb
jmp 0x4043e1
xor eax, eax
push dword [esi + 0x10c]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x118], eax
call fcn.00417dc3
mov eax, dword [esi + 0x10c]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [esi + 0x114]
push eax
push eax
call fcn.004088d7
cmp dword [esi + 0x35c], ebx
je 0x404420
mov ecx, esi
call fcn.0040472c
jmp 0x40442c
mov ecx, dword [esi + 0x114]
push ebx
call fcn.004088ec
push dword [ebp + 8]
push dword [esi + 0x10c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.00405016
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4