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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7f4
push ebx
push esi
push edi
push 0x124
lea eax, [ebp - 0x1e4]
mov esi, 1
push 0
push eax
call fcn.10145e70
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x10003c76
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x1e8], 0x128
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10003c76
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test esi, esi
je 0x10003c76
push dword [ebp - 0x1e0]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
lea eax, [ebp - 0x1c4]
push str.360Tray.exe
push eax
mov dword [ebp - 4], esi
call ebx
test eax, eax
jne 0x10003c33
test esi, esi
je 0x10003c33
push 0x200
lea eax, [ebp - 0x7f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
lea eax, [ebp - 0x3e0]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x10003b59
cmp byte [ebp - 0x3e0], 0
je 0x10003b59
lea edi, [ebp - 0x3e0]
push 0x101b02f0
push edi
call ebx
test eax, eax
je 0x10003b4d
push 0x101b02f4
push edi
call ebx
test eax, eax
je 0x10003b4d
movzx eax, byte [edi]
mov byte [ebp - 8], al
movzx eax, byte [edi + 1]
mov byte [ebp - 7], al
lea eax, [ebp - 0xc0]
push 0x64
push eax
lea eax, [ebp - 8]
mov byte [ebp - 6], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x10003b6d
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea edx, [ebp - 0x7f0]
mov esi, ebx
lea eax, [ebp - 0xc0]
sub esi, 4
jb 0x10003b01
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x10003b0a
add edx, 4
add eax, 4
sub esi, 4
jae 0x10003af0
cmp esi, 0xfffffffc
je 0x10003c4a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10003b47
cmp esi, 0xfffffffd
je 0x10003c4a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x10003b47
cmp esi, 0xfffffffe
je 0x10003c4a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x10003b47
cmp esi, 0xffffffff
je 0x10003c4a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x10003c4a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
add edi, 4
cmp byte [edi], 0
jne 0x10003a81
lea eax, [ebp - 0x7f0]
push eax
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x42
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
call fcn.10145e70
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov esi, eax
push esi
push 0x101b02f8
call fcn.10007d80
add esp, 8
test esi, esi
jne 0x10003c19
lea ecx, [ebp - 0x5f0]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003bc0
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
push eax
lea eax, [ebp - 0x5f0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10003c24
push 0
push 0
push 0
lea eax, [ebp - 0x3f0]
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x10003c19
push eax
push eax
push dword [ebp - 4]
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 4]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x1e8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov esi, eax
jmp 0x10003a03
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x7f0]
add eax, ebx
push eax
lea eax, [ebp - 0x5f0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10003b6d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret