Function at 0x1400a8160
Capabilities:
Check http status code
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0xe8], rbx
mov rax, qword [0x14019b010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rsi, r8
mov r15d, edx
mov rdi, rcx
mov r9d, edx
mov r8d, 0x35f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_dwNewEnrollCommand___d
call fcn.140064950
call fcn.14001ef50
mov ebx, dword [rax + 4]
shr ebx, 0x19
and ebx, 1
call fcn.14001ef50
movzx r9d, word [rax + 6]
and r9d, 1
mov dword [rsp + 0x20], ebx
mov r8d, 0x360
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_BssNoiseLevel__d__BssNoiseLevelT2__d_
call fcn.140064950
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400a8b4d
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x21], rax
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.140004bf0
xor r13d, r13d
lea r12, [r13 - 1]
test al, al
jne 0x1400a825a
test rsi, rsi
jne 0x1400a8234
mov eax, r13d
jmp 0x1400a824a
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], r13w
jne 0x1400a8240
mov r8d, eax
mov rdx, rsi
lea rcx, [rbp - 0x21]
call fcn.140004e70
nop
mov rbx, qword [rbp - 0x21]
cmp dword [rbx - 0x10], 0
jne 0x1400a8277
call fcn.14000b9e0
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.140096fa0
jmp 0x1400a8284
call fcn.14000b9e0
mov rdx, rsi
call fcn.140096ac0
mov rsi, rax
test rax, rax
jne 0x1400a82aa
mov r8d, 0x36e
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140064950
jmp 0x1400a8b0d
mov r14, qword [rsi + 0x168]
cmp dword [rsi + 0x2ac], 0
jne 0x1400a82d7
lea r8, [rsi + 0x1b0]
mov edx, r13d
cmp dword [rsi + 0x84], r13d
sete dl
mov rcx, qword [rsi + 0x10]
call fcn.14000f380
add rsi, 0x1b0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
jne 0x1400a82fe
mov r8d, 0x376
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140064950
jmp 0x1400a8b0d
mov r9d, dword [rsi + 0x34]
mov eax, r9d
shr eax, 0x17
and eax, 1
shr r9d, 0xe
and r9d, 1
mov dword [rsp + 0x20], eax
mov r8d, 0x377
lea rcx, str._s__d_BSSv2_SpeakerTrack__d__BSSv2_TSE__d_
call fcn.140064950
mov eax, dword [rsi + 0x34]
shr eax, 0xe
and eax, 1
mov dword [rdi + 0x8d8], eax
mov eax, dword [rsi + 0x34]
shr eax, 0x17
and eax, 1
mov dword [rdi + 0x8dc], eax
cmp r15d, 1
jne 0x1400a83a1
mov r8d, 0x37f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_Rtk_standard_enroll_start
call fcn.140064950
mov dword [rdi + 0xcc], r15d
mov qword [rdi + 0x9c8], r13
xor eax, eax
mov qword [rdi + 0xb4], rax
mov qword [rdi + 0xbc], rax
mov dword [rdi + 0xb8], r15d
call fcn.14000bb60
mov rcx, rax
mov edx, 0x443
lea r8d, [rdx - 0x5b]
call fcn.1400c39b0
mov dword [rdi + 0xc8], r15d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
test r15d, r15d
je 0x1400a88bd
mov r9, r14
mov r8d, 0x396
lea rcx, str._s__d_csEndpointId_s
call fcn.140064950
lea rcx, [rdi + 8]
call fcn.140004f90
test r14, r14
jne 0x1400a83e0
mov eax, r13d
jmp 0x1400a83ee
mov rax, r12
inc rax
cmp word [r14 + rax*2], 0
jne 0x1400a83e3
mov r8d, eax
mov rdx, r14
lea rcx, [rdi + 8]
call fcn.140004e70
mov r9, qword [rdi + 8]
mov r8d, 0x399
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId_s
call fcn.140064950
mov eax, dword [0x1401a6b70]
test eax, eax
jne 0x1400a8543
mov rcx, rdi
call fcn.1400a6d40
mov dword [rbp - 0x39], r13d
mov r9d, 1
lea r8, [rbp - 0x39]
lea rdx, [0x14010f6d8]
lea rcx, [rdi + 8]
call fcn.1400034c0
test eax, eax
je 0x1400a8460
cmp dword [rbp - 0x39], 1
jne 0x1400a8460
mov r14d, 1
jmp 0x1400a84a3
xor eax, eax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x19], ax
mov dword [rbp - 0x11], 1
lea r9d, [rax - 0x12]
lea r8, [rbp - 0x19]
lea rdx, [0x14010f6d8]
lea rcx, [rdi + 8]
call fcn.140004210
mov r14d, eax
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], r14d
mov r9, qword [rdi + 8]
mov r8d, 0x3a1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_enabled__success__d
call fcn.140064950
call fcn.14001ef50
test dword [rax + 4], 0x2000000
jne 0x1400a84e1
call fcn.14001ef50
test dword [rax + 4], 0x10000
je 0x1400a853d
mov dword [rdi + 0x950], 0xc47a0000
mov dword [rdi + 0x954], 0xc47a0000
mov qword [rdi + 0x970], r13
xor eax, eax
mov qword [rdi + 0x960], rax
mov qword [rdi + 0x968], rax
mov r8d, 0x3ac
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_start_SNR_detect
call fcn.140064950
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44a
mov r8d, 0x32
call fcn.1400c39b0
mov eax, dword [0x1401a6b70]
cmp r15d, 1
jne 0x1400a8564
cmp dword [rdi + 0x8d8], 0
je 0x1400a8840
cmp dword [rdi + 0x8dc], 0
jne 0x1400a857c
jmp 0x1400a8785
cmp r15d, 0x190
jne 0x1400a8756
cmp eax, 0x19a
je 0x1400a8840
mov dword [rdi + 0xd0], 1
cmp dword [rdi + 0x990], 0
je 0x1400a85aa
mov r8d, 0x3cd
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_AlreadyBackupTseData_AB48__DONT_reset_it
call fcn.140064950
jmp 0x1400a85b1
mov dword [rdi + 0x990], r13d
mov dword [rdi + 0x994], r13d
mov dword [rdi + 0x98c], r13d
mov dword [rdi + 0x948], r13d
mov qword [rdi + 0x9dc], r13
mov qword [rdi + 0x9ec], r13
mov qword [rdi + 0xa00], r13
mov dword [rdi + 0x9e4], r13d
mov qword [rdi + 0x9f4], r13
mov qword [rdi + 0xa08], r13
mov qword [rdi + 0x90c], r13
mov dword [rdi + 0x99c], r13d
mov rcx, qword [rdi + 0x9a0]
test rcx, rcx
je 0x1400a861b
mov edx, 1
call fcn.1400ce23c
mov qword [rdi + 0x9a0], r13
mov dword [rdi + 0x9a8], r13d
mov rcx, qword [rdi + 0x9b0]
test rcx, rcx
je 0x1400a863f
mov edx, 4
call fcn.1400ce23c
mov qword [rdi + 0x9b0], r13
mov dword [rdi + 0x9b8], r13d
mov rcx, qword [rdi + 0x9c0]
test rcx, rcx
je 0x1400a8663
mov edx, 4
call fcn.1400ce23c
mov qword [rdi + 0x9c0], r13
mov r9, qword [rdi + 0x918]
mov r8d, 0x3f4
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TseThread_AB48__x
call fcn.140064950
mov dword [rbp - 0x29], r13d
cmp qword [rdi + 0x920], 0
je 0x1400a86b5
mov dword [rdi + 0x90c], 1
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44e
mov r8d, 0x64
call fcn.1400c39b0
jmp 0x1400a8728
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x1400ab930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x920], rax
mov r9, rax
mov r8d, 0x9e3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTseThread_AB48
lea rcx, str._s__d_CreateThread_SpkEnroll_TseThread_AB48_Train__0x_08x
call fcn.140064950
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov rcx, qword [rdi + 0x920]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadPriority]
mov r9d, eax
mov r8d, 0x9e6
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTseThread_AB48
lea rcx, str._s__d_SetThreadPriority_SpkEnroll_TseThread_AB48_Train___d
call fcn.140064950
mov r9, qword [rdi + 0x8f0]
mov r8d, 0x3f7
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TrainThread__x
call fcn.140064950
mov rcx, rdi
call fcn.1400a8b60
mov eax, dword [0x1401a6b70]
cmp r15d, 0x1f4
jne 0x1400a877f
cmp eax, 0x1fe
je 0x1400a8840
mov dword [rdi + 0xd0], 1
mov r8d, 0x40b
jmp 0x1400a881e
cmp r15d, 1
jne 0x1400a87a0
cmp dword [rdi + 0x8d8], 0
je 0x1400a8840
cmp dword [rdi + 0x8dc], 0
je 0x1400a87af
jmp 0x1400a8840
cmp r15d, 0x64
jne 0x1400a8808
cmp eax, 0x6e
je 0x1400a8840
mov r9, qword [rdi + 0x8f0]
mov r8d, 0x41f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TrainThread__x
call fcn.140064950
cmp dword [rdi + 0x934], 0
je 0x1400a87f3
mov r8d, 0x423
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_AlreadyBackupSpeakerTrackingData__DONT_reset_it
call fcn.140064950
jmp 0x1400a87fa
mov dword [rdi + 0x934], r13d
mov rcx, rdi
call fcn.1400a8b60
mov eax, dword [0x1401a6b70]
cmp r15d, 0xc8
jne 0x1400a8840
cmp eax, 0xd2
je 0x1400a8840
mov r8d, 0x446
mov r9, qword [rdi + 0x900]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_DetectScoreThread__x
call fcn.140064950
mov rcx, rdi
call fcn.1400aa3c0
mov eax, dword [rdi + 0xc8]
cmp eax, 0xdc
jne 0x1400a8880
mov r8d, 0x464
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_sSpkEnroll_DetectScore_Stop
call fcn.140064950
mov dword [rdi + 0x8f8], 1
mov dword [rdi + 0x944], 1
mov eax, dword [rdi + 0xc8]
cmp eax, 0x208
jne 0x1400a8b01
mov r8d, 0x46b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_SpkEnroll_DetectScore_And_TSE_AB48_Stop
call fcn.140064950
mov dword [rdi + 0x8f8], 1
mov dword [rdi + 0x944], 1
jmp 0x1400a8b01
mov r8d, 0x477
lea rcx, str._s__d_dwEnrollState__SpkEnroll_Stop
call fcn.140064950
cmp dword [0x1401a6b70], 0
je 0x1400a8b01
mov r8d, 0x47b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_RestoreMicToOriginalVol
call fcn.140064950
mov rcx, rdi
call fcn.1400a6f30
mov dword [rbp - 0x35], r13d
mov r9d, 1
lea r8, [rbp - 0x35]
lea rdx, [0x14010f6d8]
lea rcx, [rdi + 8]
call fcn.1400034c0
test eax, eax
je 0x1400a892d
cmp dword [rbp - 0x35], 0
jne 0x1400a892d
mov r14d, 1
jmp 0x1400a896d
xor eax, eax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 1], ax
mov dword [rbp + 7], r13d
lea r9d, [rax - 0x12]
lea r8, [rbp - 1]
lea rdx, [0x14010f6d8]
lea rcx, [rdi + 8]
call fcn.140004210
mov r14d, eax
lea rcx, [rbp - 1]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], r14d
mov r9, qword [rdi + 8]
mov r8d, 0x480
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_disabled__success__d
call fcn.140064950
call fcn.14001ef50
test dword [rax + 4], 0x2000000
jne 0x1400a89ab
call fcn.14001ef50
test dword [rax + 4], 0x10000
je 0x1400a8a01
mov dword [rdi + 0x950], 0xc47a0000
mov dword [rdi + 0x954], 0xc47a0000
mov qword [rdi + 0x970], r13
xor eax, eax
mov qword [rdi + 0x960], rax
mov qword [rdi + 0x968], rax
mov r8d, 0x48c
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_end_SNR_detect
call fcn.140064950
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44a
call fcn.1400c3be0
mov rcx, rdi
call fcn.1400a7d10
test eax, eax
jne 0x1400a8a26
mov r8d, 0x493
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_error_restore_data_fail
call fcn.140064950
mov dword [rdi + 0x934], r13d
cmp qword [rdi + 0x8f0], 0
je 0x1400a8a41
mov dword [rdi + 0x8e8], 1
cmp qword [rdi + 0x900], 0
je 0x1400a8a55
mov dword [rdi + 0x8f8], 1
cmp qword [rdi + 0x918], 0
jne 0x1400a8a77
cmp qword [rdi + 0x920], 0
jne 0x1400a8a77
cmp qword [rdi + 0x928], 0
je 0x1400a8b01
mov dword [rdi + 0x908], 1
mov dword [rdi + 0x90c], 1
mov dword [rdi + 0x910], 1
mov dword [rdi + 0x99c], r13d
mov rcx, qword [rdi + 0x9a0]
test rcx, rcx
je 0x1400a8ab9
mov edx, 1
call fcn.1400ce23c
mov qword [rdi + 0x9a0], r13
mov dword [rdi + 0x9a8], r13d
mov rcx, qword [rdi + 0x9b0]
test rcx, rcx
je 0x1400a8add
mov edx, 4
call fcn.1400ce23c
mov qword [rdi + 0x9b0], r13
mov dword [rdi + 0x9b8], r13d
mov rcx, qword [rdi + 0x9c0]
test rcx, rcx
je 0x1400a8b01
mov edx, 4
call fcn.1400ce23c
mov qword [rdi + 0x9c0], r13
mov eax, dword [rdi + 0xc8]
mov dword [0x1401a6b70], eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x1400a8b26
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400ce210
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005560
int3