Function at 0x5427c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x542a30
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x390]
call fcn.00484174
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5427ff
sub eax, 4
mov eax, dword [eax]
cmp eax, 6
jge 0x542830
mov eax, dword [esi + 0x390]
mov edx, dword [eax]
call dword [edx + 0x108]
mov eax, dword [esi + 0x390]
call fcn.00466b88
mov eax, dword [esi + 0x390]
mov edx, dword [eax]
call dword [edx + 0xe8]
jmp 0x5429fd
lea eax, [ebp - 4]
mov edx, dword [esi + 0x3b0]
mov ecx, dword [0x56b8a8]
mov edx, dword [edx + ecx*4]
call fcn.00407008
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0x390]
call fcn.00484174
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x542a4c
call fcn.004072c0
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3304
push 0
mov eax, dword [0x5653dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [esi + 0x3a4]
call fcn.0046a664
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 0x3a8]
mov eax, dword [esi + 0x3ac]
call fcn.00532e40
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3408
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3548
push 0
mov eax, dword [0x5653dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
mov dl, 1
mov eax, dword [esi + 0x3a4]
call fcn.0046a664
cmp dword [0x56b8ac], 1
jge 0x54291f
inc dword [0x56b8ac]
xor edx, edx
mov eax, dword [esi + 0x390]
call fcn.004841ac
mov eax, dword [esi + 0x390]
call fcn.00466b88
mov eax, dword [esi + 0x390]
mov edx, dword [eax]
call dword [edx + 0xe8]
jmp 0x5429fd
xor eax, eax
mov dword [0x56b8ac], eax
xor edx, edx
mov eax, dword [esi + 0x3a4]
call fcn.0046a664
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3304
push 0
mov eax, dword [0x5653dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
inc dword [0x56b8a8]
mov eax, dword [esi + 0x3b0]
call fcn.004084dc
cmp eax, dword [0x56b8a8]
jle 0x5429e6
push 0x7d0
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x3b0]
mov ecx, dword [0x56b8a8]
mov edx, dword [edx + ecx*4]
call fcn.00407008
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x38c]
call fcn.004841ac
mov eax, dword [esi + 0x390]
mov edx, dword [eax]
call dword [edx + 0xe8]
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3408
mov eax, dword [0x5653dc]
mov eax, dword [eax]
call fcn.004b3548
push 0
mov eax, dword [0x5653dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [esi + 0x3a4]
call fcn.0046a664
jmp 0x5429fd
xor edx, edx
mov eax, dword [esi + 0x3a4]
call fcn.0046a664
mov dword [esi + 0x2b8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x542a37
lea eax, [ebp - 0x18]
call fcn.00406dcc
lea eax, [ebp - 0x14]
call fcn.00406dcc
lea eax, [ebp - 0xc]
call fcn.00406dcc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406dd4
ret