Function at 0x1400061b0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Enumerate threads
Suspend thread
Terminate process

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x1c48]
mov eax, 0x1d48
call fcn.1400b3960
sub rsp, rax
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rbp + 0x1c20], rax
xorps xmm0, xmm0
mov qword [rsp + 0x40], rcx
xor eax, eax
lea rcx, [rsp + 0x6c]
lea r8, [rbp + 0x19c0]
mov word [rbp + 0x1a00], ax
xor edx, edx
movups xmmword [rbp + 0x19c0], xmm0
movups xmmword [rbp + 0x19d0], xmm0
movups xmmword [rbp + 0x19e0], xmm0
movups xmmword [rbp + 0x19f0], xmm0
call qword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov edx, eax
lea rcx, str.RmStartSession_returned__d_n
mov ebx, eax
call fcn.140002980
test ebx, ebx
jne 0x1400065b6
mov ecx, dword [rsp + 0x6c]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x1d38], r14
lea edx, [rbx + 1]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov rdx, qword [rsp + 0x40]
lea rcx, str.RmRegisterResources__ls__returned__d_n
mov r8d, eax
mov ebx, eax
call fcn.140002980
test ebx, ebx
jne 0x1400065a4
mov ecx, dword [rsp + 0x6c]
lea rax, [rsp + 0x78]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov dword [rsp + 0x68], 0xa
lea rdx, [rsp + 0x74]
call qword [sym.imp.RstrtMgr.DLL_RmGetList]
mov edx, eax
lea rcx, str.RmGetList_returned__d_n
mov ebx, eax
call fcn.140002980
test ebx, ebx
jne 0x1400065a4
mov r8d, dword [rsp + 0x74]
lea rcx, str.RmGetList_returned__d_infos___d_needed__n
mov edx, dword [rsp + 0x68]
call fcn.140002980
cmp dword [rsp + 0x68], r14d
jbe 0x1400065a4
mov qword [rsp + 0x1d68], rsi
mov qword [rsp + 0x1d70], rdi
mov qword [rsp + 0x1d78], r12
mov qword [rsp + 0x1d40], r13
mov qword [rsp + 0x1d30], r15
nop dword [rax]
mov eax, r14d
lea rcx, str._d.ApplicationType___d_n
imul rbx, rax, 0x29c
mov edx, r14d
mov r8d, dword [rbp + rbx + 0x22c]
call fcn.140002980
lea r8, [rbp - 0x54]
mov edx, r14d
add r8, rbx
lea rcx, str._d.strAppName___ls_n
call fcn.140002980
lea r13, [rbp - 0x60]
mov edx, r14d
add r13, rbx
lea rcx, str._d.Process.dwProcessId___d_n
mov r8d, dword [r13]
call fcn.140002980
mov r8d, dword [r13]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r12, rax
test rax, rax
je 0x14000656e
lea rax, [rbp - 0x78]
mov rcx, r12
lea r9, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x1400063f5
lea rcx, [rbp - 0x5c]
add rcx, rbx
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x1400063f5
lea r9, [rsp + 0x70]
mov dword [rsp + 0x70], 0x104
lea r8, [rbp + 0x1a10]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x1400063f5
cmp dword [rsp + 0x70], 0x104
ja 0x1400063f5
lea rdx, [rbp + 0x1a10]
lea rcx, str.____ls_n
call fcn.140002980
mov ecx, dword [r13]
call fcn.140006100
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
mov esi, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
test rax, rax
je 0x1400064e4
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_DebugActiveProcess]
mov edx, 0xffffffff
lea rcx, [rbp + 0x1a10]
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
cmp dword [rbp + 0x1a10], 3
jne 0x1400064bb
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400064bb
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1400064b2
nop dword [rax]
cmp dword [rsp + 0x54], esi
jne 0x1400064a0
mov r8d, dword [rsp + 0x50]
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rbx, rax
test rax, rax
je 0x1400064a0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x140006470
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov edx, dword [rbp + 0x1a18]
mov r8d, 0x10002
mov ecx, dword [rbp + 0x1a14]
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [r13]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [r13]
mov rbx, rax
call fcn.140006100
lea rdx, str.Handle:
mov dword [0x1400eddbc], eax
lea rcx, [0x1400ec5f0]
call fcn.140026050
mov rdx, rbx
mov rcx, rax
call fcn.14001e5b0
mov rcx, rax
call fcn.1400262c0
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x14000654a
lea rcx, [0x1400ec5f0]
lea rdx, str.Process_terminated_successfully.
jmp 0x140006558
lea rcx, [0x1400ec770]
lea rdx, str.Failed_to_terminate_process.
call fcn.140026050
mov rcx, rax
call fcn.1400262c0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc r14d
cmp r14d, dword [rsp + 0x68]
jb 0x140006310
mov r15, qword [rsp + 0x1d30]
mov r13, qword [rsp + 0x1d40]
mov r12, qword [rsp + 0x1d78]
mov rdi, qword [rsp + 0x1d70]
mov rsi, qword [rsp + 0x1d68]
mov ecx, dword [rsp + 0x6c]
call qword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov r14, qword [rsp + 0x1d38]
xor eax, eax
mov rcx, qword [rbp + 0x1c20]
xor rcx, rsp
call fcn.140080f30
add rsp, 0x1d48
pop rbx
pop rbp
ret