Function at 0x14002b100
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 [0x140098080]
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 0x14002b38a
mov rcx, rdi
mov rax, rsi
mov edx, r14d
cmp word [rsi], 0x25
je 0x14002b163
nop dword [rax]
cmp rcx, 1
je 0x14002b166
dec rcx
add rax, 2
cmp word [rax], 0x25
jne 0x14002b150
mov rdx, rax
test rdx, rdx
je 0x14002b38a
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14002b38a
inc rdx
cmp rdx, rdi
jae 0x14002b38a
mov rax, rdi
sub rax, rdx
lea rcx, [rsi + rdx*2]
mov rdx, r14
je 0x14002b1b6
cmp word [rcx], 0x25
je 0x14002b1b3
cmp rax, 1
je 0x14002b1b6
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14002b1a0
mov rdx, rcx
test rdx, rdx
je 0x14002b38a
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14002b38a
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 0x14002b1ff
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r14w
jmp 0x14002b236
cmp rdx, 7
ja 0x14002b21f
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 0x14002b236
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140003d10
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova 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 0x14002b28b
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.140002c30
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova 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 0x14002b32b
mov eax, edi
cmp rax, r8
ja 0x14002b32b
lea ecx, [rdi - 1]
cmp rcx, r8
ja 0x14002b2bf
mov qword [rbp - 0x20], rcx
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov word [rax + rcx*2], r14w
jmp 0x14002b31a
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x14002b303
mov qword [rbp - 0x20], rcx
lea r9, [rbp - 0x30]
cmp rdi, 7
cmova r9, qword [rbp - 0x30]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x14002b2f8
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x14002b31a
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.140003d10
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14002b3a6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400665d0]
mov rcx, rbx
call fcn.140003be0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14002b3a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b383
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b3ca
call fcn.14003bb8c
jmp 0x14002b3a6
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.140003be0
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003bb30
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.140041a3c
int3