Function at 0x4cec50
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push 0x650
mov eax, 0x533e02
call fcn.004f2332
mov esi, dword [ebp + 8]
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x218], ax
push 0x206
lea eax, [ebp - 0x216]
mov dword [ebp - 0x65c], esi
push ebx
mov edi, ebx
push eax
mov dword [ebp - 0x658], edi
call fcn.004f2e30
push 0x228
lea eax, [ebp - 0x648]
mov dword [ebp - 0x64c], ebx
push ebx
push eax
call fcn.004f2e30
add esp, 0x18
call fcn.00437474
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a4ef
mov dword [ebp - 4], ebx
call fcn.004d1969
call fcn.004cebc2
test eax, eax
je 0x4cedaf
call fcn.00437474
push eax
lea ecx, [ebp - 0x654]
call fcn.0043a4ef
xor eax, eax
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004f2e30
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x654]
push 0x53f22c
push eax
call fcn.0043ab29
mov esi, dword [ebp - 0x654]
lea eax, [ebp - 0x420]
add esp, 0x18
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x420]
push eax
call fcn.0043a8c3
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a84a
lea eax, [ebp - 0x650]
push eax
call fcn.004cfddf
mov edx, dword [ebp - 0x65c]
pop ecx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x65c], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4ced6d
sub ecx, dword [ebp - 0x65c]
sar ecx, 1
cmp ecx, 3
jbe 0x4ceda2
lea edi, [edx + 6]
push edi
call fcn.0043a8c3
pop ecx
push eax
push edi
lea ecx, [ebp - 0x650]
call fcn.004516f5
mov edi, dword [ebp - 0x658]
lea ecx, [esi - 0x10]
mov byte [ebp - 4], bl
call fcn.00436fdb
jmp 0x4cedc3
push esi
call fcn.0043a8c3
pop ecx
push eax
push esi
lea ecx, [ebp - 0x650]
call fcn.0043a84a
mov esi, dword [ebp - 0x650]
push esi
push str.KillProcessByPath_path:_ws
push 0x5aea00
call fcn.004de360
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x654], eax
cmp eax, 0xffffffff
je 0x4cef1f
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4cef13
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x644]
cmp ecx, eax
je 0x4ceee5
test ecx, ecx
je 0x4ceee5
cmp ecx, 4
je 0x4ceee5
push ecx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4ceee5
call fcn.004cebc2
test eax, eax
je 0x4cee77
mov eax, dword [0x5ae924]
test eax, eax
je 0x4cee77
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call eax
jmp 0x4cee90
mov eax, dword [0x5ae920]
test eax, eax
je 0x4ceedc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
push edi
call eax
test eax, eax
je 0x4ceedc
cmp dword [ebp + 0x10], 0
je 0x4ceeb4
cmp eax, dword [esi - 0xc]
jb 0x4ceedc
push dword [esi - 0xc]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004f5f83
add esp, 0xc
jmp 0x4ceec8
cmp eax, dword [esi - 0xc]
jne 0x4ceedc
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004f38f9
pop ecx
pop ecx
test eax, eax
jne 0x4ceedc
push dword [ebp - 0x644]
call fcn.004ccc54
pop ecx
test eax, eax
je 0x4cef08
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
lea eax, [ebp - 0x64c]
push eax
push dword [ebp - 0x654]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov eax, dword [ebp - 0x658]
jne 0x4cee1e
xor ebx, ebx
inc ebx
test edi, edi
je 0x4cef13
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.00436fdb
mov eax, ebx
call fcn.004f22e1
ret