Function at 0x140004340
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rsi, rdx
mov r14, rcx
lea rdx, [0x14010aaa4]
mov ecx, 0xb0
mov rbp, r9
mov r15d, r8d
call fcn.1400c6ad4
mov rdi, rax
test rax, rax
je 0x140004546
xor edx, edx
mov r8d, 0xb0
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rdi], 1
lea rcx, [rdi + 0x58]
xorps xmm0, xmm0
xor ebx, ebx
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rbx
mov dword [rdi + 0x50], 0xffffffff
mov dword [rdi + 8], 2
mov dword [rdi + 0x54], ebx
call sub.MSVCP140.dll__Cnd_init_in_situ
mov qword [0x140254818], rdi
xorps xmm0, xmm0
movups xmmword [rdi + 0xa0], xmm0
test r15d, r15d
je 0x1400043f6
test rbp, rbp
je 0x1400043ec
cmp byte [rbp], bl
je 0x1400043ec
mov rdx, rbp
mov rcx, r14
call fcn.140002560
jmp 0x1400043f6
xor edx, edx
mov rcx, r14
call fcn.1400024c0
call sub.KERNEL32.dll_GetCurrentProcessId
lea rcx, reloc.WS2_32.dll_bind
mov dword [0x140254814], eax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140004572
cmp dword [0x14011e0ac], 0x7fffffff
je 0x14000457d
test rsi, rsi
je 0x140004445
movups xmm0, xmmword [rsi]
movups xmmword [0x1402544a8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [0x1402544b8], xmm1
movups xmm0, xmmword [rsi + 0x20]
jmp 0x140004465
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1402544a8], xmm0
movups xmmword [0x1402544b8], xmm0
movups xmmword [0x1402544c8], xmm0
lea rcx, reloc.WS2_32.dll_bind
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x1402544d8], xmm0
movups xmmword [0x1402544e8], xmm0
movups xmmword [0x1402544f8], xmm0
call sub.MSVCP140.dll__Mtx_unlock
cmp qword [0x1402544a0], rbx
jne 0x14000454f
mov rcx, r14
call fcn.140005b90
mov qword [0x1402544a0], rax
lea rcx, [0x140002760]
mov qword [rax + 0x10], rcx
lea rcx, [0x140002770]
mov rax, qword [0x1402544a0]
mov qword [rax + 0x18], rcx
mov eax, 1
mov rdi, qword [0x140254818]
mov ecx, 8
xchg byte [rdi], al
call fcn.1400c6a90
test rax, rax
je 0x1400044fa
mov qword [rax], rdi
jmp 0x1400044fd
mov rax, rbx
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400027c0]
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 0x140004563
cmp dword [rdi + 0xa8], ebx
jne 0x14000453f
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
jmp 0x14000454f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ebx, ebx
mov qword [0x140254818], rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
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 [0x14011e0ac], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3