Function at 0x4c9670
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor esi, esi
xor edi, edi
push esi
push eax
call fcn.004dcc10
push 0x22c
lea eax, [ebp - 0x64c]
push esi
push eax
call fcn.004dcc10
add esp, 0x18
lea ecx, [ebp - 0x650]
call fcn.0047d0b0
mov dword [ebp - 4], esi
call fcn.004c9910
call fcn.004876e0
test eax, eax
je 0x4c97a4
lea ecx, [ebp - 0x654]
call fcn.0047d0b0
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.004dcc10
movzx eax, word [ebx]
push eax
lea eax, [ebp - 0x654]
push 0x534a0c
push eax
call fcn.0048cb40
add esp, 0x18
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x654]
push 0x104
push eax
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x650]
call fcn.0044f380
lea eax, [ebp - 0x650]
push eax
call fcn.004855c0
mov ecx, ebx
add esp, 4
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9770
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x4c9793
lea eax, [ebx + 6]
push eax
lea ecx, [ebp - 0x650]
call fcn.0048c120
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0
call fcn.0044c000
jmp 0x4c97b0
push ebx
lea ecx, [ebp - 0x650]
call fcn.0044f380
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4c98e3
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c98dc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x654], eax
nop
mov ecx, dword [ebp - 0x644]
cmp ecx, eax
je 0x4c989d
test ecx, ecx
je 0x4c989d
cmp ecx, 4
je 0x4c989d
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4c989d
call fcn.004876e0
test eax, eax
je 0x4c9846
mov eax, dword [0x54e0d0]
test eax, eax
je 0x4c9846
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push esi
call eax
jmp 0x4c9860
mov eax, dword [0x54e0cc]
test eax, eax
je 0x4c9894
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push esi
call eax
mov edi, eax
test edi, edi
je 0x4c9894
lea ecx, [ebp - 0x650]
call fcn.0044f620
cmp edi, eax
jne 0x4c9894
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x650]
call fcn.0044c020
push eax
call fcn.004e0469
add esp, 8
test eax, eax
je 0x4c98bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
lea eax, [ebp - 0x64c]
mov edi, esi
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x4c98c9
mov eax, dword [ebp - 0x654]
jmp 0x4c97f0
push esi
mov edi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c98dc
mov esi, edi
test edi, edi
je 0x4c98da
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c98dc
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x650]
call fcn.0044c000
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dafe6
mov esp, ebp
pop ebp
ret