Function at 0x1400b16f0
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, 0x148
movaps xmmword [rsp + 0x130], xmm7
movaps xmmword [rsp + 0x120], xmm6
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r12, rcx
mov rax, qword [0x140174028]
xor rax, rsp
mov qword [rsp + 0x118], rax
mov rcx, rdx
call fcn.1400bba30
mov rdx, qword [r12 + 0x48]
mov qword [r12 + 0x48], rax
test rdx, rdx
jne 0x1400b1d04
mov r13, qword [r14]
mov rcx, rdi
call fcn.1400bba30
xor edi, edi
cmp qword [r13 + 0xa0], 0
mov rbx, rax
setne r9b
xorps xmm6, xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov qword [rsp + 0xf0], 0
mov rdx, qword [r14]
cmp byte [rdx + 0x21], 0
je 0x1400b190b
mov byte [rsp + 0x67], r9b
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], r14
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
je 0x1400b1cba
xorps xmm7, xmm7
movaps xmmword [rsp + 0xc0], xmm7
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x78], rax
movzx eax, word [rax]
test ax, ax
je 0x1400b1914
lea r12, [rsp + 0x100]
lea r15, str.Path
lea r13, [rsp + 0xc0]
lea rbx, str.Path
mov rbp, qword [rsp + 0x78]
jmp 0x1400b18ed
movzx eax, word [rsi + rdi*2 + 2]
inc rdi
add rbp, 2
test ax, ax
je 0x1400b1839
movzx eax, ax
cmp eax, 0x3d
jne 0x1400b1820
mov rcx, r12
mov rdx, rsi
mov r8, rdi
call fcn.14001d440
nop word [rax + rax]
inc rdi
cmp word [rbp], 0
lea rbp, [rbp + 2]
jne 0x1400b1850
movzx r14d, byte [rsp + 0x117]
mov eax, r14d
and eax, 0x7f
test r14b, r14b
cmovs rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x100]
cmovns rcx, r12
mov rdx, r15
jmp 0x1400b1899
add rdx, 0x10
cmp rdx, rbx
je 0x1400b18d2
cmp qword [rdx + 8], rax
jne 0x1400b1890
test rax, rax
je 0x1400b18c4
mov r8, qword [rdx]
xor r9d, r9d
nop word [rax + rax]
movzx r10d, word [r8 + r9*2]
cmp r10w, word [rcx + r9*2]
jne 0x1400b1890
inc r9
cmp rax, r9
jne 0x1400b18b0
mov rcx, r13
mov rdx, rsi
mov r8, rdi
call fcn.14001d550
test r14b, r14b
jns 0x1400b18e4
mov rcx, qword [rsp + 0x100]
call fcn.1400bab7c
movzx eax, word [rbp]
test ax, ax
je 0x1400b1914
mov rsi, rbp
movaps xmmword [rsp + 0x100], xmm7
mov qword [rsp + 0x110], 0
xor edi, edi
jmp 0x1400b182c
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x1400b198c
lea rdi, [rsp + 0xc0]
mov rcx, rdi
xor edx, edx
call fcn.140089d20
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0xf0], rax
movaps xmm0, xmmword [rdi]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov r14, qword [rsp + 0x70]
mov rdx, qword [r14]
mov r8b, byte [rsp + 0xf7]
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov r13, qword [rsp + 0x80]
xor edi, edi
mov r9b, byte [rsp + 0x67]
mov r15, qword [rsp + 0x1b8]
mov dil, r9b
shl edi, 0x13
or edi, 0x40c
movzx edx, byte [rdx + 0x20]
xor r9d, r9d
lea r10, [rsp + 0xc0]
mov qword [r10 + 0x10], r9
add r13, 0x38
mov r11d, r8d
and r11b, 0x7f
test r8b, r8b
movzx r8d, r11b
cmovs r8, rcx
movaps xmmword [r10], xmm6
lea r11, [rsp + 0xe0]
cmovs r11, rax
test r8, r8
cmove r11, r8
mov rcx, qword [r12 + 0x18]
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
mov rdx, rsi
mov r8, rbx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400b1cce
xorps xmm0, xmm0
lea rdi, [rsp + 0xa0]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
lea rdx, [rsp + 0xc0]
mov rcx, rdi
call fcn.140017b70
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x98]
mov qword [rcx], rax
mov rdx, qword [r12 + 0x20]
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x1400b1caf
mov rdx, qword [rsp + 0xa8]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x100]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14015bb90]
movaps xmmword [rdi], xmm0
mov rcx, rdi
mov r8b, 1
xor r9d, r9d
call fcn.14001d710
cmp byte [rdi], 0
je 0x1400b1c74
lea rdi, [rsp + 0x108]
mov rcx, rdi
call fcn.14001d7e0
mov ebp, eax
cmp byte [rdi - 8], 0
je 0x1400b1ac4
mov rcx, rdi
call fcn.14001efe0
test bpl, bpl
jne 0x1400b1c74
mov rdi, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0xa0]
mov rdx, rdi
call fcn.140018660
test al, al
je 0x1400b1c51
lea rdx, [rdi + 8]
mov rcx, qword [rsp + 0xa8]
call fcn.140018660
test al, al
je 0x1400b1c51
mov eax, dword [rsp + 0xb0]
mov dword [rdi + 0x10], eax
mov eax, dword [rsp + 0xb4]
mov dword [rdi + 0x14], eax
mov rcx, qword [rsp + 0xa0]
call fcn.14001d8d0
mov qword [r12 + 0x40], rax
test rax, rax
je 0x1400b1ce1
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x1400b1c95
mov rsi, qword [rsp + 0xa0]
mov qword [rsp + 0xa0], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400b1b68
call fcn.140080200
mov qword [rsp + 0x100], rsi
mov rsi, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400b1b93
call fcn.140080200
lea rdx, [rsp + 0x100]
mov qword [rdx + 8], rsi
mov rax, qword [rsp + 0xb0]
mov qword [rdx + 0x10], rax
mov qword [rsp + 0xb0], 0
mov rcx, r12
call fcn.140017b70
xor edi, edi
lea rcx, [rsp + 0xa0]
call fcn.14001bfc0
cmp byte [rsp + 0xf7], 0
jns 0x1400b1be5
mov rcx, qword [rsp + 0xe0]
call fcn.1400bab7c
test rbx, rbx
je 0x1400b1bfc
lea rcx, fcn.140080350
mov rdx, rbx
xor r8d, r8d
call fcn.140089ea0
mov rbx, qword [r14]
mov qword [r14], 0
test rbx, rbx
je 0x1400b1c1b
mov rcx, rbx
call fcn.14001d640
mov rcx, rbx
call fcn.1400bab7c
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.1400bce30
mov eax, edi
movaps xmm6, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
add rsp, 0x148
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 [r15], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x1400b1bc1
mov dword [r15], 0x542
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x15
jmp 0x1400b1bc1
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x41
jmp 0x1400b1bc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
jmp 0x1400b1c7b
mov edi, 0x46
mov r14, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
jmp 0x1400b1be5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, 0x12
jmp 0x1400b1bce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0xa0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x1400b1bc1
lea rcx, fcn.140080350
xor r8d, r8d
call fcn.140089ea0
jmp 0x1400b174c