Function at 0x1400039d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, rdx
mov rbp, r9
mov edx, 0xffffffff
mov r14, r8
mov rdi, rcx
call fcn.14000d650
cmp byte [rsi], 0x2d
jne 0x140003a46
cmp byte [rsi + 1], 0
jne 0x140003a46
xor ecx, ecx
call fcn.14003b4c4
mov rcx, rax
mov rbx, rax
call fcn.140005220
mov ecx, dword [0x14007b4a8]
cmp ecx, 8
jne 0x140003a80
cmp dword [0x14007b4c0], 0xa
jge 0x140003c3b
lea rcx, str.sorry__vorbis_support_in_LAME_is_deprecated._n
call fcn.140001e20
jmp 0x140003c3b
lea rdx, [0x14005a974]
mov rcx, rsi
call fcn.1400063b0
mov rbx, rax
test rax, rax
jne 0x140003a1d
cmp dword [0x14007b4c0], 0xa
jge 0x140003c6d
mov rdx, rsi
lea rcx, str.Could_not_find___s_._n
call fcn.140001e20
xor eax, eax
jmp 0x140003cda
cmp ecx, 1
jne 0x140003acd
cmp dword [0x14007b4c0], 9
jge 0x140003abc
lea rcx, str.Assuming_raw_pcm_input_file
call fcn.140001d20
cmp dword [0x14007b4ac], 0
lea rcx, str._:_Forcing_byte_swapping_n
jne 0x140003ab1
lea rcx, [0x14005a9fc]
call fcn.140001d20
mov ecx, dword [0x14007b4a8]
mov eax, dword [0x14007b4ac]
mov dword [0x14007b418], eax
jmp 0x140003c12
mov r9, rbx
mov dword [rsp + 0x30], 0
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.14003bcb0
movzx eax, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x30]
shl ecx, 8
or ecx, eax
mov dword [0x14007b410], 0
movzx eax, byte [rsp + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x33]
shl ecx, 8
or ecx, eax
xor eax, eax
cmp dword [0x14007a004], 1
setne al
mov dword [0x14007b41c], eax
cmp ecx, 0x52494646
jne 0x140003bb9
mov rdx, rbx
mov rcx, rdi
call fcn.140004560
cmp eax, 7
jne 0x140003b59
mov dword [0x14007b410], 1
mov ecx, eax
jmp 0x140003c0c
test eax, eax
jle 0x140003ba5
mov rcx, rdi
call fcn.14000c750
cmp eax, 0xffffffff
je 0x140003b87
cmp dword [0x14007b4b8], 1
je 0x140003b87
mov dword [0x14007b410], 1
mov ecx, 2
jmp 0x140003c0c
mov edx, 0xffffffff
mov dword [0x14007b410], 0
mov rcx, rdi
call fcn.14000d650
mov ecx, 2
jmp 0x140003c0c
jns 0x140003c0a
cmp dword [0x14007b4c0], 0xa
jge 0x140003c0a
lea rcx, str.Warning:_corrupt_or_unsupported_WAVE_format_n
jmp 0x140003c05
cmp ecx, 0x464f524d
jne 0x140003bf5
mov rdx, rbx
mov rcx, rdi
call fcn.140003d00
test eax, eax
jle 0x140003be1
mov dword [0x14007b410], 1
mov ecx, 3
jmp 0x140003c0c
jns 0x140003c0a
cmp dword [0x14007b4c0], 0xa
jge 0x140003c0a
lea rcx, str.Warning:_corrupt_or_unsupported_AIFF_format_n
jmp 0x140003c05
cmp dword [0x14007b4c0], 0xa
jge 0x140003c0a
lea rcx, str.Warning:_unsupported_audio_format_n
call fcn.140001e20
xor ecx, ecx
mov dword [0x14007b4a8], ecx
cmp ecx, 7
jne 0x140003c37
mov r9, r14
mov qword [rsp + 0x20], rbp
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call fcn.1400038d0
test eax, eax
jne 0x140003cd7
jmp 0x140003c3b
test ecx, ecx
jne 0x140003c71
xor ecx, ecx
call fcn.14003b4c4
cmp rbx, rax
je 0x140003c6d
test rbx, rbx
je 0x140003c6d
mov rcx, rbx
call fcn.14003b5d0
test eax, eax
je 0x140003c6d
cmp dword [0x14007b4c0], 0xa
jge 0x140003c6d
lea rcx, str.Could_not_close_audio_input_file_n
call fcn.140001e20
xor eax, eax
jmp 0x140003cda
mov rcx, rdi
call fcn.14000c750
cmp eax, 0xffffffff
jne 0x140003cd7
xor ecx, ecx
call fcn.14003b4c4
cmp rbx, rax
je 0x140003cd7
mov rcx, rdi
call fcn.14000c720
mov rcx, rbx
mov esi, eax
call fcn.140003880
xorps xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
comisd xmm1, xmm0
jb 0x140003cd7
test esi, esi
jle 0x140003cd7
lea eax, [rsi + rsi]
mov rcx, rdi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvttsd2si rdx, xmm1
call fcn.14000d650
mov dword [0x14007b410], 0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret