Function at 0x4de190
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov byte [esp], dl
mov ebp, eax
mov esi, 0x5224ec
mov eax, dword [0x520284]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4de438
mov eax, ebp
call fcn.004db1ec
test al, al
je 0x4de1cc
mov eax, dword [0x51fe28]
mov byte [eax], 0
xor ebx, ebx
jmp 0x4de428
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4de427
mov eax, edi
mov edx, dword [0x459994]
call fcn.00403d40
test al, al
je 0x4de427
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x4de427
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x4de427
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x4de427
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004c20d8
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22b], 1
je 0x4de427
test edi, edi
je 0x4de427
mov eax, dword [edi + 0x54]
call fcn.004ce558
cmp ebp, eax
jne 0x4de427
cmp byte [esp], 0
je 0x4de3f2
mov eax, dword [edi + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x4de2b0
cmp byte [edi + 0x78], 0
je 0x4de2a4
mov eax, dword [edi + 0x54]
call fcn.004ce558
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
mov dx, word [eax + 4]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004c0ff0
jmp 0x4de2b0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor edx, edx
call fcn.004c0ff0
cmp dword [edi + 0x200], 0
je 0x4de350
mov eax, dword [edi + 0x1e4]
cmp byte [eax + 0x22b], 2
jne 0x4de350
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
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.0044a994
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.0044a994
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
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.0044a994
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 8], 0
je 0x4de350
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.0044a994
push eax
call sub.user32.dll_SendMessageA
mov byte [edi + 0x1bf], 0
cmp byte [edi + 0x78], 0
je 0x4de3d7
mov eax, dword [0x51ff8c]
cmp dword [eax], 6
jge 0x4de391
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.004e47a0
mov dl, 1
mov eax, edi
call fcn.004e4940
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.0044a994
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [edi + 0x200]
test eax, eax
je 0x4de427
mov cl, 0xff
mov dl, 1
call fcn.004f7cdc
jmp 0x4de427
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
push eax
call sub.user32.dll_RedrawWindow
jmp 0x4de427
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp], 0
je 0x4de427
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0044a994
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.00405c84
dec eax
cmp ebx, eax
jle 0x4de1d3
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret