Function at 0x56fcd4
Capabilities:
Get graphical window text
Read file on windows

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x1a60
call fcn.006e5e00
sub rsp, rax
mov qword [rsp + 0x200], 0xfffffffffffffffe
mov qword [rsp + 0x1a90], rbx
mov qword [rsp + 0x1a98], rbp
mov r12, rdx
mov rsi, rcx
xor r9d, r9d
xor r8d, r8d
mov edi, 0x400
mov edx, edi
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11, rax
mov r8, rax
sar r8, 0xc
sar rax, 4
and eax, 0xf
jne 0x56fd4d
mov rcx, r11
sar rcx, 8
and ecx, 0xf
lea rax, [rcx + rcx*4]
and r11d, 0xf
lea rcx, [r11 + rax*2]
jmp 0x56fd59
lea rax, [rax + rax*4]
and r11d, 0xf
lea rcx, [r11 + rax*2]
pxor xmm1, xmm1
cvtsi2sd xmm1, rcx
mulsd xmm1, qword [0x007c50a8]
pxor xmm0, xmm0
cvtsi2sd xmm0, r8
addsd xmm1, xmm0
lea rcx, [rsp + 0xa0]
call fcn.004d19c8
mov rbx, rax
lea rdx, str.version
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x56fdac
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0xa0]
mov ebp, 0x100
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x56fde7
test rcx, rcx
je 0x56fde7
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
cmp rdx, rbp
jbe 0x56fde2
call fcn.006a4944
jmp 0x56fde7
call fcn.006a3610
mov r9d, 0x68
xor r8d, r8d
mov edx, edi
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
mov rcx, rax
mov r13d, 1
test rax, rax
je 0x56fe65
sub rcx, r13
je 0x56fe3e
cmp rcx, 2
jne 0x56fe8a
lea rdx, str.state
mov rcx, rsi
call fcn.005407dc
lea r8, [0x0079f9f2]
lea rdx, str.paused
mov rcx, rax
call fcn.0040289c
jmp 0x56fe8a
lea rdx, str.state
mov rcx, rsi
call fcn.005407dc
lea r8, [0x0079f9bf]
lea rdx, str.playing
mov rcx, rax
call fcn.0040289c
jmp 0x56fe8a
lea rdx, str.state
mov rcx, rsi
call fcn.005407dc
lea r8, [0x0079f9b7]
lea rdx, str.stopped
mov rcx, rax
call fcn.0040289c
mov r8d, 0x800
lea rdx, [rsp + 0xa60]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea r8, [rsp + 0x1aa0]
lea rdx, [rsp + 0xa60]
lea rcx, [rsp + 0xd0]
call fcn.004023b4
nop
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
call fcn.00402190
mov rbx, rax
lea rdx, str.rawtitle
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x56fefc
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x56ff32
test rcx, rcx
je 0x56ff32
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
cmp rdx, rbp
jbe 0x56ff2d
call fcn.006a4944
jmp 0x56ff32
call fcn.006a3610
mov r9d, 3
xor r8d, r8d
lea rdx, [0x0079fbc8]
lea rcx, [rsp + 0xd0]
call fcn.004202f0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x57014c
lea r9, [rax - 1]
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
mov r9, qword [rsp + 0x110]
sub r9, qword [rsp + 0x118]
sar r9, 1
mov rax, qword [rsp + 0x90]
sub rax, qword [rsp + 0x98]
sar rax, 1
mov r8, r9
sub r8, rax
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.00421328
mov rcx, qword [rax + 0x40]
mov r9, qword [rax + 0x48]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
sub rdx, r8
sar rdx, 1
sub rcx, r9
sar rcx, 1
cmp rdx, rcx
jne 0x570018
mov rcx, r8
test rdx, rdx
je 0x57000d
movzx eax, word [r9]
cmp word [rcx], ax
jne 0x570000
add rcx, 2
add r9, 2
sub rdx, r13
jne 0x56ffe8
jmp 0x57000d
cmp word [rcx], ax
sbb eax, eax
and eax, 0xfffffffe
add eax, r13d
jmp 0x57000f
xor eax, eax
test eax, eax
jne 0x570018
mov dil, r13b
jmp 0x57001b
xor dil, dil
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x198]
cmp rcx, rax
je 0x570068
test rcx, rcx
je 0x570068
mov rax, qword [rsp + 0x150]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x57005b
call fcn.006a4944
mov r8, qword [rsp + 0x98]
jmp 0x570068
call fcn.006a3610
mov r8, qword [rsp + 0x98]
test dil, dil
je 0x570117
mov r9, qword [rsp + 0x110]
sub r9, qword [rsp + 0x118]
sar r9, 1
mov r8, rbx
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
lea rcx, [rsp + 0xd0]
cmp rax, rcx
je 0x5700c0
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.00406d38
nop
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x198]
cmp rcx, rax
je 0x57010f
test rcx, rcx
je 0x57010f
mov rax, qword [rsp + 0x150]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x570100
call fcn.006a4944
mov r8, qword [rsp + 0x98]
jmp 0x570117
call fcn.006a3610
mov r8, qword [rsp + 0x98]
jmp 0x570117
mov r8, qword [rsp + 0x98]
lea rax, [rsp + 0x50]
cmp r8, rax
je 0x57014c
test r8, r8
je 0x57014c
mov rax, qword [rsp + 0x50]
sub rax, r8
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x570144
mov rcx, r8
call fcn.006a4944
jmp 0x57014c
mov rcx, r8
call fcn.006a3610
mov r9d, 3
xor r8d, r8d
lea rdx, [0x0079fbc8]
lea rcx, [rsp + 0xd0]
call fcn.004202f0
mov r9, qword [rsp + 0x110]
sub r9, qword [rsp + 0x118]
sar r9, 1
lea r8, [rax + 2]
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
mov rax, qword [rsp + 0x250]
sub rax, qword [rsp + 0x258]
sar rax, 1
mov r9, qword [rsp + 0x110]
sub r9, qword [rsp + 0x118]
sar r9, 1
sub r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
mov r8, rax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x50]
call fcn.0040fc8c
nop
lea rcx, [rsp + 0xd0]
cmp rax, rcx
je 0x570211
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.00406d38
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
je 0x570249
test rcx, rcx
je 0x570249
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x570243
call fcn.006a4944
jmp 0x570249
call fcn.006a3610
nop
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x198]
cmp rcx, rax
je 0x570286
test rcx, rcx
je 0x570286
mov rax, qword [rsp + 0x150]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x570281
call fcn.006a4944
jmp 0x570286
call fcn.006a3610
mov edx, 0x2e
xor r8d, r8d
lea rcx, [rsp + 0xd0]
call fcn.00421278
mov r9, qword [rsp + 0x110]
sub r9, qword [rsp + 0x118]
sar r9, 1
lea r8, [rax + 2]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
lea rcx, [rsp + 0xd0]
cmp rax, rcx
je 0x5702e8
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0xd0]
call fcn.00406d38
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
je 0x57031f
test rcx, rcx
je 0x57031f
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x57031a
call fcn.006a4944
jmp 0x57031f
call fcn.006a3610
mov ebx, 0x2d
mov edx, ebx
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0xd0]
call fcn.0044725c
cmp rax, 0xffffffffffffffff
je 0x570416
mov edx, ebx
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0xd0]
call fcn.0044725c
sub rax, r13
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.00421328
nop
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.00402190
mov rbx, rax
lea rdx, str.title
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x5703a8
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x5703df
test rcx, rcx
je 0x5703df
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
cmp rdx, rbp
jbe 0x5703d9
call fcn.006a4944
jmp 0x5703df
call fcn.006a3610
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
je 0x570416
test rcx, rcx
je 0x570416
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x570411
call fcn.006a4944
jmp 0x570416
call fcn.006a3610
mov edi, 0x69
mov r9, rdi
xor r8d, r8d
mov ebp, 0x400
mov edx, ebp
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov r9, rdi
mov r8, r13
mov edx, ebp
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
cmp rbx, 0xffffffffffffffff
jne 0x570452
xor ebx, ebx
jmp 0x570470
movabs rax, 0x20c49ba5e353f7cf
imul rbx
mov rbx, rdx
sar rbx, 7
mov rax, rbx
shr rax, 0x3f
add rbx, rax
test rdi, rdi
jle 0x570486
mov rax, rbx
imul rax, rax, 0x64
cqo
idiv rdi
mov r13, rax
jmp 0x57048b
xor edi, edi
xor r13d, r13d
mov edx, r13d
lea rcx, [rsp + 0x120]
call fcn.00415cc0
nop
lea r8, [0x0079f9d0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.00402658
mov rbp, rax
lea rdx, str.percent
mov rcx, rsi
call fcn.005407dc
cmp rbp, rax
je 0x5704db
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x57051f
test rcx, rcx
je 0x570518
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov ebp, 0x100
cmp rdx, rbp
jbe 0x570511
call fcn.006a4944
jmp 0x570524
call fcn.006a3610
jmp 0x570524
mov ebp, 0x100
jmp 0x570524
mov ebp, 0x100
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0x148]
cmp rcx, rax
je 0x57055a
test rcx, rcx
je 0x57055a
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
cmp rdx, rbp
jbe 0x570555
call fcn.006a4944
jmp 0x57055a
call fcn.006a3610
mov r8b, 1
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.004d18b4
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.00402190
mov rbx, rax
lea rdx, str.elapsed
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x5705a3
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0x148]
cmp rcx, rax
je 0x5705da
test rcx, rcx
je 0x5705da
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
cmp rdx, rbp
jbe 0x5705d4
call fcn.006a4944
jmp 0x5705da
call fcn.006a3610
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
je 0x570611
test rcx, rcx
je 0x570611
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x57060c
call fcn.006a4944
jmp 0x570611
call fcn.006a3610
mov r8b, 1
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.004d18b4
nop
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.00402190
mov rbx, rax
lea rdx, str.length
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x57065a
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0x148]
cmp rcx, rax
je 0x570691
test rcx, rcx
je 0x570691
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
cmp rdx, rbp
jbe 0x57068b
call fcn.006a4944
jmp 0x570691
call fcn.006a3610
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
cmp rcx, rax
je 0x5706c8
test rcx, rcx
je 0x5706c8
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x5706c3
call fcn.006a4944
jmp 0x5706c8
call fcn.006a3610
mov r8d, 0xa
mov dword [rsp + 0x40], r8d
and dword [rsp + 0x1aa0], 0
mov eax, 0x66666667
imul r13d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x1aa8], edx
lea rcx, [rsp + 0x1aa0]
lea rax, [rsp + 0x1aa8]
cmovns rcx, rax
lea rax, [rsp + 0x40]
cmp dword [rcx], r8d
cmovle rax, rcx
movsxd rdx, dword [rax]
mov dword [rsp + 0x40], r8d
and dword [rsp + 0x1aa0], 0
lea eax, [r8 - 1]
sub eax, edx
mov dword [rsp + 0x1aa8], eax
lea rcx, [rsp + 0x1aa0]
lea rax, [rsp + 0x1aa8]
cmovns rcx, rax
lea rax, [rsp + 0x40]
cmp dword [rcx], r8d
cmovle rax, rcx
movsxd rdi, dword [rax]
mov byte [rsp + 0x1aa0], 0x2d
mov rbx, rdx
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x1f0], rax
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x1f8], rax
inc rdx
lea rcx, [rsp + 0x1d0]
call fcn.00402ae0
nop
mov rcx, qword [rsp + 0x1f8]
add rbx, rcx
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x1aa8]
lea r8, [rsp + 0x1aa0]
mov rdx, rbx
call fcn.0044f2b8
mov qword [rsp + 0x1f0], rbx
mov byte [rbx], 0
mov byte [rsp + 0x1aa0], 0x2d
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x1c0], rax
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x1c8], rax
lea rdx, [rdi + 1]
lea rcx, [rsp + 0x1a0]
call fcn.00402ae0
nop
mov rcx, qword [rsp + 0x1c8]
lea rbx, [rcx + rdi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x1aa8]
lea r8, [rsp + 0x1aa0]
mov rdx, rbx
call fcn.0044f2b8
mov qword [rsp + 0x1c0], rbx
mov byte [rbx], 0
lea r8, [rsp + 0x1d0]
lea rdx, [0x0079b064]
lea rcx, [rsp + 0x50]
call fcn.0040fe34
nop
lea rcx, [0x00796b60]
lea r8, [0x0079f9dc]
test r14, r14
cmovne r8, rcx
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.00402658
nop
lea r8, [rsp + 0x1a0]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.00402448
nop
lea r8, [0x0079f9d8]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.00402658
mov rbx, rax
lea rdx, [0x0079f9d4]
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x5708cb
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x120]
mov rcx, qword [rsp + 0x148]
cmp rcx, rax
je 0x570911
test rcx, rcx
je 0x570909
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
mov r13d, 0x100
cmp rdx, r13
jbe 0x570902
call fcn.006a4944
jmp 0x570917
call fcn.006a3610
jmp 0x570917
mov r13d, 0x100
jmp 0x570917
mov r13d, 0x100
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x57094e
test rcx, rcx
je 0x57094e
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
cmp rdx, r13
jbe 0x570948
call fcn.006a4944
jmp 0x57094e
call fcn.006a3610
nop
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x570985
test rcx, rcx
je 0x570985
mov rdx, qword [rsp + 0x150]
sub rdx, rcx
cmp rdx, r13
jbe 0x57097f
call fcn.006a4944
jmp 0x570985
call fcn.006a3610
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x5709b2
test rcx, rcx
je 0x5709b2
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x5709ad
call fcn.006a4944
jmp 0x5709b2
call fcn.006a3610
mov ebp, 0x7e
mov r9, rbp
xor r8d, r8d
mov r14d, 0x400
mov edx, r14d
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
mov r9, rbp
lea r8d, [rbp - 0x7d]
mov edx, r14d
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov r9, rbp
lea r8d, [rbp - 0x7c]
mov edx, r14d
mov rcx, r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
mov rdx, rbx
lea rcx, [rsp + 0x150]
call fcn.0046d8ac
nop
lea r8, str.kbps
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.00402658
mov rbx, rax
lea rdx, str.bitrate
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x570a4b
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x570a79
test rcx, rcx
je 0x570a79
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x570a73
call fcn.006a4944
jmp 0x570a79
call fcn.006a3610
nop
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x570aaf
test rcx, rcx
je 0x570aaf
mov rdx, qword [rsp + 0x150]
sub rdx, rcx
cmp rdx, r13
jbe 0x570aaa
call fcn.006a4944
jmp 0x570aaf
call fcn.006a3610
mov rdx, rdi
lea rcx, [rsp + 0x150]
call fcn.0046d8ac
nop
lea r8, [0x0079f99c]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.00402658
mov rbx, rax
lea rdx, str.sample
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x570afc
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x570b2a
test rcx, rcx
je 0x570b2a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x570b24
call fcn.006a4944
jmp 0x570b2a
call fcn.006a3610
nop
lea rax, [rsp + 0x150]
mov rcx, qword [rsp + 0x178]
cmp rcx, rax
je 0x570b60
test rcx, rcx
je 0x570b60
mov rdx, qword [rsp + 0x150]
sub rdx, rcx
cmp rdx, r13
jbe 0x570b5b
call fcn.006a4944
jmp 0x570b60
call fcn.006a3610
mov rdx, rbp
lea rcx, [rsp + 0x50]
call fcn.0056fbf4
mov rbx, rax
lea rdx, str.channels
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x570b95
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x570bc2
test rcx, rcx
je 0x570bc2
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x570bbd
call fcn.006a4944
jmp 0x570bc2
call fcn.006a3610
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, str..pipewa_filename
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rdx, [0x0079ea5c]
mov rcx, rsi
call fcn.005407dc
lea r8, [0x0079fc28]
lea rdx, str.no_winamp_plugin
mov rcx, rax
call fcn.0040289c
cmp rbx, 0xffffffffffffffff
je 0x570d99
mov dword [rsp + 0x1aa8], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1aa8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, 0x800
lea rdx, [rsp + 0x260]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x570d99
lea r8, [rsp + 0x1aa0]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0xa0]
call fcn.004021a8
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.00574740
mov rbx, rax
lea rdx, [0x0079fa64]
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x570cc3
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x570cf1
test rcx, rcx
je 0x570cf1
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x570ceb
call fcn.006a4944
jmp 0x570cf1
call fcn.006a3610
nop
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x570d27
test rcx, rcx
je 0x570d27
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
cmp rdx, r13
jbe 0x570d22
call fcn.006a4944
jmp 0x570d27
call fcn.006a3610
lea rdx, [0x0079fa64]
mov rcx, rsi
call fcn.005407dc
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.0056bd90
mov rbx, rax
lea rdx, [0x0079ea5c]
mov rcx, rsi
call fcn.005407dc
cmp rbx, rax
je 0x570d6b
mov r8, qword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
mov rcx, rax
call fcn.0040289c
nop
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x570d99
test rcx, rcx
je 0x570d99
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
cmp rdx, r13
jbe 0x570d93
call fcn.006a4944
jmp 0x570d99
call fcn.006a3610
nop
lea rax, [rsp + 0x1a0]
mov rcx, qword [rsp + 0x1c8]
cmp rcx, rax
je 0x570dd0
test rcx, rcx
je 0x570dd0
mov rdx, qword [rsp + 0x1a0]
sub rdx, rcx
cmp rdx, r13
jbe 0x570dca
call fcn.006a4944
jmp 0x570dd0
call fcn.006a3610
nop
lea rax, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1f8]
cmp rcx, rax
je 0x570e07
test rcx, rcx
je 0x570e07
mov rdx, qword [rsp + 0x1d0]
sub rdx, rcx
cmp rdx, r13
jbe 0x570e01
call fcn.006a4944
jmp 0x570e07
call fcn.006a3610
nop
lea rax, [rsp + 0x210]
mov rcx, qword [rsp + 0x258]
cmp rcx, rax
je 0x570e45
test rcx, rcx
je 0x570e45
mov rax, qword [rsp + 0x210]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, r13
jbe 0x570e3f
call fcn.006a4944
jmp 0x570e45
call fcn.006a3610
nop
lea rax, [rsp + 0xd0]
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
je 0x570e81
test rcx, rcx
je 0x570e81
mov rdx, qword [rsp + 0xd0]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, r13
jbe 0x570e7c
call fcn.006a4944
jmp 0x570e81
call fcn.006a3610
xor eax, eax
lea r11, [rsp + 0x1a60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret