Function at 0x140055919
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.1400fa660
mov rcx, qword [rsp + 0x80]
call fcn.140077c64
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.1400fa1d0
add rsp, 0x10
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
push 0x3e8
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f6f50
add rsp, 0x28
call fcn.1400fa4d0
lea rcx, [rsp + 0x40]
pop rdx
call fcn.1400fa3f0
push 0x3e8
mov rax, qword [rsp + 0x40]
mov rax, rax
push rax
movabs rax, str.WINDIR
push rax
pop rcx
pop rdx
pop r8
call sub.KERNEL32.dll_GetEnvironmentVariableW
movabs rdx, 0x14018b0dc
lea rcx, [rsp + 0x40]
call fcn.1400fa240
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push 0xe
mov rcx, qword [rsp + 0x50]
push rcx
sub rsp, 0x20
call fcn.1400fa330
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400fa380
add rsp, 0x20
movabs rcx, str.System32
sub rsp, 0x20
call fcn.1400fa380
add rsp, 0x20
call fcn.1400fa4d0
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
movabs rcx, 0x140192f0a
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
call fcn.1400fa4d0
mov rcx, qword [rsp + 0x60]
push rcx
sub rsp, 0x20
call fcn.1400fa330
add rsp, 0x20
pop rcx
push rax
sub rsp, 0x20
call fcn.1400fa380
add rsp, 0x20
movabs rcx, str.System32cmd.exe
sub rsp, 0x20
call fcn.1400fa380
add rsp, 0x20
push rax
call fcn.1400fa590
mov rdx, rax
pop rax
add qword [rsp], rdx
push rax
call fcn.1400fa590
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
push rax
call fcn.1400fa590
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140097df8
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140077c64
add rsp, 0x28
pop rax
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140055bf9
push qword [rsp + 0x30]
pop rcx
call fcn.14009869c
and rax, rax
je 0x140055bef
push qword [rsp + 0x30]
pop rcx
call fcn.140098704
and rax, rax
je 0x140055bea
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400fa330
add rsp, 0x20
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x20
call fcn.1400fa330
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
push 0x18
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140098888
add rsp, 0x28
push rax
call fcn.1400fa590
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
sub rsp, 0x20
call fcn.14003a224
add rsp, 0x30
pop rax
movabs rcx, 0x1401a36f8
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.1400fa3f0
jmp 0x140055b01
push qword [rsp + 0x30]
pop rcx
call fcn.1400987e0
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400fa330
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400fa380
add rsp, 0x28
pop rax
push rax
call fcn.1400fa560
pop rdx
add rax, rdx
jmp 0x140055c32
push rax
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400fa6d0
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret