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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb20
mov qword [rsp + 0x888], 0
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.14002e760
mov dx, 0x2e
mov rcx, qword [rsp + 0xb38]
call fcn.14000a63c
mov qword [rsp + 0x470], rax
cmp qword [rsp + 0x470], 0
jne 0x14000a2e7
xor al, al
jmp 0x14000a632
xor eax, eax
mov word [rsp + 0x50], ax
lea rax, [rsp + 0x52]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dx, 0x20
mov rcx, qword [rsp + 0x470]
call fcn.14000a63c
test rax, rax
je 0x14000a39b
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
mov dword [rsp + 0xb10], eax
mov eax, dword [rsp + 0xb10]
mov dword [rsp + 0xb14], eax
jmp 0x14000a350
mov eax, dword [rsp + 0xb14]
dec eax
mov dword [rsp + 0xb14], eax
cmp dword [rsp + 0xb14], 0
jle 0x14000a399
movsxd rax, dword [rsp + 0xb14]
mov rcx, qword [rsp + 0x470]
movzx eax, word [rcx + rax*2]
cmp eax, 0x20
jne 0x14000a397
movsxd rax, dword [rsp + 0xb14]
mov r9, rax
mov r8, qword [rsp + 0x470]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14002fc8c
jmp 0x14000a399
jmp 0x14000a340
jmp 0x14000a3c5
mov rcx, qword [rsp + 0x470]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov r9, rax
mov r8, qword [rsp + 0x470]
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14002fc8c
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x260]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsp + 0x50]
mov rdx, 0xffffffff80000000
mov rcx, qword [rsp + 0xb30]
call fcn.14000a660
test eax, eax
jne 0x14000a41a
xor al, al
jmp 0x14000a632
mov r8d, 0x3e8
xor edx, edx
lea rcx, [rsp + 0x480]
call fcn.14002e760
lea r8, [rsp + 0x260]
lea rdx, str._s_shellopencommand
lea rcx, [rsp + 0x480]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.14002e760
xor eax, eax
mov word [rsp + 0x900], ax
lea rax, [rsp + 0x902]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x900]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8, [rsp + 0x480]
mov rdx, 0xffffffff80000000
mov rcx, qword [rsp + 0xb30]
call fcn.14000a660
test eax, eax
jne 0x14000a4d7
xor al, al
jmp 0x14000a632
mov r8d, 0x104
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x900]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [0x140050910]
lea rcx, [rsp + 0x260]
call fcn.140001fa4
mov qword [rsp + 0x888], rax
cmp qword [rsp + 0x888], 0
jne 0x14000a536
lea rdx, [0x140050918]
lea rcx, [rsp + 0x260]
call fcn.140001fa4
mov qword [rsp + 0x888], rax
cmp qword [rsp + 0x888], 0
jne 0x14000a56e
lea rdx, [0x140050874]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0xb38]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
jmp 0x14000a584
mov rdx, qword [rsp + 0xb38]
mov rcx, qword [rsp + 0x888]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [rsp + 0x890], 0
lea rax, [rsp + 0x898]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov dword [rsp + 0x890], 0x68
cmp dword [rsp + 0xb40], 0
je 0x14000a5c9
lea rax, [0x140050920]
mov qword [rsp + 0x8a0], rax
jmp 0x14000a5de
mov dword [rsp + 0x8cc], 1
xor eax, eax
mov word [rsp + 0x8d0], ax
lea rax, [rsp + 0x870]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x890]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov al, 1
add rsp, 0xb20
pop rdi
ret