Function at 0x140001a80
Capabilities:
Create pipe
Create process on windows
Create thread
Impersonate user
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xf40]
mov eax, 0x1040
call fcn.140016190
sub rsp, rax
mov rax, qword [0x140022008]
xor rax, rsp
mov qword [rbp + 0xf30], rax
mov rbx, rcx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140001ac0
inc r8
lea rcx, [rbp + 0xb30]
call fcn.1400063d8
movabs rax, 0x200063002f
lea rcx, [rbp + 0x338]
xor edx, edx
mov qword [rbp + 0x330], rax
mov r8d, 0x7f8
call fcn.140003000
lea r8, [rbp + 0xb30]
mov edx, 0x200
lea rcx, [rbp + 0x330]
call fcn.140006a0c
xorps xmm0, xmm0
mov qword [rsp + 0x70], 0x18
xor eax, eax
mov qword [rbp - 0x80], 1
xor r14d, r14d
mov qword [rbp], rax
mov r9d, 0x400
mov qword [rbp - 0x68], rax
lea r8, [rsp + 0x70]
mov qword [rsp + 0x78], r14
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov r9, qword [rsp + 0x60]
lea r8, [0x140001070]
mov edi, eax
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x58]
xor edx, edx
mov qword [rbp], rax
xor ecx, ecx
mov qword [rbp - 8], rax
lea rax, str.WinSta0Default
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x24], 0x101
mov word [rbp - 0x20], r14w
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea r8, [rsp + 0x50]
mov edx, 0x2000000
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x140001bdc
lea eax, [r14 + 1]
jmp 0x140001c9a
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x1a0]
call fcn.140001140
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x1a0]
mov ebx, eax
call fcn.1400012e0
test ebx, eax
je 0x140001c9a
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140001c9a
lea rcx, str.___Token_Duplicated_n
call fcn.140001010
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea r9, [rbp + 0x330]
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r8, str.C:WindowsSystem32cmd.exe
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x8000000
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x140001cc1
lea rcx, str.____FAIL
call fcn.140001010
mov rcx, qword [rbp + 0xf30]
xor rcx, rsp
call fcn.140001f10
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test edi, edi
je 0x140001cd1
lea rcx, str.___CreatePipe_success_n
call fcn.140001010
lea rdx, [rbp + 0x330]
lea rcx, str.___Command_:__c:WindowsSystem32cmd.exe____S__n
call fcn.140001010
mov edx, dword [rbp - 0x68]
lea rcx, str.___Process_with_pid:__d_created._n_n_n
call fcn.140001010
mov ecx, 1
call fcn.140006594
mov rcx, rax
call fcn.1400069a4
mov rcx, qword [rbp - 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call fcn.1400060f0
int3