Function at 0x1400c1602
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, 0x148
mov ebp, r9d
mov rsi, r8
mov rbx, rdx
mov r13, rcx
mov rdi, qword [rsp + 0x1b0]
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rcx, rdx
call fcn.14013795c
mov rcx, qword [r13 + 0x50]
mov qword [r13 + 0x50], rax
test rcx, rcx
je 0x1400c1655
call fcn.14013b290
mov rcx, rsi
call fcn.14013795c
mov r12, rax
xor eax, eax
xor esi, esi
cmp qword [rdi + 0x70], rax
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [r13 + 0x30], rax
je 0x1400c168c
call fcn.14006c710
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
mov r14, qword [rsp + 0x1c0]
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
xor edx, edx
mov qword [rax + 0x10], rdx
add rdi, 8
movzx ebp, bpl
mov rcx, qword [r13 + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdx
mov rdx, rbx
mov r8, r12
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400c1802
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], rsi
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x80]
call fcn.14009cd30
mov rcx, qword [r13 + 0x30]
test rcx, rcx
je 0x1400c172d
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400c1815
mov rbx, qword [r13 + 0x20]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400c190a
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0xb0]
mov qword [r8], rsi
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400c18d6
mov rdx, qword [rsp + 0xb0]
lea rbp, [rsp + 0xa0]
mov qword [rbp], 0
mov rcx, rbp
call fcn.140001fa0
mov r14, qword [rbp]
mov ecx, 0x4c
call fcn.140120368
mov rbp, rax
xor edi, edi
mov r8d, 0x4c
mov rcx, rax
xor edx, edx
call fcn.1401236f0
lea rax, [rsp + 0xac]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov edx, 0x1f
mov r8, rbp
mov r9d, 0x4c
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400c1835
mov r15, qword [rbp]
test r15, r15
je 0x1400c183a
mov ecx, 0x44
call fcn.140120368
mov r14, rax
mov rcx, rax
mov rdx, r15
call fcn.1400bbd8c
mov dil, 1
jmp 0x1400c183f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov edi, 0x12
jmp 0x1400c19c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x1400c19b6
xor r14d, r14d
jmp 0x1400c183f
xor r14d, r14d
xor edi, edi
mov rcx, rbp
call fcn.1401203c4
lea rcx, [rsp + 0xa0]
call fcn.140002000
test dil, dil
je 0x1400c18b5
lea rbp, [r13 + 0x58]
lea r15, [rsp + 0xb0]
mov r8d, 0x90
mov rcx, r15
mov dl, 0xaa
call fcn.1401236f0
mov rcx, r15
mov rdx, r14
mov r8, rbp
call fcn.1400c1dec
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rcx, rbx
xor edx, edx
mov r8, r15
xor r9d, r9d
call fcn.140091dec
test eax, eax
sete sil
mov rcx, r15
call fcn.1400c1f9c
jmp 0x1400c18b7
xor esi, esi
test r14, r14
je 0x1400c18c4
mov rcx, r14
call fcn.1401203c4
test sil, sil
mov r14, qword [rsp + 0x1c0]
je 0x1400c18d6
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x1400c1991
lea rcx, [r13 + 0x20]
call fcn.140002000
lea rcx, [rsp + 0x58]
call fcn.140002000
mov rcx, qword [rsp + 0x1b8]
lea rdx, [rsp + 0x60]
call fcn.14009cf20
test al, al
je 0x1400c1957
mov rcx, qword [rsp + 0x60]
call fcn.1400bd978
mov qword [r13 + 0x48], rax
test rax, rax
je 0x1400c1974
lea rcx, [rsp + 0x60]
lea rbx, [rsp + 0xb0]
mov rdx, rbx
call fcn.14009d020
mov rcx, r13
mov rdx, rbx
call fcn.14009cd80
xor edi, edi
jmp 0x1400c19b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x1400c19b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x1400c19b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.140002000
mov edi, 0x15
lea rcx, [rsp + 0x60]
call fcn.14009cde0
test r12, r12
je 0x1400c19cd
mov rcx, r12
call fcn.14013b290
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret