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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140158010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov edi, edx
mov rbx, rcx
mov r9d, edx
mov r8d, 0x1ff
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_dwNewEnrollState___d
call fcn.14005dbf0
xor r15d, r15d
cmp edi, 1
jne 0x14009e9c1
mov r8d, 0x205
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_Rtk_standard_enroll_start
call fcn.14005dbf0
mov dword [rbx + 0x68], edi
mov qword [rbx + 0x8e4], r15
call fcn.14000b5e0
mov edx, 0x443
mov rcx, rax
lea r8d, [rdx - 0x5b]
call fcn.1400b43a0
mov qword [rsp + 0xa8], r14
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov dword [rbx + 0x64], edi
test edi, edi
je 0x14009ed16
mov r9, rsi
lea rcx, str._s__d_csEndpointId_s
mov r8d, 0x211
call fcn.14005dbf0
lea rcx, [rbx + 8]
call fcn.140004a00
test rsi, rsi
jne 0x14009ea03
mov eax, r15d
jmp 0x14009ea1a
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], r15w
jne 0x14009ea10
mov r8d, eax
lea rcx, [rbx + 8]
mov rdx, rsi
call fcn.1400048e0
mov r9, qword [rbx + 8]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x214
lea rcx, str._s__d_m_csEndpointId_s
call fcn.14005dbf0
cmp dword [0x1401621e0], r15d
jne 0x14009eb57
mov rcx, rbx
call fcn.14009ded0
mov r9d, 1
mov dword [rbp - 0x30], r15d
lea r8, [rbp - 0x30]
lea rdx, [0x1400ddb60]
lea rcx, [rbx + 8]
call fcn.140003180
test eax, eax
je 0x14009ea8a
cmp dword [rbp - 0x30], 1
jne 0x14009ea8a
mov esi, 1
jmp 0x14009eacc
xor eax, eax
lea r8, [rbp - 0x28]
mov qword [rbp - 0x28], rax
lea rdx, [0x1400ddb60]
mov qword [rbp - 0x20], rax
lea rcx, [rbx + 8]
mov qword [rbp - 0x18], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x28], ax
mov dword [rbp - 0x20], 1
lea r9d, [rax - 0x12]
call fcn.140003d90
lea rcx, [rbp - 0x28]
mov esi, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov r9, qword [rbx + 8]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x21c
mov dword [rsp + 0x20], esi
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_enabled__success__d
call fcn.14005dbf0
call fcn.14001dc30
test dword [rax + 4], 0x2000000
je 0x14009eb57
mov dword [rbx + 0x8a8], 0xc47a0000
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov dword [rbx + 0x8ac], 0xc47a0000
lea rcx, str._s__d_start_SNR_detect
xor eax, eax
mov qword [rbx + 0x8c8], r15
mov qword [rbx + 0x8b8], rax
mov r8d, 0x227
mov qword [rbx + 0x8c0], rax
call fcn.14005dbf0
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x44a
mov r8d, 0x32
call fcn.1400b43a0
cmp edi, 1
je 0x14009eb72
cmp edi, 0x64
jne 0x14009ec08
cmp dword [0x1401621e0], 0x6e
je 0x14009ecb8
mov r9, qword [rbx + 0x878]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x233
lea rcx, str._s__d_m_hSpkEnroll_TrainThread__x
call fcn.14005dbf0
mov dword [rbp - 0x30], r15d
cmp qword [rbx + 0x878], r15
je 0x14009ebc3
mov dword [rbx + 0x870], 1
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x446
mov r8d, 0x64
call fcn.1400b43a0
jmp 0x14009ec08
lea rax, [rbp - 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14009efd0]
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r8d, 0x2e3
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartTrainThread
lea rcx, str._s__d_CreateThread_SpkEnroll_TrainThread___x
mov qword [rbx + 0x878], rax
mov r9, rax
call fcn.14005dbf0
cmp edi, 0xc8
jne 0x14009ecb8
cmp dword [0x1401621e0], 0xd2
je 0x14009ecb8
mov r9, qword [rbx + 0x888]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x251
lea rcx, str._s__d_m_hSpkEnroll_DetectScoreThread__x
call fcn.14005dbf0
mov dword [rbp - 0x30], r15d
cmp qword [rbx + 0x888], r15
je 0x14009ec73
mov dword [rbx + 0x880], 1
call fcn.14000b5e0
mov rcx, rax
lea r8d, [rdi - 0x64]
mov edx, 0x447
call fcn.1400b43a0
jmp 0x14009ecb8
lea rax, [rbp - 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x1400a0380]
xor edx, edx
mov dword [rsp + 0x20], r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov r8d, 0x51a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::StartDetectScoreThread
lea rcx, str._s__d_CreateThread_SpkEnroll_DetectScoreThread___x
mov qword [rbx + 0x888], rax
mov r9, rax
call fcn.14005dbf0
cmp dword [rbx + 0x64], 0xdc
jne 0x14009ecee
mov r8d, 0x26f
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_sSpkEnroll_DetectScore_Stop
call fcn.14005dbf0
mov dword [rbx + 0x880], 1
mov dword [rbx + 0x8a0], 1
mov eax, dword [rbx + 0x64]
mov dword [0x1401621e0], eax
mov r14, qword [rsp + 0xa8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400beb20
add rsp, 0x60
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r8d, 0x276
lea rcx, str._s__d_dwEnrollState__SpkEnroll_Stop
call fcn.14005dbf0
cmp dword [0x1401621e0], r15d
je 0x14009ecee
mov r8d, 0x27a
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_RestoreMicToOriginalVol
call fcn.14005dbf0
mov rcx, rbx
call fcn.14009e0c0
mov r9d, 1
mov dword [rbp - 0x30], r15d
lea r8, [rbp - 0x30]
lea rdx, [0x1400ddb60]
lea rcx, [rbx + 8]
call fcn.140003180
test eax, eax
je 0x14009ed82
cmp dword [rbp - 0x30], r15d
jne 0x14009ed82
mov r14d, 1
jmp 0x14009edc2
xor eax, eax
lea r8, [rbp - 0x28]
mov qword [rbp - 0x28], rax
lea rdx, [0x1400ddb60]
mov qword [rbp - 0x20], rax
lea rcx, [rbx + 8]
mov qword [rbp - 0x18], rax
mov eax, SafeArrayUnaccessData
mov word [rbp - 0x28], ax
mov dword [rbp - 0x20], r15d
lea r9d, [rax - 0x12]
call fcn.140003d90
lea rcx, [rbp - 0x28]
mov r14d, eax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov r9, qword [rbx + 8]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x27f
mov dword [rsp + 0x20], r14d
lea rcx, str._s__d_m_csEndpointId__s__PKEY_RTK_BSS_Enroll__set_disabled__success__d
call fcn.14005dbf0
call fcn.14001dc30
test dword [rax + 4], 0x2000000
je 0x14009ee48
mov dword [rbx + 0x8a8], 0xc47a0000
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov dword [rbx + 0x8ac], 0xc47a0000
lea rcx, str._s__d_end_SNR_detect
xor eax, eax
mov qword [rbx + 0x8c8], r15
mov qword [rbx + 0x8b8], rax
mov r8d, 0x28b
mov qword [rbx + 0x8c0], rax
call fcn.14005dbf0
call fcn.14000b5e0
mov rcx, rax
mov edx, 0x44a
call fcn.1400b45d0
mov r9d, dword [rbx + 0x890]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x292
lea rcx, str._s__d_m_bAlreadyGetTrainData____d
call fcn.14005dbf0
cmp dword [rbx + 0x890], r15d
je 0x14009ef92
mov r9d, dword [rbx + 0x8a0]
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
mov r8d, 0x295
lea rcx, str._s__d_m_bAlreadyFinishDetectScore____d
call fcn.14005dbf0
cmp dword [rbx + 0x68], r15d
je 0x14009eeb1
movss xmm0, dword [rbx + 0x894]
comiss xmm0, dword [rbx + 0x898]
ja 0x14009eecf
jmp 0x14009ef92
cmp dword [rbx + 0x8a0], r15d
je 0x14009eecf
movss xmm0, dword [rbx + 0x894]
comiss xmm0, dword [rbx + 0x898]
jbe 0x14009ef92
mov r8d, 0x2af
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_enroll_fail__restore_to_original_train_data
call fcn.14005dbf0
lea r9, [rbx + 0x6c]
mov dword [rbx + 0x6c], 0x800
lea r8, [rbx + 0x70]
mov dword [rsp + 0x20], 2
lea rdx, [0x1400dde18]
lea rcx, [rbx + 8]
call fcn.140003540
test eax, eax
jne 0x14009ef52
xor edx, edx
lea rcx, [rbx + 0x70]
mov r8d, 0x800
call fcn.1400c53e0
mov r9d, 4
mov dword [rsp + 0x20], 2
lea r8, [rbx + 0x70]
lea rdx, [0x1400ddce0]
lea rcx, [rbx + 8]
call fcn.140003700
test eax, eax
jne 0x14009ef92
mov r8d, 0x2b9
jmp 0x14009ef7c
mov r9d, dword [rbx + 0x6c]
lea r8, [rbx + 0x70]
lea rdx, [0x1400ddce0]
mov dword [rsp + 0x20], 2
lea rcx, [rbx + 8]
call fcn.140003700
test eax, eax
jne 0x14009ef92
mov r8d, 0x2c1
mov r9, rsi
lea rdx, str.CRtkBssGen5SpkTrackEnroll::SpkTrackEnrollControl
lea rcx, str._s__d_csEndpointId_s__restore_to_PKEY_RTK_BSS_SVETrainData_fail
call fcn.14005dbf0
cmp qword [rbx + 0x878], r15
je 0x14009efa5
mov dword [rbx + 0x870], 1
mov eax, dword [rbx + 0x64]
mov dword [0x1401621e0], eax
cmp qword [rbx + 0x888], r15
je 0x14009ecf7
mov dword [rbx + 0x880], 1
jmp 0x14009ecf7