Function at 0x5c9798
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov byte [esp + 4], dl
mov dword [esp], eax
mov esi, 0x660eac
mov eax, dword [0x65a808]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x5c9a91
mov eax, dword [esp]
call fcn.005d67f0
test al, al
je 0x5c97d7
mov eax, dword [0x65a350]
mov byte [eax], 0
xor ebx, ebx
jmp 0x5c9a81
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x5c9a80
mov eax, edi
mov edx, dword [0x488808]
call fcn.00404848
test al, al
je 0x5c9a80
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x277], 1
je 0x5c9a80
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x5c9a80
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x5c9a80
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.005bf178
mov ebp, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x273], 1
je 0x5c9a80
test ebp, ebp
je 0x5c9a80
mov eax, dword [ebp + 0x54]
call fcn.005c79d0
cmp eax, dword [esp]
jne 0x5c9a80
cmp byte [esp + 4], 0
je 0x5c9a4a
mov eax, dword [ebp + 0x54]
call fcn.005c79d0
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x5c9903
mov eax, dword [ebp + 0x1fc]
cmp byte [eax + 0x328], 0
je 0x5c98af
mov eax, dword [ebp + 0x1fc]
movzx eax, byte [eax + 0x329]
mov byte [esp + 0x10], al
jmp 0x5c98b4
mov byte [esp + 0x10], 0xff
cmp byte [ebp + 0x78], 0
je 0x5c98f0
mov eax, dword [ebp + 0x54]
call fcn.005c79d0
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [ebp + 0x54]
call fcn.005c79d0
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 4]
movzx ecx, byte [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005bdfb4
jmp 0x5c9903
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.005bdfb4
cmp dword [ebp + 0x218], 0
je 0x5c99a3
mov eax, dword [ebp + 0x1fc]
cmp byte [eax + 0x273], 2
jne 0x5c99a3
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowLongA
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0xc], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 0xc], 0
je 0x5c99a3
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_SetActiveWindow
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_SendMessageA
mov byte [ebp + 0x1d8], 0
cmp byte [ebp + 0x78], 0
je 0x5c9a2f
mov eax, dword [0x65a4b8]
cmp dword [eax], 6
jge 0x5c99e4
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebp
call fcn.005f3548
mov dl, 1
mov eax, ebp
call fcn.005f36e0
mov dword [esp + 8], 0x185
mov eax, dword [esp + 8]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebp + 0x218], 0
je 0x5c9a80
mov eax, dword [ebp + 0x218]
mov cl, 0xff
mov dl, 1
call fcn.00607668
jmp 0x5c9a80
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_RedrawWindow
jmp 0x5c9a80
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp + 4], 0
je 0x5c9a80
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047d6c4
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.00406c28
dec eax
cmp ebx, eax
jle 0x5c97de
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret