Function at 0x1400ab464
Capabilities:
Create restart manager session

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140191810]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov r14, rcx
lea rsi, [rcx + 0x20]
or ebx, 0xffffffff
cmp dword [rsi], ebx
je 0x1400ab4bb
mov ecx, dword [rsi]
call sub.RstrtMgr.DLL_RmEndSession
mov dword [rsi], ebx
xor edx, edx
lea r8d, [rdx + 0x42]
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp + 0x130]
xor edx, edx
mov rcx, rsi
call sub.RstrtMgr.DLL_RmStartSession
mov dword [rsp + 0x40], eax
xor r13d, r13d
test eax, eax
jne 0x1400ab781
cmp dword [rsi], ebx
je 0x1400ab781
mov r12, qword [r14 + 0x18]
mov ecx, r12d
lea eax, [r13 + 8]
mul rcx
lea rcx, [r13 - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.140021ddc
mov rbx, rax
mov qword [rsp + 0x68], rax
mov rdi, qword [r14 + 0x10]
mov rdi, qword [rdi]
cmp rdi, qword [r14 + 0x10]
je 0x1400ab581
mov r15, rax
lea rax, [rdi + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400ab53b
mov rcx, qword [rax]
jmp 0x1400ab53e
mov rcx, rax
mov qword [r15], rcx
add r15, 8
cmp qword [rax + 0x18], 8
jb 0x1400ab54f
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.ProcessKiller::RegisterResources:_File:___s_
mov edx, reloc.Cabinet.dll_FCIDestroy
mov ecx, 0x362688
lea r8d, [rdx + 0x56]
call fcn.14001d3c8
mov rdi, qword [rdi]
cmp rdi, qword [r14 + 0x10]
jne 0x1400ab52b
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, rbx
mov edx, r12d
mov ecx, dword [rsi]
call sub.RstrtMgr.DLL_RmRegisterResources
mov dword [rsp + 0x40], eax
test eax, eax
je 0x1400ab76a
lea r8, [rsp + 0x40]
lea rdx, str.RmRegisterResources_Error___d
lea rcx, [rbp - 0x10]
call fcn.14001ac4c
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x1400ab5ce
mov rsi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov eax, 7
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], r13
mov word [rbp - 0x30], r13w
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], r13
mov word [rbp - 0x50], r13w
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], r13
mov word [rbp - 0x70], r13w
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.14000edf8
mov rdi, rax
lea rcx, [rbp + 0x10]
call fcn.1400f7cb0
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x48], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rsi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r9, str.ProcessKiller::RegisterResources
mov edx, 0x3ae
mov ecx, 0x38120c
mov r8d, 0xa
call fcn.14000b648
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x38]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x18]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x110]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf0]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xd0]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xb0]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x70]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140007a08
mov edi, 4
jmp 0x1400ab76d
mov edi, r13d
test rbx, rbx
je 0x1400ab77a
mov rcx, rbx
call fcn.140021dfc
mov eax, edi
jmp 0x1400ab93d
lea r8, [rsp + 0x40]
lea rdx, str.RmStartSession_Error___d
lea rcx, [rbp - 0x10]
call fcn.14001ac4c
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1400ab7a3
mov rdi, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov eax, 7
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], r13
mov word [rsp + 0x70], r13w
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], r13
mov word [rbp - 0x70], r13w
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], r13
mov word [rbp - 0x50], r13w
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], r13
mov word [rbp - 0x30], r13w
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x10]
call fcn.14000edf8
mov rbx, rax
lea rcx, [rbp + 0xa0]
call fcn.1400f7cb0
lea rcx, vtable.Mso::Logging::StructuredObject_wchar_t_const____ptr64__1_.0
mov qword [rsp + 0x48], rcx
lea rcx, str.ContextData
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rdi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea r9, str.ProcessKiller::RegisterResources
mov edx, 0x3ae
mov ecx, 0x38120b
mov r8d, 0xa
call fcn.14000b648
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x110]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf0]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xc8]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xa8]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x80]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x60]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x40]
call fcn.140007a08
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x30]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x70]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x70]
call fcn.140007a08
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140007a08
mov eax, 4
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140021f10
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret