Function at 0x537d50
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, 0x666094
mov eax, dword [0x660674]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x53816a
mov eax, dword [esp]
call fcn.00535500
test al, al
je 0x537d8f
mov eax, dword [0x66011c]
mov byte [eax], 0
xor ebx, ebx
mov eax, dword [esi]
call fcn.00406c68
dec eax
mov dword [esp + 8], eax
cmp ebx, dword [esp + 8]
jg 0x537e43
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x537e38
mov eax, ebp
mov edx, dword [0x440c58]
call fcn.004046f4
test al, al
je 0x537e38
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x277], 1
je 0x537e38
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x537e38
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x537e38
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004c6778
mov edi, eax
test edi, edi
je 0x537e38
mov eax, dword [edi + 0x50]
call fcn.00527c34
cmp eax, dword [esp]
jne 0x537e38
mov eax, dword [edi + 0x22c]
and eax, 0x10000
cmp eax, 0x10000
je 0x537e22
inc ebx
jmp 0x537e39
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
inc ebx
cmp ebx, dword [esp + 8]
jle 0x537da7
xor ebx, ebx
jmp 0x53815a
mov eax, dword [esi]
mov ebp, dword [eax + ebx*4]
test ebp, ebp
je 0x538159
mov eax, ebp
mov edx, dword [0x440c58]
call fcn.004046f4
test al, al
je 0x538159
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x277], 1
je 0x538159
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp dword [eax + 0x30], 0
jne 0x538159
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x57], 0
je 0x538159
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
xor ecx, ecx
mov edx, 4
call fcn.004c6778
mov edi, eax
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
cmp byte [eax + 0x273], 1
je 0x538159
test edi, edi
je 0x538159
mov eax, dword [edi + 0x50]
call fcn.00527c34
cmp eax, dword [esp]
jne 0x538159
mov eax, dword [edi + 0x22c]
and eax, 0x10000
cmp eax, 0x10000
je 0x537ef2
inc ebx
jmp 0x53815a
cmp byte [esp + 4], 0
je 0x53810f
mov eax, dword [edi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
cmp byte [eax + 6], 0
je 0x537f87
mov eax, dword [edi + 0x24c]
cmp byte [eax + 0x328], 0
je 0x537f33
mov eax, dword [edi + 0x24c]
movzx eax, byte [eax + 0x329]
mov byte [esp + 0x14], al
jmp 0x537f38
mov byte [esp + 0x14], 0xff
cmp byte [edi + 0x78], 0
je 0x537f74
mov eax, dword [edi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
movzx eax, byte [eax + 7]
push eax
mov eax, dword [edi + 0x50]
call fcn.00527c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x14]
movzx edx, word [eax + 4]
movzx ecx, byte [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.004c5368
jmp 0x537f87
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
mov ecx, 0xff
xor edx, edx
call fcn.004c5368
and dword [edi + 0x22c], 0xffffefff
cmp dword [edi + 0x268], 0
je 0x538050
mov eax, dword [edi + 0x24c]
cmp byte [eax + 0x273], 2
jne 0x538050
mov eax, edi
call fcn.004ea330
cmp eax, dword [0x65d800]
je 0x538050
mov eax, edi
call fcn.004ea330
mov dword [0x65d800], 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.00465948
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.00465948
push eax
call sub.user32.dll_SetWindowLongA
push 3
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
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.00465948
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [esp + 0x10], 0
je 0x538050
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SetActiveWindow
mov byte [edi + 0x220], 0
cmp byte [edi + 0x78], 0
je 0x5380f4
mov eax, dword [0x6602c0]
cmp dword [eax], 6
jge 0x53807f
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, edi
call fcn.004d588c
mov dl, 1
mov eax, edi
call fcn.004d5a48
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.00465948
push eax
call sub.user32.dll_RedrawWindow
cmp dword [edi + 0x268], 0
je 0x53814f
push 0
mov eax, dword [edi + 0x268]
xor ecx, ecx
xor edx, edx
call fcn.004efc40
push eax
mov eax, dword [edi + 0x268]
mov eax, dword [eax + 0x18]
call fcn.00465948
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [edi + 0x268]
mov cl, 0xff
mov dl, 1
call fcn.004eebf0
jmp 0x53814f
push 0x585
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
jmp 0x53814f
and dword [edi + 0x22c], 0xffffefff
push 0
push 1
push 0xb
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_SendMessageA
cmp byte [esp + 4], 0
je 0x53814f
push 0x5a1
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + ebx*4]
call fcn.00465948
push eax
call sub.user32.dll_RedrawWindow
and dword [edi + 0x22c], 0xfffeffff
inc ebx
mov eax, dword [esi]
call fcn.00406c68
dec eax
cmp ebx, eax
jle 0x537e4a
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret