Function at 0x14001a520
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
mov ecx, 8
mov rax, qword gs:[0x58]
mov r9, qword [rax]
mov eax, dword [rcx + r9]
cmp dword [0x1400f07d8], eax
jle 0x14000cf97
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14000cf97
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
lea rdx, [0x1400f0350]
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
mov r8d, 0x2f
lea rdx, str.Evaluating_and_repsonding_to_new_Camera_request
lea rcx, [rsp + 0x28]
call fcn.140005910
nop
mov r8d, 1
lea rdx, [rsp + 0x28]
lea rcx, [0x1400f07c0]
call fcn.140010130
nop
lea rcx, [rsp + 0x28]
call fcn.1400051b0
cmp qword [rsi + 0x28], 0
jne 0x14000d064
mov ecx, 0xf0
call fcn.1400a6170
mov rdi, rax
mov qword [rsp + 0x20], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_CameraPipeRequestHandler_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.140014e00
nop
mov qword [rsi + 0x28], rbx
mov rbx, qword [rsi + 0x30]
mov qword [rsi + 0x30], rdi
test rbx, rbx
je 0x14000d064
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000d064
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14000d064
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r8, rbp
mov rdx, r14
mov rcx, qword [rsi + 0x28]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
jmp 0x14001a520
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1400e9010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rsi, r8
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
cmp dword [rcx + 0x10], r15d
jne 0x14001a668
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400f07d8], eax
jle 0x14001a5c8
lea rcx, [0x1400f07d8]
call fcn.1400a64e0
cmp dword [0x1400f07d8], 0xffffffff
jne 0x14001a5c8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x1400f07c0], xmm0
mov qword [0x1400f07d0], rax
xor edx, edx
call fcn.14001d530
lea rcx, [0x1400b9fa0]
call fcn.1400a63e4
nop
lea rcx, [0x1400f07d8]
call fcn.1400a6474
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], r15
mov r8d, 0x49
lea rdx, str.HandleRequestOnWorkerThread._create_HandleRequestOnWorkerThread._Success.
lea rcx, [rbp - 0x49]
call fcn.140005910
nop
mov r8d, 2
lea rdx, [rbp - 0x49]
lea rcx, [0x1400f07c0]
call fcn.14001ac60
nop
lea rcx, [rbp - 0x49]
call fcn.1400051b0
mov ecx, 8
call fcn.1400a6170
mov qword [rax], rbx
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14001b8b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14001a695
cmp dword [rbx + 0x10], 0
jne 0x14001a68e
xorps xmm0, xmm0
movaps xmmword [rbp - 0x19], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [rbp - 9], xmm1
movdqa xmmword [rbp - 0x59], xmm0
movups xmmword [rbx + 8], xmm1
lea rdi, [rbx + 0x18]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a84e
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
jne 0x14001a6a5
dec eax
mov dword [rdi + 0x4c], eax
jmp 0x14001a6f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [rbp - 0x51], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov qword [rbx + 0xb8], r14
mov qword [rbx + 0xc0], rsi
mov byte [rbx + 0xb0], 1
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rbx + 0x68]
call qword [sym.imp.MSVCP140.dll__Cnd_signal]
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x27], rdi
mov byte [rbp + 0x2f], 0
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a84e
cmp dword [rdi + 0x4c], 0x7fffffff
jne 0x14001a705
dec dword [rdi + 0x4c]
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov byte [rbp + 0x2f], 1
cmp byte [rbx + 0xb1], 0
jne 0x14001a728
mov rdx, rdi
lea rcx, [rbx + 0x68]
call qword [sym.imp.MSVCP140.dll__Cnd_wait]
cmp byte [rbx + 0xb1], 0
je 0x14001a712
mov r9, rbx
lea rdx, [rbp + 0x27]
lea rcx, [rbx + 0x68]
call fcn.14001af10
test al, al
jne 0x14001a807
xor edx, edx
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xorps xmm1, xmm1
movups xmmword [rbp + 7], xmm1
cmp dword [rbx + 0x10], 0
jne 0x14001a847
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbx + 8], xmm1
mov byte [rbx + 0xb0], 0
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, [rbp - 0x29]
call fcn.14001a920
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rbx + 0xd0], rcx
mov rdi, qword [rbx + 0xd8]
mov qword [rbx + 0xd8], rdx
mov esi, 0xffffffff
test rdi, rdi
je 0x14001a7d7
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001a7d7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, esi
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14001a7d7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rbp - 0x21]
test rdi, rdi
je 0x14001a807
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14001a807
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x14001a807
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rbx + 0xb1], 0
cmp byte [rbp + 0x2f], 0
je 0x14001a81e
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400a6140
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3