Function at 0x140093e90
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov r14, qword [rcx + 0x270]
mov rbx, rcx
add rcx, 0x10a
mov r15, r9
mov rsi, r8
mov rbp, rdx
mov rax, rdx
mov r10d, 2
nop dword [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r10, 1
jne 0x140093ed0
movzx eax, word [rax]
mov word [rcx], ax
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x140093f86
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x140093f86
movzx eax, word [rbp + 0x100]
lea r9, str.id_p_handle_p:_connecting_to_to__s:_d
mov r10, qword [rdi]
mov edx, 5
mov dword [rsp + 0x38], eax
mov r8d, 0x402
mov rax, qword [rbx + 0x220]
mov rcx, rdi
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [r10]
mov rcx, qword [rbx + 0x220]
lea r9, [rsp + 0x70]
mov edx, 0xffff
mov dword [rsp + 0x70], 1
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14009404b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x140094014
mov r9, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [r9 + htons]
cmp eax, 3
jl 0x140094014
mov rcx, qword [rbx + 0x220]
lea r9, str.id_p_handle_p:_setsockopt___call_for_enabling_SO_REUSEADDR_failed_with_WSAError__d
mov r10, qword [rdi]
mov edx, 3
mov dword [rsp + 0x30], esi
mov r8d, 0x402
mov qword [rsp + 0x28], rcx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [r10]
mov ecx, esi
call fcn.140093d60
mov ecx, eax
call fcn.1400a32b0
mov dword [rbx + 0x240], 0x200
mov eax, 0xffffffff
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov r8d, dword [rsp + 0x90]
mov rdx, r15
mov rcx, qword [rbx + 0x220]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1400940d5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x140094014
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x140094014
movzx ecx, word [rbp + 0x100]
lea r9, str.id_p_handle_p:_Failed_to_connect_to__s:_d_with_error__d.
mov rax, qword [rbx + 0x220]
mov edx, 5
mov r10, qword [rdi]
mov r8d, 0x402
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], ecx
mov rcx, rdi
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [r10]
jmp 0x140094014
mov rcx, rbx
call fcn.140095e40
test eax, eax
jne 0x140094022
call fcn.1400a3910
mov rdi, rax
test rax, rax
je 0x140094146
mov r8, qword [rax]
mov edx, 0x402
mov rcx, rax
call qword [rhtons + 8]
cmp eax, 5
jl 0x140094146
movzx ecx, word [rbx + 0x108]
lea rdx, [rbx + 8]
mov rax, qword [rbx + 0x220]
lea r9, str.id_p_handle_p:_local_endpoint__s:_d
mov r10, qword [rdi]
mov r8d, 0x402
mov dword [rsp + 0x38], ecx
mov rcx, rdi
mov qword [rsp + 0x30], rdx
mov edx, 5
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [r10]
lea rdx, [rbx + 0x20c]
mov rcx, rbx
call fcn.140093430
test eax, eax
je 0x140094163
mov ecx, 0x41d
jmp 0x14009401d
mov dword [rbx + 0x240], recv
test rsi, rsi
je 0x1400941b7
mov rdx, rsi
mov rcx, rbx
call fcn.140093130
test eax, eax
jne 0x140094022
mov rax, qword [r14 + 8]
lea rcx, [0x140093b30]
mov qword [rax + 0x50], rcx
mov rcx, rsi
mov rax, qword [r14 + 8]
mov qword [rax + 0x58], rax
mov rax, qword [r14 + 8]
mov byte [rax + 0x90], 1
mov rdx, qword [r14 + 8]
add rdx, 0x50
call fcn.140080920
xor eax, eax
jmp 0x140094031