Function at 0x52cf04
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, 0x726fc8
mov eax, dword [0x724f40]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x52d31d
mov eax, dword [esp]
call fcn.0052a52c
test al, al
je 0x52cf43
mov eax, dword [0x724a68]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.00406260
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x52cff7
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x52cfec
mov eax, ebp
mov edx, dword [0x464650]
call fcn.00404018
test al, al
je 0x52cfec
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x52cfec
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x52cfec
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x52cfec
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004bbed4
mov edi, eax
test edi, edi
je 0x52cfec
mov eax, dword [edi + 0x50]
call fcn.00519300
cmp eax, dword [esp]
jne 0x52cfec
mov eax, dword [edi + 0x238]
and eax, 0x10000
cmp eax, 0x10000
je 0x52cfd6
inc ebx
jmp 0x52cfed
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
inc ebx
cmp ebx, dword [esp + 8]
jle 0x52cf5b
xor ebx, ebx
jmp 0x52d30d
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x52d30c
mov eax, ebp
mov edx, dword [0x464650]
call fcn.00404018
test al, al
je 0x52d30c
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22f], 1
je 0x52d30c
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x52d30c
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x52d30c
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004bbed4
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x22b], 1
je 0x52d30c
test edi, edi
je 0x52d30c
mov eax, dword [edi + 0x50]
call fcn.00519300
cmp eax, dword [esp]
jne 0x52d30c
mov eax, dword [edi + 0x238]
and eax, 0x10000
cmp eax, 0x10000
je 0x52d0a6
inc ebx
jmp 0x52d30d
cmp byte [esp + 4], 0
je 0x52d2c2
mov eax, dword [edi + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x52d13a
mov eax, dword [edi + 0x254]
cmp byte [eax + 0x2e0], 0
je 0x52d0e6
mov eax, dword [edi + 0x254]
mov al, byte [eax + 0x2e1]
mov byte [esp + 0x14], al
jmp 0x52d0eb
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x78], 0
je 0x52d127
mov eax, dword [edi + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 7]
push eax
mov eax, dword [edi + 0x50]
call fcn.00519300
mov eax, dword [eax + 0x6c]
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.004ba8f0
jmp 0x52d13a
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.004ba8f0
and dword [edi + 0x238], 0xffffefff
cmp dword [edi + 0x270], 0
je 0x52d203
mov eax, dword [edi + 0x254]
cmp byte [eax + 0x22b], 2
jne 0x52d203
mov eax, edi
call fcn.004dcdb0
cmp eax, dword [0x6f17a8]
je 0x52d203
mov eax, edi
call fcn.004dcdb0
mov dword [0x6f17a8], 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.0047cd04
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.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
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.0047cd04
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 0x10], 0
je 0x52d203
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x22c], 0
cmp byte [edi + 0x78], 0
je 0x52d2a7
mov eax, dword [0x724bdc]
cmp dword [eax], 6
jge 0x52d232
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.004c9994
mov dl, 1
mov eax, edi
call fcn.004c9b8c
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.0047cd04
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x270], 0
je 0x52d302
push 0
mov eax, dword [edi + 0x270]
xor ecx, ecx
xor edx, edx
call fcn.004e3ddc
push eax
mov eax, dword [edi + 0x270]
mov eax, dword [eax + 0x18]
call fcn.0047cd04
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [edi + 0x270]
mov cl, 0xff
mov dl, 1
call fcn.004e2d54
jmp 0x52d302
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
jmp 0x52d302
and dword [edi + 0x238], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp + 4], 0
je 0x52d302
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.0047cd04
push eax
call sub.user32.dll_RedrawWindow
and dword [edi + 0x238], 0xfffeffff
inc ebx
mov eax, dword [esi]
call fcn.00406260
dec eax
cmp ebx, eax
jle 0x52cffe
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret