Function at 0x140004600
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0xa0
mov rdi, rdx
mov rbp, rcx
lea rdx, [0x1400a3330]
mov ecx, 0xb0
mov rsi, r9
mov r15d, r8d
call fcn.14008c96c
mov r14, rax
test rax, rax
je 0x140004817
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 [0x1400dcd78], r14
xorps xmm0, xmm0
movups xmmword [r14 + 0xa0], xmm0
test r15d, r15d
je 0x1400046c1
test rsi, rsi
je 0x1400046b7
cmp byte [rsi], bl
je 0x1400046b7
mov rdx, rsi
mov rcx, rbp
call fcn.140002980
jmp 0x1400046c1
xor edx, edx
mov rcx, rbp
call fcn.140002900
call sub.KERNEL32.dll_GetCurrentProcessId
lea rcx, [0x1400bb8f0]
mov dword [0x1400dcd74], eax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x14000484c
cmp dword [0x1400bb93c], 0x7fffffff
je 0x140004857
test rdi, rdi
je 0x140004710
movups xmm0, xmmword [rdi]
movups xmmword [0x1400dca08], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1400dca18], xmm1
movups xmm0, xmmword [rdi + 0x20]
jmp 0x140004730
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1400dca08], xmm0
movups xmmword [0x1400dca18], xmm0
movups xmmword [0x1400dca28], xmm0
lea rcx, [0x1400bb8f0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x1400dca38], xmm0
movups xmmword [0x1400dca48], xmm0
movups xmmword [0x1400dca58], xmm0
call sub.MSVCP140.dll__Mtx_unlock
cmp qword [0x1400dca00], rbx
jne 0x140004820
mov rcx, rbp
call fcn.140006120
mov qword [0x1400dca00], rax
lea rcx, [0x140002b80]
mov qword [rax + 0x10], rcx
lea rcx, [0x140002b90]
mov rax, qword [0x1400dca00]
mov qword [rax + 0x18], rcx
mov eax, 1
mov rdi, qword [0x1400dcd78]
mov ecx, 8
xchg byte [rdi], al
call fcn.14008c6e8
test rax, rax
je 0x1400047cb
mov qword [rax], rdi
jmp 0x1400047ce
mov rax, rbx
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140002be0]
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 0x14000483d
cmp dword [rdi + 0xa8], ebx
jne 0x140004810
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
jmp 0x140004820
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ebx, ebx
mov qword [0x1400dcd78], rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
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 [0x1400bb93c], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3