Function at 0x5f10bc
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, 0x66f93c
mov eax, dword [0x6690c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x5f14d9
mov eax, dword [esp]
call fcn.0064894c
test al, al
je 0x5f10fe
mov eax, dword [0x6689ec]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.00408928
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x5f11b2
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x5f11a7
mov eax, ebp
mov edx, dword [0x4d8f14]
call fcn.004052b0
test al, al
je 0x5f11a7
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29e], 1
je 0x5f11a7
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x34], 0
jne 0x5f11a7
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x59], 0
je 0x5f11a7
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.005ef594
mov edi, eax
test edi, edi
je 0x5f11a7
mov eax, dword [edi + 0x54]
call fcn.005ffe64
cmp eax, dword [esp]
jne 0x5f11a7
mov eax, dword [edi + 0x238]
and eax, 0x10000
cmp eax, 0x10000
je 0x5f1191
inc ebx
jmp 0x5f11a8
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_SendMessageW
inc ebx
cmp ebx, dword [esp + 8]
jle 0x5f1116
xor ebx, ebx
jmp 0x5f14c9
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x5f14c8
mov eax, ebp
mov edx, dword [0x4d8f14]
call fcn.004052b0
test al, al
je 0x5f14c8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29e], 1
je 0x5f14c8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x34], 0
jne 0x5f14c8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x59], 0
je 0x5f14c8
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.005ef594
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29a], 1
je 0x5f14c8
test edi, edi
je 0x5f14c8
mov eax, dword [edi + 0x54]
call fcn.005ffe64
cmp eax, dword [esp]
jne 0x5f14c8
mov eax, dword [edi + 0x238]
and eax, 0x10000
cmp eax, 0x10000
je 0x5f1261
inc ebx
jmp 0x5f14c9
cmp byte [esp + 4], 0
je 0x5f147e
mov eax, dword [edi + 0x54]
call fcn.005ffe64
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x5f12f6
mov eax, dword [edi + 0x254]
cmp byte [eax + 0x340], 0
je 0x5f12a2
mov eax, dword [edi + 0x254]
movzx eax, byte [eax + 0x341]
mov byte [esp + 0x14], al
jmp 0x5f12a7
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x78], 0
je 0x5f12e3
mov eax, dword [edi + 0x54]
call fcn.005ffe64
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [edi + 0x54]
call fcn.005ffe64
mov eax, dword [eax + 0x74]
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.005edfb4
jmp 0x5f12f6
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.005edfb4
and dword [edi + 0x238], 0xffffefff
cmp dword [edi + 0x270], 0
je 0x5f13bf
mov eax, dword [edi + 0x254]
cmp byte [eax + 0x29a], 2
jne 0x5f13bf
mov eax, edi
call fcn.006207b8
cmp eax, dword [0x6680f8]
je 0x5f13bf
mov eax, edi
call fcn.006207b8
mov dword [0x6680f8], 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.00485c08
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.00485c08
push eax
call sub.user32.dll_SetWindowLongW
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
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.00485c08
push eax
call sub.user32.dll_SetWindowLongW
cmp dword [esp + 0x10], 0
je 0x5f13bf
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x22c], 0
cmp byte [edi + 0x78], 0
je 0x5f1463
mov eax, dword [0x668c0c]
cmp dword [eax], 6
jge 0x5f13ee
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.0060cbb4
mov dl, 1
mov eax, edi
call fcn.0060cdc8
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.00485c08
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x270], 0
je 0x5f14be
push 0
mov eax, dword [edi + 0x270]
xor ecx, ecx
xor edx, edx
call fcn.00627bd8
push eax
mov eax, dword [edi + 0x270]
mov eax, dword [eax + 0x18]
call fcn.00485c08
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [edi + 0x270]
mov cl, 0xff
mov dl, 1
call fcn.00626a5c
jmp 0x5f14be
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_RedrawWindow
jmp 0x5f14be
and dword [edi + 0x238], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_SendMessageW
cmp byte [esp + 4], 0
je 0x5f14be
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00485c08
push eax
call sub.user32.dll_RedrawWindow
and dword [edi + 0x238], 0xfffeffff
inc ebx
mov eax, dword [esi]
call fcn.00408928
dec eax
cmp ebx, eax
jle 0x5f11b9
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret