Function at 0x1400edc16
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 rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401e5d38]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.14016f5d4
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
je 0x1400edc69
call fcn.140172e00
mov r15, qword [rsi]
mov rcx, rdi
call fcn.14016f5d4
mov rdi, rax
xor r12d, r12d
cmp qword [r15 + 0xa0], 0
setne r12b
shl r12d, 0x13
or r12d, 0x40c
cmp qword [rbx + 0x30], 0
je 0x1400edcaf
call fcn.14005c6e0
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
mov rbp, qword [rsp + 0x1d8]
mov rax, qword [rsi]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea r8, [rsp + 0x80]
mov qword [r8 + 0x10], rdx
xorps xmm0, xmm0
movaps xmmword [r8], xmm0
add r15, 0x38
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400ede70
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x80]
call fcn.1400ed6c0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400edd68
mov rax, qword [rsi]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
jne 0x1400edd68
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x1400ede83
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400edee9
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
lea r15, [rsp + 0x130]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.1400835a0
cmp byte [r15], 0
je 0x1400edeb5
lea r12, [rsp + 0x100]
mov qword [r12 + 0x20], r13
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea r15, [rsp + 0x138]
mov rcx, r15
mov rdx, r12
call fcn.140083bf0
cmp byte [r12], 0
je 0x1400edea3
lea r8, [rbx + 0x58]
lea r13, [rsp + 0xa0]
movaps xmmword [r13 + 0x50], xmm6
movaps xmmword [r13 + 0x40], xmm6
movaps xmmword [r13 + 0x30], xmm6
movaps xmmword [r13 + 0x20], xmm6
movaps xmmword [r13 + 0x10], xmm6
movaps xmmword [r13], xmm6
lea r12, [rsp + 0x108]
mov rcx, r13
mov rdx, r12
call fcn.14010bb78
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
mov r8, r13
call fcn.1400eefa2
mov r15d, eax
mov rcx, r13
call fcn.14010bd02
cmp byte [r12 - 8], 0
je 0x1400ede4d
mov rcx, r12
call fcn.14003f830
cmp byte [rsp + 0x130], 0
je 0x1400ede64
lea rcx, [rsp + 0x138]
call fcn.14000cf40
test r15d, r15d
jne 0x1400edeb5
mov r14, qword [rsp + 0x58]
jmp 0x1400edeb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebx, 0x12
jmp 0x1400edfc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x1400edfbc
cmp byte [rsp + 0x130], 0
je 0x1400edeb5
mov rcx, r15
call fcn.14000cf40
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x1400edf73
lea rcx, [rbx + 0x20]
call fcn.14000cf40
lea rcx, [rsp + 0x58]
call fcn.14000cf40
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x60]
call fcn.1400ed8f0
test al, al
je 0x1400edf39
mov rcx, qword [rsp + 0x60]
call fcn.14010de5d
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1400edf56
lea rax, [rbx + 0x48]
lea rcx, [0x140000000]
cmp qword [rax], rcx
je 0x1400edf9a
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x1400edfbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x1400edfbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x1400edfbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x58]
call fcn.14000cf40
mov ebx, 0x15
jmp 0x1400edfbc
lea rcx, [rsp + 0x60]
lea r14, [rsp + 0xa0]
mov rdx, r14
call fcn.1400eda30
mov rcx, rbx
mov rdx, r14
call fcn.1400ed6f0
xor ebx, ebx
lea rcx, [rsp + 0x60]
call fcn.1400ed830
test rdi, rdi
je 0x1400edfd3
mov rcx, rdi
call fcn.140172e00
mov rcx, rsi
xor edx, edx
call fcn.1400ee520
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140154030
mov eax, ebx
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