Function at 0x18002ea50
Capabilities:
Read file via mapping

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15d, r8d
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x31], rcx
mov rdx, rcx
lea rcx, [rbp - 0x51]
call fcn.180003df0
mov rdi, rax
mov qword [rbp - 0x59], rax
xor r12d, r12d
mov qword [rbp - 9], r12
mov qword [rbp + 7], r12
mov qword [rbp + 0xf], 7
mov word [rbp - 9], r12w
lea r8d, [r12 + 0x12]
lea rdx, str.G_AudioFormatInfo_
lea rcx, [rbp - 9]
call fcn.1800040b0
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp + 7]
sub rax, rdx
cmp rax, rcx
jb 0x18002ed8b
lea r9, [rbp - 9]
cmp qword [rbp + 0xf], 8
cmovae r9, qword [rbp - 9]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x18002eafc
mov rax, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x29]
call fcn.180004770
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x18002eb56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002eb50
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002ed91
call fcn.18004a624
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x18002eb95
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18002eb90
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002ed97
mov rcx, r8
call fcn.18004a624
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
lea r8, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae r8, qword [rbp - 0x29]
xor edx, edx
lea ecx, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov rdi, rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
test rax, rax
jne 0x18002ec85
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x18002ec2e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ec29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002ed7f
call fcn.18004a624
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18002ec7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18002ec79
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002ed85
mov rcx, r8
call fcn.18004a624
xor al, al
jmp 0x18002ed51
imul ecx, r15d, 0x32
add rcx, rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
mov word [rcx + 0x30], ax
movzx r8d, word [r14 + 0x10]
add r8, 0x14
mov rdx, r14
call fcn.180051aa0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x18002ed03
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ecfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002ed7f
call fcn.18004a624
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r12w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18002ed4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18002ed4a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002ed85
mov rcx, r8
call fcn.18004a624
mov al, 1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.180049ee0
add rsp, 0xc0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180002a40
nop
call fcn.180055d94
nop
call fcn.180055d94
int3