Function at 0x140004cc0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rdi, rdx
mov rbp, rcx
lea rdx, [0x14010efb4]
mov ecx, 0xb0
mov rsi, r9
mov r15d, r8d
call fcn.1400cbfb4
mov r14, rax
test rax, rax
je 0x140004ecf
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [r14 + 8]
mov byte [r14], 1
xor ebx, ebx
xorps xmm0, xmm0
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
movups xmmword [rcx + 0x18], xmm0
lea edx, [rbx + 2]
movups xmmword [rcx + 0x28], xmm0
movups xmmword [rcx + 0x38], xmm0
mov qword [rcx + 0x48], rbx
call sub.MSVCP140.dll__Mtx_init_in_situ
lea rcx, [r14 + 0x58]
call sub.MSVCP140.dll__Cnd_init_in_situ
mov qword [0x14017bec8], r14
xorps xmm0, xmm0
movups xmmword [r14 + 0xa0], xmm0
test r15d, r15d
je 0x140004d79
test rsi, rsi
je 0x140004d6f
cmp byte [rsi], bl
je 0x140004d6f
mov rdx, rsi
mov rcx, rbp
call fcn.140003170
jmp 0x140004d79
xor edx, edx
mov rcx, rbp
call fcn.1400030d0
call sub.KERNEL32.dll_GetCurrentProcessId
lea rcx, [0x14015aa40]
mov dword [0x14017bec4], eax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140004efe
cmp dword [0x14015aa8c], 0x7fffffff
je 0x140004f09
test rdi, rdi
je 0x140004dc8
movups xmm0, xmmword [rdi]
movups xmmword [0x14017bb58], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x14017bb68], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x140004de8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x14017bb58], xmm0
movups xmmword [0x14017bb68], xmm0
movups xmmword [0x14017bb78], xmm0
lea rcx, [0x14015aa40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x14017bb88], xmm0
movups xmmword [0x14017bb98], xmm0
movups xmmword [0x14017bba8], xmm0
call sub.MSVCP140.dll__Mtx_unlock
cmp qword [0x14017bb50], rbx
jne 0x140004ed8
mov rcx, rbp
call fcn.1400064a0
mov qword [0x14017bb50], rax
lea rcx, [0x140003370]
mov qword [rax + 0x10], rcx
lea rcx, [0x140003380]
mov rax, qword [0x14017bb50]
mov qword [rax + 0x18], rcx
mov eax, 1
mov rdi, qword [0x14017bec8]
mov ecx, 8
xchg byte [rdi], al
call fcn.1400cbd30
test rax, rax
je 0x140004e83
mov qword [rax], rdi
jmp 0x140004e86
mov rax, rbx
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400033d0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140004eef
cmp dword [rdi + 0xa8], ebx
jne 0x140004ec8
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
jmp 0x140004ed8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ebx, ebx
mov qword [0x14017bec8], rbx
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 6
mov dword [rsp + 0x38], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 5
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, 6
mov dword [0x14015aa8c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3