Function at 0x14004d510
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 [0x140177090]
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 0x14004d58d
lea rdx, [rbp + 0x3e0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x3e0], bl
je 0x14004d58d
lea rcx, [rbp + 0x3e0]
call qword [case.0x140054204.0]
mov rsi, rax
jmp 0x14004d58f
xor esi, esi
test rsi, rsi
jne 0x14004d5de
lea rcx, str.NO_PROXY
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x1c0], bl
test rax, rax
je 0x14004d5dc
lea rdx, [rbp + 0x1c0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x1c0], bl
je 0x14004d5dc
lea rcx, [rbp + 0x1c0]
call qword [case.0x140054204.0]
mov rsi, rax
jmp 0x14004d5de
xor esi, esi
mov rcx, qword [rdi + 0xb8]
mov rdx, rsi
call fcn.14004d3a0
test eax, eax
jne 0x14004d7a5
mov rax, qword [rdi + 0x320]
lea rbx, [rsp + 0x20]
mov rdi, qword [rax]
movzx eax, byte [rdi]
test al, al
je 0x14004d62a
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 0x14004d610
mov eax, dword [str._proxy]
lea rcx, [rsp + 0x20]
mov dword [rbx], eax
movzx eax, word [0x140177ab0]
mov word [rbx + 4], ax
movzx eax, byte [0x140177ab2]
mov byte [rbx + 6], al
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp - 0x60], 0
test rax, rax
je 0x14004d683
lea rdx, [rbp - 0x60]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp - 0x60], 0
je 0x14004d683
lea rcx, [rbp - 0x60]
call qword [case.0x140054204.0]
mov rbx, rax
jmp 0x14004d685
xor ebx, ebx
test rbx, rbx
jne 0x14004d701
lea rdx, [rsp + 0x20]
lea rcx, str.http_proxy
call fcn.1400627e0
test eax, eax
jne 0x14004d70a
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov r8d, 0x80
call fcn.140062b10
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0xb0], bl
test rax, rax
je 0x14004d6fa
lea rdx, [rbp + 0xb0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0xb0], bl
je 0x14004d6fa
lea rcx, [rbp + 0xb0]
call qword [case.0x140054204.0]
mov rbx, rax
jmp 0x14004d6fc
xor ebx, ebx
test rbx, rbx
je 0x14004d70a
cmp byte [rbx], 0
jne 0x14004d7a5
lea rcx, str.all_proxy
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x2d0], 0
test rax, rax
je 0x14004d754
lea rdx, [rbp + 0x2d0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x2d0], 0
je 0x14004d754
lea rcx, [rbp + 0x2d0]
call qword [case.0x140054204.0]
mov rbx, rax
jmp 0x14004d756
xor ebx, ebx
test rbx, rbx
jne 0x14004d7a5
lea rcx, str.ALL_PROXY
call qword [sym.imp.MSVCR120.dll_getenv]
mov byte [rbp + 0x4f0], bl
test rax, rax
je 0x14004d7a3
lea rdx, [rbp + 0x4f0]
mov r8d, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [rbp + 0x4f0], bl
je 0x14004d7a3
lea rcx, [rbp + 0x4f0]
call qword [case.0x140054204.0]
mov rbx, rax
jmp 0x14004d7a5
xor ebx, ebx
test rsi, rsi
je 0x14004d7b3
mov rcx, rsi
call qword [case.0x140054204.2]
mov rax, rbx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.140129b50
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