Function at 0x40d400
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437d46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push edi
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x148], 0
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x144]
rep stosd dword es:[edi], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0xffffffff
jne 0x40d4bb
mov dword [ebp - 0x15c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x15c]
jmp 0x40d652
mov dword [ebp - 0x18], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::MakeUpper
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40d60f
lea edx, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_2
push 0
push 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Find_1
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0
jle 0x40d56c
mov eax, dword [ebp - 0x14c]
push eax
push 0
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 0x170], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x170]
push eax
lea ecx, [ebp - 0x14]
call fcn.004355a4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call sub.MFC42.DLL_CString::CString
jmp 0x40d578
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004355a4
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::MakeUpper
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00408f00
and eax, 0xff
test eax, eax
je 0x40d5f4
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x154], 0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0
je 0x40d5e5
push 0
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x158]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d60f
lea edx, [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x150]
push eax
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x20], eax
jmp 0x40d4ea
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4