Function at 0x140052be0
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 [0x1400b9328]
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.140067584
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.14006a0a0
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 0x140052e1d
cmp qword [rdi + 0x18], 8
jb 0x140052c7b
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 0x140052e1d
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 0x140052f6f
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x140052f6f
imul ecx, eax, 0x29c
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], r14
movsxd rdx, ecx
test ecx, ecx
je 0x140052d23
lea rcx, [rsp + 0x58]
call fcn.140053070
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 0x140052f0b
cmp dword [rsp + 0x4c], eax
je 0x140052f0b
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 0x140052dc9
mov r8, qword [0x1400bf2a8]
mov r11, qword [0x1400bf2a0]
nop
mov eax, r9d
imul rcx, rax, 0x29c
mov edx, dword [rcx + rbx]
cmp edx, edi
je 0x140052e6a
mov rax, r11
cmp r11, r8
je 0x140052dc1
nop dword [rax]
cmp edx, dword [rax]
je 0x140052e6a
add rax, 4
cmp rax, r8
jne 0x140052db0
inc r9d
cmp r9d, r10d
jb 0x140052d90
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 0x140052e1d
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ff8
call fcn.140067810
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140052fc4
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052fbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ff2
jmp 0x140052fbf
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140052ebf
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
cmp rdx, 0x1000
mov rax, rcx
jb 0x140052eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ff8
call fcn.140067810
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140052f04
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ffe
call fcn.140067810
xor al, al
jmp 0x140052fc8
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140052ebf
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052eac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ff8
jmp 0x140052eac
mov ecx, dword [rsp + 0x48]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140052f04
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052eff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052ffe
jmp 0x140052eff
call fcn.140067810
movzx eax, sil
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140067480
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.14006e250
nop
call fcn.14006e250
nop
call fcn.14006e250
int3