Function at 0x1400a3ec0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140162010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov r13, rcx
mov r8d, 0x2fe
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, [0x1400e9c70]
call fcn.140061d00
xor r15d, r15d
mov dword [r13 + 0x890], r15d
mov qword [r13 + 0x8e4], r15
mov dword [r13 + 0x8ec], r15d
mov qword [r13 + 0x894], 0x41b00000
mov qword [r13 + 0x89c], r15
mov rcx, r13
call fcn.1400a2920
mov qword [rsp + 0x50], r15
mov r12d, r15d
mov dword [rsp + 0x40], r15d
mov qword [rbp - 0x18], r15
mov qword [rbp + 0x70], r15
mov qword [rbp + 8], r15
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], r15
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400a5319
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x90], rax
lea rbx, [0x1400ea068]
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.140004660
lea r14, [r15 - 1]
test al, al
jne 0x1400a3fdd
mov rax, r14
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400a3fc0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.1400048e0
nop
mov esi, SafeArrayDestroy
mov dword [rsp + 0x68], esi
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400a530e
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x80], rax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140004660
test al, al
jne 0x1400a403d
mov rax, r14
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400a4020
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.1400048e0
nop
mov qword [rbp + 0x18], r15
mov qword [r13 + 0x8ec], r15
mov dword [r13 + 0x890], r15d
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 - 0x28], rax
test rax, rax
jne 0x1400a408d
mov r8d, 0x333
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Load_SpeakerVerfDll.dll_fail
call fcn.140061d00
mov rdi, qword [rbp + 0x80]
jmp 0x1400a5137
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 r15, rax
lea rdx, str.SVE_StartTrain
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r14, 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 - 0x80], 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 - 0x50], 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 - 0x38], 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 - 0x48], 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 - 0x40], 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 - 0x30], rax
mov edx, 2
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
mov dword [rsp + 0x78], eax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ed768]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400ed788]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x1400a41ab
mov r8d, 0x346
mov r9d, eax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
call fcn.140061d00
mov rdi, qword [rbp + 0x80]
jmp 0x1400a5130
mov rdx, qword [r13 + 8]
cmp dword [rdx - 0x10], 0
je 0x1400a4202
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r8, [rbp - 8]
call qword [rax + 0x28]
mov ebx, eax
mov r9, qword [r13 + 8]
mov r8d, 0x34b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_GetDevice_EndpointId_s
call fcn.140061d00
test ebx, ebx
jns 0x1400a4202
mov r9d, ebx
mov r8d, 0x34c
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov rcx, qword [rbp - 8]
test rcx, rcx
jne 0x1400a4234
mov rcx, qword [rbp + 8]
mov rax, qword [rcx]
lea r9, [rbp - 8]
mov edx, 1
mov r8d, edx
call qword [rax + 0x20]
test eax, eax
jns 0x1400a4230
mov r8d, 0x352
jmp 0x1400a4189
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x18]
call qword [rax + 0x28]
test eax, eax
jns 0x1400a424d
mov r8d, 0x357
jmp 0x1400a4189
mov rdx, qword [rbp + 0x18]
test rdx, rdx
jne 0x1400a425c
xor ebx, ebx
mov eax, ebx
jmp 0x1400a426f
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400a4263
xor ebx, ebx
mov r8d, eax
lea rcx, [rbp + 0x80]
call fcn.1400048e0
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rdi, qword [rbp + 0x80]
mov r9, rdi
mov r8d, 0x35c
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_IMMDevice_GetDevice_EndpointId_s
call fcn.140061d00
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [0x140127320]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400a42f1
mov r8d, 0x35f
mov r9d, eax
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140061d00
jmp 0x1400a5130
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [rax + 0x40]
test eax, eax
jns 0x1400a430b
mov r8d, 0x366
jmp 0x1400a42d6
mov rcx, qword [rbp - 0x18]
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, 0x367
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.140061d00
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea r9, [rbp + 0x70]
mov r8, qword [rbp - 0x18]
xor edx, edx
call qword [rax + 0x38]
test eax, eax
jns 0x1400a4377
mov r9d, eax
mov r8d, 0x36a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov r8, qword [rbp - 0x18]
mov r9d, dword [r8 + 4]
cmp r9d, 0xbb80
je 0x1400a43b8
cmp r9d, 0x17700
je 0x1400a43b8
cmp r9d, 0x2ee00
je 0x1400a43b8
mov r8d, 0x376
lea rcx, str._s__d_currently_only_support_48k___96k___192k_sample_rate__sample_rate_d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140061d00
jmp 0x1400a5130
movzx eax, word [r8]
mov ecx, 3
cmp cx, ax
je 0x1400a43f0
mov ecx, 0xfffe
cmp cx, ax
jne 0x1400a43ea
mov rax, qword [0x140127310]
cmp rax, qword [r8 + 0x18]
jne 0x1400a43ea
mov rax, qword [0x140127318]
cmp rax, qword [r8 + 0x20]
je 0x1400a43f0
mov qword [rbp - 0x70], rbx
jmp 0x1400a43f8
mov qword [rbp - 0x70], 1
movzx ecx, word [r8 + 0xe]
movzx eax, word [r8 + 2]
imul eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [rsp + 0x44], eax
movzx ecx, word [r8 + 0xc]
cmp eax, ecx
je 0x1400a4440
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0x392
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_not_support_FrameSize___pWfxIn__nBlockAlign._FrameSize:__d_bytes__BlockAlign:__d_bytes
call fcn.140061d00
jmp 0x1400a5130
mov dword [rbp + 0x8c], ebx
mov qword [rbp + 0x20], rbx
mov rcx, qword [rbp - 0x10]
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 0x1400a448e
mov r9d, eax
mov r8d, 0x3a1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea r8, [rbp]
lea rdx, [0x140127300]
call qword [rax + 0x70]
test eax, eax
jns 0x1400a44c3
mov r9d, eax
mov r8d, 0x3a3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x8c]
call qword [rax + 0x20]
test eax, eax
jns 0x1400a44f4
mov r9d, eax
mov r8d, 0x3a5
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov r9d, dword [rbp + 0x8c]
mov r8d, 0x3a6
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_bufferFrameCount:__d
call fcn.140061d00
mov eax, dword [rbp + 0x8c]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, qword [0x140133bb0]
mov rax, qword [rbp - 0x18]
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 - 0x58], rbx
mov qword [rsp + 0x20], rcx
mov r9d, 0xf4240
mov r8d, 0x3ab
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hnsRequestedDuratio:__I64d__hnsActualDuration:__I64d
call fcn.140061d00
mov r9d, ebx
mov r8d, 0x3ac
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_sleep_time:__d
call fcn.140061d00
mov dword [rbp + 0x88], 0
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x1400a45d8
mov r9d, eax
mov r8d, 0x3b3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.140061d00
mov eax, 0x51eb851f
mov rcx, qword [rbp - 0x18]
mul dword [rcx + 4]
mov ebx, edx
shr ebx, 5
mov dword [rsp + 0x48], ebx
mov r9d, ebx
mov r8d, 0x3b9
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_dwMonoFramesNumPerSec:__d
call fcn.140061d00
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 0x1400a464d
mov r8d, 0x3bc
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.140061d00
jmp 0x1400a5130
lea rax, [rbx*4]
mov qword [rbp - 0x60], rax
mov r9, rax
mov r8d, 0x3bd
lea rcx, str._s__d_in_size:__d__bytes_
call fcn.140061d00
mov eax, ebx
shl eax, 6
mov qword [rbp - 0x78], rax
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x60], rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400a46ac
mov r8d, 0x3c0
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.140061d00
mov r14, qword [rsp + 0x58]
jmp 0x1400a50f3
mov r9, qword [rbp - 0x78]
mov r8d, 0x3c1
lea rcx, str._s__d_pBufferFramesData_size:__d__bytes_
call fcn.140061d00
mov rax, qword [rbp - 0x18]
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 0x1400a4702
mov r8d, 0x3c6
jmp 0x1400a4696
lea rax, [rbx*4]
mov qword [rbp - 0x68], rax
mov r9, rax
mov r8d, 0x3c7
lea rcx, str._s__d_iIntergerData_size:__d__bytes_
call fcn.140061d00
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 r12, rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x1400a4759
mov r8d, 0x3ca
jmp 0x1400a4696
lea r9, [rbx*4]
mov r8d, 0x3cb
lea rcx, str._s__d_fFloatData_size:__d__bytes_
call fcn.140061d00
call fcn.14000b440
mov rdx, rdi
call fcn.1400931d0
mov rbx, rax
test rax, rax
je 0x1400a48f9
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x68]
lea r8, [rbp + 0xa0]
lea rdx, [0x1400e4a08]
lea rcx, [rbp + 0x80]
call fcn.140003540
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test eax, eax
jne 0x1400a47ec
mov rdi, qword [rbp + 0x80]
mov r9, rdi
mov r8d, 0x3d9
lea rcx, str._s__d_csEndpointId_s__get_PKEY_RTK_BSS_SVEParam_fail
call fcn.140061d00
mov r8d, 0x3da
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
jmp 0x1400a4696
mov esi, dword [rsp + 0x68]
mov r9d, esi
mov r8d, 0x3de
lea rcx, str._s__d_get_nDataSize__d
call fcn.140061d00
mov r9d, dword [rbp + 0xa0]
mov r8d, 0x3df
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinDataCount__d
call fcn.140061d00
mov r9d, dword [rbp + 0xa4]
mov r8d, 0x3e0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinTrainMs__d
call fcn.140061d00
mov r9d, dword [rbp + 0xa8]
mov r8d, 0x3e1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMaxTrainMs__d
call fcn.140061d00
mov eax, dword [rbp + 0xa0]
mov dword [r13 + 0x14], eax
mov eax, dword [rbp + 0xa4]
mov dword [r13 + 0x18], eax
mov eax, dword [rbp + 0xa8]
mov dword [r13 + 0x1c], eax
lea rcx, [rbx + 0x10]
mov r9d, 3
lea r8, [rbp + 0x90]
lea rdx, [0x1400e49f0]
call fcn.1400041b0
mov rdi, qword [rbp + 0x80]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
mov r9, rdi
test eax, eax
jne 0x1400a48d9
mov r8d, 0x3eb
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path_fail
call fcn.140061d00
mov r8d, 0x3ec
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
jmp 0x1400a4696
mov rbx, qword [rbp + 0x90]
mov qword [rsp + 0x20], rbx
mov r8d, 0x3f0
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path__s
call fcn.140061d00
jmp 0x1400a4900
mov rbx, qword [rbp + 0x90]
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x1400ed778]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x1400a494b
mov r9d, eax
mov r8d, 0x3f6
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_ERROR_hr0x_X
call fcn.140061d00
mov r14, qword [rsp + 0x58]
jmp 0x1400a50f3
mov qword [rbp + 0x78], 0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0x78]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rsp + 0x38], rbx
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
lea r9, [rbp + 0xa0]
mov r8d, dword [rsp + 0x48]
lea edx, [rax + 1]
mov rax, qword [rbp - 0x18]
mov ecx, dword [rax + 4]
call r15
mov rbx, rax
mov qword [rsp + 0x70], rax
mov r15d, dword [rsp + 0x48]
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp - 0x18]
mov r9d, dword [rcx + 4]
mov r8d, 0x400
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SamplesPerSec:__d__channel:__d__MonoFramesNumPerSec:__d
call fcn.140061d00
test rbx, rbx
jne 0x1400a49ea
mov r8d, 0x401
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
jmp 0x1400a4696
mov edx, 0x309
mov rcx, rbx
call r14
cmp dword [r13 + 0x870], 0
jne 0x1400a50a3
movss xmm6, dword [0x140133b20]
mov r14, qword [rsp + 0x60]
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
cmp dword [r13 + 0x870], 0
jne 0x1400a509e
mov eax, dword [r13 + 0x64]
cmp eax, 0x64
je 0x1400a4a3e
cmp eax, 1
je 0x1400a4a3e
cmp eax, 0x78
jne 0x1400a5090
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0xb8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xb0]
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x20]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400a5090
mov rcx, qword [rbp + 0x10]
mov rax, qword [rcx]
lea rdx, [r13 + 0x8d0]
call qword [rax + 0x48]
call fcn.14001de00
mov rcx, r13
test dword [rax + 4], 0x2000000
je 0x1400a4aba
call fcn.1400a3170
test eax, eax
jne 0x1400a4ad5
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x88]
call qword [rax + 0x20]
jmp 0x1400a5073
movss xmm3, dword [r13 + 0x8d0]
mov r8d, dword [rbp + 0x88]
mov rdx, qword [rbp + 0x20]
call fcn.1400a3450
jmp 0x1400a4aa1
mov dword [rsp + 0x48], 0
mov ecx, dword [rbp + 0x88]
mov ebx, dword [rsp + 0x40]
lea eax, [rcx + rbx]
mov esi, dword [rsp + 0x44]
imul eax, esi
mov rdx, qword [rbp - 0x78]
imul ecx, esi
cmp eax, edx
jbe 0x1400a4b2b
mov eax, esi
imul eax, ebx
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], eax
mov r9d, ecx
mov r8d, 0x432
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d__numFramesAvailable__dwFrameSize_:__d___dwBufferFramesNumNeedProcess__dwFrameSize_:__d__buffer_size___d
call fcn.140061d00
jmp 0x1400a5073
mov r8d, ecx
mov ecx, esi
imul ecx, ebx
add rcx, r14
mov rdx, qword [rbp + 0x20]
call fcn.1400cc3d0
add ebx, dword [rbp + 0x88]
mov dword [rsp + 0x40], ebx
cmp dword [r13 + 0x870], 0
jne 0x1400a5073
cmp ebx, r15d
jb 0x1400a506e
mov eax, dword [r13 + 0x64]
cmp eax, 0x64
je 0x1400a4bb2
cmp eax, 1
je 0x1400a4bb2
cmp eax, 0x78
jne 0x1400a5060
mov eax, dword [r13 + 0x890]
mov dword [rsp + 0x20], eax
mov r9d, dword [r13 + 0x8ec]
mov r8d, 0x4ef
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.140061d00
mov dword [r13 + 0x870], 1
jmp 0x1400a5060
sub ebx, r15d
mov dword [rsp + 0x40], ebx
mov r8, qword [rbp - 0x60]
xor edx, edx
mov r14, qword [rsp + 0x58]
mov rcx, r14
call fcn.1400cc120
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400cc120
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, r12
call fcn.1400cc120
mov ecx, dword [rsp + 0x48]
mov eax, ecx
imul eax, r15d
imul esi, eax
add rsi, qword [rsp + 0x60]
inc ecx
mov dword [rsp + 0x48], ecx
mov eax, r15d
imul eax, dword [rsp + 0x44]
mov ebx, eax
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rsp + 0x50]
call fcn.1400cc3d0
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
call fcn.1400cc3d0
cmp qword [rbp - 0x70], 0
jne 0x1400a4c8a
mov rax, qword [rbp - 0x18]
movzx r8d, word [rax + 2]
imul r8d, r15d
xor edx, edx
test r8d, r8d
je 0x1400a4c8a
mov rcx, r12
mov rbx, qword [rsp + 0x50]
mov r9, rbx
sub r9, r12
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp - 0x18]
cmp word [rax], 0x20
jne 0x1400a51e2
movd xmm0, dword [r9 + rcx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rcx], xmm0
inc edx
add rcx, 4
cmp edx, r8d
jb 0x1400a4c60
xor ebx, ebx
test r15d, r15d
je 0x1400a4d54
mov r11, r14
mov rsi, r12
sub rsi, r14
nop
mov rax, qword [rbp - 0x18]
movzx r9d, word [rax + 2]
cmp r9d, 1
jbe 0x1400a4d3e
xorps xmm1, xmm1
xor edx, edx
cmp r9d, 4
jb 0x1400a4d0e
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 [r12 + rax*4]
addss xmm1, dword [r12 + r8*4]
lea eax, [r8 + 1]
addss xmm1, dword [r12 + rax*4]
lea eax, [r8 + 2]
addss xmm1, dword [r12 + rax*4]
add r8d, 4
sub r10, 1
jne 0x1400a4ce0
cmp edx, r9d
jae 0x1400a4d2b
mov r8d, r9d
imul r8d, ebx
lea eax, [r8 + rdx]
addss xmm1, dword [r12 + rax*4]
inc edx
cmp edx, r9d
jb 0x1400a4d1a
xorps xmm0, xmm0
cvtsi2ss xmm0, r9
divss xmm1, xmm0
movss dword [r11], xmm1
jmp 0x1400a4d45
mov eax, dword [rsi + r11]
mov dword [r11], eax
inc ebx
add r11, 4
cmp ebx, r15d
jb 0x1400a4ca0
xor r9d, r9d
mov r8d, r15d
mov rdx, r14
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
mov rsi, qword [rbp - 0x80]
call rsi
inc dword [r13 + 0x8ec]
mov dword [rbp + 0x98], 0
lea rdx, [rbp + 0x98]
mov rcx, rbx
call qword [rbp - 0x50]
cmp dword [rbp + 0x98], 0
je 0x1400a5019
mov dword [r13 + 0x890], 1
mov r8d, 0x49f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_already_get_enough_train_data__exit
call fcn.140061d00
mov dword [r13 + 0x870], 1
mov r9d, 1
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call rsi
mov rcx, rbx
call qword [rbp - 0x48]
mov esi, eax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, 0x4a7
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__get_SVE_GetOutputTrainDataSize__d
call fcn.140061d00
test esi, esi
je 0x1400a4fd6
mov ecx, esi
call fcn.1400c5e8c
mov r14, rax
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [rbp - 0x40]
lea rbx, [r13 + 0x70]
mov dword [rsp + 0x20], 2
lea r9, [r13 + 0x6c]
mov r8, rbx
lea rdx, [0x1400e8908]
lea rcx, [rbp + 0x80]
call fcn.140003540
test eax, eax
jne 0x1400a4eb0
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.1400cc120
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov ecx, 0x41
mov word [rbp + 0x40], cx
mov dword [rbp + 0x48], 4
mov qword [rbp + 0x50], rbx
lea r9d, [rax + 2]
lea r8, [rbp + 0x40]
lea rdx, [0x1400e49a8]
lea rcx, [rbp + 0x80]
call fcn.140003d90
mov ebx, eax
xor edi, edi
mov dword [rbp + 0x48], edi
mov qword [rbp + 0x50], rdi
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
jne 0x1400a4f22
mov r8d, 0x4b6
jmp 0x1400a4f08
mov eax, dword [r13 + 0x6c]
xor ecx, ecx
mov qword [rbp + 0x58], rcx
mov qword [rbp + 0x60], rcx
mov ecx, 0x41
mov word [rbp + 0x58], cx
mov dword [rbp + 0x60], eax
mov qword [rbp + 0x68], rbx
lea r9d, [rcx - 0x3f]
lea r8, [rbp + 0x58]
lea rdx, [0x1400e49a8]
lea rcx, [rbp + 0x80]
call fcn.140003d90
mov ebx, eax
xor edi, edi
mov dword [rbp + 0x60], edi
mov qword [rbp + 0x68], rdi
lea rcx, [rbp + 0x58]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
jne 0x1400a4f22
mov r8d, 0x4be
mov r9, qword [rbp + 0x80]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__backup_to_PKEY_RTK_BSS_SVETrainData_Backup_fail
call fcn.140061d00
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov eax, 0x41
mov word [rbp + 0x28], ax
mov dword [rbp + 0x30], esi
mov qword [rbp + 0x38], r14
lea r9d, [rax - 0x3f]
lea r8, [rbp + 0x28]
lea rdx, [0x1400e8908]
lea rcx, [rbp + 0x80]
call fcn.140003d90
mov ebx, eax
mov dword [rbp + 0x30], edi
mov qword [rbp + 0x38], rdi
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], ebx
mov rdi, qword [rbp + 0x80]
mov r9, rdi
mov r8d, 0x4c4
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_bSuccess_d
call fcn.140061d00
mov r9, rdi
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test ebx, ebx
jne 0x1400a4fb3
mov r8d, 0x4c7
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_fail
call fcn.140061d00
jmp 0x1400a4fc9
mov dword [rsp + 0x20], esi
mov r8d, 0x4cb
lea rcx, str._s__d_csEndpointId_s__set_nDataSize__d
call fcn.140061d00
test r14, r14
je 0x1400a4fd6
mov rcx, r14
call fcn.1400c588c
mov r8d, 0x4db
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_notify_UWP_to_update_speaker_train_data
call fcn.140061d00
mov edx, 0x1000024b
lea rcx, [0x1400ea068]
call fcn.1400b9af0
mov ebx, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
cmp dword [r13 + 0x68], 0
je 0x1400a5060
mov dword [r13 + 0x64], 0x78
jmp 0x1400a5060
cmp dword [r13 + 0x68], 0
je 0x1400a5058
cmp dword [r13 + 0x8ec], 0x802
jbe 0x1400a5058
mov dword [r13 + 0x8f0], 0x44c
call fcn.14000b5b0
mov rcx, rax
mov edx, 0x443
call fcn.1400bb290
mov r8, qword [r13 + 8]
xor edx, edx
mov rcx, r13
call fcn.1400a3790
mov ebx, dword [rsp + 0x40]
mov esi, dword [rsp + 0x44]
cmp dword [r13 + 0x870], 0
je 0x1400a4b57
mov r14, qword [rsp + 0x60]
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x88]
call qword [rax + 0x20]
cmp dword [rbp + 0x88], 0
jne 0x1400a4a19
cmp dword [r13 + 0x870], 0
je 0x1400a4a10
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x58]
cmp dword [r13 + 0x890], 0
jne 0x1400a50c4
mov r9d, 1
mov r8d, r15d
mov rdx, r14
mov rcx, rbx
call qword [rbp - 0x80]
mov rcx, rbx
call qword [rbp - 0x38]
mov rcx, rbx
call qword [rbp - 0x30]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov r8d, 0x510
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Speaker_Train_Finished
call fcn.140061d00
mov rbx, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1400a5114
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x1400a5122
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12, r12
je 0x1400a5130
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r15d, r15d
lea r14, [r15 - 1]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400a5146
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x1400a5155
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400a5168
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 8], r15
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400a517b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 8], r15
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400a518e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x10], r15
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400a51a1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp], r15
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400a51b4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0x10], r15
mov eax, dword [rsp + 0x78]
cmp eax, 1
jbe 0x1400a526c
mov r9d, eax
mov r8d, 0x520
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_CoInitializeEx_hr_x
call fcn.140061d00
jmp 0x1400a5272
mov rax, qword [rbp - 0x18]
movzx edx, word [rax]
cmp dx, 0x18
jne 0x1400a521b
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r8d, 0x470
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_so_far__not_support._FormatTag:__d_bits__BlockAlign:__d_bytes
call fcn.140061d00
jmp 0x1400a50f8
mov rax, qword [rbp - 0x18]
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 0x1400a5251
mov r9d, 0x10
mov r8d, 0x475
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140061d00
jmp 0x1400a50f8
movzx r9d, dx
mov r8d, 0x47a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.140061d00
jmp 0x1400a50f8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400a529e
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov r9d, eax
mov r8d, 0x525
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_free_library__success___d
call fcn.140061d00
nop
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a52b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x90]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400a52d9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.1400c5860
lea r11, [rsp + 0x1e0]
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.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3