Function at 0x408b70
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x54
mov eax, dword [0x41eb04]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x408ba8
mov ecx, dword [0x41eb08]
push ecx
call esi
test eax, eax
je 0x408bb0
mov dword [esp + 0x20], 1
mov eax, dword [0x41eae8]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x41d06c]
mov dword [esp + 0x5c], eax
cmp ecx, ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x2c], eax
je 0x408c17
mov ecx, dword [0x41eaec]
cmp ecx, ebx
je 0x408c17
lea eax, [esp + 0x44]
push eax
push ecx
call esi
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
sub eax, edx
mov dword [esp + 0x18], eax
add edi, eax
mov eax, dword [esp + 0x3c]
mov edx, dword [0x41eaf0]
lea ecx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x30], eax
call esi
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [0x41d070]
mov ebx, dword [esp + 0x3c]
sub ebp, edx
mov dword [esp + 0x30], ebx
add edi, ebp
test eax, eax
je 0x408c73
mov eax, dword [0x41eb0c]
test eax, eax
je 0x408c73
lea ecx, [esp + 0x44]
push ecx
push eax
call esi
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x3c]
sub eax, edx
sub ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], ecx
mov eax, dword [0x41d068]
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x408cb5
mov eax, dword [0x41eaf8]
test eax, eax
je 0x408cb5
mov esi, dword [esp + 0x60]
mov edx, esi
sub edx, edi
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x41d090]
call fcn.00413618
mov ecx, 0xfffffffd
mov dword [esp + 0x14], eax
sub ecx, eax
add esi, ecx
mov dword [esp + 0x60], esi
push 9
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov ebx, dword [sym.imp.USER32.dll_DeferWindowPos]
mov esi, eax
mov eax, dword [0x41eb18]
test eax, eax
je 0x408cf3
mov ecx, dword [0x41eaf4]
test ecx, ecx
je 0x408cf3
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
sub eax, edi
push 4
push eax
push edx
push edi
push 0
push 0
push ecx
push esi
call ebx
mov eax, dword [0x41eaf0]
test eax, eax
je 0x408d0f
mov ecx, dword [esp + 0x28]
push 4
push ebp
sub edi, ebp
push ecx
push edi
push 0
push 0
push eax
push esi
call ebx
mov eax, dword [0x41d06c]
test eax, eax
je 0x408d37
mov eax, dword [0x41eaec]
test eax, eax
je 0x408d37
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push 4
push edx
push ecx
push 0
push 0
push 0
push eax
push esi
call ebx
mov eax, dword [0x41d070]
test eax, eax
je 0x408d67
mov ecx, dword [0x41eb0c]
test ecx, ecx
je 0x408d67
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push 4
push eax
push edx
mov edx, dword [esp + 0x4c]
sub edx, eax
push edx
push 0
push 0
push ecx
push esi
call ebx
jmp 0x408d6f
mov dword [esp + 0x10], 0
mov eax, dword [0x41d068]
test eax, eax
je 0x408e25
mov eax, dword [0x41eaf8]
test eax, eax
je 0x408da8
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
sub ecx, edi
push 4
push edi
sub ecx, edx
push ebp
push ecx
push 0
push 0
push eax
push esi
call ebx
jmp 0x408db0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [0x41d068]
test eax, eax
je 0x408e25
mov eax, dword [0x41eafc]
test eax, eax
je 0x408ddb
mov edx, dword [esp + 0x40]
push 4
push edi
sub edx, edi
mov edi, dword [esp + 0x18]
push ebp
sub edx, edi
push edx
push 0
push 0
push eax
push esi
call ebx
mov eax, dword [0x41d068]
test eax, eax
je 0x408e25
mov eax, dword [0x41eb00]
test eax, eax
je 0x408e25
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 3
add edi, 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x40]
add eax, 2
mov edx, dword [0x41eb00]
push 4
push eax
sub ecx, eax
mov eax, dword [esp + 0x18]
push edi
sub ecx, eax
sub ebp, edi
push ecx
push ebp
push 0xffffffffffffffff
push edx
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov eax, dword [0x41d068]
test eax, eax
je 0x408e45
mov eax, dword [0x41eb00]
test eax, eax
je 0x408e45
push eax
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [0x41eb0c]
test eax, eax
je 0x408e57
push eax
call fcn.0040ea20
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x408e99
mov eax, dword [0x41eb04]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x408e82
mov ecx, dword [0x41eb04]
push 0
push ecx
call esi
mov edx, dword [0x41eb08]
push edx
call edi
test eax, eax
je 0x408e99
mov eax, dword [0x41eb08]
push 0
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret