Function at 0x14009f070
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r13, rcx
mov r8d, 0x2fe
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, [0x1400e2bd0]
call fcn.14005dbf0
xor r12d, r12d
mov dword [r13 + 0x890], r12d
mov qword [r13 + 0x8e4], r12
mov dword [r13 + 0x8ec], r12d
mov qword [r13 + 0x894], 0x41b00000
mov qword [r13 + 0x89c], r12
mov rcx, r13
call fcn.14009dad0
mov r14d, r12d
mov qword [rbp - 0x30], r12
mov qword [rbp + 0x58], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 8], r12
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400a0374
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x78], rax
lea rbx, [0x1400e2fc8]
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.140004660
lea r15, [r12 - 1]
test al, al
jne 0x14009f17a
mov rax, r15
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14009f160
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x78]
call fcn.1400048e0
nop
mov esi, SafeArrayDestroy
mov dword [rsp + 0x50], esi
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x1400a0369
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.140004660
test al, al
jne 0x14009f1cf
mov rax, r15
inc rax
cmp word [rbx + rax*2], 0
jne 0x14009f1b5
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x68]
call fcn.1400048e0
nop
mov qword [rbp], r12
mov qword [r13 + 0x8ec], r12
mov dword [r13 + 0x890], 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 - 0x40], rax
test rax, rax
jne 0x14009f21c
mov r8d, 0x330
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_Load_SpeakerVerfDll.dll_fail
call fcn.14005dbf0
mov rdi, qword [rbp + 0x68]
jmp 0x1400a01c3
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 [rsp + 0x70], 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 - 0x60], 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 - 0x78], 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 - 0x68], 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 - 0x70], 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 - 0x48], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [0x1400e6628]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400e6648]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jns 0x14009f32f
mov r8d, 0x343
mov r9d, eax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
call fcn.14005dbf0
mov rdi, qword [rbp + 0x68]
jmp 0x1400a01bb
mov rdx, qword [r13 + 8]
cmp dword [rdx - 0x10], 0
je 0x14009f386
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
call qword [rax + 0x28]
mov ebx, eax
mov r9, qword [r13 + 8]
mov r8d, 0x348
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_GetDevice_EndpointId_s
call fcn.14005dbf0
test ebx, ebx
jns 0x14009f386
mov r9d, ebx
mov r8d, 0x349
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
jne 0x14009f3b8
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea r9, [rbp - 0x20]
mov edx, 1
mov r8d, edx
call qword [rax + 0x20]
test eax, eax
jns 0x14009f3b4
mov r8d, 0x34f
jmp 0x14009f310
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea rdx, [rbp]
call qword [rax + 0x28]
test eax, eax
jns 0x14009f3d1
mov r8d, 0x354
jmp 0x14009f310
mov rdx, qword [rbp]
test rdx, rdx
jne 0x14009f3e0
xor ebx, ebx
mov eax, ebx
jmp 0x14009f3fc
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14009f3f0
xor ebx, ebx
mov r8d, eax
lea rcx, [rbp + 0x68]
call fcn.1400048e0
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rdi, qword [rbp + 0x68]
mov r9, rdi
mov r8d, 0x359
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_IMMDevice_GetDevice_EndpointId_s
call fcn.14005dbf0
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 0x17]
lea rdx, [0x14011ddc8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x14009f478
mov r8d, 0x35c
mov r9d, eax
lea rcx, str._s__d_EXIT_ON_ERROR_0x_X_
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.14005dbf0
jmp 0x1400a01bb
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [rax + 0x40]
test eax, eax
jns 0x14009f492
mov r8d, 0x363
jmp 0x14009f45d
mov rcx, qword [rbp - 0x30]
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, 0x364
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.14005dbf0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea r9, [rbp + 0x58]
mov r8, qword [rbp - 0x30]
xor edx, edx
call qword [rax + 0x38]
test eax, eax
jns 0x14009f4fe
mov r9d, eax
mov r8d, 0x367
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov r8, qword [rbp - 0x30]
mov r9d, dword [r8 + 4]
cmp r9d, 0xbb80
je 0x14009f53f
cmp r9d, 0x17700
je 0x14009f53f
cmp r9d, 0x2ee00
je 0x14009f53f
mov r8d, 0x373
lea rcx, str._s__d_currently_only_support_48k___96k___192k_sample_rate__sample_rate_d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.14005dbf0
jmp 0x1400a01bb
movzx eax, word [r8]
mov ecx, 3
cmp cx, ax
je 0x14009f577
mov ecx, 0xfffe
cmp cx, ax
jne 0x14009f571
mov rax, qword [0x14011ddb8]
cmp rax, qword [r8 + 0x18]
jne 0x14009f571
mov rax, qword [0x14011ddc0]
cmp rax, qword [r8 + 0x20]
je 0x14009f577
mov qword [rbp - 0x80], rbx
jmp 0x14009f57f
mov qword [rbp - 0x80], 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 + 0x68], eax
movzx ecx, word [r8 + 0xc]
cmp eax, ecx
je 0x14009f5c7
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8d, 0x38f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_not_support_FrameSize___pWfxIn__nBlockAlign._FrameSize:__d_bytes__BlockAlign:__d_bytes
call fcn.14005dbf0
jmp 0x1400a01bb
mov dword [rbp + 0x74], ebx
mov qword [rbp + 8], rbx
mov rcx, qword [rbp - 0x28]
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 0x14009f612
mov r9d, eax
mov r8d, 0x39e
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea r8, [rbp - 0x18]
lea rdx, [0x14011ddd8]
call qword [rax + 0x70]
test eax, eax
jns 0x14009f647
mov r9d, eax
mov r8d, 0x3a0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
lea rdx, [rbp + 0x74]
call qword [rax + 0x20]
test eax, eax
jns 0x14009f675
mov r9d, eax
mov r8d, 0x3a2
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov r9d, dword [rbp + 0x74]
mov r8d, 0x3a3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_bufferFrameCount:__d
call fcn.14005dbf0
mov eax, dword [rbp + 0x74]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm1, qword [0x140129da0]
mov rax, qword [rbp - 0x30]
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 - 0x50], rbx
mov qword [rsp + 0x20], rcx
mov r9d, 0xf4240
mov r8d, 0x3a8
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hnsRequestedDuratio:__I64d__hnsActualDuration:__I64d
call fcn.14005dbf0
mov r9d, ebx
mov r8d, 0x3a9
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_sleep_time:__d
call fcn.14005dbf0
mov dword [rbp + 0x70], 0
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
jns 0x14009f750
mov r9d, eax
mov r8d, 0x3b0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_hr_x
call fcn.14005dbf0
mov eax, 0x51eb851f
mov rcx, qword [rbp - 0x30]
mul dword [rcx + 4]
mov ebx, edx
shr ebx, 5
mov dword [rsp + 0x40], ebx
mov r9d, ebx
mov r8d, 0x3b6
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_dwMonoFramesNumPerSec:__d
call fcn.14005dbf0
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 + 0x48], rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x14009f7c5
mov r8d, 0x3b9
lea rcx, str._s__d_EXIT_ON_FALSE
call fcn.14005dbf0
jmp 0x1400a01bb
lea rax, [rbx*4]
mov qword [rbp - 0x58], rax
mov r9, rax
mov r8d, 0x3ba
lea rcx, str._s__d_in_size:__d__bytes_
call fcn.14005dbf0
mov rax, qword [rbp - 0x30]
movzx ebx, word [rax + 2]
imul ebx, dword [rsp + 0x40]
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 0x14009f832
mov r8d, 0x3bf
lea rcx, str._s__d_EXIT_ON_FALSE
jmp 0x1400a018a
lea rax, [rbx*4]
mov qword [rsp + 0x78], rax
mov r9, rax
mov r8d, 0x3c0
lea rcx, str._s__d_iIntergerData_size:__d__bytes_
call fcn.14005dbf0
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 r14, rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test rax, rax
jne 0x14009f891
mov r8d, 0x3c3
lea rcx, str._s__d_EXIT_ON_FALSE
jmp 0x1400a018a
lea r9, [rbx*4]
mov r8d, 0x3c4
lea rcx, str._s__d_fFloatData_size:__d__bytes_
call fcn.14005dbf0
call fcn.14000b470
mov rdx, rdi
call fcn.14008e8b0
mov rbx, rax
test rax, rax
je 0x14009fa22
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x88]
lea rdx, [0x1400dde30]
lea rcx, [rbp + 0x68]
call fcn.140003540
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test eax, eax
jne 0x14009f91e
mov rdi, qword [rbp + 0x68]
mov r9, rdi
mov r8d, 0x3d2
lea rcx, str._s__d_csEndpointId_s__get_PKEY_RTK_BSS_SVEParam_fail
call fcn.14005dbf0
mov r8d, 0x3d3
lea rcx, str._s__d_EXIT_ON_FALSE
jmp 0x1400a0183
mov esi, dword [rsp + 0x50]
mov r9d, esi
mov r8d, 0x3d7
lea rcx, str._s__d_get_nDataSize__d
call fcn.14005dbf0
mov r9d, dword [rbp + 0x88]
mov r8d, 0x3d8
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinDataCount__d
call fcn.14005dbf0
mov r9d, dword [rbp + 0x8c]
mov r8d, 0x3d9
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMinTrainMs__d
call fcn.14005dbf0
mov r9d, dword [rbp + 0x90]
mov r8d, 0x3da
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SVEParams_nMaxTrainMs__d
call fcn.14005dbf0
mov eax, dword [rbp + 0x88]
mov dword [r13 + 0x14], eax
mov eax, dword [rbp + 0x8c]
mov dword [r13 + 0x18], eax
mov eax, dword [rbp + 0x90]
mov dword [r13 + 0x1c], eax
lea rcx, [rbx + 0x10]
mov r9d, 3
lea r8, [rbp + 0x78]
lea rdx, [0x1400dde48]
call fcn.1400041b0
mov rdi, qword [rbp + 0x68]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
mov r9, rdi
test eax, eax
jne 0x14009fa05
mov r8d, 0x3e4
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path_fail
call fcn.14005dbf0
mov r8d, 0x3e5
lea rcx, str._s__d_EXIT_ON_FALSE
jmp 0x1400a0183
mov rbx, qword [rbp + 0x78]
mov qword [rsp + 0x20], rbx
mov r8d, 0x3e9
lea rcx, str._s__d_csEndpointId_s__get_PKEY_Spk_Verf_Model_File_Path__s
call fcn.14005dbf0
jmp 0x14009fa26
mov rbx, qword [rbp + 0x78]
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x1400e6638]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jns 0x14009fa6c
mov r9d, eax
mov r8d, 0x3ef
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_ERROR_hr0x_X
call fcn.14005dbf0
jmp 0x1400a018f
mov qword [rbp + 0x60], 0
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x60]
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 + 0x88]
mov esi, dword [rsp + 0x40]
mov r8d, esi
lea edx, [rax + 1]
mov rax, qword [rbp - 0x30]
mov ecx, dword [rax + 4]
call r12
mov rbx, rax
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
mov rcx, qword [rbp - 0x30]
mov r9d, dword [rcx + 4]
mov r8d, 0x3f9
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_SamplesPerSec:__d__channel:__d__MonoFramesNumPerSec:__d
call fcn.14005dbf0
test rbx, rbx
jne 0x14009fb07
mov r8d, 0x3fa
lea rcx, str._s__d_EXIT_ON_FALSE
jmp 0x1400a0183
mov edx, 0x309
mov rcx, rbx
call r15
cmp dword [r13 + 0x870], 0
jne 0x1400a0141
movss xmm6, dword [0x140129d10]
nop dword [rax + rax]
mov ecx, dword [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
cmp dword [r13 + 0x870], 0
jne 0x1400a013c
mov eax, dword [r13 + 0x64]
cmp eax, 0x64
je 0x14009fb5e
cmp eax, 1
je 0x14009fb5e
cmp eax, 0x78
jne 0x1400a012e
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0xa8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x98]
lea r8, [rbp + 0x70]
lea rdx, [rbp + 8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400a012e
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [r13 + 0x8d0]
call qword [rax + 0x48]
call fcn.14001dc30
mov rcx, r13
test dword [rax + 4], 0x2000000
je 0x14009fbc0
call fcn.14009e320
jmp 0x14009fbd6
movss xmm3, dword [r13 + 0x8d0]
mov r8d, dword [rbp + 0x70]
mov rdx, qword [rbp + 8]
call fcn.14009e600
test eax, eax
jne 0x14009fbec
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x70]
call qword [rax + 0x20]
jmp 0x14009fb39
mov r12d, dword [rbp + 0x70]
xor ecx, ecx
mov ebx, ecx
cmp dword [r13 + 0x870], ecx
jne 0x1400a0117
test r12d, r12d
je 0x1400a0113
mov eax, dword [r13 + 0x64]
cmp eax, 0x64
je 0x14009fc61
cmp eax, 1
je 0x14009fc61
cmp eax, 0x78
jne 0x1400a0105
mov eax, dword [r13 + 0x890]
mov dword [rsp + 0x20], eax
mov r9d, dword [r13 + 0x8ec]
mov r8d, 0x4d5
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.14005dbf0
mov dword [r13 + 0x870], 1
xor ecx, ecx
mov r12d, ecx
jmp 0x1400a0105
mov r15d, esi
cmp r12d, esi
cmovbe r15d, r12d
mov eax, r12d
sub r12d, esi
cmp eax, esi
cmovbe r12d, ecx
mov r8, qword [rbp - 0x58]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400c53e0
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x58]
call fcn.1400c53e0
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, r14
call fcn.1400c53e0
imul esi, ebx
imul esi, dword [rsp + 0x68]
add rsi, qword [rbp + 8]
inc ebx
mov dword [rsp + 0x44], ebx
mov eax, r15d
imul eax, dword [rsp + 0x68]
mov ebx, eax
mov r8d, eax
mov rdx, rsi
mov rcx, qword [rsp + 0x58]
call fcn.1400c5690
mov r8d, ebx
mov rdx, rsi
mov rcx, r14
call fcn.1400c5690
cmp qword [rbp - 0x80], 0
jne 0x14009fd3a
mov rax, qword [rbp - 0x30]
movzx r8d, word [rax + 2]
imul r8d, r15d
xor eax, eax
mov edx, eax
test r8d, r8d
je 0x14009fd3a
mov rcx, r14
mov r9, qword [rsp + 0x58]
sub r9, r14
nop dword [rax]
mov rax, qword [rbp - 0x30]
cmp word [rax], 0x20
jne 0x1400a02df
movd xmm0, dword [r9 + rcx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
movss dword [rcx], xmm0
inc edx
add rcx, 4
cmp edx, r8d
jb 0x14009fd10
xor edx, edx
mov ebx, edx
test r15d, r15d
je 0x14009fe02
mov r11, qword [rsp + 0x48]
mov rsi, r14
sub rsi, r11
mov rax, qword [rbp - 0x30]
movzx r9d, word [rax + 2]
cmp r9d, 1
jbe 0x14009fdec
xorps xmm1, xmm1
mov r8d, edx
cmp r9d, 4
jb 0x14009fdba
mov edx, r9d
imul edx, ebx
inc edx
lea eax, [r9 - 4]
shr eax, 2
inc eax
mov r10d, eax
lea r8d, [rax*4]
nop dword [rax]
lea eax, [rdx - 1]
addss xmm1, dword [r14 + rax*4]
addss xmm1, dword [r14 + rdx*4]
lea eax, [rdx + 1]
addss xmm1, dword [r14 + rax*4]
lea eax, [rdx + 2]
addss xmm1, dword [r14 + rax*4]
add edx, 4
sub r10, 1
jne 0x14009fd90
cmp r8d, r9d
jae 0x14009fdd7
mov edx, r9d
imul edx, ebx
lea eax, [rdx + r8]
addss xmm1, dword [r14 + rax*4]
inc r8d
cmp r8d, r9d
jb 0x14009fdc5
xorps xmm0, xmm0
cvtsi2ss xmm0, r9
divss xmm1, xmm0
movss dword [r11], xmm1
xor edx, edx
jmp 0x14009fdf3
mov eax, dword [rsi + r11]
mov dword [r11], eax
inc ebx
add r11, 4
cmp ebx, r15d
jb 0x14009fd52
xor r9d, r9d
mov r8d, r15d
mov rsi, qword [rsp + 0x48]
mov rdx, rsi
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
mov r15, qword [rsp + 0x70]
call r15
inc dword [r13 + 0x8ec]
xor eax, eax
mov dword [rbp + 0x80], eax
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [rbp - 0x60]
cmp dword [rbp + 0x80], 0
je 0x1400a00bc
mov dword [r13 + 0x890], 1
mov r8d, 0x485
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_already_get_enough_train_data__exit
call fcn.14005dbf0
mov dword [r13 + 0x870], 1
mov r9d, 1
mov r8d, dword [rsp + 0x40]
mov rdx, rsi
mov rcx, rbx
call r15
mov rcx, rbx
call qword [rbp - 0x68]
mov esi, eax
mov dword [rsp + 0x20], esi
mov r9, rdi
mov r8d, 0x48d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__get_SVE_GetOutputTrainDataSize__d
call fcn.14005dbf0
test esi, esi
je 0x1400a0085
mov ecx, esi
call fcn.1400bf14c
mov r15, rax
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call qword [rbp - 0x70]
lea rbx, [r13 + 0x70]
mov dword [rsp + 0x20], 2
lea r9, [r13 + 0x6c]
mov r8, rbx
lea rdx, [0x1400ddce0]
lea rcx, [rbp + 0x68]
call fcn.140003540
test eax, eax
jne 0x14009ff66
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call fcn.1400c53e0
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov ecx, 0x41
mov word [rbp + 0x28], cx
mov dword [rbp + 0x30], 4
mov qword [rbp + 0x38], rbx
lea r9d, [rax + 2]
lea r8, [rbp + 0x28]
lea rdx, [0x1400dde18]
lea rcx, [rbp + 0x68]
call fcn.140003d90
mov ebx, eax
xor r12d, r12d
mov dword [rbp + 0x30], r12d
mov qword [rbp + 0x38], r12
lea rcx, [rbp + 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
jne 0x14009ffd4
mov r8d, 0x49c
jmp 0x14009ffbd
mov eax, dword [r13 + 0x6c]
xor ecx, ecx
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rcx
mov ecx, 0x41
mov word [rbp + 0x40], cx
mov dword [rbp + 0x48], eax
mov qword [rbp + 0x50], rbx
lea r9d, [rcx - 0x3f]
lea r8, [rbp + 0x40]
lea rdx, [0x1400dde18]
lea rcx, [rbp + 0x68]
call fcn.140003d90
mov ebx, eax
xor r12d, r12d
mov dword [rbp + 0x48], r12d
mov qword [rbp + 0x50], r12
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
test ebx, ebx
jne 0x14009ffd4
mov r8d, 0x4a4
mov r9, qword [rbp + 0x68]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__backup_to_PKEY_RTK_BSS_SVETrainData_Backup_fail
call fcn.14005dbf0
xor eax, eax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov eax, 0x41
mov word [rbp + 0x10], ax
mov dword [rbp + 0x18], esi
mov qword [rbp + 0x20], r15
lea r9d, [rax - 0x3f]
lea r8, [rbp + 0x10]
lea rdx, [0x1400ddce0]
lea rcx, [rbp + 0x68]
call fcn.140003d90
mov ebx, eax
mov dword [rbp + 0x18], r12d
mov qword [rbp + 0x20], r12
lea rcx, [rbp + 0x10]
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, 0x4aa
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_bSuccess_d
call fcn.14005dbf0
mov r9, rdi
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
test ebx, ebx
jne 0x1400a0060
mov r8d, 0x4ad
lea rcx, str._s__d_csEndpointId_s__set_PKEY_RTK_BSS_SVETrainData_fail
call fcn.14005dbf0
jmp 0x1400a0076
mov dword [rsp + 0x20], esi
mov r8d, 0x4b1
lea rcx, str._s__d_csEndpointId_s__set_nDataSize__d
call fcn.14005dbf0
test r15, r15
je 0x1400a0088
mov rcx, r15
call fcn.1400beb4c
jmp 0x1400a0088
xor r12d, r12d
mov r8d, 0x4c1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_notify_UWP_to_update_speaker_train_data
call fcn.14005dbf0
mov edx, 0x1000024b
call fcn.1400b2fd0
cmp dword [r13 + 0x68], 0
je 0x1400a00fb
mov dword [r13 + 0x64], 0x78
jmp 0x1400a00fb
cmp dword [r13 + 0x68], 0
je 0x1400a00fb
cmp dword [r13 + 0x8ec], 0x802
jbe 0x1400a00fb
mov dword [r13 + 0x8f0], 0x44c
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x443
call fcn.1400b45d0
mov r8, qword [r13 + 8]
xor edx, edx
mov rcx, r13
call fcn.14009e940
xor ecx, ecx
mov ebx, dword [rsp + 0x44]
mov esi, dword [rsp + 0x40]
cmp dword [r13 + 0x870], 0
je 0x14009fc01
mov r12d, dword [rbp + 0x70]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x20]
cmp dword [rbp + 0x70], 0
jne 0x14009fb39
cmp dword [r13 + 0x870], 0
je 0x14009fb30
mov rbx, qword [rsp + 0x60]
cmp dword [r13 + 0x890], 0
jne 0x1400a0160
mov r9d, 1
mov r8d, esi
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call qword [rsp + 0x70]
mov rcx, rbx
call qword [rbp - 0x78]
mov rcx, rbx
call qword [rbp - 0x48]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov r8d, 0x4f6
lea rcx, str._s__d_Speaker_Train_Finished
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.14005dbf0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400a01ad
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x1400a01bb
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor r12d, r12d
lea r15, [r12 - 1]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400a01d2
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x1400a01e1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400a01f4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x10], r12
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400a0207
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x20], r12
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400a021a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x28], r12
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400a022d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 0x18], r12
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400a0240
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp - 8], r12
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400a0272
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
mov r9d, eax
mov r8d, 0x50a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_free_library__success___d
call fcn.14005dbf0
nop
lea rdx, [rdi - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a028d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x78]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400a02aa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400beb20
lea r11, [rsp + 0x1d0]
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 rax, qword [rbp - 0x30]
movzx edx, word [rax]
cmp dx, 0x18
jne 0x1400a0318
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetElement
mov r8d, 0x456
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
lea rcx, str._s__d_so_far__not_support._FormatTag:__d_bits__BlockAlign:__d_bytes
call fcn.14005dbf0
jmp 0x1400a018f
mov rax, qword [rbp - 0x30]
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 0x1400a034e
mov r9d, 0x10
mov r8d, 0x45b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.14005dbf0
jmp 0x1400a018f
movzx r9d, dx
mov r8d, 0x460
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkEnroll_TrainProc
call fcn.14005dbf0
jmp 0x1400a018f
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov ecx, 0x80004005
call fcn.140004fd0
int3