Function at 0x14000ae30
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 [0x140059010]
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 0x14000b10e
mov rcx, rdi
mov rax, rsi
mov edx, r14d
cmp word [rsi], 0x25
je 0x14000ae93
nop dword [rax]
cmp rcx, 1
je 0x14000ae96
dec rcx
add rax, 2
cmp word [rax], 0x25
jne 0x14000ae80
mov rdx, rax
test rdx, rdx
je 0x14000b10e
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14000b10e
inc rdx
cmp rdx, rdi
jae 0x14000b10e
mov rax, rdi
sub rax, rdx
lea rcx, [rsi + rdx*2]
mov rdx, r14
je 0x14000aee6
cmp word [rcx], 0x25
je 0x14000aee3
cmp rax, 1
je 0x14000aee6
dec rax
add rcx, 2
cmp word [rcx], 0x25
jne 0x14000aed0
mov rdx, rcx
test rdx, rdx
je 0x14000b10e
sub rdx, rsi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x14000b10e
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 0x14000af2f
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r14w
jmp 0x14000af66
cmp rdx, 7
ja 0x14000af4f
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 0x14000af66
mov word [rsp + 0x20], r14w
mov r9, rdx
movzx r8d, byte [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1400074f0
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 ecx, eax
mov edi, eax
mov rdx, qword [rbp - 0x20]
cmp rcx, rdx
jbe 0x14000b00d
mov r10d, edi
sub r10, rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
sub rax, rdx
cmp r10, rax
ja 0x14000afd2
mov qword [rbp - 0x20], rdi
lea r8, [rbp - 0x30]
cmp rcx, 8
cmovae r8, qword [rbp - 0x30]
lea rdi, [r8 + rdx*2]
test r10, r10
je 0x14000afc7
movzx eax, r14w
mov rcx, r10
rep stosw word [rdi], ax
lea rax, [rdx + r10]
mov word [r8 + rax*2], r14w
jmp 0x14000afec
mov word [rsp + 0x20], r14w
mov r9, r10
movzx r8d, byte [rbp - 0x40]
mov rdx, r10
lea rcx, [rbp - 0x30]
call fcn.1400074f0
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 ecx, eax
mov rdx, qword [rbp - 0x20]
test ecx, ecx
je 0x14000b0af
mov eax, ecx
cmp rax, rdx
ja 0x14000b0af
dec ecx
cmp rcx, rdx
ja 0x14000b040
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 0x14000b09e
mov r10, rcx
sub r10, rdx
mov rdi, qword [rbp - 0x18]
mov rax, rdi
sub rax, rdx
cmp r10, rax
ja 0x14000b084
mov qword [rbp - 0x20], rcx
lea r8, [rbp - 0x30]
cmp rdi, 8
cmovae r8, qword [rbp - 0x30]
lea rdi, [r8 + rdx*2]
test r10, r10
je 0x14000b079
movzx eax, r14w
mov rcx, r10
rep stosw word [rdi], ax
lea rax, [rdx + r10]
mov word [r8 + rax*2], r14w
jmp 0x14000b09e
mov word [rsp + 0x20], r14w
mov r9, r10
movzx r8d, byte [rbp - 0x40]
mov rdx, r10
lea rcx, [rbp - 0x30]
call fcn.1400074f0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
jmp 0x14000b12a
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
xor r8d, r8d
lea rdx, [0x1400338b0]
mov rcx, rbx
call fcn.140007310
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14000b12a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b107
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b14e
call fcn.140014f34
jmp 0x14000b12a
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.140007310
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140014ed0
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.14001bb3c
int3