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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
push ebx
push esi
push edi
mov edi, 0x206
xor esi, esi
push edi
mov ebx, eax
lea eax, [esp + 0x256]
push esi
push eax
mov word [esp + 0x25c], si
call fcn.0048af40
add esp, 0xc
push 0x228
lea eax, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x2c], esi
call fcn.0048af40
mov eax, dword [0x4df4b4]
mov dword [esp + 0x20], esi
mov esi, 0x4df4b4
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
call fcn.00422e93
call fcn.004233e6
test eax, eax
je 0x423a57
mov eax, dword [0x4df4b4]
mov ecx, esi
call dword [eax + 0xc]
and word [esp + 0x458], 0
add eax, 0x10
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x45e]
push 0
push eax
call fcn.0048af40
movzx eax, word [ebx]
add esp, 0xc
push eax
lea eax, [esp + 0x14]
push 0x4befa8
push eax
call fcn.0041e01b
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [esp + 0x45c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00401ac9
lea esi, [esp + 0xc]
call fcn.00422ae5
push ebx
call fcn.0048b241
cmp eax, 3
pop ecx
jbe 0x423a49
add ebx, 6
push ebx
mov eax, esi
push eax
call fcn.00405369
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040151c
jmp 0x423a67
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00401ac9
mov edi, 0x104
push dword [esp + 0xc]
mov esi, 0x4e096c
push str.KillProcessByPathkxescore_path:_ws
call fcn.0044ae36
pop ecx
pop ecx
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x423ab1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.KillProcessByPathkxescore_CreateToolhelp32Snapshot__error:_d
call fcn.0044ae36
push str.CreateSnapshot_fail
call fcn.00424a53
add esp, 0xc
jmp 0x423c7e
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x423c74
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x18]
je 0x423c5e
test eax, eax
je 0x423c5e
cmp eax, 4
je 0x423c5e
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x423ba7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
lea eax, [esp + 0x44]
push str.kxescore.exe
push eax
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
je 0x423b5f
lea eax, [esp + 0x44]
push str.kxetray.exe
push eax
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
je 0x423b5f
lea eax, [esp + 0x44]
push 0x4bd464
push eax
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
jne 0x423c5e
push ebx
lea eax, [esp + 0x48]
push eax
push str._ws:_d
call fcn.00424a53
add esp, 0xc
push dword [esp + 0x28]
lea eax, [esp + 0x48]
push ebx
push eax
push str.KillProcessByPathkxescore_OpenProcess_fail__process:_ws__error:_d__pid:_d
call fcn.0044ae36
push dword [esp + 0x38]
push dword [esp + 0x20]
call fcn.004238da
add esp, 0x18
test eax, eax
jne 0x423c5e
inc dword [esp + 0x14]
jmp 0x423c5e
call fcn.004233e6
test eax, eax
je 0x423bc7
mov eax, dword [0x4e05a0]
test eax, eax
je 0x423bc7
push edi
lea ecx, [esp + 0x254]
push ecx
push ebx
call eax
jmp 0x423be2
mov eax, dword [0x4e059c]
test eax, eax
je 0x423c54
push edi
lea ecx, [esp + 0x254]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x423c54
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 0xc]
jne 0x423c54
lea eax, [esp + 0x250]
push eax
push ecx
call fcn.0048cc52
test eax, eax
pop ecx
pop ecx
jne 0x423c54
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov ebx, eax
lea eax, [esp + 0x250]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push ebx
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
call fcn.0044ae36
add esp, 0x14
test ebx, ebx
jne 0x423c54
push dword [esp + 0x28]
call fcn.004257e9
test eax, eax
pop ecx
jne 0x423c54
push dword [esp + 0x28]
push str.StopProcessByPid_pid:_d_return_fase
call fcn.0044ae36
inc dword [esp + 0x1c]
pop ecx
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x423ad9
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret