Function at 0x1400ba334
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, 0x70
mov qword [rbp - 8], 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.14006c984
or edi, 0xffffffff
test al, al
jne 0x1400ba5e0
test rsi, rsi
je 0x1400ba4c4
mov rcx, rsi
call qword [sym.imp.MSVCR120.dll_wcslen]
mov rbx, rax
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14007c9ac
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 0x1400ba4b7
mov rcx, qword [0x140108018]
mov qword [rbp - 0x38], rcx
mov r8d, edi
lea rdx, str.Send_error:__d
lea rcx, [rbp - 0x38]
call fcn.140069514
mov rbx, qword [rbp - 0x38]
lea rsi, [rbx - 0xc]
cmp dword [rsi], 0
jl 0x1400ba3f8
mov qword [rbp + 0x40], rbx
lock inc dword [rsi]
jmp 0x1400ba41a
mov rax, qword [0x140108018]
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.140067304
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [r13 + 0x28]
call fcn.14006caa0
mov rbx, qword [0x140108018]
mov qword [rbp - 0x18], rbx
lea r14, [rbx - 0xc]
cmp dword [r14], 0
mov qword [rbp - 0x50], rbx
jl 0x1400ba44c
lock inc dword [r14]
jmp 0x1400ba463
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.140067304
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, qword [r13 + 0x28]
call fcn.14006caa0
nop
cmp r14, qword [0x140108010]
je 0x1400ba496
mov eax, edi
lock xadd dword [r14], eax
add eax, edi
test eax, eax
jg 0x1400ba496
mov rcx, r14
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
cmp rsi, qword [0x140108010]
je 0x1400ba4b3
mov eax, edi
lock xadd dword [rsi], eax
add eax, edi
test eax, eax
jg 0x1400ba4b3
mov rcx, rsi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov r14, qword [rbp + 0x48]
test r15, r15
jne 0x1400ba4c4
mov edi, r12d
jmp 0x1400ba5e0
mov r12d, dword [rbp + 0x60]
mov r8d, r12d
xor edx, edx
mov rcx, r15
call sub.MSVCR120.dll_memset
mov rcx, r14
jmp 0x1400ba57b
mov rdx, r15
lea rcx, [rbp - 0x40]
call fcn.140068690
nop
mov rbx, qword [rbp - 0x40]
lea r14, [rbx - 0xc]
cmp dword [r14], 0
jl 0x1400ba506
mov qword [rbp - 0x48], rbx
lock inc dword [r14]
mov rbx, qword [rbp - 0x40]
jmp 0x1400ba528
mov rax, qword [0x140108018]
mov qword [rbp - 0x48], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.140067304
mov r9b, 1
xor r8d, r8d
lea rdx, [rbp - 0x48]
mov rcx, qword [r13 + 0x28]
call fcn.14006caa0
mov rdx, r15
mov rcx, r13
call fcn.1400b7b9c
mov esi, eax
cmp eax, edi
jne 0x1400ba596
cmp r14, qword [0x140108010]
je 0x1400ba56a
mov eax, edi
lock xadd dword [r14], eax
add eax, edi
test eax, eax
jg 0x1400ba56a
mov rcx, r14
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov r8, r12
xor edx, edx
mov rcx, r15
call sub.MSVCR120.dll_memset
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 0x1400ba4dd
jmp 0x1400ba5bc
cmp eax, 0xfffffffe
cmove esi, edi
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140108010]
je 0x1400ba5e2
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400ba5e2
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x1400ba5e2
lea rdx, str.Receive_error
lea rcx, [rbp - 0x10]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r13 + 0x28]
call fcn.14006caa0
mov edi, ebx
mov esi, edi
lea rcx, [rbp - 0x30]
call fcn.140068890
mov eax, esi
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret