Function at 0x50bcf4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov byte [esp], dl
mov ebp, eax
mov esi, 0x56f034
mov eax, dword [0x56cda8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x50bfdb
mov eax, ebp
call fcn.00508bf8
test al, al
je 0x50bd30
mov eax, dword [0x56c8e4]
mov byte [eax], 0
xor ebx, ebx
jmp 0x50bfcb
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x50bfca
mov eax, edi
mov edx, dword [0x4738c0]
call fcn.00403c7c
test al, al
je 0x50bfca
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x50bfca
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x50bfca
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x50bfca
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004e1464
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22b], 1
je 0x50bfca
test edi, edi
je 0x50bfca
mov eax, dword [edi + 0x54]
call fcn.004f9db4
cmp ebp, eax
jne 0x50bfca
cmp byte [esp], 0
je 0x50bf95
mov eax, dword [edi + 0x54]
call fcn.004f9db4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x50be53
mov eax, dword [edi + 0x1fc]
cmp byte [eax + 0x2e0], 0
je 0x50bdff
mov al, byte [eax + 0x2e1]
mov byte [esp + 0xc], al
jmp 0x50be04
mov byte [esp + 0xc], 0xff
cmp byte [edi + 0x78], 0
je 0x50be40
mov eax, dword [edi + 0x54]
call fcn.004f9db4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 7]
push eax
mov eax, dword [edi + 0x54]
call fcn.004f9db4
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
mov dx, word [eax + 4]
xor ecx, ecx
mov cl, byte [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004e02b4
jmp 0x50be53
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.004e02b4
cmp dword [edi + 0x218], 0
je 0x50bef3
mov eax, dword [edi + 0x1fc]
cmp byte [eax + 0x22b], 2
jne 0x50bef3
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
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.00464740
push eax
call sub.user32.dll_SetWindowLongA
call sub.user32.dll_GetActiveWindow
mov dword [esp + 8], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
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.00464740
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 8], 0
je 0x50bef3
mov eax, dword [esp + 8]
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.00464740
push eax
call sub.user32.dll_SendMessageA
mov byte [edi + 0x1d8], 0
cmp byte [edi + 0x78], 0
je 0x50bf7a
mov eax, dword [0x56ca60]
cmp dword [eax], 6
jge 0x50bf34
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.005124f8
mov dl, 1
mov eax, edi
call fcn.00512690
mov dword [esp + 4], 0x185
mov eax, dword [esp + 4]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [edi + 0x218]
test eax, eax
je 0x50bfca
mov cl, 0xff
mov dl, 1
call fcn.005264a0
jmp 0x50bfca
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_RedrawWindow
jmp 0x50bfca
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp], 0
je 0x50bfca
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00464740
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.00405bd4
dec eax
cmp ebx, eax
jle 0x50bd37
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret