Function at 0x4b9f64
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 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 0x4ba22a
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 - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00408c4c
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00404898
cmp dword [ebp - 8], 0
jne 0x4b9fe4
lea edx, [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00408c4c
xor eax, eax
push ebp
push 0x4ba132
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba240
call fcn.00404e04
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404d20
mov eax, dword [ebp - 0x30]
call fcn.004093f8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba240
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, 0x4ba24c
call fcn.00404e04
test eax, eax
jle 0x4ba076
mov edx, dword [ebp - 0x20]
mov eax, 0x4ba24c
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, 0x4ba258
mov eax, dword [ebp - 8]
call fcn.00438ce8
test al, al
je 0x4ba09e
mov dword [ebp - 0x1c], 0xf1206
jmp 0x4ba128
mov edx, dword [ebp - 8]
mov eax, 0x4ba24c
call fcn.00404e04
test eax, eax
jle 0x4ba128
mov edx, dword [ebp - 8]
mov eax, 0x4ba24c
call fcn.00404e04
mov ecx, eax
lea eax, [ebp - 8]
mov edx, 1
call fcn.00404d60
lea eax, [ebp - 0x34]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba24c
call fcn.00404e04
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404d20
mov eax, dword [ebp - 0x34]
call fcn.004093f8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 8]
mov eax, 0x4ba24c
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 - 0x38]
call fcn.004093f8
mov dword [ebp - 0x1c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba13c
cmp dword [ebp - 4], 0
je 0x4ba1fa
cmp dword [ebp - 0x10], 0xffffb1e0
je 0x4ba1fa
cmp dword [ebp - 0x14], 0xffffb1e0
je 0x4ba1fa
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00406a28
lea eax, [ebp - 0x40]
mov cl, 1
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 0x4ba1b1
cmp dword [ebp - 0x1c], 0
jne 0x4ba1b1
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 0x4ba1fa
cmp dword [ebp - 0x1c], 0xf1206
jne 0x4ba1dd
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
mov eax, dword [ebp - 4]
call fcn.004b9e6c
jmp 0x4ba1fa
push 4
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov 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 0x4ba231
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404824
lea eax, [ebp - 0x20]
call fcn.00404800
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404824
ret