Function at 0x521660
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x700]
test eax, eax
je 0x5216bc
mov eax, dword [esi + 0x390]
mov dword [esi + 0x6f0], 0x7540
mov ecx, dword [0x63f2a8]
push 1
push eax
push ecx
push 0x7540
lea ecx, [esi + 0x20]
call fcn.0052aa10
push str.Cancel_by_user._n
lea ecx, [esi + 0x3b4]
call fcn.004ec0d0
push 2
mov ecx, esi
call fcn.00522180
mov eax, dword [esi + 0x700]
test eax, eax
jne 0x52182f
mov eax, dword [esi + 0x6f0]
test eax, eax
jne 0x521827
mov al, byte [esi + 0x6f4]
test al, al
je 0x5216e8
mov edx, dword [esi + 0x3a0]
mov eax, dword [esi + 0x3a4]
or edx, eax
jne 0x5216e8
push 0
jmp 0x5216ea
push 3
mov ecx, esi
call fcn.00522180
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x521710
mov eax, dword [esi + 0xcc]
test eax, eax
jne 0x521710
push 1
mov ecx, esi
call fcn.00521c70
jmp 0x521827
mov eax, dword [esi + 0x704]
test eax, eax
jne 0x521724
mov al, byte [esi + 0x6f4]
test al, al
je 0x52172f
lea ecx, [esi + 0x3b4]
call fcn.004ec1c0
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x52175e
mov eax, dword [esi + 4]
test eax, eax
jne 0x52175e
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x52174a
lea eax, [esi + 0x58]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x3b4]
push ecx
push edx
push eax
call fcn.00524f00
add esp, 0xc
mov eax, dword [esi + 0xc4]
push str..m3u
push eax
call fcn.00556b60
add esp, 8
test eax, eax
jne 0x521793
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x521827
mov ecx, esi
call fcn.005275f0
test al, al
jne 0x5218ca
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x521827
mov eax, dword [esi + 4]
test eax, eax
jne 0x521827
mov eax, dword [esi + 8]
test eax, eax
jne 0x521827
mov ecx, esi
call fcn.00525490
test eax, eax
je 0x521827
mov eax, dword [esi + 0x3b0]
test eax, eax
je 0x521820
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x521820
mov ecx, dword [esi + 0x3b0]
call fcn.00456ae0
mov edx, dword [esi + 0x3b0]
mov ecx, dword [0x640e9c]
push 0x43
push 0
mov eax, dword [edx + 0xc]
push 0
push 0
push 0
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 0x3b0]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
mov edx, dword [ecx + 0xc]
push edx
call edi
mov eax, dword [esi + 0x3b0]
push 0
mov ecx, dword [eax + 0xc]
push ecx
call edi
mov ecx, esi
call fcn.005218d0
mov eax, dword [esi + 0x700]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x52188a
mov eax, dword [esi + 0x6f0]
test eax, eax
je 0x521874
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x521874
mov al, byte [esi + 0x710]
test al, al
jne 0x521874
mov eax, dword [esi + 4]
cmp eax, 4
je 0x521866
cmp eax, 5
je 0x521866
mov eax, 1
jmp 0x521868
xor eax, eax
push 0
push 1
push eax
mov ecx, esi
call fcn.0051fc50
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52188a
push 0
push 0x138a
push 0x111
push eax
call edi
mov eax, dword [esi + 0x6f8]
test eax, eax
je 0x5218ca
mov ecx, dword [esi + 0x6fc]
cmp ecx, 0xfffffffb
je 0x5218b0
push ecx
push 0x138a
push 0x111
push eax
call edi
pop edi
pop esi
ret
push esi
push 0
push 0x1411
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
ret