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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48735b
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x4a7740]
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.00453b10
add esp, 0xc
mov dword [ebp - 0x24c], 0
push 0x228
push 0
lea ecx, [ebp - 0x248]
push ecx
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x468]
call fcn.00401d50
mov dword [ebp - 4], 0
call fcn.00477fe0
call fcn.00477f70
test eax, eax
je 0x478a6a
lea ecx, [ebp - 0x680]
call fcn.00401d50
mov byte [ebp - 4], 1
mov word [ebp - 0x67c], 0
push 0x206
push 0
lea edx, [ebp - 0x67a]
push edx
call fcn.00453b10
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ecx
push 0x492c2c
lea edx, [ebp - 0x680]
push edx
call fcn.00410190
add esp, 0xc
push 0x104
lea eax, [ebp - 0x67c]
push eax
lea ecx, [ebp - 0x680]
call fcn.0041e8b0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea ecx, [ebp - 0x67c]
push ecx
lea ecx, [ebp - 0x468]
call fcn.00401df0
lea edx, [ebp - 0x468]
push edx
call fcn.00478270
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00450f30
add esp, 4
cmp eax, 3
jbe 0x478a59
mov ecx, dword [ebp + 8]
add ecx, 6
push ecx
lea ecx, [ebp - 0x468]
call fcn.00401e30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x680]
call fcn.00403340
jmp 0x478a79
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x468]
call fcn.00401df0
lea ecx, [ebp - 0x468]
call fcn.0041e8b0
push eax
push str.KillProcessByPath_path:_ws
push 0x4ab400
call fcn.00474de0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
jne 0x478ada
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KillProcessByPath_CreateToolhelp32Snapshot__error:_d
push 0x4ab400
call fcn.00474de0
add esp, 0xc
push str.CreateSnapshot_fail
call fcn.004786e0
add esp, 4
jmp 0x478e4b
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 0x478b00
jmp 0x478e4b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x244]
cmp edx, dword [ebp - 0x46c]
je 0x478b2c
cmp dword [ebp - 0x244], 0
je 0x478b2c
cmp dword [ebp - 0x244], 4
jne 0x478b31
jmp 0x478e26
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
jne 0x478bcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x684], eax
push str.kxescore.exe
lea ecx, [ebp - 0x228]
push ecx
call fcn.0045562a
add esp, 8
test eax, eax
je 0x478b90
push str.kxetray.exe
lea edx, [ebp - 0x228]
push edx
call fcn.0045562a
add esp, 8
test eax, eax
jne 0x478bcb
mov eax, dword [ebp - 0x684]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._ws:_d
call fcn.004786e0
add esp, 0xc
mov edx, dword [ebp - 0x684]
push edx
lea eax, [ebp - 0x228]
push eax
push str.KillProcessByPath_OpenProcess_fail__process:_ws__error:_d
push 0x4ab400
call fcn.00474de0
add esp, 0x10
cmp dword [ebp - 0x250], 0
je 0x478e26
mov dword [ebp - 0x14], 0
call fcn.00477f70
test eax, eax
je 0x478c0f
cmp dword [0x4ab26c], 0
je 0x478c0f
push 0x104
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call dword [0x4ab26c]
mov dword [ebp - 0x14], eax
jmp 0x478c36
cmp dword [0x4ab268], 0
je 0x478c36
push 0x104
lea eax, [ebp - 0x45c]
push eax
push 0
mov ecx, dword [ebp - 0x250]
push ecx
call dword [0x4ab268]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x478e0f
cmp dword [ebp + 0x10], 0
je 0x478d35
lea ecx, [ebp - 0x468]
call fcn.0041da10
cmp dword [ebp - 0x14], eax
jbe 0x478d30
lea ecx, [ebp - 0x468]
call fcn.0041da10
push eax
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x468]
call fcn.0041e8b0
push eax
call fcn.0045656b
add esp, 0xc
test eax, eax
jne 0x478d30
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 0x492d14
push 0x4ab400
call fcn.00474de0
add esp, 0x18
cmp dword [ebp - 0x460], 0
jne 0x478d21
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.00477f50
add esp, 4
test eax, eax
jne 0x478d10
mov edx, dword [ebp - 0x244]
push edx
push 0x492d4c
push 0x4ab400
call fcn.00474de0
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x478d1f
mov ecx, dword [ebp - 0x470]
add ecx, 1
mov dword [ebp - 0x470], ecx
jmp 0x478d30
mov edx, dword [ebp - 0x470]
add edx, 1
mov dword [ebp - 0x470], edx
jmp 0x478e0f
lea ecx, [ebp - 0x468]
call fcn.0041da10
cmp dword [ebp - 0x14], eax
jne 0x478e0f
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x468]
call fcn.0041e8b0
push eax
call fcn.0045562a
add esp, 8
test eax, eax
jne 0x478e0f
push 0
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x460], eax
lea edx, [ebp - 0x45c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x460]
push ecx
push str.Terminate_Process_return:_d__error:_d__pid:_d__path:_ws
push 0x4ab400
call fcn.00474de0
add esp, 0x18
cmp dword [ebp - 0x460], 0
jne 0x478e00
mov edx, dword [ebp - 0x244]
push edx
call fcn.00477f50
add esp, 4
test eax, eax
jne 0x478def
mov eax, dword [ebp - 0x244]
push eax
push str.StopProcessByPid_pid:_d_return_fase
push 0x4ab400
call fcn.00474de0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x478dfe
mov edx, dword [ebp - 0x470]
add edx, 1
mov dword [ebp - 0x470], edx
jmp 0x478e0f
mov eax, dword [ebp - 0x470]
add eax, 1
mov dword [ebp - 0x470], eax
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x250], 0
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x464]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x478b0c
mov dword [ebp - 0x254], 1
cmp dword [ebp - 0x250], 0
je 0x478e61
mov ecx, dword [ebp - 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x464], 0xffffffff
je 0x478e77
mov edx, dword [ebp - 0x464]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], 0
je 0x478e88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x470]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x688], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call fcn.00403340
mov eax, dword [ebp - 0x688]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret