Function at 0x429bcb
Capabilities:
Enumerate processes
Get disk information
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
push ebx
push esi
push edi
mov ebx, 0x206
xor esi, esi
push ebx
mov edi, eax
lea eax, [esp + 0x256]
push esi
push eax
mov word [esp + 0x25c], si
call fcn.00486d70
add esp, 0xc
push 0x228
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x2c], esi
call fcn.00486d70
mov eax, dword [0x50e594]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov esi, 0x50e594
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
call fcn.004296d1
call fcn.00429b7f
test eax, eax
je 0x429cec
mov eax, dword [0x50e594]
mov ecx, esi
call dword [eax + 0xc]
and word [esp + 0x458], 0
add eax, 0x10
push ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x45e]
push 0
push eax
call fcn.00486d70
movzx eax, word [edi]
add esp, 0xc
push eax
push 0x4f12f0
lea eax, [esp + 0x14]
call fcn.0042318c
pop ecx
pop ecx
push 0x104
lea eax, [esp + 0x45c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea eax, [esp + 0x458]
push eax
call fcn.0048650a
pop ecx
lea ecx, [esp + 0x458]
mov ebx, eax
push ecx
lea eax, [esp + 0x14]
call fcn.004152f3
lea esi, [esp + 0x10]
call fcn.00429449
push edi
call fcn.0048650a
cmp eax, 3
pop ecx
jbe 0x429cde
add edi, 6
push edi
mov eax, esi
push eax
call fcn.00401000
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.00401023
jmp 0x429cf7
push edi
lea eax, [esp + 0x14]
push eax
call fcn.004152cd
push dword [esp + 0x10]
mov esi, 0x51049c
push str.KillProcessByPath_path:_ws
call fcn.004452e2
pop ecx
pop ecx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x429d41
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.KillProcessByPath_CreateToolhelp32Snapshot__error:_d
call fcn.004452e2
push str.CreateSnapshot_fail
call fcn.0042ac5c
add esp, 0xc
jmp 0x429ee3
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x429ed9
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x1c]
je 0x429ec3
xor edi, edi
cmp eax, edi
je 0x429ec3
cmp eax, 4
je 0x429ec3
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, edi
jne 0x429dfe
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
lea eax, [esp + 0x44]
push str.cmcore.exe
push eax
call fcn.004879bc
test eax, eax
pop ecx
pop ecx
je 0x429dd3
lea eax, [esp + 0x44]
push str.cmtray.exe
push eax
call fcn.004879bc
test eax, eax
pop ecx
pop ecx
jne 0x429ec3
push edi
lea eax, [esp + 0x48]
push eax
push str._ws:_d
call fcn.0042ac5c
add esp, 0xc
push edi
lea eax, [esp + 0x48]
push eax
push str.KillProcessByPath_OpenProcess_fail__process:_ws__error:_d
call fcn.004452e2
add esp, 0xc
jmp 0x429ec3
call fcn.00429b7f
test eax, eax
je 0x429e22
mov eax, dword [0x50f8d4]
cmp eax, edi
je 0x429e22
push 0x104
lea ecx, [esp + 0x254]
push ecx
push ebx
call eax
jmp 0x429e40
mov eax, dword [0x50f8d0]
cmp eax, edi
je 0x429ebc
push 0x104
lea ecx, [esp + 0x254]
push ecx
push edi
push ebx
call eax
cmp eax, edi
je 0x429ebc
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
cmp eax, ecx
jbe 0x429ebc
push ecx
lea eax, [esp + 0x254]
push eax
push edx
call fcn.00487809
add esp, 0xc
test eax, eax
jne 0x429ebc
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edi, eax
lea eax, [esp + 0x250]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
call fcn.004452e2
add esp, 0x14
test edi, edi
jne 0x429eb8
push dword [esp + 0x28]
call fcn.0042b0bd
test eax, eax
pop ecx
jne 0x429eb8
push dword [esp + 0x28]
push str.StopProcessByPid_pid:_d_return_fase
call fcn.004452e2
inc dword [esp + 0x20]
pop ecx
pop ecx
jmp 0x429ebc
inc dword [esp + 0x14]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x10]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x429d69
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 8]
test eax, eax
je 0x429ef0
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.00401023
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret