Function at 0x10004df0
Capabilities:
Create restart manager session
Enumerate processes
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7fc
mov eax, dword [0x10361e80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x7f4]
mov esi, 1
push 0
push eax
call fcn.1014ab10
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x7fc], eax
cmp eax, 0xffffffff
je 0x100050fe
lea ecx, [ebp - 0x7f8]
mov dword [ebp - 0x7f8], 0x128
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100050fe
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test esi, esi
je 0x100050fe
push dword [ebp - 0x7f0]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x7d4]
push str.360Tray.exe
push eax
mov dword [ebp - 0x6c4], esi
call ebx
test eax, eax
jne 0x100050b5
test esi, esi
je 0x100050b5
push 0x200
lea eax, [ebp - 0x6c0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
lea eax, [ebp - 0x2b0]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x10004fc9
cmp byte [ebp - 0x2b0], 0
je 0x10004fc9
lea edi, [ebp - 0x2b0]
push 0x101b629c
push edi
call ebx
test eax, eax
je 0x10004fbd
push 0x101b62a0
push edi
call ebx
test eax, eax
je 0x10004fbd
movzx eax, byte [edi]
mov byte [ebp - 0x6c8], al
movzx eax, byte [edi + 1]
mov byte [ebp - 0x6c7], al
lea eax, [ebp - 0xb8]
push 0x64
push eax
lea eax, [ebp - 0x6c8]
mov byte [ebp - 0x6c6], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x10004fdd
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea edx, [ebp - 0x6c0]
mov esi, ebx
lea eax, [ebp - 0xb8]
sub esi, 4
jb 0x10004f71
nop dword [eax + eax]
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10004f7a
add edx, 4
add eax, 4
sub esi, 4
jae 0x10004f60
cmp esi, 0xfffffffc
je 0x100050cf
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10004fb7
cmp esi, 0xfffffffd
je 0x100050cf
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10004fb7
cmp esi, 0xfffffffe
je 0x100050cf
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10004fb7
cmp esi, 0xffffffff
je 0x100050cf
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x100050cf
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add edi, 4
cmp byte [edi], 0
jne 0x10004ee1
lea eax, [ebp - 0x6c0]
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x6c4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x42
lea eax, [ebp - 0x50]
mov dword [ebp - 0x6c4], 0xffffffff
push 0
push eax
call fcn.1014ab10
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x6c4]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov esi, eax
push esi
push 0x101b62a4
call fcn.1000c5f0
add esp, 8
test esi, esi
jne 0x10005098
lea ecx, [ebp - 0x4c0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005033
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
push eax
lea eax, [ebp - 0x4c0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x100050a3
push 0
push 0
push 0
lea eax, [ebp - 0x2c0]
push 0
mov dword [ebp - 0x6cc], eax
lea eax, [ebp - 0x6cc]
push eax
push 1
push dword [ebp - 0x6c4]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x10005098
push eax
push eax
push dword [ebp - 0x6c4]
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x6c4]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x7f8]
push eax
push dword [ebp - 0x7fc]
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov esi, eax
jmp 0x10004e60
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x6c0]
add eax, ebx
push eax
lea eax, [ebp - 0x4c0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10004fdd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101465c2
mov esp, ebp
pop ebp
ret