Function at 0x140010c26
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 [0x140262958]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.1401788d0
mov rcx, qword [r12 + 0x50]
mov qword [r12 + 0x50], rax
test rcx, rcx
je 0x140010c7b
call fcn.140173180
mov rbp, qword [r13]
mov rcx, rsi
call fcn.1401788d0
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 0x140010cbc
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 0x140010e6e
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x1401e9fb0]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.14000f460
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140010d77
mov rax, qword [r13]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
jne 0x140010d77
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140010e81
mov rdi, qword [r12 + 0x20]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140010ee8
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.140029f60
cmp byte [rsi], 0
je 0x140010eb3
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.14002a740
cmp byte [rsi], 0
je 0x140010ea1
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.140028eec
lea r9, [rsp + 0x58]
mov rcx, rdi
xor edx, edx
mov r8, rbp
call fcn.1400056f9
mov esi, eax
mov rcx, rbp
call fcn.140029078
cmp byte [rbx - 8], 0
je 0x140010e4c
mov rcx, rbx
call fcn.14000fee0
cmp byte [rsp + 0x130], 0
je 0x140010e63
lea rcx, [rsp + 0x138]
call fcn.1400039d0
test esi, esi
jne 0x140010eb3
mov rdi, qword [rsp + 0x58]
jmp 0x140010eb3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, 0x12
jmp 0x140010fc7
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 0x140010fbd
cmp byte [rsp + 0x130], 0
je 0x140010eb3
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 0x140010f74
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.14000f690
test al, al
je 0x140010f3a
mov rcx, qword [rsp + 0x60]
call fcn.14002da10
mov qword [r12 + 0x48], rax
test rax, rax
je 0x140010f57
lea rax, [r12 + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x140010f9b
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x41
jmp 0x140010fbd
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 0x140010fbd
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 0x140010fbd
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 0x140010fbd
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
mov rdx, rsi
call fcn.14000f7d0
mov rcx, r12
mov rdx, rsi
call fcn.14000f490
xor edi, edi
lea rcx, [rsp + 0x60]
call fcn.14000f5d0
test r14, r14
je 0x140010fd4
mov rcx, r14
call fcn.140173180
mov rcx, r13
call fcn.140002bbe
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14016b720
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