Function at 0x1400ac7b0
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 [0x1401a4010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r8
mov r14d, edx
mov rsi, rcx
mov r9d, edx
mov r8d, 0x8c1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_dwNewEnrollCommand___d
call fcn.140065460
call fcn.14001f1b0
mov ebx, dword [rax + 4]
shr ebx, 0x19
and ebx, 1
call fcn.14001f1b0
movzx r9d, word [rax + 6]
and r9d, 1
mov dword [rsp + 0x20], ebx
mov r8d, 0x8c2
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_BssNoiseLevel__d__BssNoiseLevelT2__d_
call fcn.140065460
call fcn.140005430
mov rcx, rax
test rax, rax
je 0x1400ad203
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x21], rax
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.140004bf0
xor r13d, r13d
lea r12, [r13 - 1]
test al, al
jne 0x1400ac8aa
test rdi, rdi
jne 0x1400ac884
mov eax, r13d
jmp 0x1400ac89a
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], r13w
jne 0x1400ac890
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.140004e70
nop
mov rbx, qword [rbp - 0x21]
cmp dword [rbx - 0x10], 0
jne 0x1400ac8c0
call fcn.14000b9e0
call fcn.140098360
jmp 0x1400ac8cd
call fcn.14000b9e0
mov rdx, rdi
call fcn.140097690
test rax, rax
jne 0x1400ac8f0
mov r8d, 0x8d0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140065460
jmp 0x1400ad1c3
mov rdi, qword [rax + 0x168]
mov rcx, rax
call fcn.14000f590
mov r15, rax
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
test rax, rax
jne 0x1400ac925
mov r8d, 0x8d8
lea rcx, str._s__d_RETURN_ON_FALSE
call fcn.140065460
jmp 0x1400ad1c3
mov r9d, dword [rax + 0x34]
mov eax, r9d
shr eax, 0x17
and eax, 1
shr r9d, 0xe
and r9d, 1
mov dword [rsp + 0x20], eax
mov r8d, 0x8d9
lea rcx, str._s__d_BSSv2_SpeakerTrack__d__BSSv2_TSE__d_
call fcn.140065460
mov eax, dword [r15 + 0x34]
shr eax, 0xe
and eax, 1
mov dword [rsi + 0x8e0], eax
mov eax, dword [r15 + 0x34]
shr eax, 0x17
and eax, 1
mov dword [rsi + 0x8e4], eax
cmp r14d, 1
jne 0x1400ac9d8
mov r8d, 0x8e1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_Rtk_standard_enroll_start
call fcn.140065460
mov dword [rsi + 0xd4], r14d
mov qword [rsi + 0x9d0], r13
mov dword [rsi + 0x9e0], r13d
mov dword [rsi + 0x998], r13d
xor eax, eax
mov qword [rsi + 0xbc], rax
mov qword [rsi + 0xc4], rax
mov dword [rsi + 0xc0], r14d
call fcn.14000bb60
mov rcx, rax
mov edx, 0x443
lea r8d, [rdx - 0x5b]
call fcn.1400c8b50
mov dword [rsi + 0xd0], r14d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
test r14d, r14d
je 0x1400acef6
mov r9, rdi
mov r8d, 0x8fa
lea rcx, str._s__d_csEndpointId_s
call fcn.140065460
lea rcx, [rsi + 0x10]
call fcn.140004f90
test rdi, rdi
jne 0x1400aca17
mov eax, r13d
jmp 0x1400aca2a
mov rax, r12
nop word [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x1400aca20
mov r8d, eax
mov rdx, rdi
lea rcx, [rsi + 0x10]
call fcn.140004e70
mov r9, qword [rsi + 0x10]
mov r8d, 0x8fd
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId_s
call fcn.140065460
mov eax, dword [0x1401afbb8]
test eax, eax
jne 0x1400acb7c
mov rcx, rsi
call fcn.1400ab330
mov dword [rbp - 0x39], r13d
mov r9d, 1
lea r8, [rbp - 0x39]
lea rdx, [0x1401146e8]
lea rcx, [rsi + 0x10]
call fcn.1400034c0
test eax, eax
je 0x1400aca9b
cmp dword [rbp - 0x39], 1
jne 0x1400aca9b
mov edi, 1
jmp 0x1400acadd
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, [0x1401146e8]
lea rcx, [rsi + 0x10]
call fcn.140004210
mov edi, eax
lea rcx, [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov dword [rsp + 0x20], edi
mov r9, qword [rsi + 0x10]
mov r8d, 0x905
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_enabled__success__d
call fcn.140065460
call fcn.14001f1b0
test dword [rax + 4], 0x2000000
jne 0x1400acb1a
call fcn.14001f1b0
test dword [rax + 4], 0x10000
je 0x1400acb76
mov dword [rsi + 0x958], 0xc47a0000
mov dword [rsi + 0x95c], 0xc47a0000
mov qword [rsi + 0x978], r13
xor eax, eax
mov qword [rsi + 0x968], rax
mov qword [rsi + 0x970], rax
mov r8d, 0x910
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_start_SNR_detect
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44a
mov r8d, 0x32
call fcn.1400c8b50
mov eax, dword [0x1401afbb8]
cmp r14d, 1
jne 0x1400acb9d
cmp dword [rsi + 0x8e0], 0
je 0x1400ace79
cmp dword [rsi + 0x8e4], 0
jne 0x1400acbb5
jmp 0x1400acdbe
cmp r14d, 0x190
jne 0x1400acd8f
cmp eax, 0x19a
je 0x1400ace79
mov dword [rsi + 0xd8], 1
cmp dword [rsi + 0x998], 0
je 0x1400acbe3
mov r8d, 0x931
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_AlreadyBackupTseData_AB48__DONT_reset_it
call fcn.140065460
jmp 0x1400acbea
mov dword [rsi + 0x998], r13d
mov dword [rsi + 0x99c], r13d
mov dword [rsi + 0x994], r13d
mov dword [rsi + 0x950], r13d
mov qword [rsi + 0x9e8], r13
mov qword [rsi + 0x9f8], r13
mov qword [rsi + 0xa0c], r13
mov dword [rsi + 0x9f0], r13d
mov qword [rsi + 0xa00], r13
mov qword [rsi + 0xa14], r13
mov qword [rsi + 0x914], r13
mov dword [rsi + 0x9a4], r13d
mov rcx, qword [rsi + 0x9a8]
test rcx, rcx
je 0x1400acc54
mov edx, 1
call fcn.1400d37cc
mov qword [rsi + 0x9a8], r13
mov dword [rsi + 0x9b0], r13d
mov rcx, qword [rsi + 0x9b8]
test rcx, rcx
je 0x1400acc78
mov edx, 4
call fcn.1400d37cc
mov qword [rsi + 0x9b8], r13
mov dword [rsi + 0x9c0], r13d
mov rcx, qword [rsi + 0x9c8]
test rcx, rcx
je 0x1400acc9c
mov edx, 4
call fcn.1400d37cc
mov qword [rsi + 0x9c8], r13
mov r9, qword [rsi + 0x920]
mov r8d, 0x958
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TseThread_AB48__x
call fcn.140065460
mov dword [rbp - 0x29], r13d
cmp qword [rsi + 0x928], 0
je 0x1400accee
mov dword [rsi + 0x914], 1
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44e
mov r8d, 0x64
call fcn.1400c8b50
jmp 0x1400acd61
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rsi
lea r8, [0x1400b01b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x928], rax
mov r9, rax
mov r8d, 0xfae
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTseThread_AB48
lea rcx, str._s__d_CreateThread_SpkEnroll_TseThread_AB48_Train__0x_08x
call fcn.140065460
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov rcx, qword [rsi + 0x928]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadPriority]
mov r9d, eax
mov r8d, 0xfb1
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTseThread_AB48
lea rcx, str._s__d_SetThreadPriority_SpkEnroll_TseThread_AB48_Train___d
call fcn.140065460
mov r9, qword [rsi + 0x8f8]
mov r8d, 0x95b
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TrainThread__x
call fcn.140065460
mov rcx, rsi
call fcn.1400ad210
mov eax, dword [0x1401afbb8]
cmp r14d, 0x1f4
jne 0x1400acdb8
cmp eax, 0x1fe
je 0x1400ace79
mov dword [rsi + 0xd8], 1
mov r8d, 0x96f
jmp 0x1400ace57
cmp r14d, 1
jne 0x1400acdd9
cmp dword [rsi + 0x8e0], 0
je 0x1400ace79
cmp dword [rsi + 0x8e4], 0
je 0x1400acde8
jmp 0x1400ace79
cmp r14d, 0x64
jne 0x1400ace41
cmp eax, 0x6e
je 0x1400ace79
mov r9, qword [rsi + 0x8f8]
mov r8d, 0x983
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_TrainThread__x
call fcn.140065460
cmp dword [rsi + 0x93c], 0
je 0x1400ace2c
mov r8d, 0x987
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_AlreadyBackupSpeakerTrackingData__DONT_reset_it
call fcn.140065460
jmp 0x1400ace33
mov dword [rsi + 0x93c], r13d
mov rcx, rsi
call fcn.1400ad210
mov eax, dword [0x1401afbb8]
cmp r14d, 0xc8
jne 0x1400ace79
cmp eax, 0xd2
je 0x1400ace79
mov r8d, 0x9aa
mov r9, qword [rsi + 0x908]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_hSpkEnroll_DetectScoreThread__x
call fcn.140065460
mov rcx, rsi
call fcn.1400ae8f0
mov eax, dword [rsi + 0xd0]
cmp eax, 0xdc
jne 0x1400aceb9
mov r8d, 0x9c8
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_sSpkEnroll_DetectScore_Stop
call fcn.140065460
mov dword [rsi + 0x900], 1
mov dword [rsi + 0x94c], 1
mov eax, dword [rsi + 0xd0]
cmp eax, 0x208
jne 0x1400ad1b7
mov r8d, 0x9cf
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_SpkEnroll_DetectScore_And_TSE_AB48_Stop
call fcn.140065460
mov dword [rsi + 0x900], 1
mov dword [rsi + 0x94c], 1
jmp 0x1400ad1b7
mov r8d, 0x9db
lea rcx, str._s__d_dwEnrollState__SpkEnroll_Stop
call fcn.140065460
cmp dword [0x1401afbb8], 0
je 0x1400ad1b7
mov r8d, 0x9df
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_RestoreMicToOriginalVol
call fcn.140065460
mov rcx, rsi
call fcn.1400ab520
mov dword [rbp - 0x35], r13d
mov r9d, 1
lea r8, [rbp - 0x35]
lea rdx, [0x1401146e8]
lea rcx, [rsi + 0x10]
call fcn.1400034c0
test eax, eax
je 0x1400acf66
cmp dword [rbp - 0x35], 0
jne 0x1400acf66
mov r14d, 1
jmp 0x1400acfa6
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, [0x1401146e8]
lea rcx, [rsi + 0x10]
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 [rsi + 0x10]
mov r8d, 0x9e4
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_disabled__success__d
call fcn.140065460
call fcn.14001f1b0
test dword [rax + 4], 0x2000000
jne 0x1400acfe4
call fcn.14001f1b0
test dword [rax + 4], 0x10000
je 0x1400ad03a
mov dword [rsi + 0x958], 0xc47a0000
mov dword [rsi + 0x95c], 0xc47a0000
mov qword [rsi + 0x978], r13
xor eax, eax
mov qword [rsi + 0x968], rax
mov qword [rsi + 0x970], rax
mov r8d, 0x9f0
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_end_SNR_detect
call fcn.140065460
call fcn.14000bb60
mov rcx, rax
mov edx, 0x44a
call fcn.1400c8d80
mov rcx, rsi
call fcn.1400ac360
test eax, eax
jne 0x1400ad05f
mov r8d, 0x9f7
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_error_restore_data_fail
call fcn.140065460
mov dword [rsi + 0x93c], r13d
cmp dword [rsi + 0xa50], 0
je 0x1400ad0e3
mov rdi, qword [rsi + 0x10]
call fcn.14000b9e0
mov rdx, rdi
call fcn.140097690
mov rdi, rax
test rax, rax
je 0x1400ad0e3
mov rdx, rax
call fcn.1400a99c0
test eax, eax
je 0x1400ad0a2
mov r8d, 1
mov rdx, rdi
call fcn.1400a9df0
mov rdx, rdi
call fcn.1400a9a50
test eax, eax
je 0x1400ad0bc
mov r8d, 2
mov rdx, rdi
call fcn.1400a9df0
mov rdx, rdi
mov rcx, rsi
call fcn.1400a79e0
mov r9d, eax
mov r8d, 0xa0d
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_EncryptEnrollData_bSuccess___d_
call fcn.140065460
cmp qword [rsi + 0x8f8], 0
je 0x1400ad0f7
mov dword [rsi + 0x8f4], 1
cmp qword [rsi + 0x908], 0
je 0x1400ad10b
mov dword [rsi + 0x900], 1
cmp qword [rsi + 0x920], 0
jne 0x1400ad12d
cmp qword [rsi + 0x928], 0
jne 0x1400ad12d
cmp qword [rsi + 0x930], 0
je 0x1400ad1b7
mov dword [rsi + 0x910], 1
mov dword [rsi + 0x914], 1
mov dword [rsi + 0x918], 1
mov dword [rsi + 0x9a4], r13d
mov rcx, qword [rsi + 0x9a8]
test rcx, rcx
je 0x1400ad16f
mov edx, 1
call fcn.1400d37cc
mov qword [rsi + 0x9a8], r13
mov dword [rsi + 0x9b0], r13d
mov rcx, qword [rsi + 0x9b8]
test rcx, rcx
je 0x1400ad193
mov edx, 4
call fcn.1400d37cc
mov qword [rsi + 0x9b8], r13
mov dword [rsi + 0x9c0], r13d
mov rcx, qword [rsi + 0x9c8]
test rcx, rcx
je 0x1400ad1b7
mov edx, 4
call fcn.1400d37cc
mov qword [rsi + 0x9c8], r13
mov eax, dword [rsi + 0xd0]
mov dword [0x1401afbb8], eax
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x1400ad1dc
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.1400d37a0
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