Function at 0x100634b0
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x450
movaps xmmword [rsp + 0x440], xmm6
mov r15d, r9d
mov r14, r8
mov rdi, rdx
mov r12, rcx
mov dword [rsp + 0x30], 1
mov rbx, qword [rcx]
lea r8, [rsp + 0x30]
mov rcx, rbx
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1006354b
cmp word [rdi], 0
je 0x1006355f
movups xmm0, xmmword [rdi + 4]
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x3c], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rsi, [rsp + 0x30]
mov rcx, rsi
call sym.core::net::socket_addr::SocketAddrV6::port::h3dfc10ea8823d885
mov edi, eax
rol di, 8
mov rcx, rsi
call sym.core::net::socket_addr::SocketAddrV6::ip::hb22f92b3d7212fa0
movups xmm6, xmmword [rax]
mov rcx, rsi
call dbg.flowinfo
mov ebp, eax
mov rcx, rsi
call sym.core::net::socket_addr::SocketAddrV6::scope_id::habe707d2d1d9ec23
mov r8d, 0x1c
mov cx, 0x17
jmp 0x10063599
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x100637bb
mov eax, dword [rdi + 2]
movzx ecx, word [rdi + 6]
mov word [rsp + 0x34], cx
mov dword [rsp + 0x30], eax
lea rbp, [rsp + 0x30]
mov rcx, rbp
call sym.core::net::socket_addr::SocketAddrV4::port::hd413292bdf5ce6bf
mov edi, eax
rol di, 8
mov rcx, rbp
call sym.core::net::socket_addr::SocketAddrV4::ip::h32024a7ceb7f741e
mov ebp, dword [rax]
xorps xmm6, xmm6
mov r8d, 0x10
mov cx, 2
mov word [rsp + 0x30], cx
mov word [rsp + 0x32], di
mov dword [rsp + 0x34], ebp
movups xmmword [rsp + 0x38], xmm6
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
je 0x100635c6
xor edi, edi
jmp 0x100635d5
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov rcx, rbx
mov edx, 0x8004667e
call sub.WS2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x1006361e
test rdi, rdi
je 0x10063637
mov ebp, edi
and ebp, 3
lea rax, [0x10063828]
movsxd rcx, dword [rax + rbp*4]
add rcx, rax
jmp rcx
movzx eax, byte [rdi + 0x10]
cmp al, 0xd
je 0x10063666
mov rsi, rdi
jmp 0x100637bb
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov ebp, edi
and ebp, 3
jmp 0x10063773
xor esi, esi
jmp 0x100637bb
movzx eax, byte [rdi + 0xf]
cmp al, 0xd
jne 0x10063616
jmp 0x10063666
test r14, r14
jne 0x1006367c
test r15d, r15d
jne 0x1006367c
lea rsi, str.cannot_set_a_0_duration_timeout
jmp 0x10063773
mov eax, r15d
imul rax, rax, 0x10624dd3
shr rax, 0x26
cmp r15d, 0x3e8
mov ecx, 1
mov edx, eax
cmovb edx, ecx
mov dword [rsp + 0x28], r14d
test r14d, r14d
cmovne edx, eax
mov dword [rsp + 0x2c], edx
mov qword [rsp + 0x238], 1
mov qword [rsp + 0x240], rbx
lea rcx, [rsp + 0x248]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x40]
mov r8d, 0x1f8
xor edx, edx
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x238]
lea r9, [rsp + 0x30]
mov ecx, 1
xor edx, edx
call sub.WS2_32.dll_select
test eax, eax
je 0x10063730
cmp eax, 0xffffffff
jne 0x10063739
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
jmp 0x10063773
lea rsi, str.connection_timed_out
jmp 0x10063745
cmp dword [rsp + 0x238], 1
jne 0x1006375e
xor esi, esi
cmp ebp, 1
jne 0x100637bb
lea rbx, [rdi - 1]
lea rbp, [rdi + 7]
mov rcx, qword [rdi - 1]
mov rax, qword [rdi + 7]
call qword [rax]
jmp 0x1006378f
mov rcx, r12
call dbg.take_error
mov rsi, rdx
test rax, rax
jne 0x10063773
test rsi, rsi
je 0x100637d8
test rdi, rdi
je 0x100637bb
cmp ebp, 1
jne 0x100637bb
lea rbx, [rdi - 1]
lea rbp, [rdi + 7]
mov rcx, qword [rdi - 1]
mov rax, qword [rdi + 7]
call qword [rax]
mov rax, qword [rbp]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x100637a8
mov r8, qword [rax + 0x10]
mov rcx, qword [rbx]
call sym.__rust_dealloc
mov edx, 0x18
mov r8d, 8
mov rcx, rbx
call sym.__rust_dealloc
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x440]
add rsp, 0x450
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
xor ecx, ecx
call dbg.drop_in_place<core::option::Option<std::io::error::Error>>
jmp 0x10063745