Function at 0x1401d1490
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rsi, rdx
mov r14, rcx
lea r15, [rcx + 0x140]
mov qword [rbp - 0x59], r15
mov byte [rbp - 0x51], 0
mov rcx, r15
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1401d1727
mov byte [rbp - 0x51], 1
xor r12d, r12d
mov dword [rbp - 0x39], r12d
lea rax, str.pf_
mov qword [rbp - 0x31], rax
cmp dword [r14 + 0x18], r12d
je 0x1401d150e
mov dword [rbp - 0x49], 2
lea rax, str.H___
mov qword [rbp - 0x41], rax
movaps xmm6, xmmword [rbp - 0x49]
jmp 0x1401d1648
mov rcx, qword [r14 + 0x28]
mov rax, qword [rcx]
lea rdx, [r14 + 8]
call qword [rax]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
lea rdx, [r14 + 0x10]
call qword [rax + reloc.WS2_32.dll_htonl]
mov ecx, 8
call fcn.1401dcf70
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401d1550
mov rcx, qword [r14 + 0x118]
mov qword [rax], rcx
lock inc dword [rcx + 0x30]
mov r15, qword [rbp - 0x59]
jmp 0x1401d1553
mov rax, r12
mov rbx, qword [r14 + 0x128]
mov qword [r14 + 0x128], rax
test rbx, rbx
je 0x1401d158f
mov rcx, qword [rbx]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x30], eax
cmp eax, 1
jne 0x1401d157e
call fcn.1401d2d50
nop
mov edx, 8
mov rcx, rbx
call fcn.1401dcf3c
mov r15, qword [rbp - 0x59]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401dcf70
mov rbx, rax
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401d1607
lea rax, [0x1401d3e80]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], r12d
mov ecx, 0x18
call fcn.1401dcf70
test rax, rax
je 0x1401d15d0
mov qword [rax], r14
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rax + 8], xmm0
jmp 0x1401d15d3
mov rax, r12
mov qword [rbp + 0x77], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r12d
mov r9, rax
lea r8, [0x1401c41b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1401d1719
jmp 0x1401d160a
mov rbx, r12
mov rcx, qword [r14 + 0x120]
mov qword [r14 + 0x120], rbx
test rcx, rcx
je 0x1401d1634
cmp dword [rcx + 8], 0
je 0x1401d162a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1401dcf3c
mov rcx, r14
call fcn.1401d3300
mov dword [r14 + 0x18], 1
movaps xmm6, xmmword [rbp - 0x39]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
mov qword [rbp + 0xf], r12
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x1401d166a
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax]
mov qword [rbp + 0xf], rax
movups xmmword [rbp + 0x17], xmm6
lea rcx, [rbp - 0x29]
call fcn.1400dac90
movzx esi, al
mov edx, 8
mov ecx, 0x90
call fcn.1401c7030
mov rdi, rax
mov qword [rax + 0x20], r12
lea rax, [0x1401cdbc0]
mov qword [rdi + 0x28], rax
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov dword [rdi + 0x30], r12d
lea rdx, [rbp - 0x29]
lea rcx, [rdi + 0x38]
call fcn.140051e70
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi + 0x78], xmm0
movzx r8d, sil
mov rdx, rdi
mov rcx, qword [r14 + 0x118]
call fcn.1401d1ca0
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1401d16f1
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov rcx, r15
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp fcn.1401dce01
mov dword [rdi], r12d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3