Function at 0x140062160
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]
mov eax, 0x710
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, str.no_proxy
call fcn.140228ee8
mov byte [rbp - 0x60], bl
test rax, rax
je 0x1400621d6
mov r8d, 0x104
lea rdx, [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp - 0x60], bl
je 0x1400621d6
lea rcx, [rbp - 0x60]
call qword [case.0x1400656b3.0]
mov rsi, rax
jmp 0x1400621d8
xor esi, esi
test rsi, rsi
jne 0x140062226
lea rcx, str.NO_PROXY
call fcn.140228ee8
mov byte [rbp + 0xb0], bl
test rax, rax
je 0x140062224
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0xb0], bl
je 0x140062224
lea rcx, [rbp + 0xb0]
call qword [case.0x1400656b3.0]
mov rsi, rax
jmp 0x140062226
xor esi, esi
mov rcx, qword [rdi + 0xb8]
mov rdx, rsi
call fcn.140061f40
test al, al
jne 0x140062448
mov rax, qword [rdi + 0x400]
lea rbx, [rsp + 0x20]
mov rdi, qword [rax]
movzx eax, byte [rdi]
test al, al
je 0x14006226b
movsx ecx, al
call fcn.140216598
mov byte [rbx], al
lea rdi, [rdi + 1]
movzx eax, byte [rdi]
inc rbx
test al, al
jne 0x140062253
mov eax, dword [str._proxy]
lea rcx, [rsp + 0x20]
mov dword [rbx], eax
movzx eax, word [0x1402d0180]
mov word [rbx + 4], ax
movzx eax, byte [0x1402d0182]
mov byte [rbx + 6], al
call fcn.140228ee8
mov byte [rbp + 0x1c0], 0
test rax, rax
je 0x1400622cf
mov r8d, 0x104
lea rdx, [rbp + 0x1c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x1c0], 0
je 0x1400622cf
lea rcx, [rbp + 0x1c0]
call qword [case.0x1400656b3.0]
mov rbx, rax
jmp 0x1400622d1
xor ebx, ebx
test rbx, rbx
jne 0x140062448
lea r9, [rsp + 0x20]
lea r8, str.http_proxy
movzx ecx, byte [r9]
test cl, cl
je 0x140062316
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1400622fc
sub dl, 0x20
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140062306
sub cl, 0x20
cmp dl, cl
jne 0x140062316
inc r8
inc r9
cmp byte [r8], 0
jne 0x1400622e6
movzx edx, byte [r8]
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x140062324
sub dl, 0x20
movzx ecx, byte [r9]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140062332
sub cl, 0x20
cmp dl, cl
je 0x1400623af
mov r8d, 0x80
lea rdx, [rsp + 0x20]
movzx ecx, byte [rdx]
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x14006234e
sub cl, 0x20
mov byte [rdx], cl
inc rdx
test cl, cl
je 0x14006235d
sub r8, 1
jne 0x140062341
lea rcx, [rsp + 0x20]
call fcn.140228ee8
mov byte [rbp + 0x2d0], 0
test rax, rax
je 0x1400623a4
mov r8d, 0x104
lea rdx, [rbp + 0x2d0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x2d0], 0
je 0x1400623a4
lea rcx, [rbp + 0x2d0]
call qword [case.0x1400656b3.0]
mov rbx, rax
jmp 0x1400623a6
xor ebx, ebx
test rbx, rbx
jne 0x140062448
lea rcx, str.all_proxy
call fcn.140228ee8
mov byte [rbp + 0x3e0], 0
test rax, rax
je 0x1400623f8
mov r8d, 0x104
lea rdx, [rbp + 0x3e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x3e0], 0
je 0x1400623f8
lea rcx, [rbp + 0x3e0]
call qword [case.0x1400656b3.0]
mov rbx, rax
jmp 0x1400623fa
xor ebx, ebx
test rbx, rbx
jne 0x140062448
lea rcx, str.ALL_PROXY
call fcn.140228ee8
mov byte [rbp + 0x4f0], bl
test rax, rax
je 0x140062446
mov r8d, 0x104
lea rdx, [rbp + 0x4f0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x4f0], bl
je 0x140062446
lea rcx, [rbp + 0x4f0]
call qword [case.0x1400656b3.0]
mov rbx, rax
jmp 0x140062448
xor ebx, ebx
mov rcx, rsi
call qword [fcn.1402196e8]
mov rax, rbx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.1401ef4e0
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