Function at 0x48a587
Capabilities:
Enumerate process modules
Enumerate processes
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13ec
call fcn.0048c360
push edi
mov dword [ebp - 0x13ec], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1d0], 0
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x1cc]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a4e9
test eax, eax
je 0x48a5dc
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a551
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 1
jne 0x48a627
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a35f
test eax, eax
jne 0x48a61a
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a3a5
test eax, eax
je 0x48a625
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a551
jmp 0x48a650
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a529
test eax, eax
jne 0x48a645
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a4a9
test eax, eax
je 0x48a650
mov ecx, dword [ebp - 0x13ec]
call fcn.0048a551
mov dword [ebp - 0x1d0], 0x128
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1d0]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x48a6cf
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x48a6cf
push 0x4818a0
lea edx, [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48a6b9
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0x1c8]
cmp ecx, dword [ebp - 0xc]
jne 0x48a6cd
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 8], edx
jmp 0x48a683
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xa8]
je 0x48a708
cmp dword [ebp - 0xa8], 0
je 0x48a708
mov ecx, dword [ebp - 8]
push ecx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x48a845
mov dword [ebp - 0x2d8], 0
push 0x105
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x4818b0
lea ecx, [ebp - 0x2d4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4818b4
lea edx, [ebp - 0x2d4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [ebp - 8]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0
jne 0x48a76d
jmp 0x48a845
lea ecx, [ebp - 0x2dc]
push ecx
push 0x1000
lea edx, [ebp - 0x12e4]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x48a80c
mov dword [ebp - 0x2e4], 0
jmp 0x48a7ab
mov ecx, dword [ebp - 0x2e4]
add ecx, 1
mov dword [ebp - 0x2e4], ecx
mov edx, dword [ebp - 0x2dc]
shr edx, 2
cmp dword [ebp - 0x2e4], edx
jae 0x48a80c
push 0x104
lea eax, [ebp - 0x13e8]
push eax
mov ecx, dword [ebp - 0x2e4]
mov edx, dword [ebp + ecx*4 - 0x12e4]
push edx
mov eax, dword [ebp - 0x2e0]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x48a80a
lea ecx, [ebp - 0x13e8]
push ecx
lea edx, [ebp - 0x2d4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48a80a
mov dword [ebp - 0x2d8], 1
jmp 0x48a80c
jmp 0x48a79c
mov eax, dword [ebp - 0x2e0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d8], 0
jne 0x48a845
mov ecx, dword [ebp - 0xa8]
push ecx
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
mov esp, ebp
pop ebp
ret