Function at 0x18002eda0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x18009e010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x21], rdx
lea rcx, [rbp - 0x41]
call fcn.180003df0
mov rsi, rax
mov qword [rbp - 0x49], rax
xor r15d, r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r15w
lea r8d, [r15 + 0x11]
lea rdx, str.G_AudioIndexInfo_
lea rcx, [rbp - 0x19]
call fcn.1800040b0
nop
mov rcx, qword [rsi + 0x10]
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp - 9]
sub rax, rdx
cmp rax, rcx
jb 0x18002f0ce
lea r9, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r9, qword [rbp - 0x19]
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x18002ee4a
mov rax, qword [rsi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 7]
call fcn.180004770
nop
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x18002eea4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ee9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f0d4
call fcn.18004a624
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x18002eee3
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x18002eede
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002f0bc
mov rcx, r8
call fcn.18004a624
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], 7
mov word [rsi], r15w
lea r8, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae r8, qword [rbp + 7]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov r14, rax
test rax, rax
jne 0x18002f004
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
xor r8d, r8d
lea rdx, [0x18008d4a8]
mov rcx, rdi
call fcn.1800040b0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18002ef7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ef79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f0c2
call fcn.18004a624
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r15w
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18002efce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x18002efc9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18002f0c8
mov rcx, r8
call fcn.18004a624
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov rax, rdi
mov word [rbx], r15w
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180049ee0
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rsi, rax
mov qword [rbp - 0x19], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], 7
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x18002f040
mov rdx, rsi
lea rcx, [rbp - 0x19]
call fcn.1800040b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rdi + 0x10], xmm1
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x18002ef7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002ef79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002f0c2
jmp 0x18002ef79
call fcn.180055d94
int3
call fcn.180055d94
nop
call fcn.180055d94
nop
call fcn.180002a40
nop
call fcn.180055d94
int3