Function at 0x140003d00
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x14007a080]
xor rax, rsp
mov qword [rbp - 0x29], rax
xorps xmm0, xmm0
mov qword [rbp - 0x41], rcx
xor eax, eax
lea rcx, [rsp + 0x20]
mov r14, rdx
mov qword [rbp - 0x49], rax
xor ebx, ebx
mov dword [rsp + 0x20], eax
mov r9, rdx
mov dword [rbp - 0x7d], ebx
mov r15d, 0xffffffff
mov dword [rbp - 0x79], ebx
mov edx, 1
mov dword [rsp + 0x50], r15d
mov r8d, 4
mov esi, 0x4e4f4e45
movups xmmword [rbp - 0x69], xmm0
movups xmmword [rbp - 0x59], xmm0
call fcn.14003bcb0
mov r9, r14
mov dword [rsp + 0x24], ebx
mov edx, 1
lea rcx, [rsp + 0x24]
mov r8d, 4
call fcn.14003bcb0
movzx eax, byte [rsp + 0x25]
movzx ecx, byte [rsp + 0x24]
movzx edi, byte [rsp + 0x20]
shl edi, 8
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x21]
or edi, eax
mov dword [rbp - 0x71], ecx
movzx eax, byte [rsp + 0x22]
shl edi, 8
or edi, eax
movzx eax, byte [rsp + 0x23]
shl edi, 8
or edi, eax
sub edi, 4
cmp ecx, 0x41494646
je 0x140003e05
cmp ecx, 0x41494643
jne 0x140004519
movzx eax, word [rbp - 0x61]
mov r12d, dword [rbp - 0x45]
mov edx, dword [rbp - 0x51]
movsd xmm6, qword [rbp - 0x59]
mov r13d, dword [rbp - 0x65]
movzx ecx, word [rbp - 0x69]
mov word [rsp + 0x24], ax
cmp edi, 8
jb 0x14000437a
movsd xmm9, qword [0x14005aa70]
movsd xmm8, qword [0x14005aa48]
movsd xmm7, qword [0x14005aa38]
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x54], r13d
mov word [rsp + 0x28], cx
nop dword [rax]
nop word [rax + rax]
mov r9, r14
mov dword [rsp + 0x30], 0
mov edx, 1
lea rcx, [rsp + 0x30]
mov r8d, 4
call fcn.14003bcb0
movzx eax, byte [rsp + 0x31]
mov r9, r14
movzx ecx, byte [rsp + 0x30]
mov edx, 1
shl ecx, 8
mov r8d, 4
or ecx, eax
movzx eax, byte [rsp + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x33]
shl ecx, 8
or ecx, eax
cmp ecx, 0x434f4d4d
jne 0x14000411d
lea rcx, [rsp + 0x34]
mov dword [rsp + 0x34], 0
call fcn.14003bcb0
movzx eax, byte [rsp + 0x35]
add edi, 0xfffffff8
movzx ebx, byte [rsp + 0x34]
shl ebx, 8
or ebx, eax
movzx eax, byte [rsp + 0x36]
shl ebx, 8
or ebx, eax
movzx eax, byte [rsp + 0x37]
shl ebx, 8
or ebx, eax
mov eax, ebx
and eax, 1
add ebx, eax
cmp ebx, 0x12
jb 0x140004519
cmp edi, ebx
jb 0x140004519
mov eax, dword [rbp - 0x79]
lea rcx, [rsp + 0x2c]
sub edi, ebx
mov word [rsp + 0x2c], 0
inc eax
mov r9, r14
mov edx, 1
mov dword [rbp - 0x7d], eax
mov r8d, 2
call fcn.14003bcb0
movzx ecx, byte [rsp + 0x2c]
mov r9, r14
movzx eax, byte [rsp + 0x2d]
mov edx, 1
shl cx, 8
mov r8d, 4
or cx, ax
mov dword [rsp + 0x38], 0
mov word [rsp + 0x28], cx
lea rcx, [rsp + 0x38]
call fcn.14003bcb0
movzx eax, byte [rsp + 0x39]
mov r9, r14
movzx ecx, byte [rsp + 0x38]
mov edx, 1
shl ecx, 8
mov r8d, 2
or ecx, eax
mov word [rsp + 0x20], 0
movzx eax, byte [rsp + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x3b]
shl ecx, 8
or ecx, eax
mov dword [rsp + 0x54], ecx
lea rcx, [rsp + 0x20]
call fcn.14003bcb0
movzx ecx, byte [rsp + 0x20]
mov r9, r14
movzx eax, byte [rsp + 0x21]
mov edx, 1
shl cx, 8
mov r8d, 0xa
or cx, ax
xor eax, eax
mov word [rsp + 0x24], cx
lea rcx, [rbp - 0x39]
mov qword [rbp - 0x39], rax
mov word [rbp - 0x31], ax
call fcn.14003bcb0
movzx r15d, byte [rbp - 0x39]
xorps xmm6, xmm6
movzx ecx, byte [rbp - 0x37]
mov eax, r15d
movzx r13d, byte [rbp - 0x33]
and eax, 0x80
mov dword [rbp - 0x75], eax
and r15d, 0x7f
movzx eax, byte [rbp - 0x38]
shl ecx, 8
shl r13d, 8
shl r15d, 8
or r15d, eax
movzx eax, byte [rbp - 0x36]
or ecx, eax
movzx eax, byte [rbp - 0x35]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [rbp - 0x32]
or r13d, eax
movzx eax, byte [rbp - 0x31]
shl r13d, 8
or r13d, eax
movzx eax, byte [rbp - 0x30]
shl r13d, 8
or r13d, eax
test r15d, r15d
jne 0x14000405e
test ecx, ecx
jne 0x14000406d
test r13d, r13d
je 0x1400040b1
cmp r15d, 0x7fff
jne 0x14000406d
movaps xmm6, xmm8
jmp 0x1400040b1
lea eax, [rcx - 0x80000000]
movd xmm0, eax
lea edx, [r15 - 0x401e]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm7
call fcn.14003c7b4
movaps xmm6, xmm0
lea eax, [r13 - 0x80000000]
movd xmm0, eax
lea edx, [r15 - 0x403e]
cvtdq2pd xmm0, xmm0
addsd xmm0, xmm7
call fcn.14003c7b4
addsd xmm6, xmm0
cmp dword [rbp - 0x75], 0
je 0x1400040bb
xorps xmm6, xmm9
add ebx, 0xffffffee
cmp dword [rbp - 0x71], 0x41494643
jne 0x140004116
cmp ebx, 4
jb 0x140004519
mov r9, r14
mov dword [rsp + 0x3c], 0
mov edx, 1
lea rcx, [rsp + 0x3c]
mov r8d, 4
call fcn.14003bcb0
movzx eax, byte [rsp + 0x3d]
movzx esi, byte [rsp + 0x3c]
shl esi, 8
or esi, eax
movzx eax, byte [rsp + 0x3e]
shl esi, 8
or esi, eax
movzx eax, byte [rsp + 0x3f]
shl esi, 8
or esi, eax
add ebx, 0xfffffffc
mov edx, ebx
jmp 0x1400042a0
cmp ecx, 0x53534e44
jne 0x140004257
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0
call fcn.14003bcb0
movzx eax, byte [rsp + 0x41]
add edi, 0xfffffff8
movzx ebx, byte [rsp + 0x40]
shl ebx, 8
or ebx, eax
movzx eax, byte [rsp + 0x42]
shl ebx, 8
or ebx, eax
movzx eax, byte [rsp + 0x43]
shl ebx, 8
or ebx, eax
mov eax, ebx
and eax, 1
add ebx, eax
cmp ebx, 8
jb 0x140004519
cmp edi, ebx
jb 0x140004519
mov r9, r14
mov dword [rbp - 0x79], 1
mov edx, 1
mov dword [rsp + 0x58], 0x53534e44
mov r8d, 4
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0x44]
sub edi, ebx
call fcn.14003bcb0
movzx eax, byte [rsp + 0x45]
lea rcx, [rsp + 0x48]
movzx r15d, byte [rsp + 0x44]
mov r9, r14
shl r15d, 8
mov edx, 1
or r15d, eax
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x46]
mov r8d, 4
shl r15d, 8
or r15d, eax
movzx eax, byte [rsp + 0x47]
shl r15d, 8
or r15d, eax
call fcn.14003bcb0
movzx eax, byte [rsp + 0x49]
mov rcx, r14
movzx r12d, byte [rsp + 0x48]
shl r12d, 8
or r12d, eax
movzx eax, byte [rsp + 0x4a]
shl r12d, 8
or r12d, eax
movzx eax, byte [rsp + 0x4b]
shl r12d, 8
or r12d, eax
cmp dword [rbp - 0x7d], 0
jg 0x1400042bb
call fcn.14003c4d0
lea edx, [rbx - 8]
mov rcx, r14
mov r13d, eax
call fcn.1400024e0
test eax, eax
jne 0x140004519
test r13d, r13d
lea ebx, [r15 + r13]
cmovs ebx, r13d
mov dword [rsp + 0x50], ebx
jmp 0x1400042b0
lea rcx, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0
call fcn.14003bcb0
movzx eax, byte [rsp + 0x4d]
add edi, 0xfffffff8
movzx edx, byte [rsp + 0x4c]
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x4e]
shl edx, 8
or edx, eax
movzx eax, byte [rsp + 0x4f]
shl edx, 8
or edx, eax
mov eax, edx
and eax, 1
add edx, eax
cmp edi, edx
jb 0x140004519
sub edi, edx
mov rcx, r14
call fcn.1400024e0
test eax, eax
jne 0x140004519
cmp edi, 8
jae 0x140003e60
jmp 0x1400042cb
mov edx, r15d
call fcn.1400024e0
test eax, eax
jne 0x140004519
cmp esi, 0x736f7774
jne 0x1400042fb
mov eax, dword [0x14007b4ac]
mov r15d, dword [rsp + 0x50]
mov r13d, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x28]
mov edx, dword [rsp + 0x58]
mov dword [0x14007b420], 0
jmp 0x14000438c
cmp esi, 0x74776f73
jne 0x14000432a
mov r15d, dword [rsp + 0x50]
xor eax, eax
cmp dword [0x14007b4ac], eax
mov r13d, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x28]
mov edx, dword [rsp + 0x58]
mov dword [0x14007b420], 0
jmp 0x140004389
cmp esi, 0x4e4f4e45
je 0x140004365
cmp esi, 0x666c3332
jne 0x140004519
mov r15d, dword [rsp + 0x50]
xor eax, eax
cmp dword [0x14007b4ac], eax
mov r13d, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x28]
mov edx, dword [rsp + 0x58]
mov dword [0x14007b420], 1
jmp 0x140004389
mov r15d, dword [rsp + 0x50]
xor ebx, ebx
mov r13d, dword [rsp + 0x54]
movzx ecx, word [rsp + 0x28]
mov edx, dword [rsp + 0x58]
cmp dword [0x14007b4ac], 0
mov eax, ebx
mov dword [0x14007b420], ebx
sete al
cmp dword [rbp - 0x7d], 0
mov dword [0x14007b418], eax
je 0x140004519
cmp dword [rbp - 0x79], 0
jg 0x1400043ab
test r13d, r13d
jne 0x140004519
cmp edx, 0x53534e44
je 0x1400043d3
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
lea rcx, str.ERROR:_input_sound_data_is_not_PCM_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
movsx edi, word [rsp + 0x24]
mov eax, edi
add eax, 0xfffffff8
test eax, 0xffffffe7
je 0x140004404
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
lea rcx, str.ERROR:_input_sound_data_is_not_8__16__24_or_32_bits_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
lea eax, [rcx - 1]
cmp ax, 1
jbe 0x14000442d
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
lea rcx, str.ERROR:_input_sound_data_is_not_mono_or_stereo_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
test r12d, r12d
je 0x140004452
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
lea rcx, str.ERROR:_block_size_of_input_sound_data_is_not_0_bytes_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
mov rsi, qword [rbp - 0x41]
movsx ebx, cx
test rsi, rsi
je 0x1400044c7
mov edx, ebx
mov rcx, rsi
call fcn.14000d610
cmp eax, 0xffffffff
jne 0x14000448f
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
mov edx, ebx
lea rcx, str.Unsupported_number_of_channels:__d_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
mov ebx, dword [0x14007b4b4]
test ebx, ebx
jne 0x14000449d
cvttsd2si ebx, xmm6
mov edx, ebx
mov rcx, rsi
call fcn.14000d340
cmp eax, 0xffffffff
jne 0x1400044c7
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
mov edx, ebx
lea rcx, str.Unsupported_sample_rate:__d_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
mov edx, r13d
mov rcx, rsi
call fcn.14000d650
mov dword [0x14007b414], edi
mov dword [0x14007b41c], 0
test r15d, r15d
js 0x140004512
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.14003bfec
test eax, eax
je 0x140004512
cmp dword [0x14007b4c0], 0xa
jge 0x14000450e
lea rcx, str.Cant_rewind_stream_to_audio_data_position_n
call fcn.140001e20
xor eax, eax
jmp 0x14000451e
mov eax, 1
jmp 0x14000451e
mov eax, 0xffffffff
mov rcx, qword [rbp - 0x29]
xor rcx, rsp
call fcn.140035970
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret