Function at 0x52b0c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov byte [esp + 4], dl
mov dword [esp], eax
mov esi, 0x5aa99c
mov eax, dword [0x5a4a1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x52b3ca
mov eax, dword [esp]
call fcn.0058b67c
test al, al
je 0x52b10a
mov eax, dword [0x5a4674]
mov byte [eax], 0
xor ebx, ebx
jmp 0x52b3ba
mov eax, dword [esi]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x52b3b9
mov eax, edi
mov edx, dword [0x4c728c]
call fcn.004052c4
test al, al
je 0x52b3b9
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29e], 1
je 0x52b3b9
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x34], 0
jne 0x52b3b9
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x59], 0
je 0x52b3b9
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.00524888
mov ebp, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x29a], 1
je 0x52b3b9
test ebp, ebp
je 0x52b3b9
mov eax, dword [ebp + 0x58]
call fcn.0052d5bc
cmp eax, dword [esp]
jne 0x52b3b9
cmp byte [esp + 4], 0
je 0x52b383
mov eax, dword [ebp + 0x58]
call fcn.0052d5bc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x52b239
mov eax, dword [ebp + 0x204]
cmp byte [eax + 0x340], 0
je 0x52b1e2
mov eax, dword [ebp + 0x204]
movzx eax, byte [eax + 0x341]
mov byte [esp + 0x10], al
jmp 0x52b1e7
mov byte [esp + 0x10], 0xff
cmp byte [ebp + 0x80], 0
je 0x52b226
mov eax, dword [ebp + 0x58]
call fcn.0052d5bc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [ebp + 0x58]
call fcn.0052d5bc
mov eax, dword [eax + 0x7c]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 4]
movzx ecx, byte [esp + 0x14]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.005236cc
jmp 0x52b239
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.005236cc
cmp dword [ebp + 0x220], 0
je 0x52b2d9
mov eax, dword [ebp + 0x204]
cmp byte [eax + 0x29a], 2
jne 0x52b2d9
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
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.004b18ac
push eax
call sub.user32.dll_SetWindowLongW
call sub.user32.dll_GetActiveWindow
mov dword [esp + 0xc], eax
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
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.004b18ac
push eax
call sub.user32.dll_SetWindowLongW
cmp dword [esp + 0xc], 0
je 0x52b2d9
mov eax, dword [esp + 0xc]
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.004b18ac
push eax
call sub.user32.dll_SendMessageW
mov byte [ebp + 0x1e0], 0
cmp byte [ebp + 0x80], 0
je 0x52b368
mov eax, dword [0x5a4780]
cmp dword [eax], 6
jge 0x52b31d
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_SetWindowRgn
mov eax, ebp
call fcn.00564d44
mov dl, 1
mov eax, ebp
call fcn.00564eec
mov dword [esp + 8], 0x185
mov eax, dword [esp + 8]
push eax
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_RedrawWindow
cmp dword [ebp + 0x220], 0
je 0x52b3b9
mov eax, dword [ebp + 0x220]
mov cl, 0xff
mov dl, 1
call fcn.00579360
jmp 0x52b3b9
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_RedrawWindow
jmp 0x52b3b9
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_SendMessageW
cmp byte [esp + 4], 0
je 0x52b3b9
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004b18ac
push eax
call sub.user32.dll_RedrawWindow
inc ebx
mov eax, dword [esi]
call fcn.0040845c
dec eax
cmp ebx, eax
jle 0x52b111
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret