Function at 0x1400b3350
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 [0x1402581e0]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov rdi, rcx
lea rcx, str.no_proxy
xor ebx, ebx
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x3e0], bl
test rax, rax
je 0x1400b33cd
lea rdx, [rbp + 0x3e0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x3e0], bl
je 0x1400b33cd
lea rcx, [rbp + 0x3e0]
call qword [case.0x1400ba044.0]
mov rsi, rax
jmp 0x1400b33cf
xor esi, esi
test rsi, rsi
jne 0x1400b341e
lea rcx, str.NO_PROXY
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x1c0], bl
test rax, rax
je 0x1400b341c
lea rdx, [rbp + 0x1c0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x1c0], bl
je 0x1400b341c
lea rcx, [rbp + 0x1c0]
call qword [case.0x1400ba044.0]
mov rsi, rax
jmp 0x1400b341e
xor esi, esi
mov rcx, qword [rdi + 0xb8]
mov rdx, rsi
call fcn.1400b31e0
test eax, eax
jne 0x1400b35e5
mov rax, qword [rdi + 0x320]
lea rbx, [rsp + 0x20]
mov rdi, qword [rax]
movzx eax, byte [rdi]
test al, al
je 0x1400b346a
nop dword [rax + rax]
movsx ecx, al
call qword [sym.imp.MSVCR120.dll_tolower]
lea rdi, [rdi + 1]
inc rbx
mov byte [rbx - 1], al
movzx eax, byte [rdi]
test al, al
jne 0x1400b3450
mov eax, dword [str._proxy]
lea rcx, [rsp + 0x20]
mov dword [rbx], eax
movzx eax, word [0x140258f50]
mov word [rbx + 4], ax
movzx eax, byte [0x140258f52]
mov byte [rbx + 6], al
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp - 0x60], 0
test rax, rax
je 0x1400b34c3
lea rdx, [rbp - 0x60]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp - 0x60], 0
je 0x1400b34c3
lea rcx, [rbp - 0x60]
call qword [case.0x1400ba044.0]
mov rbx, rax
jmp 0x1400b34c5
xor ebx, ebx
test rbx, rbx
jne 0x1400b3541
lea rdx, [rsp + 0x20]
lea rcx, str.http_proxy
call fcn.1400c8610
test eax, eax
jne 0x1400b354a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x80
call fcn.1400c8940
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0xb0], bl
test rax, rax
je 0x1400b353a
lea rdx, [rbp + 0xb0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0xb0], bl
je 0x1400b353a
lea rcx, [rbp + 0xb0]
call qword [case.0x1400ba044.0]
mov rbx, rax
jmp 0x1400b353c
xor ebx, ebx
test rbx, rbx
je 0x1400b354a
cmp byte [rbx], 0
jne 0x1400b35e5
lea rcx, str.all_proxy
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x2d0], 0
test rax, rax
je 0x1400b3594
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x2d0], 0
je 0x1400b3594
lea rcx, [rbp + 0x2d0]
call qword [case.0x1400ba044.0]
mov rbx, rax
jmp 0x1400b3596
xor ebx, ebx
test rbx, rbx
jne 0x1400b35e5
lea rcx, str.ALL_PROXY
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x4f0], bl
test rax, rax
je 0x1400b35e3
lea rdx, [rbp + 0x4f0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x4f0], bl
je 0x1400b35e3
lea rcx, [rbp + 0x4f0]
call qword [case.0x1400ba044.0]
mov rbx, rax
jmp 0x1400b35e5
xor ebx, ebx
test rsi, rsi
je 0x1400b35f3
mov rcx, rsi
call qword [sub.MSVCR120.dll_free]
mov rax, rbx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.1401bddc0
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