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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0xa0
mov rax, qword [0x1400f7368]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
xor sil, sil
xor r14d, r14d
mov dword [r11 - 0x60], r14d
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov qword [r11 - 0x28], r14
mov ecx, 0x200
call fcn.14008ca70
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.14008f780
mov qword [rsp + 0x78], rbx
mov r8, qword [rsp + 0x70]
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x1400782dd
cmp qword [rdi + 0x18], 8
jb 0x14007813b
mov rdi, qword [rdi]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rsp + 0x40]
lea edx, [r9 + 1]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x1400782dd
mov dword [rsp + 0x88], r14d
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x50], r14d
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x14007842f
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14007842f
imul ecx, eax, 0x29c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r14
movsxd rdx, ecx
test ecx, ecx
je 0x1400781e3
lea rcx, [rsp + 0x58]
call fcn.140078530
mov eax, dword [rsp + 0x4c]
mov rbx, qword [rsp + 0x58]
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x1400783cb
cmp dword [rsp + 0x4c], eax
je 0x1400783cb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edi, eax
mov r9d, r14d
mov r10d, dword [rsp + 0x50]
test r10d, r10d
je 0x140078289
mov r8, qword [0x140100188]
mov r11, qword [0x140100180]
nop
mov eax, r9d
imul rcx, rax, 0x29c
mov edx, dword [rcx + rbx]
cmp edx, edi
je 0x14007832a
mov rax, r11
cmp r11, r8
je 0x140078281
nop dword [rax]
cmp edx, dword [rax]
je 0x14007832a
add rax, 4
cmp rax, r8
jne 0x140078270
inc r9d
cmp r9d, r10d
jb 0x140078250
xor r8d, r8d
lea edx, [r8 + 1]
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmShutdown]
test eax, eax
sete sil
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400782dd
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400782d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784b8
call fcn.14008ccfc
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140078484
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007847f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784b2
jmp 0x14007847f
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007837f
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x14007836c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784b8
call fcn.14008ccfc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400783c4
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400783bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784be
call fcn.14008ccfc
xor al, al
jmp 0x140078488
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14007837f
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007836c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784b8
jmp 0x14007836c
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400783c4
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400783bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400784be
jmp 0x1400783bf
call fcn.14008ccfc
movzx eax, sil
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14008c930
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.14009445c
nop
call fcn.14009445c
nop
call fcn.14009445c
int3