Function at 0x100011ff
Capabilities:
Create restart manager session
Enumerate processes
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10015332
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x109c4
call fcn.10010f30
mov eax, dword [0x1001c680]
xor eax, esp
mov dword [esp + 0x109c0], eax
push ebx
push esi
push edi
mov eax, dword [0x1001c680]
xor eax, esp
push eax
lea eax, [esp + 0x109d8]
mov dword fs:[0], eax
or dword [esp + 0x14], 0xffffffff
xor eax, eax
push 0x40
mov word [esp + 0x10780], ax
xor edi, edi
lea eax, [esp + 0x10782]
push edi
push eax
call fcn.10005ec0
add esp, 0xc
lea eax, [esp + 0x1077c]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
cmp eax, edi
jne 0x10001464
push str.360Tray.exe
lea esi, [esp + 0x274]
call fcn.10001c56
mov dword [esp + 0x109e0], edi
xor eax, eax
mov dword [esp + 0x268], 7
mov dword [esp + 0x264], edi
mov word [esp + 0x254], ax
push edi
push 2
mov byte [esp + 0x109e8], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xffffffff
jne 0x100012eb
push str.Error:_Unable_to_create_process_snapshot.
call fcn.10002103
push eax
call fcn.10001139
pop ecx
pop ecx
jmp 0x1000143c
lea eax, [esp + 0x24]
push eax
push esi
mov dword [esp + 0x2c], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x10001311
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Error:_Unable_to_retrieve_process_information.
jmp 0x100012d9
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x284], 8
mov eax, dword [esp + 0x270]
jae 0x1000132f
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1000483a
pop ecx
pop ecx
test eax, eax
jne 0x1000137a
push dword [esp + 0x2c]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x1000137a
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x107c8]
push eax
push edi
push ebx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x10001398
push ebx
call esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10001317
push dword [esp + 0x10]
call esi
jmp 0x1000143c
lea eax, [esp + 0x107c4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100013a2
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x107c8]
lea ecx, [esp + 0x258]
call fcn.10001e75
push ebx
call esi
push dword [esp + 0x10]
call esi
cmp dword [esp + 0x268], 8
mov eax, dword [esp + 0x254]
jae 0x100013e6
lea eax, [esp + 0x254]
push edi
push edi
push edi
push edi
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push 1
push dword [esp + 0x2c]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x1000143c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x290]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x2c], 0x64
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x1000143c
push edi
push edi
push dword [esp + 0x1c]
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
push dword [esp + 0x14]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
push 1
xor edi, edi
lea esi, [esp + 0x258]
call fcn.10001d67
push 1
lea esi, [esp + 0x274]
call fcn.10001d67
mov ecx, dword [esp + 0x109d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x109c0]
xor ecx, esp
call fcn.100046a1
mov esp, ebp
pop ebp
ret