Function at 0x140171120
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.14016f150
test al, al
jne 0x1401712ed
mov rcx, qword [rbx + 8]
test rdi, rdi
jne 0x14017116e
lea edx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x140171314
xor eax, eax
jmp 0x140171276
mov dword [rbp - 0x61], edi
mov qword [rbp - 0x59], rsi
xor esi, esi
mov qword [rbp + 7], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x11]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x61]
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x1401711b3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x140171357
mov rcx, qword [rbx]
call fcn.14016eed0
mov qword [rbp + 0xf], rax
mov byte [rbp + 0x17], sil
lea rax, [rbp - 0x11]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx]
call fcn.14016eed0
lea rdx, [rax + 0x70]
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_e55a431fb6ac406b83db82b6dd80c1d4___void___.0
mov qword [rbp - 0x51], rcx
mov qword [rbp - 0x49], rbx
lea rcx, [rbp - 0x51]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x51]
call fcn.140170ff0
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140171210
mov rax, qword [rcx]
lea rdx, [rbp - 0x51]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.14016ebe0
mov rcx, qword [rbx]
call fcn.14016eed0
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14017123d
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rsi
mov qword [rbx + 0x18], rsi
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x11]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, 1
je 0x140171273
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x1401712b0
jmp 0x140171289
mov eax, dword [rbp + 0x67]
mov rbx, qword [rsp + 0x128]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x79]
call fcn.14016fa60
lea rdx, [0x140228248]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.140172250
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSAGetOverlappedResult_failed_
lea rcx, [rbp + 0x1f]
call fcn.140010e60
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.1400ba200
lea rdx, [0x140227e18]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x79]
call fcn.14016fa60
lea rdx, [0x140228248]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x1f]
call fcn.140172250
nop
mov r8, rax
lea rdx, str.TcpConnection::write__shutdown_failed_
lea rcx, [rbp - 0x51]
call fcn.140010e60
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.1400ba200
lea rdx, [0x140227e18]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.140172250
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSASend_failed_
lea rcx, [rbp + 0x1f]
call fcn.140010e60
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.1400ba200
lea rdx, [0x140227e18]
lea rcx, [rbp - 0x79]
call sub.VCRUNTIME140.dll__CxxThrowException
int3