Function at 0x140156cd7
Capabilities:
Get proxy

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
lea rdx, [0x1403232ae]
lea rsi, [rsp + 0x40]
mov r8d, 0x3b
mov rcx, rsi
call sym.winreg::common::to_utf16::h7e052e3f836ff17f
lea rax, [rsp + 0x140]
and qword [rax], 0
mov rsi, qword [rsi + 8]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20019
call sub.ADVAPI32.dll_RegOpenKeyExW
mov edi, eax
test eax, eax
jne 0x140156d41
mov rbx, qword [rsp + 0x140]
jmp 0x140156d4c
mov rbx, rdi
shl rbx, 0x20
or rbx, 2
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h178bbdd5deb7b758
movabs r13, 0x8000000000000000
test edi, edi
je 0x140156d77
mov rcx, rbx
call sym._ZN100__LT_alloc..boxed..Box_LT_dyn_u20_core..error..Error_GT__u20_as_u20_core..convert..From_LT_E_GT__GT_4from17h019bfe0fb401
mov rsi, rax
jmp 0x140156e55
lea r8, [0x1403232e9]
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call sym.winreg::reg_key::RegKey::get_raw_value::h98526c050f350b57
cmp qword [rsi], r13
jne 0x140156d9d
mov rsi, qword [rsp + 0x48]
jmp 0x140156e42
mov sil, byte [rsp + 0x58]
cmp sil, 4
jne 0x140156daf
mov rax, qword [rsp + 0x48]
mov ebp, dword [rax]
lea rcx, [rsp + 0x40]
call sym._ZN4core3ptr100drop_in_place_LT_core..result..Result_LT_winreg..reg_value..RegValue_C_std..io..error..Error_GT__GT_17h8de3355b
cmp sil, 4
jne 0x140156e38
lea r8, [0x1403232f4]
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call sym.winreg::reg_key::RegKey::get_raw_value::h98526c050f350b57
cmp qword [rsi], r13
je 0x140156d93
lea rsi, [rsp + 0x140]
lea rdi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rdi
call sym.__alloc::string::String_as_winreg::types::FromRegValue_::from_reg_value::h454d5b27c6d5e60b
mov rcx, rdi
call sym._ZN4core3ptr100drop_in_place_LT_core..result..Result_LT_winreg..reg_value..RegValue_C_std..io..error..Error_GT__GT_17h8de3355b
mov r14, qword [rsi]
mov rsi, qword [rsi + 8]
cmp r14, r13
je 0x140156e42
mov rdi, qword [rsp + 0x150]
cmp ebp, 1
je 0x140156e22
mov rcx, r14
mov rdx, rsi
call sym.core::ptr::drop_in_place_alloc::string::String_::h77266e31bfd0fd80
mov r14, r13
mov rcx, rbx
call sym.__winreg::reg_key::RegKey_as_core::ops::drop::Drop_::drop::hf7b0c40d985941b5
mov rcx, 0xffffffff80000001
call sym.__winreg::reg_key::RegKey_as_core::ops::drop::Drop_::drop::hf7b0c40d985941b5
jmp 0x140156e79
movabs rsi, 0xde00000002
mov rcx, rsi
call sym._ZN100__LT_alloc..boxed..Box_LT_dyn_u20_core..error..Error_GT__u20_as_u20_core..convert..From_LT_E_GT__GT_4from17h019bfe0fb401
mov rsi, rax
mov rcx, rbx
call sym.__winreg::reg_key::RegKey_as_core::ops::drop::Drop_::drop::hf7b0c40d985941b5
mov rcx, 0xffffffff80000001
call sym.__winreg::reg_key::RegKey_as_core::ops::drop::Drop_::drop::hf7b0c40d985941b5
mov rcx, rsi
call sym.core::ptr::drop_in_place_std::io::error::Error_::hc7dbe3573e0a570c
mov edx, 8
mov rcx, rsi
call sym.__rust_dealloc
mov r14, r13
lea rcx, [rsp + 0x140]
call sym.std::collections::hash::map::HashMap_K_V_::new::h04e9ae6ae44bbcc3
lea rdx, [0x1403232a0]
lea rbx, [rsp + 0x40]
mov r8d, 0xe
mov rcx, rbx
call dbg._var_os
mov r15, qword [rbx]
mov rdx, qword [rbx + 8]
mov rcx, r15
call sym.core::ptr::drop_in_place_std::env::VarError_::h2f0df6374918338f
cmp r15, r13
jne 0x140156f15
mov qword [rsp + 0x20], 0xa
lea rdx, [0x140354663]
lea r9, str.HTTP_PROXYhttp_proxyreqwest::proxyHTTP_PROXY_environment_variable_ignored_in_CGI_n22_
lea rcx, [rsp + 0x140]
mov r8d, 4
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
test al, al
jne 0x140156fbc
mov qword [rsp + 0x20], 0xa
lea rdx, [0x140354663]
lea r9, [0x1403231f2]
lea rcx, [rsp + 0x140]
mov r8d, 4
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
jmp 0x140156fbc
mov rax, qword [0x14039f0f8]
cmp rax, 2
jb 0x140156fbc
lea rdx, [0x1403231fc]
mov ecx, 2
mov r8d, 0xe
call sym.log::__private_api::enabled::he48854875368eb99
test al, al
je 0x140156fbc
lea rdx, str.HTTP_PROXYhttp_proxyreqwest::proxyHTTP_PROXY_environment_variable_ignored_in_CGI_n22_
lea rbx, [rsp + 0x40]
mov r8d, 0xa
mov rcx, rbx
call dbg._var_os
mov r15, qword [rbx]
mov rdx, qword [rbx + 8]
mov rcx, r15
call sym.core::ptr::drop_in_place_std::env::VarError_::h2f0df6374918338f
cmp r15, r13
je 0x140156fbc
mov rax, qword [0x14039f0f8]
cmp rax, 2
jb 0x140156fbc
lea rax, [0x140323238]
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, str.Malformed_XML.
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea r8, [0x140323248]
mov edx, 2
mov r9d, 0x386
call sym.log::__private_api::log::ha7ec562ab17f3af7
mov qword [rsp + 0x20], 0xb
lea rdx, [0x140354667]
lea r9, str.HTTPS_PROXYhttps_proxyALL_PROXYall_proxyREQUEST_METHODSoftwareMicrosoftWindowsCurrentVersionInternet_SettingsProxyEnableProxyServer
lea rcx, [rsp + 0x140]
mov r8d, 5
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
test al, al
jne 0x140157014
mov qword [rsp + 0x20], 0xb
lea rdx, [0x140354667]
lea r9, [0x140323283]
lea rcx, [rsp + 0x140]
mov r8d, 5
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
mov qword [rsp + 0x20], 9
lea rdx, [0x140354663]
lea r9, [0x14032328e]
lea rbp, [rsp + 0x140]
mov r8d, 4
mov rcx, rbp
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
test al, al
je 0x140157073
mov qword [rsp + 0x20], 9
lea rdx, [0x140354667]
lea r9, [0x14032328e]
lea rcx, [rsp + 0x140]
mov r8d, 5
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
test al, al
jne 0x1401570c7
mov rbx, rbp
mov ebp, 9
mov qword [rsp + 0x20], rbp
lea rdx, [0x140354663]
lea r15, [0x140323297]
lea r12, [rsp + 0x140]
mov r8d, 4
mov rcx, r12
mov r9, r15
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
mov qword [rsp + 0x20], rbp
mov rbp, rbx
lea rdx, [0x140354667]
mov r8d, 5
mov rcx, r12
mov r9, r15
call sym.reqwest::proxy::insert_from_env::h3351f29660f7088d
movups xmm0, xmmword [rsp + 0x140]
movups xmm1, xmmword [rsp + 0x150]
movups xmm2, xmmword [rsp + 0x160]
movaps xmmword [rsp + 0x130], xmm2
movaps xmmword [rsp + 0x120], xmm1
movaps xmmword [rsp + 0x110], xmm0
cmp r14, r13
je 0x14015714e
cmp qword [rsp + 0x128], 0
jne 0x14015714e
mov qword [rsp + 0xc8], r14
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rdi
lea rcx, [rsp + 0xe0]
call sym.std::collections::hash::map::HashMap_K_V_::new::h04e9ae6ae44bbcc3
cmp rdi, 2
jb 0x140157185
mov cl, 0x3d
mov rdx, rsi
mov r8, rdi
cmp rdi, 0x10
jae 0x140157365
call sym.core::slice::memchr::memchr_naive::he074fe7c18637b67
jmp 0x14015736a
movaps xmm0, xmmword [rsp + 0x110]
movaps xmm1, xmmword [rsp + 0x120]
movaps xmm2, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rcx, r14
mov rdx, rsi
call sym.core::ptr::drop_in_place_std::env::VarError_::h2f0df6374918338f
jmp 0x1401574f2
lea rcx, case.0x1401b4945.40
mov edx, 1
mov r8, rsi
mov r9, rdi
call sym.___A__as_core::slice::cmp::SlicePartialEq_B__::equal::h1b23c7b2f07cde81
test al, al
je 0x140157374
lea r9, case.0x1401b4945.46
lea rcx, [rsp + 0x1d8]
mov rdx, rsi
mov r8, rdi
call sym.core::str::__impl_str_::split::hc71a941d498671a7
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x28]
lea rbx, [rsp + 0x1c0]
lea rcx, [rsp + 0x1d8]
call sym.__core::str::iter::Split_P__as_core::iter::traits::iterator::Iterator_::next::hb5e5ebff21443b7c
test rax, rax
je 0x1401574a9
mov r8, rdx
mov rcx, rbp
mov rdx, rax
lea r9, case.0x1401b4945.40
call sym.core::str::__impl_str_::split::hc71a941d498671a7
mov rcx, rbp
call sym.__core::str::iter::Split_P__as_core::iter::traits::iterator::Iterator_::next::hb5e5ebff21443b7c
test rax, rax
je 0x140157474
mov rsi, rax
mov rdi, rdx
mov rcx, r12
call sym.alloc::raw_vec::RawVec_T_A_::try_allocate_in::h0eb7c7b6b1859f14
cmp qword [rsp + 0x40], 0
jne 0x14015753c
mov rax, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
mov qword [r15], rsi
mov qword [r15 + 8], rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 1
mov ecx, 0x10
mov rdi, r12
mov rsi, rbp
rep movsq qword [rdi], qword [rsi]
mov r14d, 1
mov ebp, 0x18
mov rcx, r12
call sym.__core::str::iter::Split_P__as_core::iter::traits::iterator::Iterator_::next::hb5e5ebff21443b7c
test rax, rax
je 0x1401572a1
mov rsi, rax
mov rdi, rdx
cmp r14, qword [rsp + 0x28]
jne 0x14015728a
mov rcx, r13
call sym.alloc::vec::Vec_T_A_::reserve::h7b4bfdb943a09a2e
mov r15, qword [rsp + 0x30]
mov qword [r15 + rbp - 8], rsi
mov qword [r15 + rbp], rdi
inc r14
mov qword [rsp + 0x38], r14
add rbp, 0x10
jmp 0x140157263
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
cmp r14, 2
jne 0x14015747b
lea rax, [rsi + 0x10]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
call sym.reqwest::proxy::extract_type_prefix::hc2f429d8498a1328
test rax, rax
je 0x1401572ee
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rcx, rbx
call sym._ZN47__LT_str_u20_as_u20_alloc..string..ToString_GT_9to_string17h4fd2808e4692ca2eE.200
lea rbp, [rsp + 0x140]
jmp 0x14015733e
lea rax, str._02_
mov qword [rsp + 0x40], rax
mov ecx, 1
mov qword [rsp + 0x48], rcx
and qword [rsp + 0x60], 0
mov qword [rsp + 0x140], r13
lea rax, [sym.__T_as_core::fmt::Display_::fmt::h6c02f29f553cd632]
mov qword [rsp + 0x148], rax
lea rbp, [rsp + 0x140]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rcx
mov rcx, rbx
mov rdx, r12
call sym._ZN5alloc3fmt6format17hd6676e611917a9eaE.179
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
lea rcx, [rsp + 0xe0]
mov r9, rbx
call sym.reqwest::proxy::insert_proxy::h7998874e986db28a
mov rcx, rdi
mov rdx, rsi
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h7e0299ae47a10a3a
jmp 0x1401571d0
call sym.core::slice::memchr::memchr_aligned::h7294fcda4d260def
cmp rax, 1
je 0x1401571a4
mov rcx, rsi
mov rdx, rdi
call sym.reqwest::proxy::extract_type_prefix::hc2f429d8498a1328
test rax, rax
je 0x1401573b3
mov r14, rax
mov r15, rdx
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call dbg.clone
lea rcx, [rsp + 0xe0]
mov rdx, r14
mov r8, r15
mov r9, rbx
jmp 0x14015746d
lea r15, [rsp + 0xc8]
lea rsi, [rsp + 0x140]
mov qword [rsi], r15
lea r13, str._02_
lea rdi, [rsp + 0x40]
mov qword [rdi], r13
mov r12d, 1
mov qword [rdi + 8], r12
and qword [rdi + 0x20], 0
mov rax, rbp
lea rbp, [sym.__alloc::string::String_as_core::fmt::Display_::fmt::h2210bd81085d1979]
mov qword [rsi + 8], rbp
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r12
lea rbx, [rsp + 0x1d8]
mov rcx, rbx
mov rdx, rdi
call sym._ZN5alloc3fmt6format17hd6676e611917a9eaE.179
lea rdx, [0x140354663]
lea r14, [rsp + 0xe0]
mov r8d, 4
mov rcx, r14
mov r9, rbx
call sym.reqwest::proxy::insert_proxy::h7998874e986db28a
lea rax, [rsp + 0x28]
mov qword [rdi], r13
mov qword [rdi + 8], r12
and qword [rdi + 0x20], 0
mov qword [rax], r15
mov qword [rax + 8], rbp
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r12
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sym._ZN5alloc3fmt6format17hd6676e611917a9eaE.179
lea rdx, [0x140354667]
mov r8d, 5
mov rcx, r14
mov r9, rsi
call sym.reqwest::proxy::insert_proxy::h7998874e986db28a
jmp 0x1401574a9
mov esi, 8
xor edi, edi
cmp qword [rsp + 0xf8], 0
je 0x14015749e
lea rbx, [rsp + 0xe0]
mov rcx, rbx
call sym.hashbrown::raw::RawTableInner::drop_elements::h6c5b988ff9a00225
mov rcx, rbx
call sym.hashbrown::raw::RawTableInner::clear_no_drop::hb94c5801ae005314
mov rcx, rdi
mov rdx, rsi
call sym.__alloc::raw_vec::RawVec_T_A__as_core::ops::drop::Drop_::drop::h7e0299ae47a10a3a
movups xmm0, xmmword [rsp + 0xe0]
movups xmm1, xmmword [rsp + 0xf0]
movups xmm2, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x60], xmm2
movaps xmmword [rsp + 0x50], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xd0]
call sym.core::ptr::drop_in_place_alloc::string::String_::h77266e31bfd0fd80
lea rcx, [rsp + 0x110]
call sym.__hashbrown::raw::RawTable_T_A__as_core::ops::drop::Drop_::drop::hb0dcaa66078a8f07
mov ecx, 0x40
mov edx, 8
call sym._ZN5alloc5alloc15exchange_malloc17h0460a90bbf52bd83E.1386
mov ecx, 1
mov qword [rax], rcx
mov qword [rax + 8], rcx
movaps xmm0, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jne 0x14015754b
call sym.alloc::raw_vec::capacity_overflow::hdd637e33b68717d9
mov rdx, qword [rsp + 0x50]
call dbg.handle_alloc_error
int3