Function at 0x4ce777
Capabilities:
Enumerate processes
Get disk information

Disassembly:
push 0x650
mov eax, 0x53375b
call fcn.004f1db2
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.004f28b0
push 0x228
lea eax, [ebp - 0x648]
mov dword [ebp - 0x64c], ebx
push ebx
push eax
call fcn.004f28b0
add esp, 0x18
call fcn.00437474
push eax
lea ecx, [ebp - 0x650]
call fcn.0043a4ef
mov dword [ebp - 4], ebx
call fcn.004d1491
call fcn.004ce6e9
test eax, eax
je 0x4ce8d6
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.004f28b0
movzx eax, word [esi]
push eax
lea eax, [ebp - 0x654]
push 0x53de8c
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.004cf906
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 0x4ce894
sub ecx, dword [ebp - 0x65c]
sar ecx, 1
cmp ecx, 3
jbe 0x4ce8c9
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 0x4ce8ea
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 0x5aca00
call fcn.004dddd9
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x654], eax
cmp eax, 0xffffffff
je 0x4cea46
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x64c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4cea3a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x658], eax
mov ecx, dword [ebp - 0x644]
cmp ecx, eax
je 0x4cea0c
test ecx, ecx
je 0x4cea0c
cmp ecx, 4
je 0x4cea0c
push ecx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4cea0c
call fcn.004ce6e9
test eax, eax
je 0x4ce99e
mov eax, dword [0x5ac924]
test eax, eax
je 0x4ce99e
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push edi
call eax
jmp 0x4ce9b7
mov eax, dword [0x5ac920]
test eax, eax
je 0x4cea03
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
push edi
call eax
test eax, eax
je 0x4cea03
cmp dword [ebp + 0x10], 0
je 0x4ce9db
cmp eax, dword [esi - 0xc]
jb 0x4cea03
push dword [esi - 0xc]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004f5a03
add esp, 0xc
jmp 0x4ce9ef
cmp eax, dword [esi - 0xc]
jne 0x4cea03
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004f3482
pop ecx
pop ecx
test eax, eax
jne 0x4cea03
push dword [ebp - 0x644]
call fcn.004cc77b
pop ecx
test eax, eax
je 0x4cea2f
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 0x4ce945
xor ebx, ebx
inc ebx
test edi, edi
je 0x4cea3a
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.004f1d61
ret