Function at 0x14000ef5e
Capabilities:
Create process on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x168
movaps xmmword [rsp + 0x150], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1400eb280]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.1400a2e00
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
je 0x14000efb1
call fcn.14009b054
mov r15, qword [rsi]
mov rcx, rdi
call fcn.1400a2e00
mov rdi, rax
xor r12d, r12d
cmp qword [r15 + 0xa0], 0
setne r12b
shl r12d, 0x13
or r12d, 0x40c
cmp qword [rbx + 0x30], 0
je 0x14000eff7
call fcn.14000cd20
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
mov rbp, qword [rsp + 0x1d8]
mov rax, qword [rsi]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea r8, [rsp + 0x80]
mov qword [r8 + 0x10], rdx
xorps xmm0, xmm0
movaps xmmword [r8], xmm0
add r15, 0x38
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000f1b8
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [0x1400cb8d0]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.14000d6e0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000f0b0
mov rax, qword [rsi]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
jne 0x14000f0b0
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14000f1cb
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14000f231
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
lea r15, [rsp + 0x130]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.140028380
cmp byte [r15], 0
je 0x14000f1fd
lea r12, [rsp + 0x100]
mov qword [r12 + 0x20], r13
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea r15, [rsp + 0x138]
mov rcx, r15
mov rdx, r12
call fcn.140028b10
cmp byte [r12], 0
je 0x14000f1eb
lea r8, [rbx + 0x58]
lea r13, [rsp + 0xa0]
movaps xmmword [r13 + 0x50], xmm6
movaps xmmword [r13 + 0x40], xmm6
movaps xmmword [r13 + 0x30], xmm6
movaps xmmword [r13 + 0x20], xmm6
movaps xmmword [r13 + 0x10], xmm6
movaps xmmword [r13], xmm6
lea r12, [rsp + 0x108]
mov rcx, r13
mov rdx, r12
call fcn.14002732c
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
mov r8, r13
call fcn.140010cf2
mov r15d, eax
mov rcx, r13
call fcn.1400274b2
cmp byte [r12 - 8], 0
je 0x14000f195
mov rcx, r12
call fcn.14000e160
cmp byte [rsp + 0x130], 0
je 0x14000f1ac
lea rcx, [rsp + 0x138]
call fcn.140003a30
test r15d, r15d
jne 0x14000f1fd
mov r14, qword [rsp + 0x58]
jmp 0x14000f1fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebx, 0x12
jmp 0x14000f30e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x14000f304
cmp byte [rsp + 0x130], 0
je 0x14000f1fd
mov rcx, r15
call fcn.140003a30
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x14000f2bb
lea rcx, [rbx + 0x20]
call fcn.140003a30
lea rcx, [rsp + 0x58]
call fcn.140003a30
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x60]
call fcn.14000d910
test al, al
je 0x14000f281
mov rcx, qword [rsp + 0x60]
call fcn.14002be00
mov qword [rbx + 0x48], rax
test rax, rax
je 0x14000f29e
lea rax, [rbx + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x14000f2e2
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x14000f304
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x14000f304
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x14000f304
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.140003a30
mov ebx, 0x15
jmp 0x14000f304
lea rcx, [rsp + 0x60]
lea r14, [rsp + 0xa0]
mov rdx, r14
call fcn.14000da50
mov rcx, rbx
mov rdx, r14
call fcn.14000d710
xor ebx, ebx
lea rcx, [rsp + 0x60]
call fcn.14000d850
test rdi, rdi
je 0x14000f31b
mov rcx, rdi
call fcn.14009b054
mov rcx, rsi
call fcn.140002a30
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140093e10
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x168
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret