Function at 0x140164a50
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x140164a90
cmp eax, 3
jne 0x140165369
mov rdx, qword [rsi + 0x240]
mov r9, qword [rsi + 0x248]
jmp 0x140164d02
movups xmm0, xmmword [rsi + 0x70]
movups xmmword [rsi + 0x148], xmm0
movups xmm0, xmmword [rsi + 0x60]
movups xmmword [rsi + 0x138], xmm0
movups xmm0, xmmword [rsi + 0x50]
movups xmmword [rsi + 0x128], xmm0
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rsi + 0x118], xmm0
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rsi + 0x108], xmm3
movups xmmword [rsi + 0xf8], xmm2
movups xmmword [rsi + 0xe8], xmm1
movups xmmword [rsi + 0xd8], xmm0
movups xmm0, xmmword [rsi + 0x80]
movups xmmword [rsi + 0x158], xmm0
movups xmm0, xmmword [rsi + 0x90]
movups xmmword [rsi + 0x168], xmm0
movups xmm0, xmmword [rsi + 0xa0]
movups xmmword [rsi + 0x178], xmm0
movups xmm0, xmmword [rsi + 0xb0]
movups xmmword [rsi + 0x188], xmm0
movups xmm0, xmmword [rsi + 0xc0]
movups xmmword [rsi + 0x198], xmm0
mov rax, qword [rsi + 0xd0]
mov qword [rsi + 0x1a8], rax
movzx eax, byte [rsi + 0x250]
mov byte [rsi + 0x252], al
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0xf8]
movups xmmword [rsi + 0x1b0], xmm2
mov rax, qword [rsi + 0x108]
mov qword [rsi + 0x1c0], rax
movups xmmword [rsi + 0x1c8], xmm0
movups xmmword [rsi + 0x1d8], xmm1
mov rax, qword [rsi + 0x1b0]
lock inc qword [rax]
jle 0x140165367
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rcx]
jle 0x140165367
lea rbx, [rsi + 0x158]
lea r13, [rsi + 0x1e8]
mov qword [rsi + 0x1e8], rax
mov qword [rsi + 0x1f0], rcx
mov qword [rsi + 0x1f8], rdx
cmp byte [rsi + 0x151], 0
mov r12, r8
je 0x140164bf5
lea rax, [rsi + 0x1c8]
cmp qword [rax], 0
je 0x140164c43
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertDuplicateCertificateContext
mov r14, rax
mov r15d, 1
jmp 0x140164c46
cmp byte [rbx], 0
je 0x140164bd1
lea rdx, [0x140433cd8]
mov rcx, rbx
call sym.__http::uri::scheme::Scheme_as_core::cmp::PartialEq_::eq::h3a36d40bf354c559
test al, al
je 0x140164bd1
mov rcx, qword [r13]
xor edx, edx
mov eax, 1
lock cmpxchg qword [rcx], rdx
jne 0x14016517a
mov r14, qword [r13]
mov rax, qword [r14 + 8]
cmp rax, 1
jne 0x14016528f
mov qword [r14], 1
mov byte [r14 + 0x77], 1
jmp 0x140164bd1
xor r15d, r15d
mov rcx, qword [rsi + 0x1d8]
call sub.crypt32.dll_CertDuplicateStore
movzx edx, word [rsi + 0x1e4]
lea rcx, [rsi + 0x200]
mov qword [rsi + 0x200], r15
mov qword [rsi + 0x208], r14
mov qword [rsi + 0x210], rax
mov eax, dword [rsi + 0x1e0]
mov dword [rsi + 0x218], eax
mov word [rsi + 0x21c], dx
mov byte [rsi + 0x238], 0
movups xmm0, xmmword [r13]
movups xmmword [rsi + 0x220], xmm0
mov rax, qword [r13 + 0x10]
mov qword [rsi + 0x230], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x90], rax
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x70], xmm3
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
call sym._ZN107__LT_hyper_tls..client..HttpsConnector_LT_T_GT__u20_as_u20_tower_service..Service_LT_http..uri..Uri_GT__GT_4call17hd4cf5
mov r9, rdx
mov rdx, rax
mov qword [rsi + 0x240], rax
mov qword [rsi + 0x248], r9
mov r8, r12
lea rcx, [rsp + 0x40]
call qword [r9 + 0x18]
mov r12, qword [rsp + 0x40]
cmp r12, 4
jne 0x140164d21
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x140164e65
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3a0]
mov r8d, 0x108
call sym.memcpy
mov r14, qword [rsi + 0x240]
mov r13, qword [rsi + 0x248]
mov rax, qword [r13]
test rax, rax
je 0x140164d5f
mov rcx, r14
call rax
cmp qword [r13 + 8], 0
je 0x140164d82
cmp qword [r13 + 0x10], 0x11
jb 0x140164d71
mov r14, qword [r14 - 8]
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, r14
call fcn.14021a7bc
cmp r12d, 3
jne 0x140164e7f
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x14016524c
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x140165269
cmp qword [rsi + 0x200], 0
je 0x140164dc4
mov rcx, qword [rsi + 0x208]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call fcn.14021a944
cmp qword [rsi + 0x1c8], 0
je 0x140164de8
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call fcn.14021a944
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x140164fb9
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x140164fd6
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x140164ffa
mov bpl, 2
cmp byte [rsi + 0x140], 2
je 0x140164e54
lea rcx, [rsi + 0x138]
mov rax, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
call qword [rax + 0x20]
mov qword [rdi], rbx
mov qword [rdi + 8], r15
mov byte [rdi + 0x10], r14b
mov byte [rdi + 0x11], bpl
mov al, 1
mov byte [rsi + 0x251], al
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x178]
lea rdx, [rsp + 0x3a0]
mov r8d, 0x108
call sym.memcpy
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], r15
cmp r12, 2
jne 0x14016501b
movzx eax, byte [0x1404a5170]
mov edx, 0x120
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140165375
mov rbx, rax
lea rdx, [rsp + 0x160]
mov r8d, 0x120
mov rcx, rax
call sub.msvcrt.dll_memmove
movzx r14d, byte [rsi + 0x252]
lea r15, sym._ZN4core3ptr98drop_in_place_LT_hyper_tls..stream..MaybeHttpsStream_LT_tokio..net..tcp..stream..TcpStream_GT__GT_17hdd755cbaffc
xor ebp, ebp
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x140164f1b
mov rcx, qword [rsi + 0x220]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x1401650f5
cmp qword [rsi + 0x200], 0
je 0x140164f42
mov rcx, qword [rsi + 0x208]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call fcn.14021a944
cmp qword [rsi + 0x1c8], 0
je 0x140164f66
mov rcx, qword [rsi + 0x1d0]
call sub.crypt32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call fcn.14021a944
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x14016511b
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x140165138
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x14016515c
cmp byte [rsi + 0x140], 2
jne 0x140164e35
jmp 0x140164e54
mov rcx, qword [rsi + 0x1b0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x140164e18
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0fe0c8fb876e5262
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x140164e29
mov rcx, qword [rsi + 0x148]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2f2fbc36d6e34c8d
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x140164e35
jmp 0x140164e54
lea rcx, [rsp + 0x280]
lea rdx, [rsp + 0x160]
mov r8d, 0x120
call sym.memcpy
cmp byte [rsi + 0x151], 0
jne 0x14016507f
mov rcx, qword [rsp + 0x350]
cmp rcx, 0xffffffffffffffff
je 0x140165384
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401651f5
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x280]
mov r8d, 0x120
call sym.memcpy
movzx eax, byte [0x1404a5170]
mov edx, 0x120
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140165375
mov rbx, rax
lea rdx, [rsp + 0x40]
mov r8d, 0x120
mov rcx, rax
call sym.memcpy
movzx ebp, byte [rsi + 0x152]
movzx r14d, byte [rsi + 0x252]
lea r15, sym._ZN4core3ptr111drop_in_place_LT_reqwest..connect..native_tls_conn..NativeTlsConn_LT_tokio..net..tcp..stream..TcpStream_GT__GT_
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x140164f0f
jmp 0x140164f1b
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0fe0c8fb876e5262
cmp qword [rsi + 0x200], 0
jne 0x140164f36
jmp 0x140164f42
mov rcx, qword [rsi + 0x1b0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x140164f96
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0fe0c8fb876e5262
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x140164fa7
mov rcx, qword [rsi + 0x148]
call sym.alloc::sync::Arc_T_A_::drop_slow::h2f2fbc36d6e34c8d
cmp byte [rsi + 0x140], 2
jne 0x140164e35
jmp 0x140164e54
movzx eax, byte [0x1404a5170]
mov edx, pe_nt_image_headers64
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x140165390
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov rax, qword [r13]
mov ecx, dword [rax + 0x38]
mov dword [rsp + 0x3c], ecx
mov r15, qword [rax + 0x30]
movzx ecx, byte [rax + 0x60]
mov byte [rsp + 0x37], cl
mov ecx, dword [rax + 0x48]
mov dword [rsp + 0x38], ecx
mov rbp, qword [rax + 0x40]
mov r9d, dword [rax + 0x58]
mov rcx, qword [rax + 0x50]
movzx r10d, byte [rax + 0x61]
mov r11d, dword [rax + 0x62]
cmp byte [rax + 0x66], 0
je 0x1401652ec
movups xmm0, xmmword [rax + 0x67]
movaps xmmword [rsp + 0x40], xmm0
mov dl, 1
jmp 0x1401652ee
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
movzx eax, byte [0x1404a5170]
mov edx, 8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x14016539f
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x280]
call sym.core::ptr::drop_in_place_tokio_native_tls::TlsStream_tokio::net::tcp::stream::TcpStream__::h99507bd7c045e71f
lea r15, sym.core::ptr::drop_in_place_std::io::error::Error_::h1cced9c0c53a0db9
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x140164d9d
mov rcx, qword [rsi + 0x220]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
jne 0x140164dae
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0fe0c8fb876e5262
cmp qword [rsi + 0x200], 0
jne 0x140164db8
jmp 0x140164dc4
call sym.alloc::sync::Arc_T_::allocate_for_layout::h532ecc90a3ef5aed
mov r15, rax
movups xmm0, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmm2, xmmword [r14 + 0x30]
movups xmm3, xmmword [r14 + 0x40]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
movups xmm0, xmmword [r14 + 0x50]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [r14 + 0x60]
movups xmmword [rax + 0x60], xmm0
movups xmm0, xmmword [r14 + 0x70]
movups xmmword [rax + 0x70], xmm0
mov qword [r13], rax
mov rcx, r14
call sym.__alloc::sync::Weak_T_A__as_core::ops::drop::Drop_::drop::h0720e9426e197c13
mov byte [r15 + 0x77], 1
jmp 0x140164bd1
xor edx, edx
movzx r8d, word [rax + 0x77]
movups xmm0, xmmword [rax + 0x10]
movups xmm1, xmmword [rax + 0x20]
movups xmmword [r14 + 0x10], xmm0
movups xmmword [r14 + 0x20], xmm1
mov qword [r14 + 0x30], r15
mov r15d, dword [rsp + 0x3c]
mov dword [r14 + 0x38], r15d
mov qword [r14 + 0x40], rbp
mov ebp, dword [rsp + 0x38]
mov dword [r14 + 0x48], ebp
mov qword [r14 + 0x50], rcx
mov dword [r14 + 0x58], r9d
movzx ecx, byte [rsp + 0x37]
mov byte [r14 + 0x60], cl
mov byte [r14 + 0x61], r10b
mov dword [r14 + 0x62], r11d
mov byte [r14 + 0x66], dl
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r14 + 0x67], xmm0
mov word [r14 + 0x77], r8w
lock dec qword [rax]
jne 0x140165359
mov rcx, qword [r13]
call sym.alloc::sync::Arc_T_A_::drop_slow::h4ac174f1ab8ff056
mov qword [r13], r14
mov byte [r14 + 0x77], 1
jmp 0x140164bd1
ud2
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.27_srcconnect.rsb__n_r_t
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::h308c9c5e3fc5d0d1
mov ecx, 8
mov edx, 0x120
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
lea rcx, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_srciopoll_evented.rs
call sym.core::option::unwrap_failed::hec1ab125882a5e1e
mov ecx, 8
mov edx, pe_nt_image_headers64
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
mov ecx, 8
mov edx, 8
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3