Function at 0x402de0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x430fd4]
sub esp, 0x20
test eax, eax
jne 0x402df6
mov dword [0x430fd4], 0xffffffff
mov eax, dword [0x443098]
push esi
push edi
mov edi, dword [esp + 0x30]
push eax
mov ecx, dword [edi]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [0x430fd4]
mov esi, dword [esp + 0x2c]
test al, 1
je 0x402e4f
lea edx, [esp + 0x18]
push ebx
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [0x4fb310]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [edi]
mov ebx, eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x430fd4]
pop ebx
test al, 4
je 0x402e62
push edi
push esi
call fcn.00406370
mov eax, dword [0x430fd4]
add esp, 8
test al, 8
je 0x402e75
push edi
push esi
call fcn.004048a0
mov eax, dword [0x430fd4]
add esp, 8
test al, 0x10
je 0x402e88
push edi
push esi
call fcn.004035f0
mov eax, dword [0x430fd4]
add esp, 8
test al, 0x20
je 0x402e9b
push edi
push esi
call fcn.00403a40
mov eax, dword [0x430fd4]
add esp, 8
test ah, 0x80
je 0x402ed4
mov eax, dword [0x430fd0]
test eax, eax
jl 0x402ebf
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
lea eax, [eax + edx*2]
shl eax, 4
add eax, 0x443e20
jmp 0x402ec4
call fcn.00407d40
push eax
push edi
push esi
call fcn.00403ea0
mov eax, dword [0x430fd4]
add esp, 0xc
test ah, 0x40
je 0x402eee
xor ecx, ecx
cmp eax, 0x4000
sete cl
push ecx
push edi
push esi
call fcn.00404310
add esp, 0xc
mov eax, dword [0x503874]
mov ecx, dword [0x503870]
lea edx, [esp + 8]
push edx
mov edx, dword [0x50386c]
push eax
mov eax, dword [0x503868]
push ecx
mov ecx, dword [0x503864]
push edx
mov edx, dword [0x503860]
push eax
mov eax, dword [0x50385c]
push ecx
mov ecx, dword [0x503858]
push edx
push eax
push ecx
push esi
call fcn.004027b0
mov al, byte [0x430fd4]
add esp, 0x28
test al, 0x40
je 0x402f57
mov eax, dword [0x504560]
test eax, eax
je 0x402f57
lea edx, [esp + 8]
push edx
push 0x517ba0
push edi
push esi
call fcn.00405150
add esp, 0x10
test byte [0x430fd4], 0x80
je 0x402f74
lea eax, [esp + 8]
push eax
push 0x517ba0
push edi
push esi
call fcn.00404e50
add esp, 0x10
mov eax, dword [0x430fd4]
test ah, 1
je 0x402f9b
mov eax, dword [0x504520]
test eax, eax
je 0x402f9b
lea ecx, [esp + 8]
push ecx
push 0x517ba0
push edi
push esi
call fcn.00404f80
add esp, 0x10
mov eax, dword [0x430fd4]
test ah, 2
je 0x402fc2
mov eax, dword [0x5045a0]
test eax, eax
je 0x402fc2
lea edx, [esp + 8]
push edx
push 0x517ba0
push edi
push esi
call fcn.00405fc0
add esp, 0x10
mov eax, dword [0x430fd4]
test ah, 4
je 0x402fe9
mov eax, dword [0x5045e0]
test eax, eax
je 0x402fe9
lea eax, [esp + 8]
push eax
push 0x517ba0
push edi
push esi
call fcn.00405db0
add esp, 0x10
mov eax, dword [0x430fd0]
test eax, eax
jl 0x402ffd
mov ecx, dword [0x443100]
push 1
push ecx
jmp 0x403006
mov edx, dword [0x443100]
push 0
push edx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov eax, dword [0x443130]
test eax, eax
jle 0x40302a
mov eax, dword [0x443134]
test eax, eax
jne 0x40302a
mov eax, dword [0x44311c]
push 1
push eax
jmp 0x403033
mov ecx, dword [0x44311c]
push 0
push ecx
call esi
mov eax, dword [0x443130]
test eax, eax
jle 0x403052
mov eax, dword [0x443134]
test eax, eax
je 0x403052
mov edx, dword [0x443120]
push 1
push edx
jmp 0x40305a
mov eax, dword [0x443120]
push 0
push eax
call esi
cmp word [0x44313c], 0
je 0x403071
mov ecx, dword [0x443124]
push 1
push ecx
jmp 0x40307a
mov edx, dword [0x443124]
push 0
push edx
call esi
cmp word [0x44353c], 0
je 0x403096
mov eax, dword [0x443128]
push 1
push eax
call esi
pop edi
pop esi
add esp, 0x20
ret
mov ecx, dword [0x443128]
push 0
push ecx
call esi
pop edi
pop esi
add esp, 0x20
ret