Function at 0x41ca80
Capabilities:
Enumerate process modules
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x146c
call fcn.00441eb0
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x1468], esi
jb 0x41caac
mov eax, dword [esi]
jmp 0x41caae
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1218], 7
mov dword [ebp - 0x121c], 0
mov word [ebp - 0x122c], ax
cmp word [edx], ax
jne 0x41cadd
xor ecx, ecx
jmp 0x41caf7
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cae2
sub ecx, esi
mov esi, dword [ebp - 0x1468]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x122c]
call fcn.00405570
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x146c], eax
cmp eax, 0xffffffff
je 0x41ccef
test eax, eax
je 0x41ccef
push 0x228
lea eax, [ebp - 0x145c]
push 0
push eax
mov dword [ebp - 0x1460], 0x22c
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1460]
push eax
push dword [ebp - 0x146c]
xor bl, bl
mov byte [ebp - 0x1461], bl
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41cce5
mov edi, edi
cmp dword [ebp - 0x1218], 8
lea eax, [ebp - 0x122c]
cmovae eax, dword [ebp - 0x122c]
lea ecx, [ebp - 0x143c]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x41cbb6
test dx, dx
je 0x41cbb2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x41cbb6
add ecx, 4
add eax, 4
test dx, dx
jne 0x41cb90
xor eax, eax
jmp 0x41cbbb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41ccbe
push dword [ebp - 0x1458]
push eax
push 0x100411
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41ccb8
lea eax, [ebp - 0x1214]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x41ccad
xor ebx, ebx
test dword [ebp - 0x1214], 0xfffffffc
jbe 0x41ccad
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push dword [ebp + ebx*4 - 0x1210]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x41cc95
mov ecx, esi
call fcn.00405b90
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCR110.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41cc95
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
test esi, esi
jne 0x41cc83
push eax
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
setne byte [ebp - 0x1461]
mov eax, dword [ebp - 0x1214]
mov esi, dword [ebp - 0x1468]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x41cc13
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
jmp 0x41ccbe
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1460]
push eax
push dword [ebp - 0x146c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov esi, dword [ebp - 0x1468]
test eax, eax
jne 0x41cb70
mov bl, byte [ebp - 0x1461]
push dword [ebp - 0x146c]
call edi
jmp 0x41ccf1
xor bl, bl
cmp dword [ebp - 0x1218], 8
jb 0x41cd09
push dword [ebp - 0x122c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004413e6
mov esp, ebp
pop ebp
ret