Function at 0x1400a37a0
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov rsi, rdx
mov rdi, rcx
movzx eax, byte [rdx + 0x251]
test eax, eax
je 0x1400a37e0
cmp eax, 3
jne 0x1400a3f49
mov rdx, qword [rsi + 0x240]
mov r9, qword [rsi + 0x248]
jmp 0x1400a3a04
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 0x1400a3f47
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
lock inc qword [rcx]
jle 0x1400a3f47
lea rbx, [rsi + 0x158]
lea r15, [rsi + 0x1c8]
lea r14, [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 0x1400a3cbb
cmp qword [r15], 0
je 0x1400a3949
mov rcx, qword [rsi + 0x1d0]
call sub.CRYPT32.dll_CertDuplicateCertificateContext
mov r15, rax
mov r13d, 1
jmp 0x1400a394c
xor r13d, r13d
mov rcx, qword [rsi + 0x1d8]
call sub.CRYPT32.dll_CertDuplicateStore
movzx edx, word [rsi + 0x1e4]
lea rcx, [rsi + 0x200]
mov qword [rsi + 0x200], r13
mov qword [rsi + 0x208], r15
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 [r14]
movups xmmword [rsi + 0x220], xmm0
mov rax, qword [r14 + 0x10]
mov qword [rsi + 0x230], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rbx + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
call sym._ZN107__LT_hyper_tls..client..HttpsConnector_LT_T_GT__u20_as_u20_tower_service..Service_LT_http..uri..Uri_GT__GT_4call17h17854
mov r9, rdx
mov rdx, rax
mov qword [rsi + 0x240], rax
mov qword [rsi + 0x248], r9
mov r8, r12
lea rcx, [rsp + 0x30]
call qword [r9 + 0x18]
mov r12, qword [rsp + 0x30]
cmp r12, 4
jne 0x1400a3a23
mov byte [rdi + 0x11], 3
mov al, 3
jmp 0x1400a3b67
mov rbx, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x390]
mov r8d, 0x108
call sym.memcpy
mov r14, qword [rsi + 0x240]
mov r13, qword [rsi + 0x248]
mov rax, qword [r13]
test rax, rax
je 0x1400a3a61
mov rcx, r14
call rax
cmp qword [r13 + 8], 0
je 0x1400a3a84
cmp qword [r13 + 0x10], 0x11
jb 0x1400a3a73
mov r14, qword [r14 - 8]
mov rcx, qword [0x1403460d0]
xor edx, edx
mov r8, r14
call fcn.14013f0f4
cmp r12d, 3
jne 0x1400a3b81
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
je 0x1400a3f04
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x1400a3f21
cmp qword [rsi + 0x200], 0
je 0x1400a3ac6
mov rcx, qword [rsi + 0x208]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call fcn.14013ef6c
cmp qword [rsi + 0x1c8], 0
je 0x1400a3aea
mov rcx, qword [rsi + 0x1d0]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call fcn.14013ef6c
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x1400a3cec
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x1400a3d09
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x1400a3d2d
mov bpl, 2
cmp byte [rsi + 0x140], 2
je 0x1400a3b56
lea rcx, [rsi + 0x138]
mov rax, qword [rsi + 0x120]
mov rdx, qword [rsi + 0x128]
mov r8, qword [rsi + 0x130]
call qword [rax + 0x18]
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, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x168]
lea rdx, [rsp + 0x390]
mov r8d, 0x108
call sym.memcpy
mov qword [rsp + 0x150], r12
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x160], r15
cmp r12, 2
jne 0x1400a3d4e
movzx eax, byte [0x140346130]
mov edx, 0x120
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x1400a3f55
mov rbx, rax
lea rdx, [rsp + 0x150]
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_17h5fed7d587d9
xor ebp, ebp
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x1400a3c1d
mov rcx, qword [rsi + 0x220]
call sym.alloc::sync::Arc_T_A_::drop_slow::h51c366533f252581
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
je 0x1400a3e28
cmp qword [rsi + 0x200], 0
je 0x1400a3c44
mov rcx, qword [rsi + 0x208]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x210]
xor edx, edx
call fcn.14013ef6c
cmp qword [rsi + 0x1c8], 0
je 0x1400a3c68
mov rcx, qword [rsi + 0x1d0]
call sub.CRYPT32.dll_CertFreeCertificateContext
mov rcx, qword [rsi + 0x1d8]
xor edx, edx
call fcn.14013ef6c
mov rax, qword [rsi + 0x1b0]
lock dec qword [rax]
je 0x1400a3e4e
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
je 0x1400a3e6b
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
je 0x1400a3e8f
cmp byte [rsi + 0x140], 2
jne 0x1400a3b37
jmp 0x1400a3b56
cmp byte [rbx], 0
je 0x1400a392c
lea rdx, [0x140303a18]
mov rcx, rbx
call sym.__http::uri::scheme::Scheme_as_core::cmp::PartialEq_::eq::h563bc355f2b95106
test al, al
je 0x1400a392c
mov rcx, r14
call sym.alloc::sync::Arc_T_A_::make_mut::hcea33b36e4167f1c
mov byte [rax + 0x67], 1
jmp 0x1400a392c
mov rcx, qword [rsi + 0x1b0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h51c366533f252581
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x1400a3b1a
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0a09c4debcab9123
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x1400a3b2b
mov rcx, qword [rsi + 0x148]
call sym.alloc::sync::Arc_T_A_::drop_slow::hb043ffe7b36d6744
mov bpl, 2
cmp byte [rsi + 0x140], 2
jne 0x1400a3b37
jmp 0x1400a3b56
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x150]
mov r8d, 0x120
call sym.memcpy
cmp byte [rsi + 0x151], 0
jne 0x1400a3db2
mov rcx, qword [rsp + 0x340]
cmp rcx, 0xffffffffffffffff
je 0x1400a3f64
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1400a3ead
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x270]
mov r8d, 0x120
call sym.memcpy
movzx eax, byte [0x140346130]
mov edx, 0x120
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x1400a3f55
mov rbx, rax
lea rdx, [rsp + 0x30]
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 0x1400a3c11
jmp 0x1400a3c1d
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0a09c4debcab9123
cmp qword [rsi + 0x200], 0
jne 0x1400a3c38
jmp 0x1400a3c44
mov rcx, qword [rsi + 0x1b0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h51c366533f252581
mov rax, qword [rsi + 0x1b8]
lock dec qword [rax]
jne 0x1400a3c98
mov rcx, qword [rsi + 0x1b8]
mov rdx, qword [rsi + 0x1c0]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0a09c4debcab9123
mov rax, qword [rsi + 0x148]
lock dec qword [rax]
jne 0x1400a3ca9
mov rcx, qword [rsi + 0x148]
call sym.alloc::sync::Arc_T_A_::drop_slow::hb043ffe7b36d6744
cmp byte [rsi + 0x140], 2
jne 0x1400a3b37
jmp 0x1400a3b56
call sub.ws2_32.dll_WSAGetLastError
mov r14d, eax
movzx eax, byte [0x140346130]
mov edx, 8
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::hcc99af14aa596ba0
test rax, rax
je 0x1400a3f70
mov rbx, rax
shl r14, 0x20
or r14, 2
mov qword [rax], r14
lea rcx, [rsp + 0x270]
call sym.core::ptr::drop_in_place_tokio_native_tls::TlsStream_tokio::net::tcp::stream::TcpStream__::h35e0589493202e37
lea r15, sym.core::ptr::drop_in_place_std::io::error::Error_::h1c28098bcf3777fe
mov rax, qword [rsi + 0x220]
lock dec qword [rax]
jne 0x1400a3a9f
mov rcx, qword [rsi + 0x220]
call sym.alloc::sync::Arc_T_A_::drop_slow::h51c366533f252581
mov rax, qword [rsi + 0x228]
lock dec qword [rax]
jne 0x1400a3ab0
mov rcx, qword [rsi + 0x228]
mov rdx, qword [rsi + 0x230]
call sym.alloc::sync::Arc_T_A_::drop_slow::h0a09c4debcab9123
cmp qword [rsi + 0x200], 0
jne 0x1400a3aba
jmp 0x1400a3ac6
ud2
lea rcx, str.C:Users_asdasd.cargo_registry_srcindex.crates.io_6f17d22bba15001f_reqwest_0.11.27_srcconnect.rs
call sym.core::panicking::panic_const::panic_const_async_fn_resumed::h48a18f82ca685548
mov ecx, 8
mov edx, 0x120
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
lea rcx, [0x14030dc88]
call sym.core::option::unwrap_failed::h023124a4722a3daa
mov ecx, 8
mov edx, 8
call sym.alloc::alloc::handle_alloc_error::ha2de6b786ec4bee4
int3