Function at 0x5526d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5a6cc8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x552a1b
mov eax, dword [ebp - 4]
call fcn.00564960
test al, al
je 0x552708
mov eax, dword [0x5a69b8]
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x552a07
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
cmp dword [eax + edx*4], 0
je 0x552a04
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov edx, dword [0x47bf50]
call fcn.004040cc
test al, al
je 0x552a04
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x22f], 1
je 0x552a04
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
cmp dword [eax + 0x30], 0
jne 0x552a04
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x57], 0
je 0x552a04
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
xor ecx, ecx
mov edx, 4
call fcn.0054cecc
mov dword [ebp - 0x10], eax
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x22b], 1
je 0x552a04
cmp dword [ebp - 0x10], 0
je 0x552a04
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
call fcn.00554c34
cmp eax, dword [ebp - 4]
jne 0x552a04
cmp byte [ebp - 5], 0
je 0x5529c3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x552837
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x78], 0
je 0x552825
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
call fcn.00554c34
mov eax, dword [eax + 0x74]
mov eax, dword [eax + 0x10]
mov dx, word [eax + 4]
mov eax, dword [0x5a8358]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
call fcn.0054bc00
jmp 0x552837
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
xor edx, edx
call fcn.0054bc00
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1f8], 0
je 0x5528f8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1dc]
cmp byte [eax + 0x22b], 2
jne 0x5528f8
push 0xfffffffffffffff0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0xefffffff
push eax
push 0xfffffffffffffff0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowLongA
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0x18], eax
push 3
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
push 0xfffffffffffffff0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowLongA
cmp dword [ebp - 0x18], 0
je 0x5528f8
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_SetActiveWindow
push 0
push 1
push 0xb
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x1b3], 0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x78], 0
je 0x5529a2
mov eax, dword [0x5a6aa4]
cmp dword [eax], 6
jge 0x55294b
push 0
push 0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x10]
call fcn.0052645c
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00526640
mov dword [ebp - 0x14], 0x185
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x1f8], 0
je 0x552a04
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1f8]
mov cl, 0xff
mov dl, 1
call fcn.0053cee4
jmp 0x552a04
push 0x585
push 0
push 0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_RedrawWindow
jmp 0x552a04
push 0
push 1
push 0xb
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebp - 5], 0
je 0x552a04
push 0x5a1
push 0
push 0
mov eax, dword [0x5a8358]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
call fcn.0046c6cc
push eax
call sub.user32.dll_RedrawWindow
inc dword [ebp - 0xc]
mov eax, dword [0x5a8358]
call fcn.00406478
dec eax
cmp eax, dword [ebp - 0xc]
jge 0x552712
mov esp, ebp
pop ebp
ret