Function at 0x140281032
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, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov rsi, r9
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14033f038]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rcx, rdx
call fcn.14018e57c
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
je 0x140281085
call fcn.14004f440
mov r15, qword [rsi]
mov rcx, rdi
call fcn.14018e57c
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 0x1402810cb
call fcn.14008daa0
lea ecx, [r12 + 0x1000000]
cmp eax, 5
cmovge ecx, r12d
mov r12d, ecx
mov rax, qword [rsi]
or r12d, dword [rax + 0xa8]
movzx eax, byte [rax + 0x20]
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
mov rcx, qword [0x1403242f0]
mov qword [rsp + 0x90], rcx
movups xmm1, xmmword [0x1403242e0]
movaps xmmword [rsp + 0x80], xmm1
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140281225
add rcx, 8
lea r9, [rsp + 0x80]
mov qword [r9 + 8], rcx
mov rbp, qword [rsp + 0x1f8]
add r15, 0x38
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x48], r15
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
mov rdx, r14
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14028122d
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x60]
mov qword [rcx + 0x10], r13
movaps xmm6, xmmword [0x140301d60]
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xa0]
call fcn.1400eab90
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1402811c2
mov rax, qword [rsi]
mov rdx, qword [rax + 0x100]
cmp rdx, qword [rax + 0x108]
je 0x1402813b3
mov r14, qword [rbx + 0x20]
lea rax, [r14 + 1]
cmp rax, 2
jae 0x1402812bc
mov rcx, qword [rsp + 0x1f0]
lea rdx, [rsp + 0x60]
call fcn.140226980
test al, al
je 0x14028123d
mov rcx, qword [rsp + 0x60]
call fcn.14029bfac
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1402813e6
lea rcx, [0x140000000]
cmp rax, rcx
je 0x14028149f
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, 0x41
jmp 0x140281258
xor r9d, r9d
jmp 0x14028112b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebx, 0x12
jmp 0x140281262
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
lea rcx, [rsp + 0x60]
call fcn.1400eac70
test rdi, rdi
je 0x14028126f
mov rcx, rdi
call fcn.14004f440
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x14028128e
mov rcx, rdi
call fcn.1402805a2
mov rcx, rdi
call fcn.14016eccc
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140171860
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
lea r15, [rsp + 0x150]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r15
xor r8d, r8d
call fcn.14012b620
cmp byte [r15], 0
je 0x140281406
lea r12, [rsp + 0x120]
mov qword [r12 + 0x20], r13
movaps xmmword [r12 + 0x10], xmm6
movaps xmmword [r12], xmm6
lea r13, [rsp + 0x158]
mov rcx, r13
mov rdx, r12
call fcn.140226fe0
cmp byte [r12], 0
je 0x1402814c6
mov r15, rbp
lea r8, [rbx + 0x58]
lea r13, [rsp + 0xc0]
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 + 0x128]
mov rcx, r13
mov rdx, r12
call fcn.1402a1d76
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
mov r8, r13
call fcn.14027b8d4
mov ebp, eax
mov rcx, r13
call fcn.1402a1f0e
cmp byte [r12 - 8], 0
je 0x140281391
mov rcx, r12
call fcn.1400e7770
cmp byte [rsp + 0x150], 0
lea rcx, [rsp + 0x158]
je 0x1402813a8
call fcn.14012b5c0
test ebp, ebp
jne 0x140281409
mov r14, qword [rsp + 0x58]
jmp 0x140281409
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1402811c2
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 0x140281258
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 0x140281258
mov r15, rbp
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xc0]
mov qword [rcx], rax
mov rdx, r14
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov ebp, eax
test eax, eax
je 0x14028145c
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jae 0x1402814e4
mov rax, qword [rsp + 0x58]
inc rax
cmp rax, 2
jae 0x140281474
test ebp, ebp
mov rbp, r15
jne 0x1402811d4
mov ebx, 0x15
jmp 0x140281258
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x140281439
call fcn.1400412c0
mov r14, qword [rsp + 0x58]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140281515
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
jmp 0x140281447
lea rcx, [rsp + 0x60]
lea r14, [rsp + 0xc0]
mov rdx, r14
call fcn.140226a80
mov rcx, rbx
mov rdx, r14
call fcn.1400eaea0
xor ebx, ebx
jmp 0x140281258
mov r15, rbp
cmp byte [rsp + 0x150], 0
je 0x140281409
mov rcx, r13
call fcn.14012b5c0
jmp 0x140281409
call fcn.1400412c0
mov r14, qword [rbx + 0x20]
mov rcx, qword [0x14035abe0]
test rcx, rcx
je 0x140281526
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x140211850.0]
mov qword [rbx + 0x20], 0
jmp 0x140281439
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x14028148e
call fcn.1400bf420
mov rcx, qword [0x14035abe0]
jmp 0x1402814f9