Function at 0x1400aad78
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r15, r9
mov rsi, r8
mov r14, rdx
mov r13, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
mov rcx, qword [rcx + 0x28]
call fcn.14006b688
or edi, 0xffffffff
test al, al
jne 0x1400ab026
test rsi, rsi
je 0x1400aaf0a
mov rcx, rsi
call fcn.1400bdb3c
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1400773c4
xor r9d, r9d
mov r8d, ebx
mov rdx, rax
mov rcx, r14
call qword [sym.imp.WS2_32.dll_send]
mov r12d, eax
cmp eax, edi
jne 0x1400aaefd
mov rcx, qword [0x140174018]
mov qword [rbp - 0x50], rcx
mov r8d, edi
lea rdx, str.Send_error:__d
lea rcx, [rbp - 0x50]
call fcn.14006895c
mov rbx, qword [rbp - 0x50]
lea rsi, [rbx - 0xc]
cmp dword [rsi], 0
jl 0x1400aae3e
mov qword [rbp + 0x40], rbx
lock inc dword [rsi]
jmp 0x1400aae60
mov rax, qword [0x140174018]
mov qword [rbp + 0x40], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.1400670f0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [r13 + 0x28]
call fcn.14006b790
mov rbx, qword [0x140174018]
mov qword [rbp - 0x10], rbx
lea r14, [rbx - 0xc]
cmp dword [r14], 0
mov qword [rbp - 0x60], rbx
jl 0x1400aae92
lock inc dword [r14]
jmp 0x1400aaea9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.1400670f0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [r13 + 0x28]
call fcn.14006b790
nop
cmp r14, qword [0x140174010]
je 0x1400aaedc
mov eax, edi
lock xadd dword [r14], eax
add eax, edi
test eax, eax
jg 0x1400aaedc
mov rcx, r14
call fcn.1400b0230
nop
cmp rsi, qword [0x140174010]
je 0x1400aaef9
mov eax, edi
lock xadd dword [rsi], eax
add eax, edi
test eax, eax
jg 0x1400aaef9
mov rcx, rsi
call fcn.1400b0230
mov r14, qword [rbp + 0x48]
test r15, r15
jne 0x1400aaf0a
mov edi, r12d
jmp 0x1400ab026
mov r12d, dword [rbp + 0x60]
mov r8d, r12d
xor edx, edx
mov rcx, r15
call fcn.1400b1c70
mov rcx, r14
jmp 0x1400aafc1
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140067d7c
nop
mov rbx, qword [rbp - 0x48]
lea r14, [rbx - 0xc]
cmp dword [r14], 0
jl 0x1400aaf4c
mov qword [rbp - 0x58], rbx
lock inc dword [r14]
mov rbx, qword [rbp - 0x48]
jmp 0x1400aaf6e
mov rax, qword [0x140174018]
mov qword [rbp - 0x58], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x58]
call fcn.1400670f0
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, qword [r13 + 0x28]
call fcn.14006b790
mov rdx, r15
mov rcx, r13
call fcn.1400a887c
mov esi, eax
cmp eax, edi
jne 0x1400aafdc
cmp r14, qword [0x140174010]
je 0x1400aafb0
mov eax, edi
lock xadd dword [r14], eax
add eax, edi
test eax, eax
jg 0x1400aafb0
mov rcx, r14
call fcn.1400b0230
mov r8, r12
xor edx, edx
mov rcx, r15
call fcn.1400b1c70
mov rcx, qword [rbp + 0x48]
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
call qword [sym.imp.WS2_32.dll_recv]
cmp eax, edi
mov ebx, eax
jne 0x1400aaf23
jmp 0x1400ab002
cmp esi, 0xfffffffe
cmove esi, edi
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140174010]
je 0x1400ab028
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400ab028
call fcn.1400b0230
jmp 0x1400ab028
lea rdx, str.Receive_error
lea rcx, [rbp - 0x40]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r13 + 0x28]
call fcn.14006b790
mov edi, ebx
mov esi, edi
lea rcx, [rbp - 0x30]
call fcn.140067f00
mov eax, esi
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret