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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x440
mov rax, qword [0x1403bfb80]
xor rax, rsp
mov qword [rsp + 0x430], rax
cmp qword [rcx], 0xffffffffffffffff
mov rbx, rcx
mov rbp, qword [rcx + 0x30]
jne 0x14013a160
mov dword [rbp + 0x454], 0
mov r8, qword [rcx + 0x38]
test r8, r8
je 0x14013a28b
mov rax, qword [r8 + 0x18]
test rax, rax
je 0x14013a28b
mov edx, dword [rcx + 0xc]
mov ecx, 2
mov r8, qword [r8]
call rax
mov eax, 0xffffffff
jmp 0x14013a33e
mov rcx, qword [rcx + 0x20]
call fcn.140135ad0
cmp dword [rbx + 0x14], 0
mov esi, eax
jne 0x14013a19a
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14013a2fb
test eax, eax
je 0x14013a2fb
mov edx, reloc.WS2_32.dll_recv
call fcn.14013fe00
mov eax, 0xfffffffe
jmp 0x14013a33e
test esi, esi
je 0x14013a2fb
mov rcx, qword [rbx + 0x20]
call fcn.140135a60
cmp dword [rbx + 0x18], 0
je 0x14013a1ba
lea rsi, [rbx + 0xc]
jmp 0x14013a251
cmp dword [rbx + 8], 0
mov r8d, esi
mov rdx, rax
je 0x14013a1d4
mov rcx, qword [rbx]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
jmp 0x14013a1db
mov ecx, dword [rbx]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__write
mov r15d, eax
movsxd r14, eax
lea rsi, [rbx + 0xc]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp qword [rbx + 0x40], 0
mov dword [rsi], eax
mov dword [rbx + 0x14], 0
je 0x14013a221
lea r8, str.Enabling_POLLOUT_for_socket
mov ecx, 3
lea rdx, str.ssh_socket_unbuffered_write
call fcn.14012ef50
mov rcx, qword [rbx + 0x40]
mov edx, reloc.WS2_32.dll_recv
call fcn.14013fe00
test r15d, r15d
jns 0x14013a22d
mov dword [rbx + 0x18], 1
mov r9, r14
lea r8, str.wrote__zd
lea rdx, str.ssh_socket_unbuffered_write
mov ecx, 4
call fcn.14012ef50
test r15d, r15d
jns 0x14013a2db
mov rcx, rbx
mov dword [rbp + 0x454], 0
call fcn.140139db0
mov r8, qword [rbx + 0x38]
test r8, r8
je 0x14013a28b
mov rax, qword [r8 + 0x18]
test rax, rax
je 0x14013a28b
mov edx, dword [rsi]
mov ecx, 2
mov r8, qword [r8]
call rax
mov eax, 0xffffffff
jmp 0x14013a33e
mov r8d, 0x400
lea rcx, [rsp + 0x30]
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov r8d, 0x400
lea rdx, [rsp + 0x30]
mov ecx, dword [rax]
call fcn.1401379a0
lea r9, str.Writing_packet:_error_on_socket__or_connection_closed_:__s
mov qword [rsp + 0x20], rax
lea r8, str.ssh_socket_nonblocking_flush
mov edx, 2
mov rcx, rbp
call fcn.14012c070
mov eax, 0xffffffff
jmp 0x14013a33e
mov rcx, qword [rbx + 0x20]
mov edx, r15d
call fcn.1401362d0
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x6f8]
test rcx, rcx
je 0x14013a2fb
add qword [rcx + 8], r14
mov rcx, qword [rbx + 0x20]
call fcn.140135ad0
cmp qword [rbx + 0x40], 0
je 0x14013a33c
test eax, eax
je 0x14013a33c
lea r8, str.did_not_send_all_the_data__queuing_pollout_event
mov ecx, 4
lea rdx, str.ssh_socket_nonblocking_flush
call fcn.14012ef50
mov rcx, qword [rbx + 0x40]
mov edx, reloc.WS2_32.dll_recv
call fcn.14013fe00
mov eax, 0xfffffffe
jmp 0x14013a33e
xor eax, eax
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1402d88b0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rsi
ret