Function at 0x466ae1
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x338
mov r15, r8
mov rbx, rdx
movzx eax, byte [rdx + 0x378]
test eax, eax
mov qword [rsp + 0x58], rcx
je 0x466b2d
cmp eax, 3
jne case.default.0x466b2b
lea r12, [rbx + 0x1e0]
movzx eax, byte [rbx + 0x270]
lea rcx, [0x004674c0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx + 0x368]
mov rcx, qword [rbx + 0x370]
mov qword [rbx + 0x40], rax
mov qword [rbx + 0x48], rcx
and qword [rbx + 0x10], 0
mov qword [rbx + 0x50], rax
jmp 0x466df8
lea rcx, str._async_fn__resumed_after_completionusername_length_should_between_1_to_255_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_socks_0.5.1_src_tcp.rspassword_length_should_between_1_to_255
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
jmp 0x466cc3
ud2
lea rsi, [rbx + 0x278]
call fcn.004bd667
mov ebp, eax
lea rdi, [rsp + 0x128]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.00467820
mov r14, qword [rdi + 0x10]
cmp r14, 3
jne 0x466c40
lea rdi, [rbx + 0x2f8]
cmp bpl, 2
setne r14b
test bpl, 1
sete bpl
call fcn.004bd667
test r14b, bpl
jne 0x466c9b
cmp al, 2
je 0x466c9b
and al, 1
jne 0x466c9b
call fcn.00402b54
mov bpl, 2
test rax, rax
je 0x466be6
mov bpl, byte [rax + 0x4c]
mov r13b, byte [rax + 0x4d]
mov byte [rax + 0x4c], 0
mov rcx, rdi
mov rdx, r15
call fcn.004c0bfd
mov edi, eax
mov ecx, ebp
mov edx, r13d
call fcn.00462932
test dil, dil
jne 0x466cae
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, rsi
call fcn.00467802
mov edx, 1
xor ecx, ecx
call fcn.0042e2ce
lea r8, [0x00500518]
mov cl, 0x16
mov rdx, rax
call fcn.004ab290
mov rdi, rax
jmp 0x466c76
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x100], xmm0
mov rcx, rsi
call fcn.00467802
cmp r14d, 2
jne 0x466c7e
mov r14d, 2
jmp 0x466c8e
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0xc0], xmm0
mov r13, qword [rsp + 0x120]
jmp 0x466d34
mov rcx, rdi
mov rdx, r15
call fcn.004c0bfd
test al, al
je 0x466c06
mov al, 3
jmp 0x46737d
lea rcx, str._async_fn__resumed_after_completionusername_length_should_between_1_to_255_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_socks_0.5.1_src_tcp.rspassword_length_should_between_1_to_255
lea r8, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
mov edx, 0x23
call fcn.00411f40
ud2
lea rdi, [rbx + 0x278]
mov ecx, 0x10
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
lea rsi, [rbx + 0x278]
lea rdi, [rsp + 0x240]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call fcn.00467820
mov r14, qword [rdi + 0x10]
cmp r14, 3
je 0x46737b
mov rdi, qword [rsp + 0x240]
mov r13, qword [rsp + 0x248]
movups xmm0, xmmword [rsp + 0x258]
movaps xmmword [rsp + 0xc0], xmm0
mov rcx, rsi
call fcn.004677e2
cmp r14d, 2
jne 0x466d56
lea rcx, [rsp + 0x68]
lea rdx, str.tcp_connect_error
mov r8d, 0x11
mov r9, rdi
call fcn.0043426d
jmp 0x466d75
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rcx
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], r8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xf0], rax
mov byte [rbx + 0x270], 1
mov rcx, r12
call fcn.004677a4
cmp r14d, 2
jne 0x46730b
mov rcx, rbx
call fcn.004677d6
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx], xmm0
mov rax, qword [rbx + 0x50]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
je 0x4672e4
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx eax, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x1be], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x1b0], xmm0
cmp ax, 2
je 0x4672e4
mov word [rbx + 0x20], ax
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [rbx + 0x22], xmm0
movups xmm0, xmmword [rsp + 0x1be]
movups xmmword [rbx + 0x30], xmm0
mov rcx, qword [rbx + 0x40]
mov r14, qword [rbx + 0x48]
mov rbp, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
mov dword [rsp + 0x54], ecx
test ax, ax
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x00542048]
cmp rax, 3
jne 0x467342
mov dword [rsp + 0x28], 0x81
and dword [rsp + 0x20], 0
mov ecx, esi
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.WS2_32.dll_WSASocketW
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x466ee3
call fcn.0043ad00
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea rsi, [rsp + 0x128]
mov r8d, 0xe
mov rcx, rsi
mov r9, rax
call fcn.0043426d
mov r12, qword [rsi]
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x4674aa
lea rsi, [rsp + 0x60]
mov dword [rsi], 1
mov rcx, r12
mov edx, 0x8004667e
mov r8, rsi
call sub.WS2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
jne 0x466f0d
call fcn.0043ad00
mov rdx, rax
lea r8, [0x004ef4fe]
lea rdi, [rsp + 0x128]
mov r9d, 0x19
mov rcx, rdi
call fcn.004344a1
mov rdi, qword [rdi + 0x10]
test rdi, rdi
jne 0x467396
mov edi, dword [r14 + 0x28]
cmp edi, 0x3b9aca00
je 0x467006
mov r13, qword [r14 + 0x20]
mov rcx, r12
mov edx, 8
mov r8d, 1
call fcn.00487c16
test rax, rax
je 0x466f78
lea rcx, [rsp + 0x128]
mov qword [rcx], rax
call fcn.0042e203
jmp 0x467006
mov ecx, 0x3e8
mov rax, r13
mul rcx
mov rcx, rax
mov r8, rdx
xor r9d, r9d
mov r10d, 0xf4240
mov eax, edi
xor edx, edx
div r10d
add rax, rcx
adc r8, 0
mov ecx, 0xffffffff
cmp rax, rcx
cmovae rax, rcx
neg r8
sbb r9d, r9d
or r9d, eax
lea r8, [rsp + 0x128]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rsp + 0x60], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], rsi
and qword [rsp + 0x20], 0
mov rcx, r12
mov edx, 0x98000004
mov r9d, 0xc
call sub.WS2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x4672da
cmp word [rbx + 0x20], 0
je 0x467037
mov ax, 1
cmp byte [r14 + 0x56], 0
je 0x467057
movups xmm0, xmmword [r14 + 0x57]
lea rdx, [rsp + 0x60]
movups xmmword [rdx + 4], xmm0
and qword [rdx + 0x14], 0
and word [rdx + 0x1c], 0
mov word [rdx], 1
jmp 0x467078
xor eax, eax
cmp byte [r14 + 0x51], 0
je 0x467057
mov eax, dword [r14 + 0x52]
lea rdx, [rsp + 0x60]
and word [rdx + 6], 0
mov dword [rdx + 2], eax
and word [rdx], 0
jmp 0x467078
lea rdx, [rsp + 0x60]
mov word [rdx], ax
and word [rdx + 6], 0
and dword [rdx + 2], 0
xorps xmm0, xmm0
movups xmmword [rdx + 8], xmm0
and dword [rdx + 0x18], 0
and word [rdx + 0x1c], 0
lea rsi, [rsp + 0x128]
mov rcx, rsi
call fcn.004879d0
mov rcx, r12
mov rdx, rsi
call fcn.00487bf2
lea r8, [0x004ef517]
lea rsi, [rsp + 0x100]
mov r9d, 0x14
mov rcx, rsi
mov rdx, rax
call fcn.004344a1
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x4673b0
cmp byte [r14 + 0x68], 0
je 0x4670ef
mov rcx, r12
mov edx, 4
mov r8d, 1
call fcn.00487c16
test rax, rax
je 0x4670ef
lea rcx, [rsp + 0x128]
mov qword [rcx], rax
call fcn.0042e203
cmp qword [r14 + 0x30], 0
je 0x46712f
mov rax, qword [r14 + 0x38]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r12
mov edx, 0x1001
call fcn.00487c16
test rax, rax
je 0x46712f
lea rcx, [rsp + 0x128]
mov qword [rcx], rax
call fcn.0042e203
cmp qword [r14 + 0x40], 0
je 0x46716f
mov rax, qword [r14 + 0x48]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, r12
mov edx, 0x1002
call fcn.00487c16
test rax, rax
je 0x46716f
lea rcx, [rsp + 0x128]
mov qword [rcx], rax
call fcn.0042e203
movups xmm0, xmmword [rbx + 0x20]
movups xmm1, xmmword [rbx + 0x30]
lea r13, [rbx + 0x58]
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm1
lea rdi, [rbx + 0x78]
lea rsi, [rsp + 0x1d0]
mov ecx, 0xa
rep movsq qword [rdi], qword [rsi]
mov qword [rbx + 0xc8], r12
xor eax, eax
mov byte [rbx + 0xd0], al
mov ecx, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc3]
mov dword [rbx + 0xd1], ecx
mov dword [rbx + 0xd4], edx
mov qword [rbx + 0xd8], rbp
mov ecx, dword [rsp + 0x54]
mov dword [rbx + 0xe0], ecx
mov byte [rbx + 0xe8], al
lea rcx, [rbx + 0xe9]
lea rdx, [rsp + 0x240]
mov r8d, 0xf7
call sub.ntdll.dll_memcpy
lea r12, [rbx + 0x1e0]
mov r8d, 0x188
mov rcx, r12
mov rdx, r13
call sub.ntdll.dll_memcpy
movzx eax, byte [rbx + 0x270]
lea rcx, [0x004674c0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rbx + 0x268]
cmp ebp, 0x3b9aca00
je 0x466ccf
mov r13, qword [rbx + 0x260]
lea rdi, [rsp + 0x128]
mov ecx, 0x10
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
call fcn.004b6eb0
mov rcx, rax
mov r8, r13
mov r9d, ebp
call fcn.004b72f0
cmp edx, 0x3b9aca00
jne 0x467276
lea rcx, [rsp + 0x1d0]
call fcn.004c53d0
jmp 0x467290
mov r8d, edx
lea r9, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.27_src_client_connect_http.rs
lea rcx, [rsp + 0x1d0]
mov rdx, rax
call fcn.004c52ab
lea rdi, [rsp + 0x2c0]
lea rsi, [rsp + 0x1d0]
mov ecx, 0xe
rep movsq qword [rdi], qword [rsi]
lea rdx, [rsp + 0x240]
lea rsi, [rsp + 0x128]
mov ecx, 0x10
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x278]
mov r8d, 0xf0
call sub.ntdll.dll_memcpy
jmp case.0x466b2b.3
call fcn.0043ad00
jmp 0x466f63
cmp qword [rbx + 0x10], 0
je 0x46742c
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
jmp 0x46745d
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
xor esi, esi
jmp 0x467422
lea rax, [rsp + 0x100]
mov byte [rax], 1
lea r8, [rsp + 0x60]
mov qword [r8], rax
lea rax, str._cargo_registry_src_index.crates.io_6f17d22bba15001f_socket2_0.4.9_src_sys_windows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x00542048]
lea r9, [0x00506390]
xor edx, edx
call fcn.00488b30
jmp 0x466e83
mov al, 4
mov byte [rbx + 0x270], al
mov rax, qword [rsp + 0x58]
mov qword [rax], 2
mov al, 3
jmp 0x467490
mov r15, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x130]
mov r14, qword [rsp + 0x140]
jmp 0x4673c8
mov r15, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
mov r14, qword [rsp + 0x118]
mov rcx, r12
call fcn.004cd648
mov r12, r15
mov qword [rbx + 0x58], r12
mov qword [rbx + 0x60], rsi
mov qword [rbx + 0x68], rdi
mov qword [rbx + 0x70], r14
mov dword [rbx + 0xe0], 0x3b9aca01
mov rax, qword [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
mov rdx, qword [rbx + 0x68]
mov r8, qword [rbx + 0x70]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdx
mov qword [rsp + 0xa8], r8
mov esi, 1
mov rcx, rbx
call fcn.004677d6
jmp 0x467462
lea rdx, str.Network_unreachable
mov r8d, 0x13
mov cl, 7
call fcn.0043a32b
lea rdx, str.tcp_connect_error
lea rcx, [rsp + 0x90]
mov r8d, 0x11
mov r9, rax
call fcn.0043426d
mov esi, 1
mov rcx, qword [rsp + 0x58]
mov qword [rcx], rsi
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rcx + 8], xmm0
movups xmmword [rcx + 0x18], xmm1
mov rax, qword [rsp + 0xb0]
mov qword [rcx + 0x28], rax
mov al, 1
mov byte [rbx + 0x378], al
add rsp, 0x338
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x130]
mov r14, qword [rsp + 0x140]
jmp 0x4673d3