Function at 0x1401aaf80
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, 0x80
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x48], rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
mov qword [rbp - 0x40], 0x107
mov qword [rbp - 0x38], 0xa
lfence
mov ecx, 0x210
call fcn.140002680
mov rdx, rax
mov qword [rbp - 0x20], 0x100
mov qword [rbp - 0x18], 0x107
movzx eax, r14w
mov rdi, rdx
mov ecx, 0x100
rep stosw word [rdi], ax
mov word [rdx + 0x200], r14w
mov qword [rbp - 0x30], rdx
mov r8d, dword [rbp - 0x20]
inc r8d
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, eax
mov r9, qword [rbp - 0x20]
lea rcx, [r9 + 1]
cmp rdx, rcx
jbe 0x1401ab0eb
lfence
lea ecx, [rdx - 1]
mov r8, qword [rbp - 0x20]
cmp rcx, r8
ja 0x1401ab074
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 0x1401ab0c7
mov rdx, rcx
sub rdx, r8
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1401ab0b8
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 0x1401ab0ad
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r14w
jmp 0x1401ab0c7
lfence
mov r9, rdx
lea rcx, [rbp - 0x30]
call fcn.140011300
mov r8d, dword [rbp - 0x20]
inc r8d
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edx, eax
mov r9, qword [rbp - 0x20]
test edx, edx
je 0x1401ab1be
lea rcx, [r9 + 1]
mov eax, edx
cmp rax, rcx
ja 0x1401ab1be
lea rax, [rbp - 0x30]
mov rdi, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x18]
cmp rcx, 8
cmovae rax, rdi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401ab120
cmp r8, r9
ja 0x1401ab147
lea rax, [rbp - 0x30]
cmp rcx, 8
cmovae rax, rdi
mov qword [rbp - 0x20], r8
mov word [rax + r8*2], r14w
jmp 0x1401ab195
mov rdx, r8
sub rdx, r9
mov rax, rcx
sub rax, r9
cmp rdx, rax
ja 0x1401ab186
mov qword [rbp - 0x20], r8
lea r8, [rbp - 0x30]
cmp rcx, 8
cmovae r8, rdi
lea rdi, [r8 + r9*2]
test rdx, rdx
je 0x1401ab17b
movzx eax, r14w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r9 + rdx]
mov word [r8 + rax*2], r14w
jmp 0x1401ab195
lfence
mov r9, rdx
lea rcx, [rbp - 0x30]
call fcn.140011300
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
mov dword [rbp - 0x50], 1
jmp 0x1401ab235
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rsi + r8*2], 0
jne 0x1401ab1d5
mov rdx, rsi
mov rcx, rbx
call fcn.140003530
mov dword [rbp - 0x50], 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1401ab235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ab230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ab230
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r14w
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret