Function at 0x140059b80
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 [0x1400a0ca8]
xor rax, rsp
mov qword [rbp], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.140058000
test al, al
jne 0x140059d76
mov rcx, qword [rbx + 8]
test rdi, rdi
jne 0x140059bdc
lea edx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x140059da1
xor eax, eax
jmp 0x140059ced
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 0x140059c25
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x140059de6
mov rcx, qword [rbx]
call fcn.140057d60
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.140057d60
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.140059a40
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140059c83
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.140057a50
mov rcx, qword [rbx]
call fcn.140057d60
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140059cb0
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 0x140059ce9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x140059d37
jmp 0x140059d0c
mov eax, dword [rsp + 0x58]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14006b0f0
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.140004c30
lea rdx, [0x140099c70]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14005a2e0
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSAGetOverlappedResult_failed_
lea rcx, [rbp - 0x20]
call fcn.140012570
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004d80
lea rdx, [0x140099cd0]
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.140004c30
lea rdx, [0x140099c70]
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.14005a2e0
nop
mov r8, rax
lea rdx, str.TcpConnection::write__shutdown_failed_
lea rcx, [rbp - 0x60]
call fcn.140012570
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004d80
lea rdx, [0x140099cd0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14005a2e0
nop
mov r8, rax
lea rdx, str.TcpConnection::write__WSASend_failed_
lea rcx, [rbp - 0x20]
call fcn.140012570
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004d80
lea rdx, [0x140099cd0]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3