Function at 0x477ed8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x477ee0
xor eax, eax
push ebp
push 0x478113
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x24]
mov eax, dword [0x47ce68]
mov eax, dword [eax + 0x2f0]
mov edx, 0xcb
call fcn.0045f474
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 4]
mov ecx, 0x478120
call fcn.00406398
cmp dword [ebp - 4], 0
je 0x4780b5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
call fcn.00406354
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x5c]
call fcn.00406460
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00406460
cmp dword [ebp - 0x28], 0
jle 0x478036
lea eax, [ebp - 0x20]
mov edx, 1
mov cl, 1
call fcn.00405570
lea eax, [ebp - 0x3c]
call fcn.004055a0
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
call fcn.00406354
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x5c]
call fcn.00406460
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406460
lea edx, [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.004054fc
cmp dword [ebp - 8], 0
jne 0x477fc2
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 4]
call fcn.00406354
jmp 0x4780b5
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, 0x478130
call fcn.00406398
cmp dword [ebp - 0xc], 0
jne 0x477fee
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 4]
call fcn.00406354
jmp 0x4780b5
lea eax, [ebp - 0x44]
mov edx, dword [0x47ce7c]
call fcn.00404e18
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.00406354
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
call fcn.00406460
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
call fcn.00406460
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 4]
call fcn.00406354
cmp byte [0x47ce98], 1
jne 0x478048
mov byte [0x47cf0c], 1
jmp 0x4780b5
mov eax, dword [0x47bb18]
cmp dword [eax], 0
jne 0x47806a
mov ecx, dword [0x47bb18]
mov eax, dword [0x47bb00]
mov eax, dword [eax]
mov edx, dword [0x4769e8]
call fcn.00458e88
mov eax, dword [0x47bb18]
mov eax, dword [eax]
call fcn.00455a94
mov eax, dword [0x47bb18]
mov eax, dword [eax]
call fcn.0043fb80
push eax
call sub.user32.dll_SetForegroundWindow
push 0
mov eax, dword [0x47ce68]
call fcn.0043fb80
push eax
call sub.user32.dll_ShowWindow
push 3
mov eax, dword [0x47bb18]
mov eax, dword [eax]
call fcn.0043fb80
push eax
call sub.user32.dll_ShowWindow
mov byte [0x47cf0c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47811a
lea eax, [ebp - 0x48]
call fcn.00406354
lea eax, [ebp - 0x44]
call fcn.00404ccc
lea eax, [ebp - 0x40]
call fcn.00406354
lea eax, [ebp - 0x3c]
call fcn.004055a0
lea eax, [ebp - 0x2c]
call fcn.00406354
lea eax, [ebp - 0x24]
call fcn.00406354
lea eax, [ebp - 0x20]
call fcn.004055a0
lea eax, [ebp - 0xc]
call fcn.00406354
lea eax, [ebp - 8]
call fcn.00406354
lea eax, [ebp - 4]
call fcn.00406354
ret