Function at 0x4ba260
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404cb0
mov eax, dword [ebp - 0xc]
call fcn.00404cb0
xor eax, eax
push ebp
push 0x4ba517
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffb1e0
mov dword [ebp - 0x14], 0xffffb1e0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 8]
call fcn.00408c4c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 8]
call fcn.00404898
cmp dword [ebp - 8], 0
jne 0x4ba2e0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00408c4c
xor eax, eax
push ebp
push 0x4ba431
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404d20
mov eax, dword [ebp - 0x5c]
call fcn.004093f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.00404ac0
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00404d20
mov edx, dword [ebp - 0x20]
mov eax, 0x4ba530
call fcn.00404e04
test eax, eax
jle 0x4ba372
mov edx, dword [ebp - 0x20]
mov eax, 0x4ba530
call fcn.00404e04
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404ac0
mov ecx, eax
lea eax, [ebp - 0x20]
pop edx
call fcn.00404d60
mov eax, dword [ebp - 0x20]
call fcn.004093f8
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
test eax, eax
jle 0x4ba427
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00404d60
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00404d60
lea eax, [ebp - 0x60]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404d20
mov eax, dword [ebp - 0x60]
call fcn.004093f8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba530
call fcn.00404e04
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.00404ac0
mov ecx, eax
mov eax, dword [ebp - 8]
pop edx
call fcn.00404d20
mov eax, dword [ebp - 0x64]
call fcn.004093f8
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba43b
cmp dword [ebp - 4], 0
je 0x4ba4e7
cmp dword [ebp - 0x10], 0xffffb1e0
je 0x4ba4e7
cmp dword [ebp - 0x14], 0xffffb1e0
je 0x4ba4e7
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00406a28
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004b9de4
push 1
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebp - 0x18], 0
jne 0x4ba4b0
cmp dword [ebp - 0x1c], 0
jne 0x4ba4b0
push 6
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4ba4e7
mov dword [ebp - 0x54], 0x2c
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowPlacement
push 4
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowPos
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba51e
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00404824
lea eax, [ebp - 0x20]
call fcn.00404800
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404824
ret