Function at 0x5d8ab8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov byte [esp + 4], dl
mov dword [esp], eax
mov esi, 0x6a8b80
mov eax, dword [0x6a2020]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x5d8ed5
mov eax, dword [esp]
call fcn.005d5294
test al, al
je 0x5d8afa
mov eax, dword [0x6a1a18]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.004088c8
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x5d8bae
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x5d8ba3
mov eax, ebp
mov edx, dword [0x4e395c]
call fcn.00405304
test al, al
je 0x5d8ba3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29e], 1
je 0x5d8ba3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x34], 0
jne 0x5d8ba3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x59], 0
je 0x5d8ba3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.0051cc98
mov edi, eax
test edi, edi
je 0x5d8ba3
mov eax, dword [edi + 0x54]
call fcn.005c22b4
cmp eax, dword [esp]
jne 0x5d8ba3
mov eax, dword [edi + 0x230]
and eax, 0x10000
cmp eax, 0x10000
je 0x5d8b8d
inc ebx
jmp 0x5d8ba4
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_SendMessageW
inc ebx
cmp ebx, dword [esp + 8]
jle 0x5d8b12
xor ebx, ebx
jmp 0x5d8ec5
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x5d8ec4
mov eax, ebp
mov edx, dword [0x4e395c]
call fcn.00405304
test al, al
je 0x5d8ec4
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29e], 1
je 0x5d8ec4
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x34], 0
jne 0x5d8ec4
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x59], 0
je 0x5d8ec4
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.0051cc98
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29a], 1
je 0x5d8ec4
test edi, edi
je 0x5d8ec4
mov eax, dword [edi + 0x54]
call fcn.005c22b4
cmp eax, dword [esp]
jne 0x5d8ec4
mov eax, dword [edi + 0x230]
and eax, 0x10000
cmp eax, 0x10000
je 0x5d8c5d
inc ebx
jmp 0x5d8ec5
cmp byte [esp + 4], 0
je 0x5d8e7a
mov eax, dword [edi + 0x54]
call fcn.005c22b4
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x5d8cf2
mov eax, dword [edi + 0x24c]
cmp byte [eax + 0x340], 0
je 0x5d8c9e
mov eax, dword [edi + 0x24c]
movzx eax, byte [eax + 0x341]
mov byte [esp + 0x14], al
jmp 0x5d8ca3
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x78], 0
je 0x5d8cdf
mov eax, dword [edi + 0x54]
call fcn.005c22b4
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [edi + 0x54]
call fcn.005c22b4
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 4]
movzx ecx, byte [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0051b650
jmp 0x5d8cf2
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.0051b650
and dword [edi + 0x230], 0xffffefff
cmp dword [edi + 0x268], 0
je 0x5d8dbb
mov eax, dword [edi + 0x24c]
cmp byte [eax + 0x29a], 2
jne 0x5d8dbb
mov eax, edi
call fcn.00567180
cmp eax, dword [0x69edc4]
je 0x5d8dbb
mov eax, edi
call fcn.00567180
mov dword [0x69edc4], eax
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0x10], eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_GetWindowLongW
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowLongW
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowLongW
cmp dword [esp + 0x10], 0
je 0x5d8dbb
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x224], 0
cmp byte [edi + 0x78], 0
je 0x5d8e5f
mov eax, dword [0x6a1be8]
cmp dword [eax], 6
jge 0x5d8dea
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.00551c28
mov dl, 1
mov eax, edi
call fcn.00551df4
mov dword [esp + 0xc], 0x185
mov eax, dword [esp + 0xc]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x268], 0
je 0x5d8eba
push 0
mov eax, dword [edi + 0x268]
xor ecx, ecx
xor edx, edx
call fcn.0056cec8
push eax
mov eax, dword [edi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.004cdf0c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [edi + 0x268]
mov cl, 0xff
mov dl, 1
call fcn.0056bd08
jmp 0x5d8eba
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_RedrawWindow
jmp 0x5d8eba
and dword [edi + 0x230], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_SendMessageW
cmp byte [esp + 4], 0
je 0x5d8eba
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004cdf0c
push eax
call sub.user32.dll_RedrawWindow
and dword [edi + 0x230], 0xfffeffff
inc ebx
mov eax, dword [esi]
call fcn.004088c8
dec eax
cmp ebx, eax
jle 0x5d8bb5
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret