Function at 0x1400463b0
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 r15, r9
mov rsi, r8
mov r13, rdx
mov rbx, rcx
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rcx, rdx
call fcn.14011e700
mov rcx, qword [rbx + 0x50]
mov qword [rbx + 0x50], rax
test rcx, rcx
jne 0x140046686
mov rbp, qword [r15]
mov rcx, rsi
call fcn.14011e700
mov r14, rax
xor esi, esi
cmp qword [rbp + 0xa0], 0
setne sil
shl esi, 0x13
or esi, 0x40c
cmp qword [rbx + 0x30], 0
je 0x140046441
call fcn.14010f940
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovge ecx, esi
mov esi, ecx
mov r12, qword [rsp + 0x1d8]
mov rax, qword [r15]
movzx eax, byte [rax + 0x20]
xor edx, edx
lea rdi, [rsp + 0x80]
mov qword [rdi + 0x10], rdx
xorps xmm6, xmm6
movaps xmmword [rdi], xmm6
add rbp, 0x38
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rbp
movups xmmword [rsp + 0x38], xmm6
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
mov rdx, r13
mov r8, r14
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140046690
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm6
mov qword [rcx + 0x10], 0
lea rdx, [rsp + 0x80]
call fcn.14003a7f0
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400464dc
mov rax, qword [r15]
mov rdx, qword [rax + 0xf8]
cmp rdx, qword [rax + 0x100]
je 0x1400466a1
mov r13, qword [rbx + 0x20]
lea rax, [r13 + 1]
cmp rax, 2
jb 0x1400465cf
mov qword [rsp + 0x58], 0
mov rdx, qword [rsp + 0x60]
movabs rdi, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x130]
mov qword [rsi + 0x10], rdi
movaps xmm6, xmmword [0x1401efb80]
movaps xmmword [rsi], xmm6
mov rcx, rsi
xor r8d, r8d
call fcn.140046cb0
cmp byte [rsi], 0
je 0x14004656f
lea rbp, [rsp + 0x100]
mov qword [rbp + 0x20], rdi
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rsi, [rsp + 0x138]
mov rcx, rsi
mov rdx, rbp
call fcn.140046a80
cmp byte [rbp], 0
jne 0x1400466d5
cmp byte [rsp + 0x130], 0
je 0x14004656f
mov rcx, rsi
call fcn.140029ce0
mov rax, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov qword [rcx], rax
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov esi, eax
test eax, eax
je 0x14004676f
mov rax, qword [rbx + 0x20]
inc rax
cmp rax, 2
jb 0x1400465b5
call fcn.1400d3890
mov rcx, qword [rbx + 0x20]
call fcn.140101910
mov qword [rbx + 0x20], 0
mov rax, qword [rsp + 0x58]
inc rax
cmp rax, 2
jae 0x14004678b
test esi, esi
je 0x14004679f
mov rcx, qword [rsp + 0x1d0]
lea rdx, [rsp + 0x60]
call fcn.1400467f0
test al, al
je 0x1400467a9
mov rcx, qword [rsp + 0x60]
call fcn.140046b80
mov qword [rbx + 0x48], rax
test rax, rax
je 0x1400467ca
lea rcx, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
mov rdx, rsi
call fcn.140046840
mov rcx, rbx
mov rdx, rsi
call fcn.14003a7f0
xor esi, esi
lea rcx, [rsp + 0x60]
call fcn.140047a00
test r14, r14
je 0x140046639
mov rcx, r14
call fcn.140102950
mov rdi, qword [r15]
mov qword [r15], 0
test rdi, rdi
je 0x140046658
mov rcx, rdi
call fcn.1400469a0
mov rcx, rdi
call fcn.14011d780
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14011fe20
mov eax, esi
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
call fcn.140102950
jmp 0x140046402
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov esi, 0x12
jmp 0x14004662c
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1400464dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x14
jmp 0x140046622
lea r8, [rbx + 0x58]
lea rbp, [rsp + 0xa0]
movaps xmmword [rbp + 0x50], xmm6
movaps xmmword [rbp + 0x40], xmm6
movaps xmmword [rbp + 0x30], xmm6
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp], xmm6
lea rdx, [rsp + 0x108]
mov rcx, rbp
call fcn.1401afc50
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov rcx, r13
xor edx, edx
mov r8, rbp
xor r9d, r9d
call fcn.140185a90
mov edi, eax
mov rcx, rbp
call fcn.1401afdb0
lea rax, [rsp + 0x108]
cmp byte [rax - 8], 0
je 0x14004674b
mov rcx, rax
call fcn.14002ba90
cmp byte [rsp + 0x130], 0
je 0x14004675d
mov rcx, rsi
call fcn.140029ce0
test edi, edi
jne 0x14004656f
mov r13, qword [rsp + 0x58]
jmp 0x14004656f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400465b5
call fcn.1400d3890
mov rcx, qword [rsp + 0x58]
call fcn.140101910
jmp 0x1400465c7
mov esi, 0x15
jmp 0x140046622
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x17
jmp 0x140046622
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, 0x2b
jmp 0x140046622