Function at 0x14002bbb0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x708
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x710]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14001f4d0
nop
mov rax, qword [rsp + 0x710]
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.14001f4d0
nop
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.14001f6f0
nop
mov dword [rsp + 0x48], 0
lea rax, [rsp + 0x5b8]
mov qword [rsp + 0x108], rax
lea rdx, str._app__:___ws__:__exec_program_result__:__microsoftId_:__ws____status__:__d
mov rcx, qword [rsp + 0x108]
call fcn.1400220a0
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x100]
call fcn.14007cf20
nop
mov rax, qword [rsp + 0x710]
add rax, 0x10
mov rcx, rax
call fcn.140037340
movzx eax, al
test eax, eax
jne 0x14002c1a4
lea rax, [rsp + 0x5d8]
mov qword [rsp + 0x118], rax
lea rdx, str.winget_list
mov rcx, qword [rsp + 0x118]
call fcn.1400220a0
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0xb8]
call fcn.14007cf20
nop
lea rax, [rsp + 0x450]
mov qword [rsp + 0x128], rax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x128]
call fcn.14001f4d0
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x148]
call fcn.14007c510
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0x4b8]
call fcn.1400220a0
nop
lea rcx, [rsp + 0x148]
call fcn.140026cc0
nop
mov rax, qword [rsp + 0x710]
add rax, 0x10
mov rcx, rax
call fcn.140013ae0
mov r8, rax
lea rdx, [rsp + 0x4b8]
lea rcx, [rsp + 0x538]
call fcn.14000c9f0
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x158], rax
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x428]
call fcn.1400aee40
nop
lea rcx, [rsp + 0x538]
call fcn.1400282e0
nop
movzx eax, byte [rsp + 0x428]
test eax, eax
je 0x14002c175
mov rax, qword [rsp + 0x710]
add rax, 0x10
mov rcx, rax
call fcn.140013ae0
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x430]
call fcn.140054c50
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x14002c175
lea rcx, [rsp + 0x430]
call fcn.14002b580
sub rax, 2
mov r8, rax
lea rdx, [0x14025d1b4]
lea rcx, [rsp + 0x430]
call fcn.140055df0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x14002c175
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x98]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x160], rax
mov r9, qword [rsp + 0x160]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x408]
lea rcx, [rsp + 0x430]
call fcn.1400691b0
nop
mov r8, 0xffffffffffffffff
mov dx, 0x20
lea rcx, [rsp + 0x408]
call fcn.140055d90
inc rax
mov rdx, rax
lea rcx, [rsp + 0x408]
call fcn.14004e480
xor r8d, r8d
mov dx, 0x20
lea rcx, [rsp + 0x408]
call fcn.140055bf0
mov r8, rax
xor edx, edx
lea rcx, [rsp + 0x408]
call fcn.14004e430
nop
mov rax, qword [rsp + 0x710]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x710]
add rax, 0x20
mov rcx, rax
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0x518]
call fcn.1400220a0
nop
lea r9, [rsp + 0x518]
lea r8, [rsp + 0x408]
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x168]
call fcn.140054cc0
nop
lea rcx, [rsp + 0x518]
call fcn.1400282e0
nop
movzx eax, byte [rsp + 0x490]
test eax, eax
je 0x14002c159
lea rax, [rsp + 0x5f8]
mov qword [rsp + 0x170], rax
lea rdx, [0x14025d1b8]
mov rcx, qword [rsp + 0x170]
call fcn.1400220a0
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0xb0]
call fcn.14007cf20
nop
lea rax, [rsp + 0x618]
mov qword [rsp + 0x180], rax
lea rdx, str.shell:appsFolder_
mov rcx, qword [rsp + 0x180]
call fcn.1400220a0
mov qword [rsp + 0x188], rax
mov rdx, qword [rsp + 0x188]
lea rcx, [rsp + 0xa8]
call fcn.14007cf20
nop
lea rax, [rsp + 0x458]
mov qword [rsp + 0x190], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x190]
call fcn.14001f4d0
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
lea rcx, [rsp + 0xa0]
call fcn.14007c510
nop
lea rax, [rsp + 0x460]
mov qword [rsp + 0x1a0], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x1a0]
call fcn.14001f4d0
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0x1c0]
call fcn.14007c510
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x1b8], rax
mov rdx, qword [rsp + 0x1b8]
lea rcx, [rsp + 0x40]
call fcn.140029d40
nop
lea rcx, [rsp + 0x1c0]
call fcn.140026cc0
nop
mov dword [rsp + 0x48], 1
lea rcx, [rsp + 0xa0]
call fcn.140013ae0
mov rdx, rax
lea rcx, [rsp + 0x578]
call fcn.1400220a0
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
lea r8, [rsp + 0x498]
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x558]
call fcn.14000c990
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x1e0]
call fcn.140047390
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140029e00
nop
lea rcx, [rsp + 0x558]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x578]
call fcn.1400282e0
nop
lea rcx, [rsp + 0xa0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xa8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xb0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x490]
call fcn.140028740
nop
lea rcx, [rsp + 0x408]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x428]
call fcn.140028740
nop
lea rcx, [rsp + 0x4b8]
call fcn.1400282e0
nop
lea rcx, [rsp + 0xb8]
call fcn.140026cc0
nop
jmp 0x14002c380
lea rcx, [rsp + 0x68]
call fcn.140013ae0
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x14002c1cf
mov dword [rsp + 0x38], 0x104
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140037050
lea r8, [0x14025833c]
lea rdx, [0x14025d1fc]
lea rcx, [rsp + 0x68]
call fcn.140037d00
lea rcx, [rsp + 0x40]
call fcn.140037000
mov qword [rsp + 0x1e8], rax
lea rcx, [rsp + 0x68]
call fcn.140013ae0
mov qword [rsp + 0x1f0], rax
mov r8d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x40]
call fcn.140013ae0
mov qword [rsp + 0x1f8], rax
xor r8d, r8d
lea rdx, [rsp + 0x1f8]
lea rcx, [rsp + 0x4d8]
call fcn.1400096d0
nop
lea rcx, [rsp + 0x4d8]
call fcn.14004e800
movzx eax, al
test eax, eax
jne 0x14002c281
mov dword [rsp + 0x4c], 1
jmp 0x14002c289
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x31], al
lea rcx, [rsp + 0x4d8]
call fcn.140029a10
movzx eax, byte [rsp + 0x31]
test eax, eax
je 0x14002c380
mov rax, qword [rsp + 0x710]
add rax, 0x28
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400af6f0
nop
lea rcx, [rsp + 0x60]
call fcn.140013ae0
mov qword [rsp + 0x200], rax
xor r8d, r8d
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x4f8]
call fcn.1400096d0
nop
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x4f8]
call fcn.14004e800
movzx eax, al
test eax, eax
je 0x14002c32d
lea rcx, [rsp + 0x60]
call fcn.140037210
test eax, eax
je 0x14002c32d
mov dword [rsp + 0x50], 1
jmp 0x14002c335
mov dword [rsp + 0x50], 0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x32], al
mov eax, dword [rsp + 0x34]
and eax, 1
test eax, eax
je 0x14002c35c
and dword [rsp + 0x34], 0xfffffffe
lea rcx, [rsp + 0x4f8]
call fcn.140029a10
nop
movzx eax, byte [rsp + 0x32]
test eax, eax
je 0x14002c375
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140029d40
nop
lea rcx, [rsp + 0x60]
call fcn.140026cc0
nop
cmp dword [rsp + 0x48], 0
je 0x14002cb5a
lea rcx, [rsp + 0x90]
call fcn.140013ae0
mov qword [rsp + 0x208], rax
lea rcx, [rsp + 0x40]
call fcn.140013ae0
mov qword [rsp + 0x210], rax
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x208]
mov r8, qword [rsp + 0x210]
lea rdx, [0x14025d208]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov qword [rsp + 0x218], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x218], 0x20
ja 0x14002c478
mov rax, qword [rsp + 0x710]
add rax, 0x20
mov rcx, rax
call fcn.140037340
movzx eax, al
test eax, eax
jne 0x14002c471
mov rax, qword [rsp + 0x710]
add rax, 0x20
mov rdx, rax
lea rcx, [rsp + 0x598]
call fcn.1400796c0
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x228], rax
mov rcx, qword [rsp + 0x228]
call fcn.140047390
mov rcx, rax
call fcn.1400d1610
nop
lea rcx, [rsp + 0x598]
call fcn.1400282e0
nop
mov byte [rsp + 0x30], 0
jmp 0x14002c47d
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x88]
call fcn.14001f6f0
nop
mov rax, qword [rsp + 0x710]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x710]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x238]
mov qword [rsp + 0x268], rax
lea rax, [rsp + 0x468]
mov qword [rsp + 0x240], rax
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x240]
call fcn.14001f4d0
mov qword [rsp + 0x248], rax
mov rdx, qword [rsp + 0x248]
lea rcx, [rsp + 0x278]
call fcn.14007c510
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
mov rcx, qword [rsp + 0x258]
call fcn.140013ae0
mov qword [rsp + 0x270], rax
movzx eax, byte [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x260]
mov r8, qword [rsp + 0x268]
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0x88]
call fcn.140036d20
nop
lea rcx, [rsp + 0x278]
call fcn.140026cc0
nop
mov rax, qword [rsp + 0x710]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x280], rax
mov rax, qword [rsp + 0x710]
add rax, 0x40
mov rdx, rax
lea rcx, [0x1402b6f60]
call fcn.140046c20
mov eax, dword [rax]
mov dword [rsp + 0x70], eax
mov r8d, dword [rsp + 0x70]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x280]
call fcn.140065c60
nop
lea rax, [rsp + 0x638]
mov qword [rsp + 0x288], rax
lea rdx, str.exec_cmd
mov rcx, qword [rsp + 0x288]
call fcn.1400220a0
mov qword [rsp + 0x290], rax
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0xf8]
call fcn.14007cf20
nop
lea rax, [rsp + 0x658]
mov qword [rsp + 0x298], rax
lea rdx, str.wnd_name_sstate_wsexec_code_dcmd_ws
mov rcx, qword [rsp + 0x298]
call fcn.1400220a0
mov qword [rsp + 0x2a0], rax
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rsp + 0xf0]
call fcn.14007cf20
nop
lea rax, [rsp + 0x678]
mov qword [rsp + 0x2a8], rax
lea rdx, [0x14025d288]
mov rcx, qword [rsp + 0x2a8]
call fcn.1400220a0
mov qword [rsp + 0x2b0], rax
mov rdx, qword [rsp + 0x2b0]
lea rcx, [rsp + 0xe8]
call fcn.14007cf20
nop
lea rax, [rsp + 0x698]
mov qword [rsp + 0x2b8], rax
lea rdx, [0x14025d298]
mov rcx, qword [rsp + 0x2b8]
call fcn.1400220a0
mov qword [rsp + 0x2c0], rax
mov rdx, qword [rsp + 0x2c0]
lea rcx, [rsp + 0xe0]
call fcn.14007cf20
nop
lea rax, [rsp + 0x6b8]
mov qword [rsp + 0x2c8], rax
lea rdx, [0x14025cba8]
mov rcx, qword [rsp + 0x2c8]
call fcn.1400220a0
mov qword [rsp + 0x2d0], rax
mov rdx, qword [rsp + 0x2d0]
lea rcx, [rsp + 0xd8]
call fcn.14007cf20
nop
lea rcx, [rsp + 0x80]
call fcn.14001f6f0
nop
lea rax, [rsp + 0x6d8]
mov qword [rsp + 0x2d8], rax
mov rax, qword [rsp + 0x710]
mov rdx, rax
mov rcx, qword [rsp + 0x2d8]
call fcn.1400796c0
mov qword [rsp + 0x2e0], rax
mov rdx, qword [rsp + 0x2e0]
lea rcx, [rsp + 0x3a0]
call fcn.14007a470
mov qword [rsp + 0x2e8], rax
mov rax, qword [rsp + 0x2e8]
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x2f0]
mov rax, qword [rax]
mov qword [rsp + 0x2f8], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x300], rax
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x370], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x470]
mov qword [rsp + 0x310], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14002c7ea
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xc0], rax
jmp 0x14002c7fa
lea rax, [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x308], rax
mov rdx, qword [rsp + 0x308]
mov rcx, qword [rsp + 0x310]
call fcn.14001f4d0
mov qword [rsp + 0x318], rax
mov rdx, qword [rsp + 0x318]
lea rcx, [rsp + 0x398]
call fcn.14007c510
mov qword [rsp + 0x320], rax
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0x328], rax
mov rax, qword [rsp + 0x328]
mov rax, qword [rax]
mov qword [rsp + 0x330], rax
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x338], rax
mov rax, qword [rsp + 0x338]
mov qword [rsp + 0x378], rax
mov rax, qword [rsp + 0x710]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0x348], rax
mov rax, qword [rsp + 0x348]
mov qword [rsp + 0x380], rax
lea rax, [rsp + 0x478]
mov qword [rsp + 0x350], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x350]
call fcn.14001f4d0
mov qword [rsp + 0x358], rax
mov rdx, qword [rsp + 0x358]
lea rcx, [rsp + 0x390]
call fcn.14007c510
mov qword [rsp + 0x360], rax
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x368], rax
mov rcx, qword [rsp + 0x368]
call fcn.140013ae0
mov qword [rsp + 0x388], rax
mov rax, qword [rsp + 0x370]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x378]
mov r8, qword [rsp + 0x380]
mov rdx, qword [rsp + 0x388]
lea rcx, [rsp + 0x80]
call fcn.140036d20
nop
lea rcx, [rsp + 0x390]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x398]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x3a0]
call fcn.140026cc0
nop
lea rdx, [0x140258340]
lea rcx, [rsp + 0xd0]
call fcn.14001f5f0
nop
lea rdx, [0x140258340]
lea rcx, [rsp + 0xc8]
call fcn.14001f5f0
nop
lea rax, [rsp + 0x480]
mov qword [rsp + 0x3a8], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x3a8]
call fcn.14001f4d0
mov qword [rsp + 0x3b0], rax
mov rdx, qword [rsp + 0x3b0]
lea rcx, [rsp + 0x400]
call fcn.14007c510
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x3c0], rax
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x3e8], rax
lea rax, [rsp + 0x488]
mov qword [rsp + 0x3c8], rax
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x3c8]
call fcn.14001f4d0
mov qword [rsp + 0x3d0], rax
mov rdx, qword [rsp + 0x3d0]
lea rcx, [rsp + 0x3f8]
call fcn.14007c510
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x3d8]
mov qword [rsp + 0x3e0], rax
mov rax, qword [rsp + 0x3e0]
mov qword [rsp + 0x3f0], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x3e8]
mov rcx, qword [rsp + 0x3f0]
call fcn.1400bf980
nop
lea rcx, [rsp + 0x3f8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x400]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xc8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xd0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x80]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xd8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xe0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xe8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xf0]
call fcn.140026cc0
nop
lea rcx, [rsp + 0xf8]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x88]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x100]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x40]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x90]
call fcn.140026cc0
nop
lea rcx, [rsp + 0x68]
call fcn.140026cc0
nop
add rsp, 0x708
ret