Function at 0x14007ad79
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.1400e85c0
mov rcx, qword [rsp + 0x80]
call fcn.14007ddec
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400e8130
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
push 0x3e8
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400e51e0
add rsp, 0x28
call fcn.1400e84f0
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400e8260
push 0x3e8
mov rax, qword [rsp + 0x38]
mov rax, rax
push rax
movabs rax, str.WINDIR
push rax
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_GetEnvironmentVariableW
movabs rdx, 0x14019f0ba
lea rcx, [rsp + 0x38]
call fcn.1400e83a0
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0xe
mov rcx, qword [rsp + 0x48]
push rcx
sub rsp, 0x20
call fcn.1400e81a0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400e81f0
add rsp, 0x20
movabs rcx, str.System32
sub rsp, 0x20
call fcn.1400e81f0
add rsp, 0x20
call fcn.1400e84f0
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x1401a502a
sub rsp, 0x28
call fcn.1400e81f0
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400e81f0
add rsp, 0x28
call fcn.1400e84f0
mov rcx, qword [rsp + 0x58]
push rcx
sub rsp, 0x20
call fcn.1400e81a0
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400e81f0
add rsp, 0x20
movabs rcx, str.System32cmd.exe
sub rsp, 0x20
call fcn.1400e81f0
add rsp, 0x20
push rax
call fcn.1400e84c0
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.1400e84c0
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
push rax
call fcn.1400e84c0
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.14009c900
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14007ddec
add rsp, 0x28
pop rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14007b05c
push qword [rsp + 0x40]
pop rcx
call fcn.14009d10c
and rax, rax
je 0x14007b052
push qword [rsp + 0x40]
pop rcx
call fcn.14009d174
and rax, rax
je 0x14007b04d
mov rcx, qword [rsp + 0x38]
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400e81f0
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400e81a0
add rsp, 0x20
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x20
call fcn.1400e81a0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
push 0x18
push qword [rsp + 0x80]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14009d1ac
add rsp, 0x28
push rax
call fcn.1400e84c0
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.140042ca2
add rsp, 0x30
pop rax
movabs rcx, 0x1401b1db4
sub rsp, 0x28
call fcn.1400e81f0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400e8260
jmp 0x14007af61
push qword [rsp + 0x40]
pop rcx
call fcn.14009d1e0
mov rcx, qword [rsp + 0x38]
push rcx
sub rsp, 0x28
call fcn.1400e81a0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400e81f0
add rsp, 0x28
pop rax
push rax
call fcn.1400e8490
pop rdx
add rax, rdx
jmp 0x14007b095
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400e8630
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400e8630
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400e8630
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret