Function at 0x4c9970
Capabilities:
Enumerate processes
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x654
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 eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004dcc10
push 0x22c
lea eax, [ebp - 0x64c]
push edi
push eax
call fcn.004dcc10
add esp, 0x18
lea ecx, [ebp - 0x654]
xor ebx, ebx
mov dword [ebp - 0x658], ebx
call fcn.0047d0b0
mov dword [ebp - 4], ebx
call fcn.004c9910
call fcn.004876e0
test eax, eax
je 0x4c9ab4
lea ecx, [ebp - 0x650]
call fcn.0047d0b0
push 0x208
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.004dcc10
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x650]
push 0x534a0c
push eax
call fcn.0048cb40
add esp, 0x18
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x650]
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 - 0x654]
call fcn.0044f380
lea eax, [ebp - 0x654]
push eax
call fcn.004855c0
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9a80
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x4c9aa3
lea eax, [esi + 6]
push eax
lea ecx, [ebp - 0x654]
call fcn.0048c120
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0
call fcn.0044c000
jmp 0x4c9ac0
push esi
lea ecx, [ebp - 0x654]
call fcn.0044f380
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x650], esi
cmp esi, 0xffffffff
je 0x4c9c3f
lea eax, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4c9c38
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x65c], ecx
nop word [eax + eax]
mov eax, dword [ebp - 0x644]
cmp eax, ecx
je 0x4c9c12
test eax, eax
je 0x4c9c12
cmp eax, 4
je 0x4c9c12
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4c9c12
call fcn.004876e0
test eax, eax
je 0x4c9b6b
mov ecx, dword [0x54e0d0]
test ecx, ecx
je 0x4c9b6b
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call ecx
jmp 0x4c9b89
mov eax, dword [0x54e0cc]
test eax, eax
je 0x4c9c09
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
push edi
call eax
mov esi, eax
test esi, esi
je 0x4c9c03
lea ecx, [ebp - 0x654]
call fcn.0044f620
cmp esi, eax
jne 0x4c9c03
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x654]
call fcn.0044c020
push eax
call fcn.004e0469
add esp, 8
test eax, eax
jne 0x4c9c03
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x644]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push 0x51d7d0
push 0x54bba8
call fcn.0048d0e0
add esp, 0x18
test esi, esi
mov esi, dword [ebp - 0x650]
jne 0x4c9c00
inc dword [ebp - 0x658]
jmp 0x4c9c09
inc ebx
jmp 0x4c9c09
mov esi, dword [ebp - 0x650]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea eax, [ebp - 0x64c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
mov ecx, dword [ebp - 0x65c]
test eax, eax
jne 0x4c9b10
test edi, edi
je 0x4c9c38
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x660]
test eax, eax
je 0x4c9c4b
mov dword [eax], ebx
lea ecx, [ebp - 0x654]
call fcn.0044c000
mov eax, dword [ebp - 0x658]
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