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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xe8
mov rax, qword [0x14017e100]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov eax, 4
mov eax, eax
mov ecx, dword [0x14017f840]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x14017f7a0], eax
jle 0x140023e5a
lea rcx, [0x14017f7a0]
call fcn.14002ce14
cmp dword [0x14017f7a0], 0xffffffff
jne 0x140023e5a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [0x14017f79c], eax
lea rcx, [0x14017f7a0]
call fcn.14002cda8
nop
mov edx, 0x42
lea rcx, [rsp + 0x80]
call fcn.14002a880
nop
lea r8, [rsp + 0x80]
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.RstrtMgr.DLL_RmStartSession
test eax, eax
jne 0x14002403e
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xf0]
mov edx, 1
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmRegisterResources
test eax, eax
jne 0x140024034
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x6c], 0
mov qword [rsp + 0x60], 0
mov edx, 8
lea rcx, [rsp + 0x60]
call fcn.14002a880
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmGetList
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0xea
jne 0x140023f29
cmp dword [rsp + 0x58], 0
jne 0x140023f39
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmEndSession
xor eax, eax
jmp 0x140024042
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov eax, 0x29c
mov rcx, qword [rsp + 0x50]
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140023f7f
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmEndSession
xor eax, eax
jmp 0x140024042
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x58]
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmGetList
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140023fbb
cmp dword [rsp + 0x58], 0
jne 0x140023fd2
mov rcx, qword [rsp + 0x60]
call fcn.14005c14a
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmEndSession
xor eax, eax
jmp 0x140024042
mov dword [rsp + 0x44], 0
jmp 0x140023fe6
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x44], eax
jae 0x140024034
mov eax, dword [rsp + 0x44]
imul rax, rax, 0x29c
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x48], eax
mov eax, dword [0x14017f79c]
cmp dword [rsp + 0x48], eax
je 0x140024032
mov rcx, qword [rsp + 0x60]
call fcn.14005c14a
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmEndSession
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
jmp 0x14002403e
jmp 0x140023fdc
mov ecx, dword [rsp + 0x68]
call sub.RstrtMgr.DLL_RmEndSession
nop
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14002cfa0
add rsp, 0xe8
ret