Function at 0x1401d5740
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 fcn.1401e139c
test eax, eax
jne 0x1401d59cb
mov byte [rbp - 0x51], 1
xor r12d, r12d
mov dword [rbp - 0x39], r12d
lea rax, [0x14034ffb8]
mov qword [rbp - 0x31], rax
cmp dword [r14 + 0x18], r12d
je 0x1401d57be
mov dword [rbp - 0x49], 2
lea rax, [0x140351190]
mov qword [rbp - 0x41], rax
movaps xmm6, xmmword [rbp - 0x49]
jmp 0x1401d58f4
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.140205df8
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401d5800
mov rcx, qword [r14 + 0x118]
mov qword [rax], rcx
lock inc dword [rcx + 0x30]
mov r15, qword [rbp - 0x59]
jmp 0x1401d5803
mov rax, r12
mov rbx, qword [r14 + 0x128]
mov qword [r14 + 0x128], rax
test rbx, rbx
je 0x1401d583f
mov rcx, qword [rbx]
mov eax, 0xffffffff
lock xadd dword [rcx + 0x30], eax
cmp eax, 1
jne 0x1401d582e
call fcn.1401d7010
nop
mov edx, 8
mov rcx, rbx
call fcn.140205dc4
mov r15, qword [rbp - 0x59]
mov ecx, reloc.WS2_32.dll_recv
call fcn.140205df8
mov rbx, rax
mov qword [rbp + 0x67], rax
test rax, rax
je 0x1401d58b6
lea rax, [0x1401d8170]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], r12d
mov ecx, 0x18
call fcn.140205df8
test rax, rax
je 0x1401d5880
mov qword [rax], r14
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rax + 8], xmm0
jmp 0x1401d5883
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, [0x1401c8350]
xor edx, edx
xor ecx, ecx
call fcn.140210fd0
mov qword [rbx], rax
test rax, rax
je 0x1401d59d3
jmp 0x1401d58b9
mov rbx, r12
mov rcx, qword [r14 + 0x120]
mov qword [r14 + 0x120], rbx
test rcx, rcx
je 0x1401d58e0
cmp dword [rcx + 8], 0
jne 0x1401d59c5
mov edx, reloc.WS2_32.dll_recv
call fcn.140205dc4
mov rcx, r14
call fcn.1401d75c0
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 0x1401d5916
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.1400d3710
movzx esi, al
mov edx, 8
mov ecx, 0x90
call fcn.1401cb2d0
mov rdi, rax
mov qword [rax + 0x20], r12
lea rax, [0x1401d1ef0]
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.140047650
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi + 0x78], xmm0
movzx r8d, sil
mov rdx, rdi
mov rcx, qword [r14 + 0x118]
call fcn.1401d5f60
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1401d599d
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.1401e13c0
call fcn.140210a28
nop
mov ecx, eax
call fcn.1401e34b8
nop
mov dword [rdi], r12d
mov ecx, 6
call fcn.1401e34f4
int3