Function at 0x1400135e6
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 [0x140222818]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.140147120
mov rcx, qword [r12 + 0x50]
mov qword [r12 + 0x50], rax
test rcx, rcx
je 0x14001363b
call fcn.14014212c
mov rbp, qword [r13]
mov rcx, rsi
call fcn.140147120
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 0x14001367c
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 0x14001382e
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x1401b68c0]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.140011e20
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x140013737
mov rax, qword [r13]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
jne 0x140013737
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140013841
mov rdi, qword [r12 + 0x20]
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400138a8
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.14002d430
cmp byte [rsi], 0
je 0x140013873
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.14002dc10
cmp byte [rsi], 0
je 0x140013861
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.14002c3bc
lea r9, [rsp + 0x58]
mov rcx, rdi
xor edx, edx
mov r8, rbp
call fcn.1400056f9
mov esi, eax
mov rcx, rbp
call fcn.14002c548
cmp byte [rbx - 8], 0
je 0x14001380c
mov rcx, rbx
call fcn.1400128a0
cmp byte [rsp + 0x130], 0
je 0x140013823
lea rcx, [rsp + 0x138]
call fcn.1400039d0
test esi, esi
jne 0x140013873
mov rdi, qword [rsp + 0x58]
jmp 0x140013873
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, 0x12
jmp 0x140013987
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 0x14001397d
cmp byte [rsp + 0x130], 0
je 0x140013873
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 0x140013934
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.140012050
test al, al
je 0x1400138fa
mov rcx, qword [rsp + 0x60]
call fcn.140030ee0
mov qword [r12 + 0x48], rax
test rax, rax
je 0x140013917
lea rax, [r12 + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x14001395b
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x41
jmp 0x14001397d
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 0x14001397d
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 0x14001397d
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 0x14001397d
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
mov rdx, rsi
call fcn.140012190
mov rcx, r12
mov rdx, rsi
call fcn.140011e50
xor edi, edi
lea rcx, [rsp + 0x60]
call fcn.140011f90
test r14, r14
je 0x140013994
mov rcx, r14
call fcn.14014212c
mov rcx, r13
call fcn.140002bbe
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14013a2d0
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