Function at 0x4073a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x593e18], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, ecx
jne 0x407414
push 0x593e10
push dword [esi + 0x1c60]
call ebx
push 0x593e10
push dword [esi + 4]
call edi
test eax, eax
je 0x4073ef
push 0x593e18
push dword [esi + 4]
call edi
push 0x593e00
push dword [esi + 0x1c64]
call ebx
push 0x593e00
push dword [esi + 4]
call edi
test eax, eax
je 0x407414
push 0x593e08
push dword [esi + 4]
call edi
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [esi + 0x1c60]
movups xmmword [ebp - 0x34], xmm0
call ebx
lea eax, [ebp - 0x34]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x40743d
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 4]
call edi
cmp dword [esi + 0x78], 0
jne 0x40746d
push dword [esi + 0x5c]
mov ecx, 0x594154
push dword [esi + 0x58]
call fcn.004c21c0
cmp eax, dword [esi + 0x50]
jne 0x407461
cmp edx, dword [esi + 0x54]
jne 0x407461
xor eax, eax
jmp 0x407466
mov eax, 1
mov dword [esi + 0x78], eax
test eax, eax
je 0x407483
push 5
push dword [esi + 0x1c64]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x593e14]
jmp 0x407497
push 0
push dword [esi + 0x1c64]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x593e04]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
sub eax, edx
push 1
push eax
mov eax, dword [ebp - 0x2c]
sub eax, ecx
mov dword [ebp - 0x30], edx
push eax
push edx
push ecx
push dword [esi + 0x1c60]
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x1c60]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x1c60]
call ebx
test eax, eax
je 0x4074f7
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x1c60]
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x40750d
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
call edi
mov edi, dword [ebp - 0x24]
lea eax, [esi + 0x1518]
mov ebx, dword [ebp - 0x20]
inc edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
sub ecx, 3
add ebx, dword [esi + 0x1c68]
sub edx, 2
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
test eax, eax
je 0x407547
lea eax, [esi + 0x151c]
mov dword [ebp - 0x14], eax
jmp 0x40754e
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x1488]
test eax, eax
je 0x407563
lea eax, [esi + 0x148c]
mov dword [ebp - 0x10], eax
jmp 0x40756a
mov dword [ebp - 0x10], 0
lea eax, [esi + 0x14d0]
test eax, eax
je 0x40757f
lea eax, [esi + 0x14d4]
mov dword [ebp - 0xc], eax
jmp 0x407586
mov dword [ebp - 0xc], 0
lea eax, [esi + 0x880]
test eax, eax
je 0x40759b
lea eax, [esi + 0x884]
mov dword [ebp - 8], eax
jmp 0x4075a2
mov dword [ebp - 8], 0
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x14]
sub edx, ebx
push 1
push edx
sub ecx, edi
push ecx
push ebx
push edi
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
inc esi
cmp esi, 4
jae 0x4075ce
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
jmp 0x4075a4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005193a0
mov esp, ebp
pop ebp
ret