Function at 0x14002e480
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rsi, rcx
xor r12b, r12b
xor r15d, r15d
mov dword [rsp + 0xc8], r15d
mov ecx, 0x200
call fcn.1400348c0
mov rdi, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x70], rax
lea rbx, [rax + 0x200]
mov qword [rsp + 0x80], rbx
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.140037400
mov qword [rsp + 0x78], rbx
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x14002e6cc
cmp qword [rsi + 0x18], 8
jb 0x14002e505
mov rsi, qword [rsi]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rsp + 0x48]
lea edx, [r9 + 1]
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x14002e6cc
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0xd0], r15d
mov dword [rsp + 0xd8], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xd0]
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x14002e7fe
mov eax, dword [rsp + 0xd0]
test eax, eax
je 0x14002e7fe
imul ecx, eax, 0x29c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov r14, r15
mov qword [rsp + 0x68], r15
movsxd rdx, ecx
test ecx, ecx
je 0x14002e5c7
lea rcx, [rsp + 0x58]
call fcn.14002e8c0
mov eax, dword [rsp + 0xd0]
mov r14, qword [rsp + 0x68]
mov dword [rsp + 0xd8], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rsi, qword [rsp + 0x58]
mov r9, rsi
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xd0]
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x14002e726
cmp dword [rsp + 0xd0], eax
je 0x14002e726
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov r11d, eax
mov r9d, dword [rsp + 0xd8]
test r9d, r9d
je 0x14002e679
mov r8, qword [0x14008cf08]
mov r10, qword [0x14008cf00]
nop
mov ecx, r15d
imul rdx, rcx, 0x29c
mov ecx, dword [rdx + rsi]
cmp ecx, r11d
je 0x14002e726
mov rax, r10
cmp r10, r8
je 0x14002e671
nop
cmp ecx, dword [rax]
je 0x14002e726
add rax, 4
cmp rax, r8
jne 0x14002e660
inc r15d
cmp r15d, r9d
jb 0x14002e640
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
test eax, eax
sete r12b
test rsi, rsi
je 0x14002e6cc
sub r14, rsi
mov rax, rsi
cmp r14, 0x1000
jb 0x14002e6c0
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e853
mov rdx, r14
mov rcx, rsi
call fcn.140034650
nop
test rdi, rdi
je 0x14002e70a
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rbx, 0x1000
jb 0x14002e6ff
add rbx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14002e84d
mov rdi, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.140034650
movzx eax, r12b
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
test rsi, rsi
je 0x14002e80c
sub r14, rsi
cmp r14, 0x1000
mov rax, rsi
jb 0x14002e765
add r14, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e853
mov rdx, r14
mov rcx, rsi
call fcn.140034650
jmp 0x14002e80c
mov ecx, dword [rsp + 0xc8]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
test rdi, rdi
je 0x14002e846
sub rbx, rdi
sar rbx, 1
add rbx, rbx
cmp rbx, 0x1000
jb 0x14002e83b
add rbx, 0x27
mov rcx, qword [rdi - 8]
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14002e859
mov rdi, rcx
mov rdx, rbx
mov rcx, rdi
call fcn.140034650
xor al, al
jmp 0x14002e70e
call fcn.14003d30c
nop
call fcn.14003d30c
nop
call fcn.14003d30c
int3