Function at 0x543980
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 0x543bf0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x39c]
call fcn.00484174
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x5439bf
sub eax, 4
mov eax, dword [eax]
cmp eax, 6
jge 0x5439f0
mov eax, dword [esi + 0x39c]
mov edx, dword [eax]
call dword [edx + 0x108]
mov eax, dword [esi + 0x39c]
call fcn.00466b88
mov eax, dword [esi + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xe8]
jmp 0x543bbd
lea eax, [ebp - 4]
mov edx, dword [esi + 0x3ac]
mov ecx, dword [0x56b8b4]
mov edx, dword [edx + ecx*4]
call fcn.00407008
lea edx, [ebp - 0x14]
mov eax, dword [esi + 0x39c]
call fcn.00484174
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 8]
mov edx, 0x543c0c
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 + 0x3a0]
call fcn.0046a664
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 0x3a4]
mov eax, dword [esi + 0x3a8]
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 + 0x3a0]
call fcn.0046a664
cmp dword [0x56b8b8], 1
jge 0x543adf
inc dword [0x56b8b8]
xor edx, edx
mov eax, dword [esi + 0x39c]
call fcn.004841ac
mov eax, dword [esi + 0x39c]
call fcn.00466b88
mov eax, dword [esi + 0x39c]
mov edx, dword [eax]
call dword [edx + 0xe8]
jmp 0x543bbd
xor eax, eax
mov dword [0x56b8b8], eax
xor edx, edx
mov eax, dword [esi + 0x3a0]
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 [0x56b8b4]
mov eax, dword [esi + 0x3ac]
call fcn.004084dc
cmp eax, dword [0x56b8b4]
jle 0x543ba6
push 0x7d0
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x3ac]
mov ecx, dword [0x56b8b4]
mov edx, dword [edx + ecx*4]
call fcn.00407008
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x398]
call fcn.004841ac
mov eax, dword [esi + 0x39c]
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 + 0x3a0]
call fcn.0046a664
jmp 0x543bbd
xor edx, edx
mov eax, dword [esi + 0x3a0]
call fcn.0046a664
mov dword [esi + 0x2b8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543bf7
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