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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf306
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x464], 0xffffffff
mov word [ebp - 0x45c], 0
push 0x206
push 0
lea eax, [ebp - 0x45a]
push eax
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea ecx, [ebp - 0x248]
push ecx
call fcn.0049d120
add esp, 0xc
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x468]
call fcn.00417fe0
mov dword [ebp - 4], 0
call fcn.004023d0
call fcn.00402580
test eax, eax
je 0x40277a
lea ecx, [ebp - 0x680]
call fcn.00417fe0
mov byte [ebp - 4], 1
mov word [ebp - 0x67c], 0
push 0x206
push 0
lea edx, [ebp - 0x67a]
push edx
call fcn.0049d120
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ecx
push 0x4cdcd0
lea edx, [ebp - 0x680]
push edx
call fcn.00405770
add esp, 0xc
push 0x104
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x680]
call fcn.004683f0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x67c]
push ecx
lea ecx, [ebp - 0x468]
call fcn.004058b0
lea edx, [ebp - 0x468]
push edx
call fcn.00401e40
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.0049d109
add esp, 4
cmp eax, 3
jbe 0x402769
mov ecx, dword [ebp + 8]
add ecx, 6
push ecx
lea ecx, [ebp - 0x468]
call fcn.00403b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x680]
call fcn.00417fc0
jmp 0x402789
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x468]
call fcn.004058b0
lea ecx, [ebp - 0x468]
call fcn.004683f0
push eax
push str.KillProcessByPath_path:_ws
push 0x4e77f8
call fcn.00489600
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
jne 0x4027c4
jmp 0x40297f
mov dword [ebp - 0x24c], 0x22c
lea eax, [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x464]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4027ea
jmp 0x40297f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x46c]
je 0x402816
cmp dword [ebp - 0x244], 0
je 0x402816
cmp dword [ebp - 0x244], 4
jne 0x40281b
jmp 0x40295a
mov eax, dword [ebp - 0x244]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
je 0x40295a
mov dword [ebp - 0x14], 0
call fcn.00402580
test eax, eax
je 0x402879
cmp dword [0x4e7370], 0
je 0x402879
push 0x104
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call dword [0x4e7370]
mov dword [ebp - 0x14], eax
jmp 0x4028a0
cmp dword [0x4e736c], 0
je 0x4028a0
push 0x104
lea eax, [ebp - 0x45c]
push eax
push 0
mov ecx, dword [ebp - 0x250]
push ecx
call dword [0x4e736c]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x402943
lea ecx, [ebp - 0x468]
call fcn.0041ee90
cmp dword [ebp - 0x14], eax
jne 0x402943
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x468]
call fcn.004683f0
push eax
call fcn.0049d802
add esp, 8
test eax, eax
jne 0x402943
push 0
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x460], eax
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x460]
push eax
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
push 0x4e77f8
call fcn.00489600
add esp, 0x18
cmp dword [ebp - 0x460], 0
jne 0x402934
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x402943
mov edx, dword [ebp - 0x470]
add edx, 1
mov dword [ebp - 0x470], edx
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x464]
push edx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4027f6
mov dword [ebp - 0x254], 1
cmp dword [ebp - 0x250], 0
je 0x402995
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x464], 0xffffffff
je 0x4029ab
mov ecx, dword [ebp - 0x464]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x4029bc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x470]
mov dword [edx], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x684], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00417fc0
mov eax, dword [ebp - 0x684]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret