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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140248318]
xor rax, rsp
mov qword [rbp], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.140188030
test al, al
jne 0x14018a996
mov rcx, qword [rbx + 8]
test rdi, rdi
jne 0x14018a7fc
lea edx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x14018a9c1
xor eax, eax
jmp 0x14018a90d
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x68], rsi
xor esi, esi
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x14018a845
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x14018aa06
mov rcx, qword [rbx]
call fcn.140187df0
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x68], sil
lea rax, [rsp + 0x70]
mov qword [rbx + 0x18], rax
mov rcx, qword [rbx]
call fcn.140187df0
lea rdx, [rax + 0x70]
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_e55a431fb6ac406b83db82b6dd80c1d4___void___.0
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rbx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x60]
call fcn.14018a660
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14018a8a3
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.140187ae0
mov rcx, qword [rbx]
call fcn.140187df0
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14018a8d0
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, [rsp + 0x5c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, 1
je 0x14018a909
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x14018a957
jmp 0x14018a92c
mov eax, dword [rsp + 0x58]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14018bc90
mov rbx, qword [rsp + 0x148]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call fcn.140186ce0
lea rdx, [0x1402404d0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14018ad80
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSAGetOverlappedResult_failed_
lea rcx, [rbp - 0x20]
call fcn.14000f6b0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140019dc0
lea rdx, [0x14023dac0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x40]
call fcn.140186ce0
lea rdx, [0x1402404d0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.14018ad80
nop
mov r8, rax
lea rdx, str.TcpConnection::write__shutdown_failed_
lea rcx, [rbp - 0x60]
call fcn.14000f6b0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140019dc0
lea rdx, [0x14023dac0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14018ad80
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSASend_failed_
lea rcx, [rbp - 0x20]
call fcn.14000f6b0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140019dc0
lea rdx, [0x14023dac0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3