Function at 0x140073fa0
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 [0x140166028]
xor rax, rsp
mov qword [rsp + 0x158], rax
mov rcx, rdx
call fcn.1400de6c0
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
jne 0x140074292
mov r15, qword [rsi]
mov rcx, rdi
call fcn.1400de6c0
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 0x140074038
call fcn.1400a1940
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 0x14007429c
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x10], rbp
movaps xmm6, xmmword [0x14014b720]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0x90]
call fcn.140072c40
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400740e2
mov rax, qword [rsi]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
je 0x1400742ad
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400741cb
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.14007c410
cmp byte [r15], 0
je 0x14007416b
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.14007ca70
cmp byte [r12], 0
jne 0x1400742e1
cmp byte [rsp + 0x140], 0
je 0x14007416b
mov rcx, r15
call fcn.14007c3e0
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 0x140074376
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jb 0x1400741b1
call fcn.1400a33d0
mov rcx, qword [rbx + 0x20]
call fcn.1400ae980
mov qword [rbx + 0x20], 0
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 2
jae 0x140074392
test ebp, ebp
je 0x1400743a6
mov rcx, qword [rsp + 0x1e0]
lea rdx, [rsp + 0x70]
call fcn.140072e40
test al, al
je 0x1400743b0
mov rcx, qword [rsp + 0x70]
call fcn.1400841b0
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1400743d1
lea rcx, [0x140000000]
cmp rax, rcx
jne 0x1400743f2
lea rcx, [rsp + 0x70]
lea r14, [rsp + 0xb0]
mov rdx, r14
call fcn.140072f80
mov rcx, rbx
mov rdx, r14
call fcn.140072c70
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.140072d70
test rdi, rdi
je 0x140074245
mov rcx, rdi
call fcn.1400a19c0
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x140074264
mov rcx, rdi
call fcn.1400724d0
mov rcx, rdi
call fcn.1400c46a0
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400c59b0
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.1400a19c0
jmp 0x140073ff2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov ebx, 0x12
jmp 0x140074238
mov rdx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1400740e2
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 0x14007422e
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.1401270b0
lea r9, [rsp + 0x68]
mov rcx, r14
xor edx, edx
mov r8, r12
call fcn.140114ed0
mov dword [rsp + 0x64], eax
mov rcx, r12
call fcn.140127250
cmp byte [rbp - 8], 0
je 0x14007434f
mov rcx, rbp
call fcn.140073980
cmp byte [rsp + 0x140], 0
je 0x140074361
mov rcx, r15
call fcn.14007c3e0
cmp dword [rsp + 0x64], 0
jne 0x14007416b
mov r14, qword [rsp + 0x68]
jmp 0x14007416b
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 0x1400741b1
call fcn.1400a33d0
mov rcx, qword [rsp + 0x68]
call fcn.1400ae980
jmp 0x1400741c3
mov ebx, 0x15
jmp 0x14007422e
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 0x14007422e
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 0x14007422e
mov rcx, qword [rsp + 0x70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x14007422e