Function at 0x408c30
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [0x420ff8]
mov ecx, dword [0x421014]
push ebp
push esi
mov esi, dword [eax + ecx*4 + 0x9e]
mov eax, dword [0x42105c]
xor ebp, ebp
push edi
cmp eax, ebp
mov dword [esp + 0xc], 1
je 0x408c66
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x42105c], ebp
mov edx, dword [0x421084]
push ebx
push edx
call fcn.00407e90
mov eax, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
add esp, 4
cmp eax, ebp
je 0x408d99
mov edi, dword [esi + 0x20]
cmp edi, 0xffffffff
je 0x408c92
push edi
jmp 0x408c9b
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [0x421084]
mov dword [0x42105c], eax
mov eax, dword [esi + 0x34]
xor ecx, ecx
mov cx, word [esi + 0x2e]
push 0xffffffffffffffff
add eax, esi
push edi
push eax
push ecx
push edx
call fcn.00407ce0
mov eax, dword [0x421014]
push ebp
push eax
xor edi, edi
call fcn.00407970
mov ebp, eax
add esp, 0x1c
cmp word [ebp], 0x3c
je 0x408d14
push 2
push ebp
call fcn.00411d78
add esp, 4
add eax, 8
push eax
call fcn.00411e3e
mov edi, eax
push 0x41c754
push edi
call fcn.00411cea
push ebp
push edi
call fcn.00411cc0
push str.__b_
push edi
call fcn.00411cc0
add esp, 0x20
mov ebp, edi
mov ecx, dword [0x421084]
push ebp
push 0x416
push ecx
call fcn.00409220
mov edx, dword [0x421014]
push 1
push edx
call fcn.00407970
push eax
mov eax, dword [0x421084]
push 0x417
push eax
call fcn.00409220
add esp, 0x20
test edi, edi
je 0x408d55
push edi
call fcn.00411d95
add esp, 4
mov ecx, dword [esi + 0x1c]
mov edx, dword [0x420ff8]
mov eax, dword [esi + 0x10]
push 4
push ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [0x421084]
sub ecx, eax
push ecx
push 0
push eax
push 0
push edx
call ebx
mov eax, dword [0x421084]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov ecx, dword [0x421084]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebp, ebp
jmp 0x408da9
mov edx, dword [0x421084]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
push edx
call edi
mov eax, dword [0x421060]
cmp eax, ebp
je 0x408dbf
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [0x421060], ebp
cmp dword [esi + 0x10], ebp
je 0x408e19
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
jne 0x408dd4
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x421060], eax
mov eax, dword [0x420ff8]
push 4
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x78]
mov eax, dword [0x421080]
sub ecx, edx
mov edx, dword [esi + 0x10]
push ecx
push edx
push ebp
push ebp
push ebp
push eax
call ebx
mov ecx, dword [0x421080]
push 5
push ecx
call edi
mov edx, dword [0x421080]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x408e22
mov eax, dword [0x421080]
push ebp
push eax
call edi
mov ecx, dword [0x421084]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
push ecx
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
test eax, eax
je 0x408e48
mov edx, dword [0x421084]
push 1
push ebp
push edx
call esi
mov eax, dword [0x421080]
push eax
call edi
test eax, eax
je 0x408e60
mov ecx, dword [0x421080]
push 1
push ebp
push ecx
call esi
mov edx, dword [esp + 0x14]
mov eax, dword [0x421090]
mov ecx, dword [0x421088]
push ebp
push edx
push eax
push 0x70
push ecx
mov dword [0x421030], ebp
call dword [0x4211c0]
mov esi, eax
cmp esi, ebp
je 0x408ef6
cmp dword [0x421030], ebp
jne 0x408ee6
mov edi, dword [sym.imp.USER32.dll_RedrawWindow]
mov al, byte [0x42103b]
xor edx, edx
test al, al
sete dl
push edx
call fcn.00408b20
mov eax, dword [0x421030]
add esp, 4
cmp eax, ebp
jne 0x408ee6
mov al, byte [0x42103b]
test al, al
je 0x408e95
cmp dword [esp + 0xc], ebp
je 0x408ed0
push 0x180
push ebp
push ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
call fcn.00406f50
test eax, eax
jne 0x408ede
call fcn.00406200
cmp dword [0x421030], ebp
je 0x408e95
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x421030]
cmp eax, ebp
jne 0x408efb
mov eax, 2
pop edi
pop esi
pop ebp
pop ecx
ret