Function at 0x140010c96
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 r13, r9
mov rsi, r8
mov rdi, rdx
mov r12, rcx
mov rax, qword [0x1402708c0]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.140180d14
mov rcx, qword [r12 + 0x50]
mov qword [r12 + 0x50], rax
test rcx, rcx
je 0x140010ceb
call fcn.14017afa0
mov rbp, qword [r13]
mov rcx, rsi
call fcn.140180d14
mov r14, rax
xor esi, esi
cmp qword [rbp + 0xa0], 0
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [r12 + 0x30], 0
je 0x140010d2c
call fcn.140004e20
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovge ecx, esi
mov esi, ecx
mov r15, qword [rsp + 0x1d8]
mov rax, qword [r13]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea rbx, [rsp + 0x80]
mov qword [rbx + 0x10], rdx
xorps xmm0, xmm0
movaps xmmword [rbx], xmm0
add rbp, 0x38
mov rcx, qword [r12 + 0x18]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rbp
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, rdi
mov r8, r14
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140010ede
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x1401f3fe0]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.14000f4d0
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140010de7
mov rax, qword [r13]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
jne 0x140010de7
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140010ef1
mov rdi, qword [r12 + 0x20]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140010f58
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
lea rsi, [rsp + 0x130]
mov qword [rsi + 0x10], rbp
movaps xmmword [rsi], xmm6
mov rcx, rsi
xor r8d, r8d
call fcn.140029950
cmp byte [rsi], 0
je 0x140010f23
lea rsi, [rsp + 0x100]
mov qword [rsi + 0x20], rbp
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rbx, [rsp + 0x138]
mov rcx, rbx
mov rdx, rsi
call fcn.14002a130
cmp byte [rsi], 0
je 0x140010f11
lea r8, [r12 + 0x58]
lea rbp, [rsp + 0xa0]
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rbx, [rsp + 0x108]
mov rcx, rbp
mov rdx, rbx
call fcn.1400288dc
lea r9, [rsp + 0x58]
mov rcx, rdi
xor edx, edx
mov r8, rbp
call fcn.1400056f9
mov esi, eax
mov rcx, rbp
call fcn.140028a68
cmp byte [rbx - 8], 0
je 0x140010ebc
mov rcx, rbx
call fcn.14000ff50
cmp byte [rsp + 0x130], 0
je 0x140010ed3
lea rcx, [rsp + 0x138]
call fcn.1400039d0
test esi, esi
jne 0x140010f23
mov rdi, qword [rsp + 0x58]
jmp 0x140010f23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, 0x12
jmp 0x140011037
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x14001102d
cmp byte [rsp + 0x130], 0
je 0x140010f23
mov rcx, rbx
call fcn.1400039d0
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x140010fe4
lea rcx, [r12 + 0x20]
call fcn.1400039d0
lea rcx, [rsp + 0x58]
call fcn.1400039d0
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x60]
call fcn.14000f700
test al, al
je 0x140010faa
mov rcx, qword [rsp + 0x60]
call fcn.14002d400
mov qword [r12 + 0x48], rax
test rax, rax
je 0x140010fc7
lea rax, [r12 + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x14001100b
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x41
jmp 0x14001102d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x14001102d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x14001102d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.1400039d0
mov edi, 0x15
jmp 0x14001102d
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
mov rdx, rsi
call fcn.14000f840
mov rcx, r12
mov rdx, rsi
call fcn.14000f500
xor edi, edi
lea rcx, [rsp + 0x60]
call fcn.14000f640
test r14, r14
je 0x140011044
mov rcx, r14
call fcn.14017afa0
mov rcx, r13
call fcn.140002bbe
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140173230
mov eax, edi
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