Function at 0x40d050
Capabilities:
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
push 0xffffffffffffffff
push 0x415315
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x448
push ebx
push ebp
push esi
push edi
mov esi, ecx
push ecx
lea eax, [esp + 0x46c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov dword [esp + 0x468], 0
call fcn.00413b2c
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0040e0f0
push eax
lea ecx, [esp + 0x46c]
mov byte [esp + 0x464], 1
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x468]
call sub.MFC42u.DLL_CString::MakeUpper
lea ecx, [esp + 0x1c]
call fcn.00413970
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call fcn.00413970
lea edx, [esp + 0x468]
lea eax, [esp + 0x14]
push edx
push 0x41b760
push eax
mov byte [esp + 0x46c], 3
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x464], 4
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x460], 3
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
lea edi, [esi + 0x7c]
push ecx
push 0
push 1
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::InsertItem
push str.gb0R_vz
push 1
push 0
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
push 0x5c
lea ecx, [esp + 0x46c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], 0x22c
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
jne 0x40d23b
lea edx, [esp + 0x24]
push edx
push ebx
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x40d3c6
mov ebp, dword [sym.imp.KERNEL32.DLL_OpenProcess]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x468]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40d223
mov eax, dword [esp + 0x2c]
push eax
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
jne 0x40d1f2
push 0x41b924
push 1
push eax
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
jmp 0x40d223
mov ecx, dword [esp + 0x46c]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x40d20c
push 0x41b91c
jmp 0x40d211
push 0x41b924
push 1
push 0
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0x24]
push edx
push ebx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x40d19c
jmp 0x40d3c6
lea ecx, [esp + 0x20]
call fcn.00413970
mov eax, dword [esp + 0x468]
push 0x5c
lea ecx, [esp + 0x46c]
mov byte [esp + 0x464], 5
mov esi, dword [eax - 8]
call sub.MFC42u.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0x18]
dec esi
push esi
push ecx
lea ecx, [esp + 0x470]
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x464], 6
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 5
call sub.MFC42u.DLL_CString::CString
lea edx, [esp + 0x24]
push edx
push ebx
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x40d3b5
mov ebx, dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x40d39a
lea ecx, [esp + 0x18]
call fcn.00413970
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x460], 7
push eax
push 0
push 0x1f0fff
call ebx
lea ecx, [esp + 0x250]
push 0x104
mov esi, eax
push ecx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [esp + 0x250]
lea eax, [esp + 0x18]
push edx
push 0x41b170
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::MakeUpper
mov ecx, dword [esp + 0x468]
mov edx, dword [esp + 0x18]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x40d382
mov eax, dword [esp + 0x46c]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
je 0x40d372
push 0x41b91c
jmp 0x40d377
push 0x41b924
push 1
push 0
mov ecx, edi
call sub.MFC42u.DLL_CListCtrl::SetItemText
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x18]
mov byte [esp + 0x460], 5
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x40d2bb
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov byte [esp + 0x460], 3
call sub.MFC42u.DLL_CString::CString
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x10]
mov byte [esp + 0x460], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x460], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x468]
mov dword [esp + 0x460], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x458]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x454
ret 8