Function at 0x1402a3330
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x728
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x132
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x748]
mov rax, qword [0x140711040]
xor rax, rbp
mov qword [rbp + 0x6f8], rax
lea rcx, [0x1407576ef]
call fcn.1401d9db4
lea r9, str._5_4
mov r8, qword [rbp + 0x730]
lea rdx, [0x1405b567c]
mov rcx, qword [rbp + 0x720]
call fcn.1401d234d
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_getenv]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x1402a33d3
mov rcx, qword [rbp + 0x730]
call qword [sym.imp.ucrtbased.dll_getenv]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x1402a33ea
mov rcx, qword [rbp + 0x720]
call fcn.1402a2db0
test eax, eax
je 0x1402a3402
mov rdx, qword [rbp + 0x738]
mov rcx, qword [rbp + 0x720]
call fcn.1401d08e0
jmp 0x1402a3596
lea rdx, [0x1405b5684]
mov rcx, qword [rbp + 0x48]
call fcn.1401d9fb7
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1402a3432
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x720]
call fcn.1401d08e0
jmp 0x1402a3596
mov rcx, qword [rbp + 0x48]
call fcn.1401d2b45
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x90]
mov rcx, qword [rbp + 0x720]
call fcn.1401d5b47
mov rax, qword [rbp + 8]
cmp qword [rbp + 0x48], rax
jae 0x1402a34d9
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0x90]
call fcn.1401d12d1
mov rax, qword [rbp + 0x98]
cmp qword [rbp + 0xa0], rax
jb 0x1402a349e
mov edx, 1
lea rcx, [rbp + 0x90]
call fcn.1401d6c4f
mov eax, 1
imul rax, rax, 0
lea rcx, [0x1405b5688]
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x90]
add r8, rdx
mov rdx, r8
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rbp + 0xa0]
inc rax
mov qword [rbp + 0xa0], rax
mov rdx, qword [rbp + 0x738]
lea rcx, [rbp + 0x90]
call fcn.1401ce2ac
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
lea rax, [rax + rcx - 2]
cmp qword [rbp + 8], rax
jae 0x1402a358a
mov rax, qword [rbp + 0x98]
cmp qword [rbp + 0xa0], rax
jb 0x1402a3524
mov edx, 1
lea rcx, [rbp + 0x90]
call fcn.1401d6c4f
mov eax, 1
imul rax, rax, 0
lea rcx, [0x1405b5688]
mov rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0x90]
add r8, rdx
mov rdx, r8
movzx eax, byte [rcx + rax]
mov byte [rdx], al
mov rax, qword [rbp + 0xa0]
inc rax
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x68]
lea rax, [rax + rcx - 2]
sub rax, qword [rbp + 8]
mov rcx, qword [rbp + 8]
add rcx, 2
mov r8, rax
mov rdx, rcx
lea rcx, [rbp + 0x90]
call fcn.1401d12d1
lea rcx, [rbp + 0x90]
call fcn.1401d4d5a
mov rcx, qword [rbp + 0x720]
call fcn.1402a36b0
mov r8, qword [rbp + 0x728]
mov edx, 0xfffffffd
mov rcx, qword [rbp + 0x720]
call fcn.1401d978d
mov edx, 0xfffffffe
mov rcx, qword [rbp + 0x720]
call fcn.1401d8c48
lea rcx, [rbp - 0x20]
lea rdx, [0x1405b5420]
call fcn.1401d7a64
mov rcx, qword [rbp + 0x6f8]
xor rcx, rbp
call fcn.1401d334c
lea rsp, [rbp + 0x708]
pop rdi
pop rbp
ret