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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x65c
push ebx
push esi
push edi
mov edi, 0x206
xor ebx, ebx
push edi
lea eax, [esp + 0x25e]
push ebx
push eax
mov word [esp + 0x264], bx
call fcn.0048a3a0
add esp, 0xc
push 0x228
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.0048a3a0
mov eax, dword [0x4dd4b4]
mov esi, 0x4dd4b4
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
call fcn.0042315d
call fcn.004236b0
test eax, eax
je 0x42388f
mov eax, dword [0x4dd4b4]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
push edi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x466]
push ebx
push eax
mov word [esp + 0x46c], bx
call fcn.0048a3a0
mov edi, dword [ebp + 8]
movzx eax, word [edi]
add esp, 0xc
push eax
lea eax, [esp + 0x1c]
push 0x4bce40
push eax
call fcn.0041e2cd
add esp, 0xc
push 0x104
lea eax, [esp + 0x464]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea eax, [esp + 0x460]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401af8
lea esi, [esp + 0x14]
call fcn.00422daf
push edi
call fcn.0048a6a1
cmp eax, 3
pop ecx
jbe 0x423881
add edi, 6
push edi
mov eax, esi
push eax
call fcn.0040537b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0040151c
jmp 0x42389c
push dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call fcn.00401af8
push dword [esp + 0x14]
mov esi, 0x4de92c
push str.KillProcessByPath_path:_ws
call fcn.0044aa61
pop ecx
pop ecx
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x4238e5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.KillProcessByPath_CreateToolhelp32Snapshot__error:_d
call fcn.0044aa61
push str.CreateSnapshot_fail
call fcn.00424d1d
add esp, 0xc
jmp 0x423ab4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x423aaa
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x20]
je 0x423a94
cmp eax, ebx
je 0x423a94
cmp eax, 4
je 0x423a94
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
jne 0x4239a4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
lea eax, [esp + 0x4c]
push str.kxescore.exe
push eax
call fcn.0048ca4a
test eax, eax
pop ecx
pop ecx
je 0x423979
lea eax, [esp + 0x4c]
push str.kxetray.exe
push eax
call fcn.0048ca4a
test eax, eax
pop ecx
pop ecx
jne 0x423a94
push edi
lea eax, [esp + 0x50]
push eax
push str._ws:_d
call fcn.00424d1d
add esp, 0xc
push edi
lea eax, [esp + 0x50]
push eax
push str.KillProcessByPath_OpenProcess_fail__process:_ws__error:_d
call fcn.0044aa61
add esp, 0xc
jmp 0x423a94
call fcn.004236b0
test eax, eax
je 0x4239c8
mov eax, dword [0x4de598]
cmp eax, ebx
je 0x4239c8
push 0x104
lea ecx, [esp + 0x25c]
push ecx
push edi
call eax
jmp 0x4239e6
mov eax, dword [0x4de594]
cmp eax, ebx
je 0x423a8a
push 0x104
lea ecx, [esp + 0x25c]
push ecx
push ebx
push edi
call eax
cmp eax, ebx
je 0x423a8a
cmp dword [ebp + 0x10], ebx
je 0x423a16
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
cmp eax, ecx
jbe 0x423a8a
push ecx
lea eax, [esp + 0x25c]
push eax
push edx
call fcn.0048ce2a
add esp, 0xc
jmp 0x423a2f
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 0xc]
jne 0x423a8a
lea eax, [esp + 0x258]
push eax
push ecx
call fcn.0048ca4a
pop ecx
pop ecx
test eax, eax
jne 0x423a8a
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edi, eax
lea eax, [esp + 0x258]
push eax
push dword [esp + 0x34]
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.0044aa61
add esp, 0x14
cmp edi, ebx
jne 0x423a86
push dword [esp + 0x30]
call fcn.00425ab3
test eax, eax
pop ecx
jne 0x423a86
push dword [esp + 0x30]
push str.StopProcessByPid_pid:_d_return_fase
call fcn.0044aa61
inc dword [esp + 0x24]
pop ecx
pop ecx
jmp 0x423a8a
inc dword [esp + 0x10]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x42390d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x423ac1
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret