Function at 0x4fc290
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, 0x50b0dc
mov eax, dword [0x5090ac]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4fc619
mov eax, dword [esp]
call fcn.004f9d48
test al, al
je 0x4fc2cf
mov eax, dword [0x508de8]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.0040587c
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x4fc362
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x4fc35b
mov eax, ebp
mov edx, dword [0x4579f0]
call fcn.00403924
test al, al
je 0x4fc35b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x4fc35b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x4fc35b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x4fc35b
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.00490b74
mov edi, eax
test edi, edi
je 0x4fc35b
mov eax, dword [edi + 0x54]
call fcn.004ed930
cmp eax, dword [esp]
jne 0x4fc35b
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_SendMessageA
inc ebx
cmp ebx, dword [esp + 8]
jle 0x4fc2e3
xor ebx, ebx
jmp 0x4fc609
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x4fc608
mov eax, ebp
mov edx, dword [0x4579f0]
call fcn.00403924
test al, al
je 0x4fc608
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x4fc608
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x4fc608
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x4fc608
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.00490b74
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22b], 1
je 0x4fc608
test edi, edi
je 0x4fc608
mov eax, dword [edi + 0x54]
call fcn.004ed930
cmp eax, dword [esp]
jne 0x4fc608
cmp byte [esp + 4], 0
je 0x4fc5c8
mov eax, dword [edi + 0x54]
call fcn.004ed930
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x4fc48d
mov eax, dword [edi + 0x22c]
cmp byte [eax + 0x2e0], 0
je 0x4fc439
mov eax, dword [edi + 0x22c]
mov al, byte [eax + 0x2e1]
mov byte [esp + 0x14], al
jmp 0x4fc43e
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x78], 0
je 0x4fc47a
mov eax, dword [edi + 0x54]
call fcn.004ed930
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 7]
push eax
mov eax, dword [edi + 0x54]
call fcn.004ed930
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
mov dx, word [eax + 4]
xor ecx, ecx
mov cl, byte [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0048f840
jmp 0x4fc48d
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.0048f840
and dword [edi + 0x20c], 0xffffefff
cmp dword [edi + 0x248], 0
je 0x4fc537
mov eax, dword [edi + 0x22c]
cmp byte [eax + 0x22b], 2
jne 0x4fc537
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
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.004489a4
push eax
call sub.user32.dll_SetWindowLongA
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0x10], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
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.004489a4
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 0x10], 0
je 0x4fc537
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x200], 0
cmp byte [edi + 0x78], 0
je 0x4fc5ad
mov eax, dword [0x508eb4]
cmp dword [eax], 6
jge 0x4fc562
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.004a0e1c
mov dl, 1
mov eax, edi
call fcn.004a0fb4
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.004489a4
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x248], 0
je 0x4fc608
mov eax, dword [edi + 0x248]
mov cl, 0xff
mov dl, 1
call fcn.004b5f08
jmp 0x4fc608
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4fc608
and dword [edi + 0x20c], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp + 4], 0
je 0x4fc608
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004489a4
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.0040587c
dec eax
cmp ebx, eax
jle 0x4fc369
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret