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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x47]
sub rsp, 0xb0
mov rsi, rcx
mov r13b, r9b
mov rcx, rdx
mov rbx, r8
mov r12, rdx
call fcn.1402fa7e0
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], rax
test rcx, rcx
je 0x1402c4919
call fcn.14001cb60
mov rcx, rbx
call fcn.1402fa7e0
mov r15, qword [rbp + 0x6f]
mov rbx, rax
mov rax, qword [r15 + 0x68]
neg rax
sbb edi, edi
and edi, 0x80000
add edi, 0x40c
cmp qword [rsi + 0x30], 0
mov r14d, edi
je 0x1402c4956
call fcn.14002da50
cmp eax, 5
jge 0x1402c4956
bts r14d, 0x18
xor eax, eax
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x50], rcx
xor r9d, r9d
mov rcx, qword [rsi + 0x18]
mov r8, rbx
mov qword [rsp + 0x48], r15
mov rdx, r12
xor r15d, r15d
mov qword [rbp - 0x19], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
movzx eax, r13b
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1402c49bd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
lea edi, [r15 + 0x12]
mov dword [rcx], eax
jmp 0x1402c4aff
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x31]
call fcn.14030c830
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1402c4a03
mov rdx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1402c4a03
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x1402c4af6
lea rdi, [rsi + 0x20]
mov rdx, qword [rdi]
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402c4a7a
mov rax, qword [rbp - 0x29]
lea rcx, [rbp + 0x6f]
mov qword [rbp + 0x6f], rax
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x1402c4a4c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x15
jmp 0x1402c4af6
mov rax, qword [rdi]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1402c4a7a
call fcn.14002ddc0
mov r8, qword [rbp + 0x47]
mov r9, rax
mov rcx, qword [rdi]
mov rdx, rdi
call fcn.14002e980
mov rcx, qword [rdi]
call fcn.14002e070
mov qword [rdi], r15
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp - 0x31]
call fcn.14030ca90
test al, al
jne 0x1402c4aaa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x1402c4af6
mov rcx, qword [rbp - 0x31]
call fcn.1402caf20
mov qword [rsi + 0x48], rax
test rax, rax
jne 0x1402c4adb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x7f]
xor edx, edx
mov dword [rcx], eax
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x1402c4af6
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x31]
call fcn.14030cb70
mov rdx, rax
mov rcx, rsi
call fcn.14030cb10
mov edi, r15d
lea rcx, [rbp - 0x31]
call fcn.14030c8c0
test rbx, rbx
je 0x1402c4b0c
mov rcx, rbx
call fcn.14001cb60
lea r11, [rsp + 0xb0]
mov eax, edi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret