Function at 0x1400ea3a0
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, 0x178
movaps xmmword [rsp + 0x160], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x1401ec028]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rcx, rdx
call fcn.140156cb0
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
jne 0x1400ea692
mov r15, qword [rsi]
mov rcx, rdi
call fcn.140156cb0
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 0x1400ea438
call fcn.140117b70
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
mov r13, qword [rsp + 0x1e8]
mov rax, qword [rsi]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea r8, [rsp + 0x90]
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 0x1400ea69c
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x1401c9ef0]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x90]
call fcn.1400e9040
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400ea4e2
mov rax, qword [rsi]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
je 0x1400ea6ad
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400ea5cb
mov qword [rsp + 0x68], 0
mov rdx, qword [rsp + 0x70]
lea r15, [rsp + 0x140]
mov qword [r15 + 0x10], rbp
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.1400f27f0
cmp byte [r15], 0
je 0x1400ea56b
lea r12, [rsp + 0x110]
mov qword [r12 + 0x20], rbp
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea r15, [rsp + 0x148]
mov rcx, r15
mov rdx, r12
call fcn.1400f2e50
cmp byte [r12], 0
jne 0x1400ea6e1
cmp byte [rsp + 0x140], 0
je 0x1400ea56b
mov rcx, r15
call fcn.1400f27c0
mov rax, qword [rsp + 0x78]
lea rcx, [rsp + 0xb0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ebp, eax
test eax, eax
je 0x1400ea776
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jb 0x1400ea5b1
call fcn.140119620
mov rcx, qword [rbx + 0x20]
call fcn.140124bd0
mov qword [rbx + 0x20], 0
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 2
jae 0x1400ea792
test ebp, ebp
je 0x1400ea7a6
mov rcx, qword [rsp + 0x1e0]
lea rdx, [rsp + 0x70]
call fcn.1400e9240
test al, al
je 0x1400ea7b0
mov rcx, qword [rsp + 0x70]
call fcn.1400f95a0
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1400ea7d1
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x1400ea7f2
lea rcx, [rsp + 0x70]
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.1400e9380
mov rcx, rbx
mov rdx, r14
call fcn.1400e9070
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.1400e9170
test rdi, rdi
je 0x1400ea645
mov rcx, rdi
call fcn.140117bf0
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x1400ea664
mov rcx, rdi
call fcn.1400e88d0
mov rcx, rdi
call fcn.14013a790
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14013bb80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x160]
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140117bf0
jmp 0x1400ea3f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x12
jmp 0x1400ea638
mov rdx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1400ea4e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x14
jmp 0x1400ea62e
lea r8, [rbx + 0x58]
lea r12, [rsp + 0xb0]
movaps xmmword [r12 + 0x50], xmm6
movaps xmmword [r12 + 0x40], xmm6
movaps xmmword [r12 + 0x30], xmm6
movaps xmmword [r12 + 0x20], xmm6
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea rbp, [rsp + 0x118]
mov rcx, r12
mov rdx, rbp
call fcn.1401a09b0
lea r9, [rsp + 0x68]
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.14018e8a0
mov dword [rsp + 0x64], eax
mov rcx, r12
call fcn.1401a0b50
cmp byte [rbp - 8], 0
je 0x1400ea74f
mov rcx, rbp
call fcn.1400e9d80
cmp byte [rsp + 0x140], 0
je 0x1400ea761
mov rcx, r15
call fcn.1400f27c0
cmp dword [rsp + 0x64], 0
jne 0x1400ea56b
mov r14, qword [rsp + 0x68]
jmp 0x1400ea56b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400ea5b1
call fcn.140119620
mov rcx, qword [rsp + 0x68]
call fcn.140124bd0
jmp 0x1400ea5c3
mov ebx, 0x15
jmp 0x1400ea62e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x17
jmp 0x1400ea62e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x2b
jmp 0x1400ea62e
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x1400ea62e