Function at 0x1400476e0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a50]
mov eax, 0x1b50
call fcn.140061400
sub rsp, rax
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp + 0x1a40], rax
mov qword [rsp + 0x50], rcx
xor edi, edi
mov dword [rsp + 0x44], edi
movsxd rax, dword [rsp + 0x44]
cmp rax, 0x42
jae 0x140047762
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [rsp + 0x44]
mov byte [rbp + rax + 0x19f0], dil
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
cmp rax, 0x42
jb 0x140047740
lea r8, [rbp + 0x19f0]
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x140047c72
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x50]
mov r12d, 1
mov edx, r12d
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x140047c68
mov dword [rsp + 0x48], 0xa
mov dword [rbp - 0x30], edi
xor edx, edx
mov r8d, 0x1a14
lea rcx, [rbp - 0x2c]
call fcn.14004a760
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x5c]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x140047c68
cmp dword [rsp + 0x48], edi
jbe 0x140047a89
mov r13d, 0xf3
lea r15d, [r12 + 0x1a]
nop word [rax + rax]
mov eax, edi
imul rsi, rax, 0x29c
mov eax, dword [rbp + rsi + 0x25c]
cmp eax, 4
je 0x140047a7d
cmp eax, 0x3e8
je 0x140047a7d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, dword [rbp + rsi - 0x30]
je 0x140047a7d
call fcn.140047c80
mov rbx, rax
mov rcx, rax
call fcn.140048460
lea r14, [rbp - 0x24]
add r14, rsi
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9, r14
mov r8, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov r8d, dword [rbp + rsi - 0x30]
xor edx, edx
mov ecx, 0x100001
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140047ac6
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x140047a66
mov dword [rsp + 0x60], 0x790056
mov dword [rsp + 0x64], 0xe60069
mov dword [rsp + 0x68], 0xf3007f
mov dword [rsp + 0x6c], 0xc60015
mov dword [rsp + 0x70], 0x62007e
mov dword [rsp + 0x74], 0xe80075
mov dword [rsp + 0x78], 0xb60079
mov dword [rsp + 0x7c], 0xd30061
mov r8d, 0xd3
mov dword [rbp - 0x80], 0x640061
mov dword [rbp - 0x7c], 0xec0078
mov dword [rbp - 0x78], 0xa0007e
mov dword [rbp - 0x74], 0x86007b
mov dword [rbp - 0x70], 0x10060
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, 0x2804
mov edx, eax
mov eax, dword [rax + rcx]
mov ebx, 0x2988
add rbx, rcx
test al, 1
jne 0x1400479b7
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x36], 1
lea rax, [rbx + 0x34]
lea rcx, [rbp - 0x6c]
cmp rbx, rcx
ja 0x140047980
lea rcx, [rsp + 0x60]
cmp rax, rcx
jb 0x140047980
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rbp - 0x70]
mov dword [rbx + 0x30], eax
mov word [rbx + 0x34], r15w
jmp 0x1400479a4
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rbp - 0x70]
mov dword [rbx + 0x30], eax
mov word [rbx + 0x34], r15w
lea rcx, [0x14006bf10]
call fcn.140048870
nop
mov r8d, 0xd3
cmp byte [rbx + 0x36], 0
je 0x140047a4f
xor word [rbx], 0x13
xor word [rbx + 2], 0xb
xor word [rbx + 4], 0x1b
mov ecx, 0x89
xor word [rbx + 6], cx
xor word [rbx + 8], 0xd
xor word [rbx + 0xa], r8w
xor word [rbx + 0xc], 0x41
mov eax, 0xa3
xor word [rbx + 0xe], ax
xor word [rbx + 0x10], 0x13
xor word [rbx + 0x12], 0xb
xor word [rbx + 0x14], 0x1b
xor word [rbx + 0x16], cx
xor word [rbx + 0x18], 0xd
xor word [rbx + 0x1a], r8w
xor word [rbx + 0x1c], 0x41
xor word [rbx + 0x1e], ax
xor word [rbx + 0x20], 0x13
xor word [rbx + 0x22], 0xb
xor word [rbx + 0x24], 0x1b
xor word [rbx + 0x26], cx
xor word [rbx + 0x28], 0xd
xor word [rbx + 0x2a], r8w
xor word [rbx + 0x2c], 0x41
xor word [rbx + 0x2e], ax
xor word [rbx + 0x30], 0x13
xor word [rbx + 0x32], 0xb
xor word [rbx + 0x34], 0x1b
mov byte [rbx + 0x36], 0
mov r9, r14
mov r8, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov edx, 0xbb8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rsp + 0x48]
jb 0x140047810
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov eax, r12d
mov rcx, qword [rbp + 0x1a40]
xor rcx, rsp
call fcn.140048740
lea r11, [rsp + 0x1b50]
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
mov dword [rbp - 0x68], 0xdb00b6
mov dword [rbp - 0x64], 0x80053
mov dword [rbp - 0x60], 0x3b006b
mov dword [rbp - 0x5c], 0xc0003f
mov dword [rbp - 0x58], 0xc0009e
mov dword [rbp - 0x54], 0x6004f
mov dword [rbp - 0x50], 0x7e006d
mov dword [rbp - 0x4c], 0xd5004b
mov dword [rbp - 0x48], 0xc60081
mov dword [rbp - 0x44], 0x20042
mov dword [rbp - 0x40], 0x68006a
mov dword [rbp - 0x3c], 0x800051
mov dword [rbp - 0x38], 0xa30080
mov r8d, 0x21
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x2d30
mov eax, dword [rdx + rcx]
mov ebx, 0x2da0
add rbx, rcx
test al, 1
jne 0x140047bba
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x36], 1
lea rax, [rbx + 0x34]
lea rcx, [rbp - 0x34]
cmp rbx, rcx
ja 0x140047b8b
lea rcx, [rbp - 0x68]
cmp rax, rcx
jb 0x140047b8b
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rbp - 0x38]
mov dword [rbx + 0x30], eax
mov word [rbx + 0x34], r8w
jmp 0x140047bad
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rbp - 0x48]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [rbp - 0x38]
mov dword [rbx + 0x30], eax
mov word [rbx + 0x34], r8w
lea rcx, [0x14006bed0]
call fcn.140048870
nop
cmp byte [rbx + 0x36], 0
je 0x140047c51
xor word [rbx], r13w
mov ecx, 0xa9
xor word [rbx + 2], cx
xor word [rbx + 4], 0x21
xor word [rbx + 6], 0x67
xor word [rbx + 8], 0x19
xor word [rbx + 0xa], 0x1b
xor word [rbx + 0xc], 0x6b
mov eax, 0xa5
xor word [rbx + 0xe], ax
xor word [rbx + 0x10], r13w
xor word [rbx + 0x12], cx
xor word [rbx + 0x14], 0x21
xor word [rbx + 0x16], 0x67
xor word [rbx + 0x18], 0x19
xor word [rbx + 0x1a], 0x1b
xor word [rbx + 0x1c], 0x6b
xor word [rbx + 0x1e], ax
xor word [rbx + 0x20], r13w
xor word [rbx + 0x22], cx
xor word [rbx + 0x24], 0x21
xor word [rbx + 0x26], 0x67
xor word [rbx + 0x28], 0x19
xor word [rbx + 0x2a], 0x1b
xor word [rbx + 0x2c], 0x6b
xor word [rbx + 0x2e], ax
xor word [rbx + 0x30], r13w
xor word [rbx + 0x32], cx
xor word [rbx + 0x34], 0x21
mov byte [rbx + 0x36], 0
mov r9, r14
mov r8, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
xor eax, eax
jmp 0x140047a96