Function at 0x140121840
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x610]
sub rsp, 0x710
mov rax, qword [0x140232230]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rdi, rcx
lea rcx, str.no_proxy
xor ebx, ebx
call fcn.140170c18
mov byte [rbp + 0x3e0], bl
test rax, rax
je 0x1401218bc
lea rdx, [rbp + 0x3e0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp + 0x3e0], bl
je 0x1401218bc
lea rcx, [rbp + 0x3e0]
call qword [fcn.140191714]
mov rsi, rax
jmp 0x1401218be
xor esi, esi
test rsi, rsi
jne 0x14012190c
lea rcx, str.NO_PROXY
call fcn.140170c18
mov byte [rbp + 0x1c0], bl
test rax, rax
je 0x14012190a
lea rdx, [rbp + 0x1c0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp + 0x1c0], bl
je 0x14012190a
lea rcx, [rbp + 0x1c0]
call qword [fcn.140191714]
mov rsi, rax
jmp 0x14012190c
xor esi, esi
mov rcx, qword [rdi + 0xa8]
mov rdx, rsi
call fcn.1401216d0
test eax, eax
jne 0x140121ad0
mov rax, qword [rdi + reloc.SHELL32.dll_IsUserAnAdmin]
lea rbx, [rsp + 0x20]
mov rdi, qword [rax]
movzx eax, byte [rdi]
test al, al
je 0x140121959
nop dword [rax]
movsx ecx, al
call fcn.14016f0dc
lea rdi, [rdi + 1]
inc rbx
mov byte [rbx - 1], al
movzx eax, byte [rdi]
test al, al
jne 0x140121940
mov eax, dword [str._proxy]
lea rcx, [rsp + 0x20]
mov dword [rbx], eax
movzx eax, word [0x1401e5630]
mov word [rbx + 4], ax
movzx eax, byte [0x1401e5632]
mov byte [rbx + 6], al
call fcn.140170c18
mov byte [rbp - 0x60], 0
test rax, rax
je 0x1401219b1
lea rdx, [rbp - 0x60]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp - 0x60], 0
je 0x1401219b1
lea rcx, [rbp - 0x60]
call qword [fcn.140191714]
mov rbx, rax
jmp 0x1401219b3
xor ebx, ebx
test rbx, rbx
jne 0x140121a2e
lea rdx, [rsp + 0x20]
lea rcx, str.http_proxy
call fcn.14013c9f0
test eax, eax
jne 0x140121a37
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x80
call fcn.14013cd20
lea rcx, [rsp + 0x20]
call fcn.140170c18
mov byte [rbp + 0xb0], bl
test rax, rax
je 0x140121a27
lea rdx, [rbp + 0xb0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp + 0xb0], bl
je 0x140121a27
lea rcx, [rbp + 0xb0]
call qword [fcn.140191714]
mov rbx, rax
jmp 0x140121a29
xor ebx, ebx
test rbx, rbx
je 0x140121a37
cmp byte [rbx], 0
jne 0x140121ad0
lea rcx, str.all_proxy
call fcn.140170c18
mov byte [rbp + 0x2d0], 0
test rax, rax
je 0x140121a80
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp + 0x2d0], 0
je 0x140121a80
lea rcx, [rbp + 0x2d0]
call qword [fcn.140191714]
mov rbx, rax
jmp 0x140121a82
xor ebx, ebx
test rbx, rbx
jne 0x140121ad0
lea rcx, str.ALL_PROXY
call fcn.140170c18
mov byte [rbp + 0x4f0], bl
test rax, rax
je 0x140121ace
lea rdx, [rbp + 0x4f0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp byte [rbp + 0x4f0], bl
je 0x140121ace
lea rcx, [rbp + 0x4f0]
call qword [fcn.140191714]
mov rbx, rax
jmp 0x140121ad0
xor ebx, ebx
test rsi, rsi
je 0x140121ade
mov rcx, rsi
call qword [fcn.1401673d0]
mov rax, rbx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140166980
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret