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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401c6b58]
xor rax, rsp
mov qword [rsp + 0x108], rax
mov rcx, rdx
call fcn.140164248
mov rcx, qword [rbx + 0x48]
mov qword [rbx + 0x48], rax
test rcx, rcx
je 0x1400f1e85
call fcn.140167d00
mov r12, qword [rsi]
mov rcx, rdi
call fcn.140164248
mov rdi, rax
xor ebp, ebp
cmp qword [r12 + 0xa0], 0
setne r13b
xorps xmm6, xmm6
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov rcx, qword [rsi]
call fcn.1400f18da
test al, al
je 0x1400f1f6b
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400f2185
mov r15, rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rbx
lea r8, [rsp + 0xc0]
mov qword [r8], 7
lea rax, str.Path
mov qword [r8 + 8], rax
lea rcx, [rsp + 0xf0]
mov rdx, r15
call fcn.1400f228a
test byte [rsp + 0xd0], 1
je 0x1400f1f26
mov rcx, qword [rsp + 0xe0]
call fcn.140148278
mov r14, rdi
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0xd0], xmm0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov dl, byte [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe0]
jmp 0x1400f1f7e
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], rbx
mov r14, rdi
xor eax, eax
xor ecx, ecx
xor edx, edx
mov bpl, r13b
shl ebp, 0x13
or ebp, 0x40c
mov qword [rsp + 0x60], rsi
mov r8, qword [rsi]
movzx r13d, byte [r8 + 0x20]
xor r15d, r15d
lea rdi, [rsp + 0xa0]
mov qword [rdi + 0x10], r15
add r12, 0x38
mov r8d, edx
shr r8b, 1
test dl, 1
movzx edx, r8b
cmovne rdx, rcx
movaps xmmword [rdi], xmm6
lea rsi, [rsp + 0xd2]
cmovne rsi, rax
test rdx, rdx
cmove rsi, rdx
mov rbx, qword [rsp + 0x70]
lea rcx, [rbx + 0x18]
call fcn.140040c90
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r15
mov rcx, rax
mov rdx, qword [rsp + 0x68]
mov rdi, r14
mov r8, r14
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400f2143
mov r12, qword [rsp + 0x198]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x80]
mov qword [r14 + 0x10], r15
movaps xmm6, xmmword [section..rdata]
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0xa0]
mov rcx, r14
call fcn.1400f1910
mov rax, qword [r14 + 8]
lea r14, [rsp + 0x78]
mov qword [r14], rax
lea rcx, [rbx + 0x20]
call fcn.140040c90
mov rcx, r14
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x1400f215f
mov rdx, qword [rsp + 0x88]
lea r14, [rsp + 0xf0]
mov qword [r14 + 0x10], r15
movaps xmmword [r14], xmm6
mov rcx, r14
mov r8b, 1
xor r9d, r9d
call fcn.1400d5f40
cmp byte [r14], 0
je 0x1400f218c
lea r14, [rsp + 0xf8]
mov rcx, r14
call fcn.1400d6c60
mov ebp, eax
cmp byte [r14 - 8], 0
je 0x1400f20d3
mov rcx, r14
call fcn.140002f50
test bpl, bpl
mov rsi, qword [rsp + 0x60]
jne 0x1400f2191
mov rcx, qword [rsp + 0x190]
lea rdx, [rsp + 0x80]
call fcn.1400f1b40
test al, al
je 0x1400f2217
mov rcx, qword [rsp + 0x80]
call fcn.1401157d5
mov qword [rbx + 0x40], rax
test rax, rax
je 0x1400f223b
lea rax, [rbx + 0x40]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x1400f225f
mov rcx, qword [rsp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x1400f21ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x198]
mov dword [rcx], eax
mov ebx, 0x12
mov rsi, qword [rsp + 0x60]
jmp 0x1400f21bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x15
mov rsi, qword [rsp + 0x60]
jmp 0x1400f21ae
mov ebx, 0x46
jmp 0x1400f21d2
mov rsi, qword [rsp + 0x60]
mov dword [r12], 0x542
mov rcx, qword [rsp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x15
lea rcx, [rsp + 0x80]
call fcn.1400f1a80
test byte [rsp + 0xd0], 1
je 0x1400f21d2
mov rcx, qword [rsp + 0xe0]
call fcn.140148278
test rdi, rdi
je 0x1400f21df
mov rcx, rdi
call fcn.140167d00
mov rcx, rsi
xor edx, edx
call fcn.1400f2c9c
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140148650
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x1400f21ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x1400f21ae
lea rcx, [rsp + 0x80]
lea r14, [rsp + 0xf0]
mov rdx, r14
call fcn.1400f1c80
mov rcx, rbx
mov rdx, r14
call fcn.1400f1940
xor ebx, ebx
jmp 0x1400f21ae