Function at 0x1000f1b0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002ac06
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x100357ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x350]
push eax
push 0x20019
xor edi, edi
push edi
push str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f40f
mov eax, dword [ebp - 0x350]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x34c]
push ecx
push edi
lea edx, [ebp - 0x35c]
push edx
push edi
push str.360Safetray
push eax
mov dword [ebp - 0x34c], edi
call esi
test eax, eax
jne 0x1000f402
cmp dword [ebp - 0x35c], 1
jne 0x1000f402
mov eax, dword [ebp - 0x34c]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10010c34
mov ecx, dword [ebp - 0x350]
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x34c]
push eax
push ebx
push edi
push edi
push str.360Safetray
push ecx
call esi
test eax, eax
jne 0x1000f3f9
xor edx, edx
mov eax, ebx
mov word [ebp - 0x328], dx
mov dword [ebp - 0x314], 7
mov dword [ebp - 0x318], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000f2a5
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [ebp - 0x328]
call fcn.1000fec0
lea eax, [ebp - 0x328]
push eax
lea esi, [ebp - 0x344]
mov dword [ebp - 4], edi
call fcn.1000f120
add esp, 4
lea esi, [ebp - 0x328]
mov byte [ebp - 4], 2
call fcn.10007ec0
push edi
lea edx, [ebp - 0x344]
mov dword [ebp - 0x2fc], edi
xor ecx, ecx
push edx
or eax, 0xffffffff
lea edi, [ebp - 0x30c]
mov dword [ebp - 0x2f8], 7
mov word [ebp - 0x30c], cx
call fcn.1000fd60
xor eax, eax
push 0x40
push eax
lea ecx, [ebp - 0x52]
push ecx
mov word [ebp - 0x54], ax
call fcn.10015af0
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
push 0
lea eax, [ebp - 0x348]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
cmp dword [ebp - 0x2f8], 8
jb 0x1000f357
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x354], ecx
jmp 0x1000f363
lea edx, [ebp - 0x30c]
mov dword [ebp - 0x354], edx
mov ecx, dword [ebp - 0x348]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x354]
push eax
push 1
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
lea edx, [ebp - 0x360]
push edx
lea eax, [ebp - 0x2f0]
push eax
mov eax, dword [ebp - 0x348]
lea ecx, [ebp - 0x358]
push ecx
lea edx, [ebp - 0x364]
push edx
push eax
mov dword [ebp - 0x358], 1
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
mov ecx, dword [ebp - 0x348]
push 0
push 1
push ecx
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
mov edx, dword [ebp - 0x348]
push 0
push 0
push edx
call dword [sym.imp.RstrtMgr.DLL_RmRestart]
mov eax, dword [ebp - 0x348]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
lea esi, [ebp - 0x30c]
call fcn.10007ec0
lea esi, [ebp - 0x344]
call fcn.10007ec0
push ebx
call fcn.10013545
add esp, 4
mov ecx, dword [ebp - 0x350]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012a2e
mov esp, ebp
pop ebp
ret