Function at 0x140002ec0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140089020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov qword [rbp - 0x21], rcx
xor r12d, r12d
mov dword [rbp - 0x25], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], 7
mov word [rcx], r12w
mov r13d, 1
mov dword [rbp - 0x25], r13d
mov edx, 0x3e8
cmp qword [rcx + 0x18], rdx
jae 0x140002f3b
mov rbx, qword [rcx + 0x10]
sub rdx, rbx
call fcn.140003a50
mov qword [r14 + 0x10], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rsi, rax
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140002f50
test rdi, rdi
je 0x140003169
movzx ebx, byte [rbp - 0x29]
nop word [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], r12
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x140002f90
mov rdx, rsi
lea rcx, [rbp + 7]
call fcn.140003db0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r12
mov qword [rbp - 1], r12
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
or r13d, 2
mov dword [rbp - 0x25], r13d
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
movsxd r15, eax
test eax, eax
je 0x140003038
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x19]
call fcn.1400035c0
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rcx, qword [rbp + 7]
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea eax, [r15 - 1]
movsxd rdx, eax
lea rcx, [rbp - 0x19]
call fcn.1400035c0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140003078
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003073
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003199
call fcn.14003a0d0
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], 7
mov word [rbp + 7], r12w
mov rdx, qword [rbp - 9]
inc rdx
lea r9, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae r9, qword [rbp - 0x19]
mov rcx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
mov rax, r8
sub rax, rcx
cmp rdx, rax
ja 0x1400030e1
lea r12, [rcx + rdx]
mov qword [r14 + 0x10], r12
mov r15, r14
cmp r8, 8
jb 0x1400030c5
mov r15, qword [r14]
lea rcx, [r15 + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call fcn.14003c3f0
xor eax, eax
mov word [r15 + r12*2], ax
xor r12d, r12d
jmp 0x1400030f2
mov qword [rsp + 0x20], rdx
movzx r8d, bl
mov rcx, r14
call fcn.140003bd0
lea rsi, [rsi + rdi*2]
add rsi, 2
and r13d, 0xfffffffd
mov dword [rbp - 0x25], r13d
mov rdx, qword [rbp - 1]
cmp rdx, 8
jb 0x14000313e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003139
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000319f
call fcn.14003a0d0
mov qword [rbp - 9], r12
mov qword [rbp - 1], 7
mov word [rbp - 0x19], r12w
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140003156
test rdi, rdi
jne 0x140002f70
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003a0b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14004638c
nop
call fcn.14004638c
int3