Function at 0x1401e08f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rbx, rcx
xor ebp, ebp
mov ecx, dword [rcx + 0xcca0]
test ecx, ecx
jne 0x1401e09c7
cmp rdx, 0xffffffffffffffff
jne 0x1401e0932
lea r8, str.Bad_socket_provided
mov rcx, rbx
lea edx, [rbp - 0x2d]
call fcn.1401e5040
jmp 0x1401e0d1c
movsxd rcx, edx
lea rax, [rsp + 0x60]
lea r14, [rbx + 0x238]
mov dword [rsp + 0x60], 4
mov qword [r14], rdx
lea r9, [rsp + 0x70]
mov edx, 0xffff
mov qword [rsp + 0x20], rax
mov r8d, 0x1007
call qword [sym.imp.ws2_32.dll_getsockopt]
test eax, eax
je 0x1401e097d
mov dword [rbx + 0x248], ebp
mov dword [rbx + 0xcca0], 2
jmp 0x1401e09d7
mov ecx, dword [rsp + 0x70]
mov eax, ebp
test ecx, ecx
sete al
mov dword [rbx + 0x248], eax
test ecx, ecx
jne 0x1401e0971
mov rcx, qword [r14]
lea r8, [rsp + 0x60]
mov edx, 0x8004667e
mov dword [rsp + 0x60], 1
call qword [sym.imp.ws2_32.dll_ioctlsocket]
test eax, eax
je 0x1401e0971
lea r8, str.Failed_changing_sockets_blocking_state_to_non_blocking
mov edx, eax
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
lea r14, [rbx + 0x238]
cmp ecx, 2
jne 0x1401e0b05
lea rsi, str.SSH_2.0_libssh2_1.10.1_DEV_r_n
mov ecx, 0x1c
cmp dword [rbx + 0xcb78], ebp
jne 0x1401e0a16
mov rax, qword [rbx + 0x190]
test rax, rax
je 0x1401e0a0c
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], bpl
jne 0x1401e0a00
mov rsi, rax
mov dword [rbx + 0xcb78], 2
mov rax, qword [rbx + 0xcc80]
xor r9d, r9d
and dword [rbx + 0x244], 0xfffffffd
movsxd rdi, ecx
mov rcx, qword [r14]
mov r8, rdi
lea rdx, [rax + rsi]
mov qword [rsp + 0x20], rbx
sub r8, rax
call qword [rbx + 0x48]
mov r9, rax
test rax, rax
js 0x1401e0a77
mov rcx, qword [rbx + 0xcc80]
lea r8, str.Sent__d__d_bytes_at__p_d
mov qword [rsp + 0x30], rcx
mov rdx, rdi
sub rdx, rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdx
mov rcx, rbx
mov edx, 0x200
call fcn.1401dfc80
mov rcx, qword [rbx + 0xcc80]
sub rdi, rcx
cmp r9, rdi
je 0x1401e0aec
movabs rdx, 0x8000000000000000
add rax, rdx
test rdx, rax
jne 0x1401e0ac4
cmp r9, 0xfffffffffffffff5
je 0x1401e0ac4
lea r8, str.Failed_sending_banner
mov dword [rbx + 0xcb78], ebp
mov edx, 0xffffffd5
mov qword [rbx + 0xcc80], rbp
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
mov dword [rbx + 0x244], 2
test r9, r9
jle 0x1401e0c17
lea rax, [rcx + r9]
mov qword [rbx + 0xcc80], rax
mov eax, 0xffffffdb
jmp 0x1401e0d1c
mov dword [rbx + 0xcb78], ebp
mov qword [rbx + 0xcc80], rbp
mov dword [rbx + 0xcca0], 3
jmp 0x1401e0b10
cmp ecx, 3
jne 0x1401e0b62
nop word [rax + rax]
mov rcx, rbx
call fcn.1401dfe40
cmp eax, 0xffffffdb
je 0x1401e0c17
test eax, eax
jne 0x1401e0b4c
mov rdx, qword [rbx + 0x120]
lea r8d, [rax + 4]
lea rcx, str.SSH_
call fcn.1401ff0b0
test eax, eax
jne 0x1401e0b10
mov dword [rbx + 0xcca0], 4
jmp 0x1401e0b67
lea r8, str.Failed_getting_banner
mov edx, eax
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
cmp ecx, 4
jne 0x1401e0bae
lea r8, [rbx + 0xcce8]
xor edx, edx
mov rcx, rbx
call fcn.1401e1fa0
cmp eax, 0xffffffdb
je 0x1401e0c17
test eax, eax
je 0x1401e0b9b
lea r8, str.Unable_to_exchange_encryption_keys
mov edx, eax
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
mov dword [rbx + 0xcca0], 5
lea rdi, [rbx + 0xccb8]
jmp 0x1401e0bba
lea rdi, [rbx + 0xccb8]
cmp ecx, 5
jne 0x1401e0bf6
lea rcx, [rbx + 0xccb9]
mov byte [rdi], 5
mov edx, 0xc
call fcn.1401e52f0
movsd xmm0, qword [str.ssh_userauth]
movsd qword [rbx + 0xccbd], xmm0
mov eax, dword [0x1402d4520]
mov dword [rbx + 0xccc5], eax
mov dword [rbx + 0xcca0], 6
jmp 0x1401e0bfb
cmp ecx, 6
jne 0x1401e0c47
xor r9d, r9d
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, rbx
lea r8d, [r9 + 0x11]
call fcn.1401ec4d0
cmp eax, 0xffffffdb
jne 0x1401e0c21
mov eax, 0xffffffdb
jmp 0x1401e0d1c
test eax, eax
je 0x1401e0c3b
lea r8, str.Unable_to_ask_for_ssh_userauth_service
mov edx, eax
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
mov dword [rbx + 0xcca0], 7
jmp 0x1401e0c50
cmp ecx, 7
jne 0x1401e0d17
lea rax, [rbx + 0xccd8]
mov dl, 6
mov qword [rsp + 0x38], rax
lea rdi, [rbx + 0xcca8]
mov qword [rsp + 0x30], rbp
lea r9, [rbx + 0xccb0]
mov qword [rsp + 0x28], rbp
mov r8, rdi
mov rcx, rbx
mov dword [rsp + 0x20], ebp
call fcn.1401eb4b0
test eax, eax
jne 0x1401e0d1c
cmp qword [rbx + 0xccb0], 5
jae 0x1401e0cab
lea r8, str.Unexpected_packet_length
mov rcx, rbx
lea edx, [rax - 0xe]
call fcn.1401e5040
jmp 0x1401e0d1c
mov rcx, qword [rdi]
inc rcx
call fcn.1401e5480
mov eax, eax
mov qword [rbx + 0xccd0], rax
cmp rax, 0xc
jne 0x1401e0cf5
mov rdx, qword [rdi]
lea rcx, str.ssh_userauth
add rdx, 5
mov r8d, eax
call fcn.1401ff0b0
test eax, eax
jne 0x1401e0cf5
mov rcx, qword [rdi]
mov rdx, rbx
call qword [rbx + 0x18]
xor eax, eax
mov qword [rdi], rbp
mov dword [rbx + 0xcca0], ebp
jmp 0x1401e0d1c
mov rcx, qword [rdi]
mov rdx, rbx
call qword [rbx + 0x18]
lea r8, str.Invalid_response_received_from_server
mov qword [rdi], rbp
mov edx, 0xfffffff2
mov rcx, rbx
call fcn.1401e5040
jmp 0x1401e0d1c
mov eax, 0xffffffde
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret