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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x150
mov ebp, r9d
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov r14, qword [rsp + 0x1b0]
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rbx
call fcn.140107be0
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], rax
test rcx, rcx
je 0x140093cd1
call fcn.140022570
mov rcx, rsi
call fcn.140107be0
mov r12, rax
xor eax, eax
xor esi, esi
cmp qword [r14 + 0x68], rax
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [rdi + 0x30], rax
je 0x140093d0a
call fcn.140039350
mov ecx, esi
or ecx, 0x1000000
cmp eax, 5
cmovl esi, ecx
mov r15, qword [rsp + 0x1c0]
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
xor edx, edx
mov qword [rax + 0x10], rdx
movzx ebp, bpl
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov rdx, rbx
mov r8, r12
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140093e7c
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x80]
call fcn.1400aebe0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x140093d8f
mov rdx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x140093e8f
mov rbx, qword [rdi + 0x20]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140093f69
mov qword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0xa8]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140093f35
mov rdx, qword [rsp + 0xa8]
lea rbp, [rsp + 0xa0]
mov qword [rbp], 0
mov rcx, rbp
call fcn.1400027c0
mov r14, qword [rbp]
mov ecx, 0x4c
call fcn.1400edc90
mov rbp, rax
mov qword [rsp + 0xb8], rbp
lea rax, [rbp + 0x4c]
mov qword [rsp + 0xc8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x20], rax
mov edx, 0x1f
mov r9d, 0x4c
mov rcx, r14
mov r8, rbp
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140093eaf
mov rbp, qword [rbp]
test rbp, rbp
je 0x140093eaf
mov ecx, 0x44
call fcn.1400edc90
mov r14, rax
mov rcx, r14
mov rdx, rbp
call fcn.140097fc0
mov sil, 1
jmp 0x140093eb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov edi, 0x12
jmp 0x14009401f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x14
jmp 0x140094015
xor r14d, r14d
xor esi, esi
lea rcx, [rsp + 0xb8]
call fcn.14000b370
lea rcx, [rsp + 0xa0]
call fcn.140002820
test sil, sil
je 0x140093f1c
lea r8, [rdi + 0x58]
lea rbp, [rsp + 0xb8]
mov rcx, rbp
mov rdx, r14
call fcn.140094460
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor edx, edx
xor r9d, r9d
mov rcx, rbx
mov r8, rbp
call fcn.140091ee0
test eax, eax
sete sil
mov rcx, rbp
call fcn.1400945f0
jmp 0x140093f1e
xor esi, esi
test r14, r14
je 0x140093f2b
mov rcx, r14
call fcn.1400edcd0
test sil, sil
je 0x140093f35
mov rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0xb8]
mov qword [rcx], rax
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
je 0x140093ff0
lea rcx, [rdi + 0x20]
call fcn.140002820
lea rcx, [rsp + 0x60]
call fcn.140002820
mov rcx, qword [rsp + 0x1b8]
lea rdx, [rsp + 0x68]
call fcn.1400aedd0
test al, al
je 0x140093fb6
mov rcx, qword [rsp + 0x68]
call fcn.140099620
mov qword [rdi + 0x48], rax
test rax, rax
je 0x140093fd3
lea rcx, [rsp + 0x68]
lea rbx, [rsp + 0xb8]
mov rdx, rbx
call fcn.1400aeed0
mov rcx, rdi
mov rdx, rbx
call fcn.1400aec30
xor edi, edi
jmp 0x140094015
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x17
jmp 0x140094015
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, 0x2b
jmp 0x140094015
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rcx, [rsp + 0x60]
call fcn.140002820
mov edi, 0x15
lea rcx, [rsp + 0x68]
call fcn.1400aec90
test r12, r12
je 0x14009402c
mov rcx, r12
call fcn.140022570
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400edc60
mov eax, edi
add rsp, 0x150
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret