Function at 0x4e07d7
Capabilities:
Enumerate processes
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
mov eax, dword [0x57a120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0x20c], ax
push 0x206
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x644], esi
push edi
push eax
mov ebx, edi
call fcn.004f3a90
push 0x228
lea eax, [ebp - 0x63c]
mov dword [ebp - 0x640], edi
push edi
push eax
call fcn.004f3a90
add esp, 0x18
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x648]
call fcn.004c65c1
call fcn.004e0749
test eax, eax
je 0x4e08fa
call fcn.004c5a90
push eax
lea ecx, [ebp - 0x64c]
call fcn.004c65c1
xor eax, eax
push 0x206
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push edi
push eax
call fcn.004f3a90
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x64c]
push 0x54f364
push eax
call fcn.004c6f31
mov esi, dword [ebp - 0x64c]
lea eax, [ebp - 0x414]
add esp, 0x18
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x648]
call fcn.004c791f
lea eax, [ebp - 0x648]
push eax
call fcn.004e20f3
push dword [ebp - 0x644]
call fcn.004f353f
pop ecx
pop ecx
cmp eax, 3
jbe 0x4e08f0
mov eax, dword [ebp - 0x644]
lea ecx, [ebp - 0x648]
add eax, 6
push eax
call fcn.004c67ff
lea ecx, [esi - 0x10]
call fcn.004c77e2
jmp 0x4e0906
push esi
lea ecx, [ebp - 0x648]
call fcn.004c791f
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, dword [ebp - 0x648]
mov dword [ebp - 0x644], eax
cmp eax, 0xffffffff
je 0x4e0a32
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x640], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4e0a26
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x64c], eax
mov ecx, dword [ebp - 0x638]
cmp ecx, eax
je 0x4e09f8
test ecx, ecx
je 0x4e09f8
cmp ecx, 4
je 0x4e09f8
push ecx
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x4e09f8
call fcn.004e0749
test eax, eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
je 0x4e099d
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
jmp 0x4e09a4
push edi
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4e09ef
cmp dword [ebp + 0x10], edi
je 0x4e09c7
cmp eax, dword [esi - 0xc]
jb 0x4e09ef
push dword [esi - 0xc]
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004fc4a1
add esp, 0xc
jmp 0x4e09db
cmp eax, dword [esi - 0xc]
jne 0x4e09ef
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004f5a84
pop ecx
pop ecx
test eax, eax
jne 0x4e09ef
push dword [ebp - 0x638]
call fcn.004dd0e6
pop ecx
test eax, eax
je 0x4e0a1b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
lea eax, [ebp - 0x640]
push eax
push dword [ebp - 0x644]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x64c]
jne 0x4e094e
xor edi, edi
inc edi
test ebx, ebx
je 0x4e0a26
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004c77e2
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f3b66
mov esp, ebp
pop ebp
ret