Function at 0x407dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x430fd0]
push esi
test eax, eax
push edi
jge 0x407de8
mov eax, dword [0x443100]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [0x443100]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.00402880
mov eax, dword [0x443100]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
add esp, 8
lea edx, [esp + 0x18]
push edx
push eax
call edi
mov edx, dword [0x443100]
lea ecx, [esp + 0x20]
push ecx
push edx
call edi
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00402880
mov esi, dword [ebp + 8]
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00406210
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00402880
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push esi
call edi
lea eax, [esp + 0x20]
push eax
push esi
call edi
lea ecx, [esp + 0x28]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00402880
add esp, 8
lea eax, [esp + 0x28]
lea ecx, [esp + 8]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x408034
mov ecx, dword [0x443100]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x18]
lea eax, [esp + 8]
push edx
push eax
call fcn.00402880
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
add esp, 8
lea ecx, [esp + 0x18]
push ecx
push esi
call edi
lea edx, [esp + 0x20]
push edx
push esi
call edi
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.00402880
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00406210
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp eax, ecx
jle 0x407fd5
mov ecx, dword [0x50387c]
mov edx, dword [0x503878]
push ecx
push edx
push esi
call fcn.00402820
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 0xc
inc ecx
cmp eax, ecx
jg 0x407f83
cmp eax, dword [esp + 0x30]
jge 0x407f83
mov edx, dword [0x50387c]
mov eax, dword [0x503878]
push edx
push eax
push esi
call fcn.00402820
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 0xc
inc ecx
cmp eax, ecx
jle 0x407f83
mov edx, dword [esp + 0xc]
mov eax, dword [0x50387c]
mov ecx, dword [0x503878]
push 5
push 0
push 0
push edx
push eax
push ecx
push esi
call fcn.00402820
mov edx, dword [0x443100]
add esp, 0xc
push eax
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffff
jmp 0x408039
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp ecx, edx
jle 0x407fd9
mov edx, dword [0x50387c]
mov eax, dword [0x503878]
push edx
push eax
push esi
call fcn.00402820
mov ecx, eax
mov eax, dword [esp + 0x14]
add esp, 0xc
inc ecx
cmp eax, ecx
jg 0x407fd9
fld qword [0x503888]
fsub qword [0x503878]
mov edx, dword [esp + 0xc]
push 5
push 0
push 0
push edx
fsubr qword [0x4fb550]
sub esp, 8
fstp qword [esp]
jmp 0x408018
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x30]
jge 0x408030
mov ecx, dword [0x50387c]
mov edx, dword [0x503878]
push ecx
push edx
push esi
call fcn.00402820
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
cmp ecx, eax
jle 0x408030
mov eax, dword [esp + 0xc]
mov ecx, dword [0x50387c]
mov edx, dword [0x503878]
push 5
push 0
push 0
push eax
push ecx
push edx
push esi
call fcn.00402820
add esp, 0xc
push eax
mov eax, dword [0x443100]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0xffffffffffffffff
jmp 0x408039
push 0x9004
call fcn.00408910
mov ecx, dword [0x443100]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
pop edi
pop esi
mov esp, ebp
pop ebp
ret