Function at 0x14009fd60
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [r11 - 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14015b010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, rcx
mov dword [rsp + 0x40], 0
mov r15d, 1
mov qword [r11 - 0x28], 0
lea edx, [r15 + 0x7a]
mov rcx, qword [rcx + 8]
call fcn.1400c6afc
mov rcx, rax
mov rdi, 0xffffffffffffffff
test rax, rax
jne 0x14009fdc8
mov ecx, edi
jmp 0x14009fdcf
sub rcx, qword [rsi + 8]
sar rcx, 1
mov rax, qword [rsi + 8]
mov r9d, dword [rax - 0x10]
sub r9d, ecx
mov r8d, ecx
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 8]
call fcn.14000fdf0
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x48], 0
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14009fe15
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14009fe26
call fcn.140004ea0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x1400a0032
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 3
mov ecx, dword [rbx - 0x10]
lea rdx, str.GlobalRtk_Gen4BSSNLT2_
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009fe53
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, eax
lea rcx, [rsp + 0x48]
call fcn.14000ff40
lea r8, str._C18E2F7E_933D_4965_B7D1_1EEF228D2AF3
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.14000fc80
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14009fea7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14009fec1
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9, qword [rsp + 0x60]
mov r8d, 0x16d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::CheckSNR
lea rcx, str._s__d_csTmpEndpointId__s
call fcn.14005f240
mov r8, qword [rsp + 0x60]
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_OpenFileMappingW]
mov rbp, rax
test rax, rax
jne 0x14009ff15
mov r8d, 0x175
lea rdx, str.CRtkBssGen5SpkTrackEnroll::CheckSNR
lea rcx, str._s__d_OpenFileMapping_fail
call fcn.14005f240
jmp 0x14009ffeb
mov qword [rsp + 0x20], 0x20
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_MapViewOfFile]
mov rbx, rax
test rax, rax
jne 0x14009ff60
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov r8d, 0x182
lea rdx, str.CRtkBssGen5SpkTrackEnroll::CheckSNR
lea rcx, str._s__d_MapViewOfFile_fail
call fcn.14005f240
jmp 0x14009ffeb
movss xmm3, dword [rax + 4]
movss dword [rsi + 0x8a8], xmm3
movss xmm1, dword [rax + 8]
movss dword [rsi + 0x8ac], xmm1
movss xmm2, dword [rsi + 0x8b0]
movss xmm0, dword [rsi + 0x8b4]
comiss xmm3, xmm2
ja 0x14009ff94
comiss xmm0, xmm1
jbe 0x14009ff97
xor r15d, r15d
cvtps2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
cvtps2pd xmm2, xmm2
cvtps2pd xmm3, xmm3
mov dword [rsp + 0x38], r15d
movsd qword [rsp + 0x30], xmm0
movsd qword [rsp + 0x28], xmm1
movsd qword [rsp + 0x20], xmm2
movq r9, xmm3
mov r8d, 0x18c
lea rdx, str.CRtkBssGen5SpkTrackEnroll::CheckSNR
lea rcx, str._s__d_Noise__f__f__Speech__f__f___bRet___d
call fcn.14005f240
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_memory_l1_1_0.dll_UnmapViewOfFile]
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400a0008
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r15d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c0920
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
int3