Function at 0x1400872a6
Capabilities:
Create restart manager session

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
movaps xmmword [rsp + 0x2f0], xmm7
movaps xmmword [rsp + 0x2e0], xmm6
mov qword [rsp + 0x50], r8
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x2d8], rax
mov r15, qword [rcx]
add rcx, 8
mov qword [rsp + 0x58], rcx
cmp r15, rcx
je 0x140087bbf
mov r14, rdx
lea r12, [rdx + 8]
mov al, 1
mov dword [rsp + 0x34], eax
lea rdi, [rsp + 0xe0]
movaps xmm6, xmmword [0x1402ae190]
lea rbp, [rsp + 0x240]
xorps xmm7, xmm7
lea r13, [rsp + 0x220]
lea rbx, [rsp + 0xa0]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x48], rdx
lea rsi, [r15 + 0x20]
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.140088538
cmp qword [rsp + 0xe0], r12
jne 0x1400879b9
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x250], rax
movaps xmmword [rsp + 0x240], xmm6
mov rcx, qword [rsp + 0x50]
mov rdx, rbp
mov r8, rsi
call fcn.1400c8320
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140087463
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_delete_old_versions.cc
mov r8d, 0xf2
mov r9d, 1
call fcn.14019a740
mov r8d, 0x25
lea rcx, [rsp + 0xf0]
lea rdx, str.Attempting_to_delete_stray_directory
call fcn.1400ff874
mov rsi, rax
cmp byte [rsp + 0x257], 0
js 0x1400873f9
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x230], rax
movaps xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x220], xmm0
mov rbp, r13
jmp 0x140087414
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
mov rbp, r13
mov rcx, r13
call fcn.1400e6dd4
lea r14, [rsp + 0x290]
mov rcx, r14
mov rdx, rbp
call fcn.1401d5e8d
mov rcx, rsi
mov rdx, r14
call fcn.1401834e0
cmp byte [rsp + 0x2a7], 0
jns 0x140087449
mov rcx, qword [rsp + 0x290]
call fcn.140112038
mov rcx, rdi
call fcn.140001d00
lea rbp, [rsp + 0x240]
mov r12, qword [rsp + 0x38]
mov r14, qword [rsp + 0x48]
mov rcx, rbp
call fcn.140088266
test al, al
je 0x140087512
mov rcx, rbp
mov edx, 1
call fcn.140003e00
test al, al
jne 0x1400879b1
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x14008769a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_delete_old_versions.cc
mov r8d, 0x100
mov r9d, 2
call fcn.14019f9e0
mov r8d, 0x21
lea rcx, [rsp + 0xf0]
lea rdx, str.Failed_to_delete_stray_directory
call fcn.1400ff874
mov rsi, rax
cmp byte [rsp + 0x257], 0
js 0x140087620
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0xa0], xmm0
mov r12, rbx
jmp 0x14008763b
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140087599
mov r12, r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_delete_old_versions.cc
mov r8d, 0xf9
mov r9d, 1
call fcn.14019f9e0
mov r8d, 0x33
lea rcx, [rsp + 0xf0]
lea rdx, str.Failed_to_delete_stray_directory_due_to_exe_in_use
call fcn.1400ff874
mov rsi, rax
cmp byte [rsp + 0x257], 0
js 0x1400875a6
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0xc0], xmm0
lea r14, [rsp + 0xc0]
jmp 0x1400875c6
mov dword [rsp + 0x34], 0
jmp 0x1400879b1
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
lea r14, [rsp + 0xc0]
mov rcx, r14
call fcn.1400e6dd4
lea rdi, [rsp + 0x290]
mov rcx, rdi
mov rdx, r14
call fcn.1401d5e8d
mov rcx, rsi
mov rdx, rdi
call fcn.1401834e0
cmp byte [rsp + 0x2a7], 0
jns 0x1400875fb
mov rcx, qword [rsp + 0x290]
call fcn.140112038
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call fcn.140183e60
mov dword [rsp + 0x34], 0
mov r14, r12
mov r12, qword [rsp + 0x38]
jmp 0x1400879b1
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
mov r12, rbx
mov rcx, rbx
call fcn.1400e6dd4
lea rdi, [rsp + 0x290]
mov rcx, rdi
mov rdx, r12
call fcn.1401d5e8d
mov rcx, rsi
mov rdx, rdi
call fcn.1401834e0
mov r8d, 0x1c
mov rcx, rax
lea rdx, str.._Will_try_with_EvenIfInUse.
call fcn.1400ff874
cmp byte [rsp + 0x2a7], 0
jns 0x140087685
mov rcx, qword [rsp + 0x290]
call fcn.140112038
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call fcn.140183e60
mov r12, qword [rsp + 0x38]
mov rcx, rbp
call fcn.1401cde40
test al, al
je 0x140087737
mov edx, 0x33
lea rsi, str..._.._chrome_installer_util_delete_old_versions.cc
mov rcx, rsi
call fcn.1400c7bd0
test eax, eax
jle 0x1400879b1
mov rcx, rdi
mov rdx, rsi
mov r8d, 0x104
mov r9d, 0xffffffff
call fcn.14019a740
mov r8d, 0x25
lea rcx, [rsp + 0xf0]
lea rdx, str.Directory_deleted_using_EvenIfInUse:
call fcn.1400ff874
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0x257], 0
js 0x1400877c0
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x80], xmm0
lea rsi, [rsp + 0x80]
jmp 0x1400877e0
mov ecx, 2
call fcn.1400f34e0
test al, al
lea rbp, str..._.._chrome_installer_util_delete_old_versions.cc
je 0x140087895
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rcx, rdi
mov rdx, rbp
mov r8d, 0x108
mov r9d, 2
call fcn.14019f9e0
mov r8d, 0x21
lea rcx, [rsp + 0xf0]
lea rdx, str.Failed_to_delete_stray_directory
call fcn.1400ff874
mov rsi, rax
cmp byte [rsp + 0x257], 0
js 0x14008782c
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [rsp + 0x240]
movaps xmmword [rsp + 0x60], xmm0
lea rbp, [rsp + 0x60]
jmp 0x140087849
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
lea rsi, [rsp + 0x80]
mov rcx, rsi
call fcn.1400e6dd4
lea rdi, [rsp + 0x290]
mov rcx, rdi
mov rdx, rsi
call fcn.1401d5e8d
mov rcx, qword [rsp + 0x40]
mov rdx, rdi
call fcn.1401834e0
cmp byte [rsp + 0x2a7], 0
jns 0x140087817
mov rcx, qword [rsp + 0x290]
call fcn.140112038
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call fcn.140001d00
jmp 0x1400879b1
mov rdx, qword [rsp + 0x240]
mov r8, qword [rsp + 0x248]
lea rbp, [rsp + 0x60]
mov rcx, rbp
call fcn.1400e6dd4
lea rdi, [rsp + 0x290]
mov rcx, rdi
mov rdx, rbp
call fcn.1401d5e8d
mov rcx, rsi
mov rdx, rdi
call fcn.1401834e0
cmp byte [rsp + 0x2a7], 0
jns 0x14008787e
mov rcx, qword [rsp + 0x290]
call fcn.140112038
lea rdi, [rsp + 0xe0]
mov rcx, rdi
call fcn.140183e60
lea rbp, str..._.._chrome_installer_util_delete_old_versions.cc
xor esi, esi
mov dword [rsp + 0x28c], esi
movaps xmmword [rsp + 0x2c0], xmm7
movaps xmmword [rsp + 0x2b0], xmm7
movaps xmmword [rsp + 0x2a0], xmm7
movaps xmmword [rsp + 0x290], xmm7
mov word [rsp + 0x2d0], 0
lea rcx, [rsp + 0x28c]
xor edx, edx
lea r8, [rsp + 0x290]
call sub.RstrtMgr.DLL_RmStartSession
mov edx, dword [rsp + 0x28c]
lea rcx, [rsp + 0x240]
call fcn.140088639
mov dword [rsp + 0x288], esi
mov dword [rsp + 0x284], esi
mov dword [rsp + 0x280], esi
mov ecx, dword [rsp + 0x28c]
lea rax, [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x284]
lea r8, [rsp + 0x280]
xor r9d, r9d
call sub.RstrtMgr.DLL_RmGetList
cmp eax, 0xea
je 0x1400879ff
mov esi, eax
mov edx, 0x33
mov rcx, rbp
call fcn.1400c7bd0
test eax, eax
jle 0x140087995
mov rcx, rdi
mov rdx, rbp
mov r8d, 0xe1
mov r9d, 0xffffffff
call fcn.14019a740
mov r8d, 0x19
lea rcx, [rsp + 0xf0]
lea rdx, str.RmGetList_returned_error
call fcn.1400ff874
mov rcx, rax
mov edx, esi
call fcn.14017ca70
mov rcx, rdi
call fcn.140001d00
mov ecx, dword [rsp + 0x28c]
call sub.RstrtMgr.DLL_RmEndSession
mov dword [rsp + 0x34], 0
lea rbp, [rsp + 0x240]
mov rcx, rbp
call fcn.1400e1350
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400879cf
mov rax, rcx
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400879c2
jmp 0x1400879ec
mov rax, qword [r15 + 0x10]
cmp qword [rax], r15
je 0x1400879ec
add r15, 0x10
mov rcx, qword [r15]
lea r15, [rcx + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rax], rcx
jne 0x1400879dc
mov r15, rax
cmp rax, qword [rsp + 0x58]
jne 0x140087336
jmp 0x140087bb5
mov edx, dword [rsp + 0x284]
mov dword [rsp + 0x280], edx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x270], rax
movaps xmmword [rsp + 0x260], xmm6
lea rcx, [rsp + 0x260]
call fcn.1401eac10
mov r9, qword [rsp + 0x260]
mov ecx, dword [rsp + 0x28c]
lea rax, [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x284]
lea r8, [rsp + 0x280]
call sub.RstrtMgr.DLL_RmGetList
mov esi, eax
test eax, eax
jne 0x140087afd
cmp dword [rsp + 0x280], 0
je 0x140087afd
mov esi, 0xc
xor ebp, ebp
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140087ae2
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_delete_old_versions.cc
mov r8d, 0xd8
mov r9d, 1
call fcn.14019a740
mov r8d, 0x3b
lea rcx, [rsp + 0xf0]
lea rdx, str.Friendly_name_of_process_using_one_of_the_remaining_files:
call fcn.1400ff874
mov rdx, qword [rsp + 0x260]
add rdx, rsi
mov rcx, rax
call fcn.1401c8da0
mov rcx, rdi
call fcn.140001d00
inc rbp
mov eax, dword [rsp + 0x280]
add rsi, 0x29c
cmp rbp, rax
jb 0x140087a84
jmp 0x140087b92
mov edx, 0x33
mov rcx, rbp
call fcn.1400c7bd0
test eax, eax
jle 0x140087b92
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_delete_old_versions.cc
mov r8d, 0xdd
mov r9d, 0xffffffff
call fcn.14019a740
mov r8d, 0x19
lea rcx, [rsp + 0xf0]
lea rdx, str.RmGetList_returned_error
call fcn.1400ff874
mov rcx, rax
mov edx, esi
call fcn.14017ca70
mov r8d, 2
mov rcx, rax
lea rdx, [0x1402b080f]
call fcn.1400ff874
mov edx, dword [rsp + 0x280]
mov rcx, rax
call fcn.14010d3da
mov r8d, 0x11
mov rcx, rax
lea rdx, str._processes_found.
call fcn.1400ff874
mov rcx, rdi
call fcn.140001d00
mov rcx, qword [rsp + 0x260]
test rcx, rcx
je 0x140087995
mov qword [rsp + 0x268], rcx
call fcn.140112038
jmp 0x140087995
mov esi, dword [rsp + 0x34]
and sil, 1
jmp 0x140087bc2
mov sil, 1
mov rcx, qword [rsp + 0x2d8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
movaps xmm6, xmmword [rsp + 0x2e0]
movaps xmm7, xmmword [rsp + 0x2f0]
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret