Function at 0x140004200
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, [0x1400fcc64]
mov ecx, 0xb0
mov rbp, r9
mov r15d, r8d
call fcn.1400baa94
mov rdi, rax
test rax, rax
je 0x140004406
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 [0x14019c728], rdi
xorps xmm0, xmm0
movups xmmword [rdi + 0xa0], xmm0
test r15d, r15d
je 0x1400042b6
test rbp, rbp
je 0x1400042ac
cmp byte [rbp], bl
je 0x1400042ac
mov rdx, rbp
mov rcx, r14
call fcn.1400023f0
jmp 0x1400042b6
xor edx, edx
mov rcx, r14
call fcn.140002350
call sub.KERNEL32.dll_GetCurrentProcessId
lea rcx, reloc.WS2_32.dll_bind
mov dword [0x14019c724], eax
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x140004432
cmp dword [0x14010f0ac], 0x7fffffff
je 0x14000443d
test rsi, rsi
je 0x140004305
movups xmm0, xmmword [rsi]
movups xmmword [0x14019c3b8], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [0x14019c3c8], xmm1
movups xmm0, xmmword [rsi + 0x20]
jmp 0x140004325
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x14019c3b8], xmm0
movups xmmword [0x14019c3c8], xmm0
movups xmmword [0x14019c3d8], 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 [0x14019c3e8], xmm0
movups xmmword [0x14019c3f8], xmm0
movups xmmword [0x14019c408], xmm0
call sub.MSVCP140.dll__Mtx_unlock
cmp qword [0x14019c3b0], rbx
jne 0x14000440f
mov rcx, r14
call fcn.140005a50
mov qword [0x14019c3b0], rax
lea rcx, [0x1400025f0]
mov qword [rax + 0x10], rcx
lea rcx, [0x140002600]
mov rax, qword [0x14019c3b0]
mov qword [rax + 0x18], rcx
mov eax, 1
mov rdi, qword [0x14019c728]
mov ecx, 8
xchg byte [rdi], al
call fcn.1400baa50
test rax, rax
je 0x1400043ba
mov qword [rax], rdi
jmp 0x1400043bd
mov rax, rbx
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140002650]
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 0x140004423
cmp dword [rdi + 0xa8], ebx
jne 0x1400043ff
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
jmp 0x14000440f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor ebx, ebx
mov qword [0x14019c728], 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 [0x14010f0ac], 0x7ffffffe
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3