Function at 0x1400ad370
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1401a4010]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov r8d, 0xa58
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, [0x140119e10]
call fcn.140065460
xor r12d, r12d
mov dword [r15 + 0x938], r12d
mov qword [r15 + 0x9d0], r12
mov dword [r15 + 0x9d8], r12d
mov dword [r15 + 0x9e0], r12d
mov qword [r15 + 0x940], 0x41b00000
mov qword [r15 + 0x948], r12
mov rcx, r15
call fcn.1400aac40
mov qword [rsp + 0x50], r12
mov r13d, r12d
mov dword [rsp + 0x64], r12d
mov dword [rsp + 0x48], r12d
mov qword [rbp - 8], r12
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 8], r12
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x20], r12
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400ae8e2
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x88], rax
lea rbx, [0x140119b08]
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.140004bf0
lea rsi, [r12 - 1]
test al, al
jne 0x1400ad49d
mov rax, rsi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400ad480
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x88]
call fcn.140004e70
nop
mov r14d, SafeArrayDestroy
mov dword [rsp + 0x68], r14d
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400ae8d7
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x68], rax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.140004bf0
test al, al
jne 0x1400ad4fa
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400ad4e0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.140004e70
nop
mov qword [rbp + 0x30], r12
mov qword [r15 + 0x9d8], r12
mov dword [r15 + 0x938], r12d
lea rcx, str.SpeakerVerfDll.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov rbx, rax
mov qword [rbp - 0x20], rax
test rax, rax
jne 0x1400ad547
mov r8d, 0xa8f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Load_SpeakerVerfDll.dll_fail
call fcn.140065460
mov rdi, qword [rbp + 0x68]
jmp 0x1400ae6d9
lea rdx, str.SVE_Init
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
lea rdx, str.SVE_Init2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r12, rax
lea rdx, str.SVE_StartTrain
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r15, rax
lea rdx, str.SVE_Process
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
lea rdx, str.SVE_Process2
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x78], rax
lea rdx, str.SVE_GetTrainDataReady
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x48], rax
lea rdx, str.SVE_Stop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x30], rax
lea rdx, str.SVE_GetOutputTrainDataSize
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x40], rax
lea rdx, str.SVE_SaveTrainDataToMemory
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x38], rax
lea rdx, str.SVE_Destroy
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rbp - 0x28], rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov dword [rbp - 0x80], eax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
lea r9, [0x14011dec8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14011dee8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400ad666
mov r9d, eax
mov r8d, 0xaa2
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
call fcn.140065460
mov rdi, qword [rbp + 0x68]
mov r15, qword [rsp + 0x40]
jmp 0x1400ae6d6
mov rsi, qword [rsp + 0x40]
mov rdx, qword [rsi + 0x10]
cmp dword [rdx - 0x10], 0
je 0x1400ad6c2
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
lea r8, [rbp + 8]
call qword [rax + 0x28]
mov ebx, eax
mov r9, qword [rsi + 0x10]
mov r8d, 0xaa7
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_GetDevice_EndpointId_s
call fcn.140065460
test ebx, ebx
jns 0x1400ad6c2
mov r9d, ebx
mov r8d, 0xaa8
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov rcx, qword [rbp + 8]
test rcx, rcx
jne 0x1400ad711
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
lea r9, [rbp + 8]
mov edx, 1
mov r8d, edx
call qword [rax + 0x20]
test eax, eax
jns 0x1400ad70d
mov r8d, 0xaae
mov r9d, eax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
call fcn.140065460
mov rdi, qword [rbp + 0x68]
mov r15, rsi
jmp 0x1400ae6cf
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x30]
call qword [rax + 0x28]
test eax, eax
jns 0x1400ad727
mov r8d, 0xab3
jmp 0x1400ad6eb
mov rdx, qword [rbp + 0x30]
test rdx, rdx
jne 0x1400ad736
xor ebx, ebx
mov eax, ebx
jmp 0x1400ad74c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400ad740
xor ebx, ebx
mov r8d, eax
lea rcx, [rbp + 0x68]
call fcn.140004e70
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rdi, qword [rbp + 0x68]
mov r9, rdi
mov r8d, 0xab8
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_IMMDevice_GetDevice_EndpointId_s
call fcn.140065460
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [0x1401605b8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400ad7cb
mov r8d, 0xabb
mov r9d, eax
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140065460
mov r15, rsi
jmp 0x1400ae6cf
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
call qword [rax + 0x40]
test eax, eax
jns 0x1400ad7e5
mov r8d, 0xac2
jmp 0x1400ad7ad
mov rcx, qword [rbp - 8]
movzx eax, word [rcx + 0xc]
movzx edx, word [rcx + 2]
movzx r9d, word [rcx]
mov dword [rsp + 0x30], eax
mov eax, dword [rcx + 4]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov r8d, 0xac3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Mix_Format:_tag0x_X__channels_d__sample_rate_d__block_align_d
call fcn.140065460
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r9, [rbp + 0x58]
mov r8, qword [rbp - 8]
xor edx, edx
call qword [rax + 0x38]
test eax, eax
jns 0x1400ad851
mov r9d, eax
mov r8d, 0xac6
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov r8, qword [rbp - 8]
mov r9d, dword [r8 + 4]
cmp r9d, 0xbb80
je 0x1400ad895
cmp r9d, 0x17700
je 0x1400ad895
cmp r9d, 0x2ee00
je 0x1400ad895
mov r8d, 0xad2
lea rcx, str._s__d_currently_only_support_48k___96k___192k_sample_rate__sample_rate_d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140065460
mov r15, rsi
jmp 0x1400ae6cf
movzx eax, word [r8]
mov ecx, 3
cmp cx, ax
je 0x1400ad8cd
mov ecx, 0xfffe
cmp cx, ax
jne 0x1400ad8c7
mov rax, qword [0x1401605c8]
cmp rax, qword [r8 + 0x18]
jne 0x1400ad8c7
mov rax, qword [0x1401605d0]
cmp rax, qword [r8 + 0x20]
je 0x1400ad8cd
mov qword [rbp - 0x70], rbx
jmp 0x1400ad8d5
mov qword [rbp - 0x70], 1
movzx eax, word [r8 + 0xe]
movzx ecx, word [r8 + 2]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x4c], eax
movzx ecx, word [r8 + 0xc]
cmp eax, ecx
je 0x1400ad920
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0xaee
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_not_support_FrameSize___pWfxIn__nBlockAlign._FrameSize:__d_bytes__BlockAlign:__d_bytes
call fcn.140065460
mov r15, rsi
jmp 0x1400ae6cf
mov dword [rbp + 0x80], ebx
mov qword [rbp + 0x28], rbx
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rbx
mov r9d, 0xf4240
xor r8d, r8d
xor edx, edx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400ad96e
mov r9d, eax
mov r8d, 0xafd
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rbp + 0x10]
lea rdx, [0x1401605d8]
call qword [rax + 0x70]
test eax, eax
jns 0x1400ad9a3
mov r9d, eax
mov r8d, 0xaff
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea rdx, [rbp + 0x80]
call qword [rax + 0x20]
test eax, eax
jns 0x1400ad9d4
mov r9d, eax
mov r8d, 0xb01
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov r9d, dword [rbp + 0x80]
mov r8d, 0xb02
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_bufferFrameCount:__d
call fcn.140065460
mov eax, dword [rbp + 0x80]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, qword [0x14016db10]
mov rax, qword [rbp - 8]
mov ecx, dword [rax + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm1, xmm0
cvttsd2si rcx, xmm1
movabs rax, 0x346dc5d63886594b
imul rcx
mov rbx, rdx
sar rbx, 0xc
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov qword [rbp - 0x18], rbx
mov qword [rsp + 0x20], rcx
mov r9d, 0xf4240
mov r8d, 0xb07
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hnsRequestedDuratio:__I64d__hnsActualDuration:__I64d
call fcn.140065460
mov r9d, ebx
mov r8d, 0xb08
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_sleep_time:__d
call fcn.140065460
mov dword [rbp + 0x60], 0
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400adab5
mov r9d, eax
mov r8d, 0xb0f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140065460
mov eax, 0x51eb851f
mov rcx, qword [rbp - 8]
mul dword [rcx + 4]
mov ebx, edx
shr ebx, 5
mov dword [rsp + 0x60], ebx
mov r9d, ebx
mov r8d, 0xb15
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_dwMonoFramesNumPerSec:__d
call fcn.140065460
mov eax, 4
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x58], rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400adb2d
mov r8d, 0xb18
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.140065460
mov r15, rsi
jmp 0x1400ae6cf
lea rax, [rbx*4]
mov qword [rbp - 0x58], rax
mov r9, rax
mov r8d, 0xb19
lea rcx, str._s__d_in_size:__d__bytes_
call fcn.140065460
mov eax, ebx
shl eax, 6
mov qword [rbp - 0x60], rax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x70], rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400adb8f
mov r8d, 0xb1c
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.140065460
mov r15, rsi
mov r12, qword [rsp + 0x58]
jmp 0x1400ae692
mov r9, qword [rbp - 0x60]
mov r8d, 0xb1d
lea rcx, str._s__d_pBufferFramesData_size:__d__bytes_
call fcn.140065460
mov rax, qword [rbp - 8]
movzx ecx, word [rax + 2]
imul ebx, ecx
mov eax, 4
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x50], rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400adbe5
mov r8d, 0xb22
jmp 0x1400adb76
lea rax, [rbx*4]
mov qword [rbp - 0x50], rax
mov r9, rax
mov r8d, 0xb23
lea rcx, str._s__d_iIntergerData_size:__d__bytes_
call fcn.140065460
mov eax, 4
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400adc3c
mov r8d, 0xb26
jmp 0x1400adb76
lea r9, [rbx*4]
mov r8d, 0xb27
lea rcx, str._s__d_fFloatData_size:__d__bytes_
call fcn.140065460
call fcn.14000b9e0
mov rdx, rdi
call fcn.140097690
mov qword [rbp - 0x68], rax
test rax, rax
je 0x1400ade98
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x70]
lea rdx, [0x140114d30]
lea rcx, [rbp + 0x68]
call fcn.1400039c0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test eax, eax
jne 0x1400adcc7
mov rdi, qword [rbp + 0x68]
mov r9, rdi
mov r8d, 0xb35
lea rcx, str._s__d_csEndpointId_s__get_PKEY_RTK_BSS_SVEParam_fail
call fcn.140065460
mov r8d, 0xb36
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
jmp 0x1400adb76
mov r14d, dword [rsp + 0x68]
mov r9d, r14d
mov r8d, 0xb3a
lea rcx, str._s__d_get_nDataSize__d
call fcn.140065460
mov r9d, dword [rbp + 0x70]
mov r8d, 0xb3b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinDataCount__d
call fcn.140065460
mov r9d, dword [rbp + 0x74]
mov r8d, 0xb3c
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinTrainMs__d
call fcn.140065460
mov r9d, dword [rbp + 0x78]
mov r8d, 0xb3d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMaxTrainMs__d
call fcn.140065460
cmp dword [rsi + 0x8e0], 0
je 0x1400ade0f
cmp dword [rsi + 0x8e4], 0
je 0x1400ade0f
mov dword [rsp + 0x6c], 0
mov r9d, 3
lea r8, [rsp + 0x6c]
lea rdx, [0x140114d18]
lea rcx, [rsi + 0x10]
call fcn.1400034c0
mov ebx, eax
mov edi, dword [rsp + 0x6c]
mov dword [rsp + 0x20], edi
mov r9d, eax
mov r8d, 0xb48
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Success__d___PKEY_RTK_BSS_Enroll_duration_d
call fcn.140065460
test ebx, ebx
je 0x1400ade0f
test edi, edi
je 0x1400ade0f
imul r9d, edi, 0x64
shr r9d, 1
mov dword [rbp + 0x70], r9d
imul eax, edi, 0x3e8
mov dword [rbp + 0x74], eax
add eax, eax
mov dword [rbp + 0x78], eax
mov r8d, 0xb4f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_override_SVEParams_nMinDataCount__d
call fcn.140065460
mov r9d, dword [rbp + 0x74]
mov r8d, 0xb50
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_override_SVEParams_nMinTrainMs__d
call fcn.140065460
mov r9d, dword [rbp + 0x78]
mov r8d, 0xb51
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_override_SVEParams_nMaxTrainMs__d
call fcn.140065460
mov eax, dword [rbp + 0x70]
mov dword [rsi + 0x1c], eax
mov eax, dword [rbp + 0x74]
mov dword [rsi + 0x20], eax
mov eax, dword [rbp + 0x78]
mov dword [rsi + 0x24], eax
mov rcx, qword [rbp - 0x68]
add rcx, 0x10
mov r9d, 3
lea r8, [rbp + 0x88]
lea rdx, [0x140114ce8]
call fcn.140004630
mov rdi, qword [rbp + 0x68]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
mov r9, rdi
test eax, eax
jne 0x1400ade78
mov r8d, 0xb5d
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path_fail
call fcn.140065460
mov r8d, 0xb5e
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
jmp 0x1400adb76
mov rbx, qword [rbp + 0x88]
mov qword [rsp + 0x20], rbx
mov r8d, 0xb62
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path__s
call fcn.140065460
jmp 0x1400ade9f
mov rbx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x14011ded8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400adeef
mov r9d, eax
mov r8d, 0xb68
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_ERROR_hr0x_X
call fcn.140065460
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
jmp 0x1400ae692
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], r14d
lea r9, [rbp + 0x70]
mov r14d, dword [rsp + 0x60]
mov r8d, r14d
mov edx, 1
mov rax, qword [rbp - 8]
mov ecx, dword [rax + 4]
call r12
mov rbx, rax
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp - 8]
mov r9d, dword [rcx + 4]
mov r8d, 0xb72
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SamplesPerSec:__d__channel:__d__MonoFramesNumPerSec:__d
call fcn.140065460
test rbx, rbx
jne 0x1400adfa8
mov r8d, 0xb73
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.140065460
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x58]
jmp 0x1400ae692
mov edx, 0x309
mov rcx, rbx
call r15
mov r15, qword [rsp + 0x40]
cmp dword [r15 + 0x8f4], 0
jne 0x1400ae62e
movss xmm6, dword [0x14016da80]
mov r12, qword [rsp + 0x70]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
cmp dword [r15 + 0x8f4], 0
jne 0x1400ae629
mov eax, dword [r15 + 0xd0]
cmp eax, 0x64
je 0x1400ae012
cmp eax, 0x78
je 0x1400ae012
cmp eax, 1
je 0x1400ae012
cmp eax, 0x190
je 0x1400ae012
cmp eax, 0x1a4
jne 0x1400ae61b
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x98]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x94]
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x28]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400ae5eb
mov dword [rsp + 0x64], eax
mov rcx, qword [rbp + 0x20]
mov rax, qword [rcx]
lea rdx, [r15 + 0x980]
call qword [rax + 0x48]
call fcn.14001f1b0
test dword [rax + 4], 0x2000000
jne 0x1400ae097
call fcn.14001f1b0
test dword [rax + 4], 0x10000
jne 0x1400ae097
movss xmm3, dword [r15 + 0x980]
mov r8d, dword [rbp + 0x60]
mov rdx, qword [rbp + 0x28]
mov rcx, r15
call fcn.1400ac050
jmp 0x1400ae09f
mov rcx, r15
call fcn.1400ab9d0
test eax, eax
jne 0x1400ae0b5
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x60]
call qword [rax + 0x20]
jmp 0x1400ae5d3
mov dword [rsp + 0x40], 0
mov ecx, dword [rbp + 0x60]
mov ebx, dword [rsp + 0x48]
lea eax, [rcx + rbx]
mov esi, dword [rsp + 0x4c]
imul eax, esi
mov rdx, qword [rbp - 0x60]
imul ecx, esi
cmp eax, edx
jbe 0x1400ae108
mov eax, esi
imul eax, ebx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, 0xbaf
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d__numFramesAvailable__dwFrameSize_:__d___dwBufferFramesNumNeedProcess__dwFrameSize_:__d__buffer_size___d
call fcn.140065460
jmp 0x1400ae5d3
mov r8d, ecx
mov ecx, esi
imul ecx, ebx
add rcx, r12
mov rdx, qword [rbp + 0x28]
call fcn.1400dacf0
add ebx, dword [rbp + 0x60]
mov dword [rsp + 0x48], ebx
cmp dword [r15 + 0x8f4], 0
jne 0x1400ae5d3
cmp ebx, r14d
jb 0x1400ae5ce
mov eax, dword [r15 + 0xd0]
cmp eax, 0x64
je 0x1400ae19d
cmp eax, 1
je 0x1400ae19d
cmp eax, 0x190
je 0x1400ae19d
cmp eax, 0x78
je 0x1400ae162
cmp eax, 0x1a4
jne 0x1400ae5c0
mov eax, dword [r15 + 0x938]
mov dword [rsp + 0x20], eax
mov r9d, dword [r15 + 0x9d8]
mov r8d, 0xc8b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Get_SpkEnroll_Train_Stop__have_send__d_to_APO._already_get_train_data____d
call fcn.140065460
mov dword [r15 + 0x8f4], 1
jmp 0x1400ae5c0
sub ebx, r14d
mov dword [rsp + 0x48], ebx
mov r8, qword [rbp - 0x58]
xor edx, edx
mov r12, qword [rsp + 0x58]
mov rcx, r12
call fcn.1400daa40
mov r8, qword [rbp - 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400daa40
mov r8, qword [rbp - 0x50]
xor edx, edx
mov rcx, r13
call fcn.1400daa40
mov ecx, dword [rsp + 0x40]
mov eax, ecx
imul eax, r14d
imul esi, eax
add rsi, qword [rsp + 0x70]
inc ecx
mov dword [rsp + 0x40], ecx
mov eax, r14d
imul eax, dword [rsp + 0x4c]
mov ebx, eax
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call fcn.1400dacf0
mov r8d, ebx
mov rdx, rsi
mov rcx, r13
call fcn.1400dacf0
cmp qword [rbp - 0x70], 0
jne 0x1400ae26a
mov rax, qword [rbp - 8]
movzx r8d, word [rax + 2]
imul r8d, r14d
xor edx, edx
test r8d, r8d
je 0x1400ae26a
mov rcx, r13
mov rbx, qword [rsp + 0x50]
mov r9, rbx
sub r9, r13
nop
mov rax, qword [rbp - 8]
cmp word [rax], 0x20
jne 0x1400ae783
movd xmm0, dword [r9 + rcx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rcx], xmm0
inc edx
add rcx, 4
cmp edx, r8d
jb 0x1400ae240
xor ebx, ebx
test r14d, r14d
je 0x1400ae339
mov r11, r12
mov rsi, r13
sub rsi, r12
nop
mov rax, qword [rbp - 8]
movzx r9d, word [rax + 2]
cmp r9d, 1
jbe 0x1400ae323
xorps xmm1, xmm1
xor edx, edx
cmp r9d, 4
jb 0x1400ae2f2
mov r8d, r9d
imul r8d, ebx
inc r8d
lea eax, [r9 - 4]
shr eax, 2
inc eax
mov r10d, eax
lea edx, [rax*4]
nop dword [rax + rax]
lea eax, [r8 - 1]
addss xmm1, dword [r13 + rax*4]
addss xmm1, dword [r13 + r8*4]
lea eax, [r8 + 1]
addss xmm1, dword [r13 + rax*4]
lea eax, [r8 + 2]
addss xmm1, dword [r13 + rax*4]
add r8d, 4
sub r10, 1
jne 0x1400ae2c0
cmp edx, r9d
jae 0x1400ae310
mov r8d, r9d
imul r8d, ebx
lea eax, [r8 + rdx]
addss xmm1, dword [r13 + rax*4]
inc edx
cmp edx, r9d
jb 0x1400ae2fe
xorps xmm0, xmm0
cvtsi2ss xmm0, r9
divss xmm1, xmm0
movss dword [r11], xmm1
jmp 0x1400ae32a
mov eax, dword [rsi + r11]
mov dword [r11], eax
inc ebx
add r11, 4
cmp ebx, r14d
jb 0x1400ae280
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
mov rsi, qword [rbp - 0x78]
call rsi
inc dword [r15 + 0x9d8]
mov dword [rbp + 0x90], 0
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [rbp - 0x48]
cmp dword [rbp + 0x90], 0
je 0x1400ae575
mov dword [r15 + 0x938], 1
mov r8d, 0xc21
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_already_get_enough_train_data__exit
call fcn.140065460
mov dword [r15 + 0x8f4], 1
mov r9d, 1
mov r8d, r14d
mov rdx, r12
mov rcx, rbx
call rsi
mov rcx, rbx
call qword [rbp - 0x40]
mov esi, eax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, 0xc29
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__get_SVE_GetOutputTrainDataSize__d
call fcn.140065460
test esi, esi
je 0x1400ae518
mov ecx, esi
call fcn.1400d3e08
mov r14, rax
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [rbp - 0x38]
cmp dword [r15 + 0x93c], 0
jne 0x1400ae44a
mov r8d, 1
mov rdx, qword [rbp - 0x68]
mov rcx, r15
call fcn.1400b0420
test eax, eax
jne 0x1400ae43d
mov r9, rdi
mov r8d, 0xc4a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__backup_to_PKEY_RTK_BSS_SVETrainData_Backup_fail
call fcn.140065460
mov dword [r15 + 0x93c], 1
jmp 0x1400ae463
mov r8d, 0xc51
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Speaker_tracking__already_backup_speaker_tracking_data__skip_to_save_again
call fcn.140065460
xor eax, eax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov eax, 0x41
mov word [rbp + 0x38], ax
mov dword [rbp + 0x40], esi
mov qword [rbp + 0x48], r14
lea r9d, [rax - 0x3f]
lea r8, [rbp + 0x38]
lea rdx, [0x1401188b8]
lea rcx, [rbp + 0x68]
call fcn.140004210
mov ebx, eax
xor eax, eax
mov dword [rbp + 0x40], eax
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp + 0x68]
mov r9, rdi
mov r8d, 0xc56
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_bSuccess_d
call fcn.140065460
mov r9, rdi
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test ebx, ebx
jne 0x1400ae4f0
mov r8d, 0xc59
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_fail
call fcn.140065460
jmp 0x1400ae506
mov dword [rsp + 0x20], esi
mov r8d, 0xc5d
lea rcx, str._s__d_csEndpointId_s__set_nDataSize__d
call fcn.140065460
test r14, r14
je 0x1400ae513
mov rcx, r14
call fcn.1400d37cc
mov r14d, dword [rsp + 0x60]
mov r8d, 0xc6d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_notify_UWP_to_update_speaker_train_data
call fcn.140065460
mov edx, 0x1000024b
lea rcx, [0x140119b08]
call fcn.1400c75b0
cmp dword [r15 + 0xd4], 0
je 0x1400ae5b8
cmp dword [r15 + 0x8e0], 0
je 0x1400ae5b8
mov ebx, dword [rsp + 0x48]
mov esi, dword [rsp + 0x4c]
cmp dword [r15 + 0x8e4], 0
jne 0x1400ae5c0
mov dword [r15 + 0xd0], 0x78
jmp 0x1400ae5c0
cmp dword [r15 + 0xd4], 0
je 0x1400ae5b8
mov r9d, dword [r15 + 0x9d8]
cmp r9d, 0x802
jbe 0x1400ae5b8
mov dword [rsp + 0x20], 0
mov r8d, 0xc85
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Error_TrainDataCnt__d__TrainStatus___d
call fcn.140065460
mov rcx, r15
call fcn.1400b0250
mov ebx, dword [rsp + 0x48]
mov esi, dword [rsp + 0x4c]
cmp dword [r15 + 0x8f4], 0
je 0x1400ae131
mov r12, qword [rsp + 0x70]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x60]
call qword [rax + 0x20]
cmp dword [rbp + 0x60], 0
je 0x1400ae61b
jmp 0x1400adfdc
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp eax, 0x3c
jbe 0x1400ae61b
mov r8d, 0xca1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Get_MIC_stream_buffer_error
call fcn.140065460
mov rcx, r15
call fcn.1400b0250
cmp dword [r15 + 0x8f4], 0
je 0x1400adfd3
mov rbx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x58]
cmp dword [r15 + 0x938], 0
jne 0x1400ae663
mov r9d, 1
mov r8d, r14d
mov rdx, r12
mov rcx, rbx
call qword [rbp - 0x78]
cmp dword [0x1401aef48], 0
je 0x1400ae663
mov dword [r15 + 0xc8], 2
mov rcx, rbx
call qword [rbp - 0x30]
mov rcx, rbx
call qword [rbp - 0x28]
mov rcx, qword [rbp]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov r8d, 0xcbb
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Speaker_Train_Finished
call fcn.140065460
mov rbx, qword [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1400ae6b3
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400ae6c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r13, r13
je 0x1400ae6cf
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, 0xffffffffffffffff
xor r12d, r12d
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400ae6e8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1400ae6f7
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400ae70a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x18], r12
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400ae71d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 8], r12
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400ae730
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp], r12
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400ae743
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x10], r12
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x1400ae756
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x20], r12
mov eax, dword [rbp - 0x80]
cmp eax, 1
jbe 0x1400ae80d
mov r9d, eax
mov r8d, 0xccb
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.140065460
jmp 0x1400ae813
mov rax, qword [rbp - 8]
movzx edx, word [rax]
cmp dx, 0x18
jne 0x1400ae7bc
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r8d, 0xbf2
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_so_far__not_support._FormatTag:__d_bits__BlockAlign:__d_bytes
call fcn.140065460
jmp 0x1400ae697
mov rax, qword [rbp - 8]
movzx ecx, word [rax + 0xc]
mov dword [rsp + 0x20], ecx
lea rcx, str._s__d_so_far__not_support._FormatTag:__d_bits__BlockAlign:__d_bytes
cmp dx, 0x10
jne 0x1400ae7f2
mov r9d, 0x10
mov r8d, 0xbf7
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140065460
jmp 0x1400ae697
movzx r9d, dx
mov r8d, 0xbfc
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140065460
jmp 0x1400ae697
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400ae83e
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov r9d, eax
mov r8d, 0xcd0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_free_library__success___d
call fcn.140065460
cmp dword [r15 + 0x938], 0
jne 0x1400ae86a
mov r8d, 0xcd5
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Get_speaker_tracking_data_error__
call fcn.140065460
mov rcx, r15
call fcn.1400b0250
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ae884
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400ae8a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400d37a0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
nop
mov ecx, 0x80004005
call fcn.140005560
int3