Function at 0x14002a020
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140095050]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor r14d, r14d
mov rdi, qword [rdx + 8]
mov rsi, qword [rdx]
test rdi, rdi
je 0x14002a2aa
mov rcx, rdi
mov rax, rsi
mov edx, r14d
cmp word [rsi], 0x25
je 0x14002a083
nop dword [rax]
cmp rcx, 1
je 0x14002a086
dec rcx
add rax, 2
cmp word [rax], 0x25
jne 0x14002a070
mov rdx, rax
test rdx, rdx
je 0x14002a2aa
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14002a2aa
inc rdx
cmp rdx, rdi
jae 0x14002a2aa
mov rax, rdi
sub rax, rdx
lea rcx, [rsi + rdx*2]
mov rdx, r14
je 0x14002a0d6
cmp word [rcx], 0x25
je 0x14002a0d3
cmp rax, 1
je 0x14002a0d6
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14002a0c0
mov rdx, rcx
test rdx, rdx
je 0x14002a2aa
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14002a2aa
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
lea rdx, [rdi + 0x100]
test rdx, rdx
jne 0x14002a11f
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r14w
jmp 0x14002a156
cmp rdx, 7
ja 0x14002a13f
mov qword [rbp - 0x20], rdx
movzx eax, r14w
lea rdi, [rbp - 0x30]
mov rcx, rdx
rep stosw word [rdi], ax
mov word [rbp + rdx*2 - 0x30], r14w
jmp 0x14002a156
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140003960
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8d, dword [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov edx, eax
mov r8, qword [rbp - 0x20]
cmp rdi, r8
jbe 0x14002a1ab
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.140002da0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8d, dword [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
mov r8, qword [rbp - 0x20]
test edi, edi
je 0x14002a24b
mov eax, edi
cmp rax, r8
ja 0x14002a24b
lea ecx, [rdi - 1]
cmp rcx, r8
ja 0x14002a1df
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rbp - 0x20], rcx
mov word [rax + rcx*2], r14w
jmp 0x14002a23a
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14002a223
mov qword [rbp - 0x20], rcx
lea r9, [rbp - 0x30]
cmp rdi, 8
cmovae r9, qword [rbp - 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14002a218
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x14002a23a
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140003960
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14002a2c6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400640b0]
mov rcx, rbx
call fcn.140003890
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14002a2c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a2a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002a2ea
call fcn.14003a23c
jmp 0x14002a2c6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140003890
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003a1e0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140040b2c
int3