Function at 0x14014c3dd
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov r15, r8
mov rbx, rdx
mov qword [rsp + 0x58], rcx
movzx eax, byte [rdx + 0x378]
test eax, eax
je 0x14014c429
cmp eax, 3
jne case.default.0x14014c427
lea r12, [rbx + 0x1f0]
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14027b974]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
and qword [rbx + 0x20], 0
mov qword [rbx + 0x40], rax
xor edi, edi
jmp 0x14014c45d
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
mov edx, 0x23
call dbg.panic
mov rcx, qword [rax + 8]
cmp rcx, qword [rax + 0x18]
je 0x14014ccda
lea rdx, [rcx + 0x20]
mov qword [rax + 8], rdx
movzx ebp, word [rcx]
movups xmm0, xmmword [rcx + 0x10]
movups xmmword [rsp + 0x18e], xmm0
movups xmm0, xmmword [rcx + 2]
movaps xmmword [rsp + 0x180], xmm0
cmp bp, 2
je 0x14014ccd6
mov word [rbx + 0x48], bp
movaps xmm0, xmmword [rsp + 0x180]
movups xmmword [rbx + 0x4a], xmm0
movups xmm0, xmmword [rsp + 0x18e]
movups xmmword [rbx + 0x58], xmm0
mov rax, qword [rbx + 0x10]
mov r14, qword [rbx + 0x18]
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0xd8], rcx
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x7c], eax
test bp, bp
mov eax, 2
mov esi, 0x17
cmove esi, eax
mov rax, qword [0x14039f180]
cmp rax, 3
jne 0x14014cc82
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 rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14014c560
call sym._ZN3std2io5error5Error13last_os_error17hb635cf4583fc11f5E.1193
lea rdx, str.tcp_open_errortcp_set_nonblocking_errortcp_bind_local_error
lea r12, [rsp + 0xf8]
mov r8d, 0xe
mov rcx, r12
mov r9, rax
call sym.hyper::client::connect::http::ConnectError::new::h1b085cd373b4b8d9
mov rdi, qword [r12]
mov rsi, qword [r12 + 8]
movups xmm0, xmmword [r12 + 0x10]
movaps xmmword [rsp + 0x80], xmm0
test rdi, rdi
jne 0x14014ce1a
lea r12, [rsp + 0x80]
mov dword [r12], 1
mov rcx, rsi
mov edx, 0x8004667e
mov r8, r12
call sub.ws2_32.dll_ioctlsocket
xor edx, edx
cmp eax, 0xffffffff
jne 0x14014c58f
call sym._ZN3std2io5error5Error13last_os_error17hb635cf4583fc11f5E.1193
mov rdx, rax
lea r8, [0x1402ab32e]
lea rdi, [rsp + 0xf8]
mov r9d, 0x19
mov rcx, rdi
call sym.core::result::Result_T_E_::map_err::h5ac0ef6280bbc434
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14014cd00
mov edi, dword [r14 + 0x48]
cmp edi, 0x3b9aca00
je 0x14014c68a
mov r13, qword [r14 + 0x40]
mov rcx, rsi
mov edx, 8
mov r8d, 1
call sym.socket2::sys::setsockopt::h127fa88512ce527e
test rax, rax
je 0x14014c5f9
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hc7dbe3573e0a570c
jmp 0x14014c68a
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 + 0xf8]
mov dword [r8], 1
mov dword [r8 + 4], r9d
and dword [r8 + 8], 0
and dword [rsp + 0x80], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
and dword [rsp + 0x28], 0
mov qword [rsp + 0x30], r12
and qword [rsp + 0x20], 0
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
je 0x14014cc66
test bp, bp
je 0x14014c6f8
cmp byte [r14 + 0x56], 0
je 0x14014c744
movss xmm0, dword [r14 + 0x57]
movss xmm1, dword [r14 + 0x63]
movsd xmm2, qword [r14 + 0x5b]
movlhps xmm0, xmm2
movlhps xmm2, xmm1
shufps xmm0, xmm2, 0x98
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 8], xmm0
xorps xmm0, xmm0
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
and qword [rdx + 0x78], 0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
mov qword [rdx], 0x17
mov dword [rdx + 0x80], 0x1c
jmp 0x14014c796
cmp byte [r14 + 0x51], 0
je 0x14014c74f
mov eax, dword [r14 + 0x52]
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
and qword [rdx + 0x78], 0
movups xmmword [rdx + 8], xmm0
mov dword [rdx], 2
mov dword [rdx + 4], eax
mov dword [rdx + 0x80], 0x10
jmp 0x14014c796
mov eax, 0x1c
mov cx, 0x17
jmp 0x14014c758
mov eax, 0x10
mov cx, 2
xorps xmm0, xmm0
lea rdx, [rsp + 0xf8]
movups xmmword [rdx + 0x68], xmm0
movups xmmword [rdx + 0x58], xmm0
movups xmmword [rdx + 0x48], xmm0
movups xmmword [rdx + 0x38], xmm0
movups xmmword [rdx + 0x28], xmm0
movups xmmword [rdx + 0x18], xmm0
movups xmmword [rdx + 8], xmm0
and qword [rdx + 0x78], 0
mov word [rdx], cx
and word [rdx + 2], 0
and dword [rdx + 4], 0
mov dword [rdx + 0x80], eax
mov rcx, rsi
call sym.socket2::socket::Socket::bind::h321a0babd4ad2307
lea r8, [0x1402ab347]
lea rdi, [rsp + 0x80]
mov r9d, 0x14
mov rcx, rdi
mov rdx, rax
call sym.core::result::Result_T_E_::map_err::h5ac0ef6280bbc434
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14014cd12
cmp byte [r14 + 0x68], 0
je 0x14014c7f9
mov rcx, rsi
mov edx, 4
mov r8d, 1
call sym.socket2::sys::setsockopt::h127fa88512ce527e
test rax, rax
je 0x14014c7f9
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hc7dbe3573e0a570c
cmp qword [r14], 0
je 0x14014c838
mov rax, qword [r14 + 8]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1001
call sym.socket2::sys::setsockopt::h127fa88512ce527e
test rax, rax
je 0x14014c838
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hc7dbe3573e0a570c
cmp qword [r14 + 0x10], 0
je 0x14014c878
mov rax, qword [r14 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor r8d, r8d
neg rcx
sbb r8d, r8d
or r8d, eax
mov rcx, rsi
mov edx, 0x1002
call sym.socket2::sys::setsockopt::h127fa88512ce527e
test rax, rax
je 0x14014c878
lea rcx, [rsp + 0xf8]
mov qword [rcx], rax
call sym.core::ptr::drop_in_place_std::io::error::Error_::hc7dbe3573e0a570c
movups xmm0, xmmword [rbx + 0x48]
movups xmm1, xmmword [rbx + 0x58]
movaps xmmword [rsp + 0x60], xmm1
lea r13, [rbx + 0x68]
mov rax, qword [rsp + 0xd8]
mov qword [rbx + 0x68], rax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0x70], eax
movups xmmword [rbx + 0x78], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov qword [rbx + 0x98], rsi
lea rdi, [rbx + 0xa0]
lea rsi, [rsp + 0x1a0]
mov ecx, 0xa
rep movsq qword [rdi], qword [rsi]
xor eax, eax
mov byte [rbx + 0xf0], al
mov ecx, dword [rsp + 0xc0]
mov edx, dword [rsp + 0xc3]
mov dword [rbx + 0xf1], ecx
mov dword [rbx + 0xf4], edx
mov byte [rbx + 0xf8], al
lea rcx, [rbx + 0xf9]
lea rdx, [rsp + 0x210]
mov r8d, 0xf7
call sym.memcpy
lea r12, [rbx + 0x1f0]
mov r8d, 0x188
mov rcx, r12
mov rdx, r13
call sym.memcpy
movzx eax, byte [rbx + 0x280]
lea rcx, [0x14027b974]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov ebp, dword [rbx + 0x1f8]
cmp ebp, 0x3b9aca00
jne 0x14014c9be
lea rsi, [rbx + 0x200]
lea rdi, [rbx + 0x288]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rsi, [rbx + 0x288]
lea rdi, [rsp + 0x210]
mov rcx, rdi
mov rdx, rsi
mov r8, r15
call sym.tokio::net::tcp::socket::TcpSocket::connect::__u7b__u7b_closure_u7d__u7d_::hbf6a7e6961c3f051
mov r14, qword [rdi]
cmp r14, 3
je 0x14014ccbb
mov rdi, qword [rsp + 0x218]
movups xmm0, xmmword [rsp + 0x220]
movaps xmmword [rsp + 0xc0], xmm0
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0xd0], rax
mov rcx, rsi
call sym.core::ptr::drop_in_place_tokio::net::tcp::socket::TcpSocket::connect::_u7b__u7b_closure_u7d__u7d__::hc7fb7f62a989368f
jmp 0x14014cb89
mov r13, qword [rbx + 0x1f0]
lea rsi, [rbx + 0x200]
lea rdi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
call sym.std::time::Instant::now::h145829e967df226b
mov rcx, rax
mov r8, r13
mov r9d, ebp
call sym.std::time::Instant::checked_add::h6e1cccf577677817
cmp edx, 0x3b9aca00
jne 0x14014ca06
lea rcx, [rsp + 0x1a0]
call sym.tokio::time::sleep::Sleep::far_future::hd57a465e5aa3fb93
jmp 0x14014ca20
mov r8d, edx
lea r9, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
lea rcx, [rsp + 0x1a0]
mov rdx, rax
call sym.tokio::time::sleep::Sleep::new_timeout::h51d6883edd28cc44
lea rdi, [rsp + 0x280]
lea rsi, [rsp + 0xf8]
mov ecx, 0x10
rep movsq qword [rdi], qword [rsi]
lea rdx, [rsp + 0x210]
lea rsi, [rsp + 0x1a0]
mov ecx, 0xe
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbx + 0x288]
mov r8d, 0xf0
call sym.memcpy
lea rsi, [rbx + 0x288]
lea r13, [rbx + 0x2f8]
call sym.tokio::runtime::context::budget::hc93d2aa7dd839499
mov edi, eax
lea rbp, [rsp + 0xf8]
mov rcx, rbp
mov rdx, r13
mov r8, r15
call sym.tokio::net::tcp::socket::TcpSocket::connect::__u7b__u7b_closure_u7d__u7d_::hbf6a7e6961c3f051
mov r14, qword [rbp]
cmp r14, 3
jne 0x14014cb37
cmp dil, 2
setne bpl
test dil, 1
sete dil
call sym.tokio::runtime::context::budget::hc93d2aa7dd839499
test bpl, dil
jne 0x14014cc4f
cmp al, 2
je 0x14014cc4f
and al, 1
jne 0x14014cc4f
call sym.tokio::runtime::context::CONTEXT::__getit::h81a5a19f96faf07a
mov dil, 2
test rax, rax
je 0x14014cae5
mov dil, byte [rax + 0x4c]
mov bpl, byte [rax + 0x4d]
mov byte [rax + 0x4c], 0
mov rcx, rsi
mov rdx, r15
call sym.__tokio::time::sleep::Sleep_as_core::future::future::Future_::poll::h659ccad57a0bf7db
mov r13d, eax
mov ecx, edi
mov edx, ebp
call sym._ZN4core3ptr128drop_in_place_LT_core..result..Result_LT_tokio..runtime..coop..with_budget..ResetGuard_C_std..thread..local..Ac
test r13b, r13b
jne 0x14014cc62
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x70], rax
mov rcx, rsi
call sym._ZN4core3ptr130drop_in_place_LT_tokio..time..timeout..Timeout_LT_tokio..net..tcp..socket..TcpSocket..connect.._u7b__u7b_closur
mov r14d, 2
call sym.std::io::error::Error::new::h7b0122f616c048d3
mov rdi, rax
jmp 0x14014cb89
mov rdi, qword [rsp + 0x100]
mov rax, qword [rsp + 0x118]
movups xmm0, xmmword [rsp + 0x108]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, rsi
call sym._ZN4core3ptr130drop_in_place_LT_tokio..time..timeout..Timeout_LT_tokio..net..tcp..socket..TcpSocket..connect.._u7b__u7b_closur
cmp r14d, 2
jne 0x14014cb6f
mov r14d, 2
jmp 0x14014cb89
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0xc0], xmm0
cmp r14d, 2
jne 0x14014cbcc
lea rdx, [0x1403207f3]
lea rsi, [rsp + 0x210]
mov r8d, 0x11
mov rcx, rsi
mov r9, rdi
call sym.hyper::client::connect::http::ConnectError::new::h1b085cd373b4b8d9
mov rdi, qword [rsi]
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x90], rax
jmp 0x14014cbec
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xf0], rax
mov byte [rbx + 0x280], 1
mov rcx, r12
call sym.core::ptr::drop_in_place_hyper::client::connect::http::connect::_u7b__u7b_closure_u7d__u7d__::h8a24b342e961cf0e
cmp r14d, 2
jne 0x14014cc70
lea rcx, [rbx + 0x20]
call sym.core::ptr::drop_in_place_core::option::Option_hyper::client::connect::http::ConnectError__::h7f82d83696a837ae
mov qword [rbx + 0x20], rdi
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbx + 0x28], xmm0
mov rax, qword [rsp + 0xf0]
mov qword [rbx + 0x38], rax
mov rax, qword [rbx + 0x40]
jmp 0x14014c45d
mov rcx, rsi
mov rdx, r15
call sym.__tokio::time::sleep::Sleep_as_core::future::future::Future_::poll::h659ccad57a0bf7db
test al, al
je 0x14014cb05
mov al, 3
jmp 0x14014ccbd
call sym._ZN3std2io5error5Error13last_os_error17hb635cf4583fc11f5E.1193
jmp 0x14014c5e4
lea rax, [rsp + 0xe0]
mov r15, qword [rsp + 0x58]
jmp 0x14014cd62
lea rax, [rsp + 0x57]
mov byte [rax], 1
lea r8, [rsp + 0xf8]
mov qword [r8], rax
lea rax, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_socket2_0.5.5_src_sys_windows.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14039f180]
lea r9, sym._ZN4core3ptr101drop_in_place_LT__RF_core..option..Option_LT_regex_automata..meta..wrappers..ReverseDFAEngine_GT__GT_17h99a7cb6
xor edx, edx
call dbg.call
jmp 0x14014c4f0
mov al, 4
mov byte [rbx + 0x280], al
mov rax, qword [rsp + 0x58]
mov qword [rax], 3
mov al, 3
jmp 0x14014ce00
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14014cd84
mov rax, qword [rbx + 0x38]
mov qword [rsp + 0xb0], rax
movups xmm0, xmmword [rbx + 0x28]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x14014cdd3
mov r14, qword [rsp + 0x100]
movups xmm0, xmmword [rsp + 0x108]
jmp 0x14014cd22
mov r14, qword [rsp + 0x88]
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x60], xmm0
mov rcx, rsi
call fcn.1401c07dc
mov rsi, r14
mov r15, qword [rsp + 0x58]
mov qword [rbx + 0x78], rdi
lea rax, [rbx + 0x80]
mov qword [rbx + 0x80], rsi
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx + 0x88], xmm0
mov dword [rbx + 0x70], 0x3b9aca01
mov r14d, 2
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xb0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rbx + 0x20]
call sym.core::ptr::drop_in_place_core::option::Option_hyper::client::connect::http::ConnectError__::h7f82d83696a837ae
jmp 0x14014cdde
lea rdx, str.Network_unreachabletcp_connect_error
mov r8d, 0x13
mov cl, 7
call sym.std::io::error::Error::new::h1a9b7fb29b793043
lea rdx, [0x1403207f3]
lea rsi, [rsp + 0x210]
mov r8d, 0x11
mov rcx, rsi
mov r9, rax
call sym.hyper::client::connect::http::ConnectError::new::h1b085cd373b4b8d9
mov rdi, qword [rsi]
movups xmm0, xmmword [rsi + 8]
movaps xmmword [rsp + 0xa0], xmm0
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0xb0], rax
mov r14d, 2
mov r15, qword [rsp + 0x58]
mov qword [r15], r14
mov qword [r15 + 8], rdi
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15 + 0x10], xmm0
mov rax, qword [rsp + 0xb0]
mov qword [r15 + 0x20], rax
mov al, 1
mov byte [rbx + 0x378], al
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movaps xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x60], xmm0
jmp 0x14014cd32
lea rcx, str._async_fn__resumed_after_completionMiddleware_error:
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_hyper_0.14.28_src_client_connect_http.rs
jmp 0x14014c453
ud2