Function at 0x4c86e0
Capabilities:
Get disk information
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x212c
call fcn.004fc970
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x470
call fcn.004fbcb4
push 0x470
mov edi, eax
push 0
push edi
mov dword [ebp - 0x2128], edi
call fcn.004ffc00
push str.unknown
lea eax, [edi + 4]
mov dword [edi], esi
push 0x64
push eax
call fcn.0050c641
push esi
push str.unknown__pid:__d_
lea ebx, [edi + 0x68]
push 0x400
push ebx
call fcn.004ab890
add esp, 0x2c
mov dword [edi + 0x468], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push 0
push 0x400
mov dword [edi + 0x46c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x211c], eax
test eax, eax
je 0x4c8a7b
push 0x1000
lea eax, [ebp - 0x1108]
push 0
push eax
call fcn.004ffc00
add esp, 0xc
lea eax, [ebp - 0x1108]
push 0x1000
push eax
push dword [ebp - 0x211c]
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
test eax, eax
je 0x4c8a6f
lea eax, [ebp - 0x1107]
push 0x5c
push eax
call fcn.004fdb00
add esp, 8
test eax, eax
je 0x4c88ae
inc eax
push 0x5c
push eax
call fcn.004fdb00
mov esi, eax
add esp, 8
test esi, esi
je 0x4c88ae
mov bh, byte [esi]
lea eax, [ebp - 0x105]
mov byte [esi], 0
mov cx, word [0x575200]
push 0x101
mov word [ebp - 0x108], cx
mov cl, byte [0x575202]
push 0
push eax
mov byte [ebp - 0x106], cl
call fcn.004ffc00
add esp, 0xc
mov bl, 0x41
push 0x104
lea eax, [ebp - 0x120c]
mov byte [ebp - 0x108], bl
push eax
lea eax, [ebp - 0x108]
mov byte [ebp - 0x120c], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x4c8857
lea eax, [ebp - 0x1108]
push eax
lea eax, [ebp - 0x120c]
push eax
call fcn.0050bf2e
add esp, 8
test eax, eax
je 0x4c8865
inc bl
cmp bl, 0x5a
jl 0x4c8813
mov byte [esi], bh
jmp 0x4c8a6f
push 0x573260
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0050c757
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0050c757
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x1108]
push 0x1000
push eax
call fcn.0050c641
add esp, 0x24
lea ebx, [edi + 0x68]
lea eax, [ebp - 0x2120]
mov dword [ebp - 0x2120], 0
push eax
lea eax, [ebp - 0x2108]
push eax
push 0x104
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0x2120]
test eax, eax
je 0x4c88f6
push 0x3ff
push eax
push 0x400
push ebx
call fcn.0050c74c
add esp, 0x10
lea eax, [ebp - 0x212c]
push eax
lea eax, [ebp - 0x1108]
push eax
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
test eax, eax
je 0x4c8920
xor eax, eax
cmp dword [ebp - 0x212c], 6
sete al
mov dword [edi + 0x468], eax
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0xff
push 0
mov dword [ebp - 0x2124], 0xff
mov dword [ebp - 0x2110], 0xff
call esi
push dword [ebp - 0x2110]
mov ebx, eax
push 0
call esi
push dword [ebp - 0x2124]
mov dword [ebp - 0x2114], eax
push 0
push ebx
call fcn.004ffc00
push dword [ebp - 0x2110]
push 0
push dword [ebp - 0x2114]
call fcn.004ffc00
add esp, 0x18
lea eax, [ebp - 0x2118]
push eax
push 8
push dword [ebp - 0x211c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4c8a6f
lea eax, [ebp - 0x210c]
mov dword [ebp - 0x210c], 0
push eax
push 0
push 0
push 1
push dword [ebp - 0x2118]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4c8a52
push dword [ebp - 0x210c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4c8a52
lea eax, [ebp - 0x210c]
push eax
push dword [ebp - 0x210c]
push esi
push 1
push dword [ebp - 0x2118]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4c8a42
lea eax, [ebp - 0x2128]
mov dword [ebp - 0x2128], 8
push eax
lea eax, [ebp - 0x2110]
push eax
push dword [ebp - 0x2114]
lea eax, [ebp - 0x2124]
push eax
push ebx
push dword [esi]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
push ebx
lea eax, [edi + 4]
push 0x64
push eax
call fcn.0050c641
add esp, 0xc
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x2114]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push ebx
call esi
push dword [ebp - 0x2118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x211c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fbc95
mov esp, ebp
pop ebp
ret 4