Function at 0x14000c400
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x210
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x180], xmm6
mov qword [rbp + 0x178], 0xfffffffffffffffe
mov qword [rbp + 0xc0], r9
mov qword [rbp + 0x120], r8
mov rbx, rdx
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rbp + 0x50], xmm6
mov qword [rbp + 0x60], 0
lea rax, str.winsta0default_C:.cargo_registry_srcindex.crates.io_6f17d22bba15001fcrossbeam_channel_0.5.8_srcwaker.rs
mov qword [rbp - 0x20], rax
lea rax, [0x14006fa7f]
mov qword [rbp - 0x18], rax
mov word [rbp - 0x10], 0
mov dword [rbp - 8], 1
mov byte [rbp + 0x175], 1
lea rcx, [rbp + 0x88]
lea rdi, [rbp - 0x20]
mov rdx, rdi
call fcn.140014f20
mov eax, dword [rbp + 0x218]
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
movaps xmmword [rbp - 0x10], xmm6
movaps xmmword [rbp - 0x20], xmm6
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0xa8], 1
movups xmmword [rbp + 0xb0], xmm6
mov r15d, 0x400
mov r12d, 0x68
mov r14b, 1
mov ecx, 1
mov qword [rbp + 0x168], rcx
test eax, eax
je 0x14000c547
mov r8d, dword [rbp + 0x220]
mov byte [rbp + 0x176], 1
mov ecx, 0x1fffff
xor edx, edx
call sub.kernel32.dll_OpenProcess
mov byte [rbp + 0x176], 1
mov rcx, rax
call fcn.1400371b0
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rdx
test rax, rax
je 0x14000ca49
lea rcx, [rbp + 0x148]
mov byte [rbp + 0x176], 1
call fcn.14000b920
xor ecx, ecx
mov eax, dword [rbp + 0x208]
mov dword [rbp - 0x20], r12d
cmp eax, 1
mov qword [rbp + 0xd8], rcx
jne 0x14000c57d
mov eax, dword [rbp + 0x210]
mov dword [rbp + 0x1c], 0x81
cmp eax, 0x10000
jae 0x14000c942
mov word [rbp + 0x20], ax
jmp 0x14000c584
mov dword [rbp + 0x1c], 0x80
mov r12, qword [rbp + 0x88]
mov qword [rbp - 0x10], r12
mov byte [rbp + 0x174], 1
lea rdx, [0x14006fa7f]
lea rcx, [rbp + 0x140]
mov r8d, 1
call fcn.1400475a0
movups xmm0, xmmword [rbp + 0x140]
movups xmm1, xmmword [rbp + 0x150]
movaps xmmword [rbp + 0x110], xmm1
movaps xmmword [rbp + 0x100], xmm0
mov rax, qword [rbp + 0x1f8]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x150], xmm1
movaps xmmword [rbp + 0x140], xmm0
lea rcx, [rbp + 0x140]
call fcn.140046ed0
mov r8, rdx
lea rcx, [rbp + 0x100]
mov rdx, rax
call fcn.140046ee0
mov rdx, qword [rbp + 0x148]
test rdx, rdx
je 0x14000c623
mov rcx, qword [rbp + 0x140]
mov r8d, 1
call fcn.14001bd80
mov rcx, qword [rbp + 0x1f0]
call fcn.140046ed0
mov rcx, rax
call fcn.140041ce0
test rax, rax
je 0x14000c6e4
mov r8, rdx
lea rcx, [rbp + 0x140]
mov rdx, rax
call fcn.1400475a0
movups xmm0, xmmword [rbp + 0x140]
movups xmm1, xmmword [rbp + 0x150]
movaps xmmword [rbp + 0xf0], xmm1
movaps xmmword [rbp + 0xe0], xmm0
lea rcx, [rbp + 0xe0]
call fcn.140046ed0
add rdx, rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rdx
mov word [rbp + 0x150], 0
mov dword [rbp + 0x158], 1
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x140]
call fcn.140014f20
mov rdx, qword [rbp + 0xe8]
test rdx, rdx
je 0x14000c6cc
mov rcx, qword [rbp + 0xe0]
mov r8d, 1
call fcn.14001bd80
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x128], rax
jmp 0x14000c6ed
xor eax, eax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0xd0], r12
mov rcx, rbx
call fcn.1400371f0
mov rbx, rax
mov rcx, qword [rbp + 0x1f0]
call fcn.140046ed0
add rdx, rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rdx
mov word [rbp + 0x150], 0
mov dword [rbp + 0x158], 1
lea rcx, [rbp + 0x68]
lea rdx, [rbp + 0x140]
call fcn.140014f20
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0x100]
call fcn.140046ed0
add rdx, rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rdx
mov word [rbp + 0x150], 0
mov dword [rbp + 0x158], 1
lea rcx, [rbp + 0xe0]
lea rdx, [rbp + 0x140]
call fcn.140014f20
mov r8, qword [rbp + 0xe0]
movzx eax, byte [rbp + 0x200]
mov rdx, qword [rbp + 0x120]
test rdx, rdx
mov rcx, qword [rbp + 0xc0]
cmove rcx, rdx
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], rdi
mov rdx, qword [rbp + 0x160]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, qword [rbp + 0xc8]
mov qword [rbp + 0xa0], r8
xor r9d, r9d
call sub.advapi32.dll_CreateProcessAsUserW
mov ecx, eax
call fcn.140037920
test rax, rax
je 0x14000c825
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
cmp qword [rbp + 0x160], 0
mov rdx, qword [rbp + 0x128]
jne 0x14000c85a
jmp 0x14000c874
mov rdi, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x58]
mov ebx, dword [rbp + 0x60]
call sub.kernel32.dll_CloseHandle
mov rcx, rdi
call fcn.14002ac60
mov dword [rsi + 8], ebx
mov qword [rsi + 0x10], rax
xor eax, eax
mov qword [rsi], rax
cmp qword [rbp + 0x160], 0
mov rdx, qword [rbp + 0x128]
je 0x14000c874
test rdx, rdx
je 0x14000c874
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x160]
call fcn.14001bd80
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x14000c892
mov rcx, qword [rbp + 0x100]
mov r8d, 1
call fcn.14001bd80
test r14b, r14b
jne 0x14000c8a3
mov rcx, qword [rbp + 0x168]
call sub.kernel32.dll_DeleteProcThreadAttributeList
mov rdx, qword [rbp + 0xb0]
test rdx, rdx
je 0x14000c8c1
mov r8d, 1
mov rcx, qword [rbp + 0x168]
call fcn.14001bd80
cmp qword [rbp + 0x130], 0
je 0x14000c8d7
lea rcx, [rbp + 0x138]
call fcn.140037200
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x14000c8f8
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0xd0]
call fcn.14001bd80
mov rdx, qword [rbp + 0xe8]
test rdx, rdx
mov rdi, qword [rbp + 0x1f0]
je 0x14000c920
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0xa0]
call fcn.14001bd80
mov rdx, qword [rbp + 0x70]
test rdx, rdx
je 0x14000ca00
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0xc8]
jmp 0x14000c9fb
mov byte [rbp + 0x174], 1
lea r8, fcn.140001aa0
mov edx, 1
mov cl, 0x27
call fcn.14003dab0
mov qword [rsi + 8], rax
mov qword [rsi], 1
test r14b, r14b
jne 0x14000c97f
mov byte [rbp + 0x176], 1
mov rcx, qword [rbp + 0x168]
call sub.kernel32.dll_DeleteProcThreadAttributeList
mov rdx, qword [rbp + 0xb0]
test rdx, rdx
je 0x14000c99d
mov r8d, 1
mov rcx, qword [rbp + 0x168]
call fcn.14001bd80
cmp qword [rbp + 0x130], 0
je 0x14000c9ba
lea rcx, [rbp + 0x138]
mov byte [rbp + 0x173], 1
call fcn.140037200
mov rdx, qword [rbp + 0x90]
test rdx, rdx
je 0x14000c9db
mov rcx, qword [rbp + 0x88]
add rdx, rdx
mov r8d, 2
call fcn.14001bd80
mov rax, qword [rbp + 0x1f8]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rdi, qword [rbp + 0x1f0]
je 0x14000ca00
mov rcx, qword [rax]
mov r8d, 1
call fcn.14001bd80
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14000ca17
mov rcx, qword [rdi]
mov r8d, 1
call fcn.14001bd80
cmp qword [rbp + 0x120], 0
je 0x14000ca2d
mov rcx, qword [rbp + 0xc0]
call sub.userenv.dll_DestroyEnvironmentBlock
mov rax, rsi
movaps xmm6, xmmword [rbp + 0x180]
add rsp, 0x210
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov qword [rbp + 0x100], rdx
mov byte [rbp + 0x177], 1
lea rcx, [rbp + 0x100]
call fcn.1400371f0
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0x160], rax
cmp qword [rbp + 0x130], 0
je 0x14000ca8e
lea rcx, [rbp + 0x138]
call fcn.140037200
mov qword [rbp + 0x130], 1
mov rax, qword [rbp + 0x160]
mov qword [rbp + 0x138], rax
mov qword [rbp + 0xe0], 0
mov byte [rbp + 0x177], 0
lea r9, [rbp + 0xe0]
xor ecx, ecx
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_InitializeProcThreadAttributeList
mov r8, qword [rbp + 0xe0]
test r8, r8
je 0x14000cba2
mov byte [rbp + 0x177], 0
lea rcx, [rbp + 0xa8]
xor edx, edx
call fcn.14006af60
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rbp + 0xe0]
mov qword [rbp + 0x48], rcx
mov qword [rbp + 0x140], rax
mov byte [rbp + 0x177], 0
lea r9, [rbp + 0x140]
mov qword [rbp + 0x168], rcx
mov edx, 1
xor r8d, r8d
call sub.kernel32.dll_InitializeProcThreadAttributeList
test eax, eax
je 0x14000c547
mov rax, qword [rbp + 0x140]
cmp rax, qword [rbp + 0xe0]
jne 0x14000c547
mov qword [rbp + 0xb8], rax
mov ecx, 0x20000
call fcn.1400395b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], 8
lea r9, [rbp + 0x80]
mov rcx, qword [rbp + 0x168]
xor edx, edx
mov r8, rax
call sub.kernel32.dll_UpdateProcThreadAttribute
test eax, eax
je 0x14000cbb3
mov r15d, 0x80400
mov r12d, 0x70
mov ecx, 1
xor r14d, r14d
jmp 0x14000c549
mov eax, 1
mov qword [rbp + 0x168], rax
jmp 0x14000c547
mov byte [rbp + 0x177], 0
mov rcx, qword [rbp + 0x168]
call sub.kernel32.dll_DeleteProcThreadAttributeList
jmp 0x14000c547