Function at 0x1401cf450
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 0x1401cf6e7
mov byte [rbp - 0x51], 1
xor r12d, r12d
mov dword [rbp - 0x39], r12d
lea rax, str.PJ_
mov qword [rbp - 0x31], rax
cmp dword [r14 + 0x18], r12d
je 0x1401cf4ce
mov dword [rbp - 0x49], 2
lea rax, str.8___
mov qword [rbp - 0x41], rax
movaps xmm6, xmmword [rbp - 0x49]
jmp 0x1401cf608
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.1401daf30
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401cf510
mov rcx, qword [r14 + 0x118]
mov qword [rax], rcx
lock inc dword [rcx + 0x30]
mov r15, qword [rbp - 0x59]
jmp 0x1401cf513
mov rax, r12
mov rbx, qword [r14 + 0x128]
mov qword [r14 + 0x128], rax
test rbx, rbx
je 0x1401cf54f
mov rcx, qword [rbx]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x30], eax
cmp eax, 1
jne 0x1401cf53e
call fcn.1401d0d10
nop
mov edx, 8
mov rcx, rbx
call fcn.1401daefc
mov r15, qword [rbp - 0x59]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401daf30
mov rbx, rax
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401cf5c7
lea rax, [0x1401d1e40]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], r12d
mov ecx, 0x18
call fcn.1401daf30
test rax, rax
je 0x1401cf590
mov qword [rax], r14
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rax + 8], xmm0
jmp 0x1401cf593
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, [0x1401c2170]
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 0x1401cf6d9
jmp 0x1401cf5ca
mov rbx, r12
mov rcx, qword [r14 + 0x120]
mov qword [r14 + 0x120], rbx
test rcx, rcx
je 0x1401cf5f4
cmp dword [rcx + 8], 0
je 0x1401cf5ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov edx, reloc.WS2_32.dll_recv
call fcn.1401daefc
mov rcx, r14
call fcn.1401d12c0
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 0x1401cf62a
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.1400d8c50
movzx esi, al
mov edx, 8
mov ecx, 0x90
call fcn.1401c4ff0
mov rdi, rax
mov qword [rax + 0x20], r12
lea rax, [0x1401cbb80]
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.14004fe30
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi + 0x78], xmm0
movzx r8d, sil
mov rdx, rdi
mov rcx, qword [r14 + 0x118]
call fcn.1401cfc60
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1401cf6b1
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.1401dadc1
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