Function at 0x401e5a
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x403a08
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x254
push ebx
push esi
push edi
mov ecx, dword [ebp + 0xc]
xor edi, edi
push 0x4066ac
mov dword [ebp - 4], edi
call sub.MFC42u.DLL_CString::operator
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4020aa
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x402098
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, 0x406210
push dword [ebp - 0x258]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push eax
call sub.MFC42u.DLL_CString::CString_2
call fcn.00401d7f
pop ecx
test eax, eax
pop ecx
je 0x402074
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [ebp - 0x23c]
push str.iexplore.exe
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x401f92
mov ecx, dword [ebp + 0xc]
push str.IEXPLORE.EXE
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x402039
push str._t____IE
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString_1
mov edi, eax
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00403362
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42u.DLL_operator
push edi
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call sub.MFC42u.DLL_operator_1
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 4
call fcn.00403356
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
jmp 0x402034
lea eax, [ebp - 0x23c]
push str.explorer.exe
push eax
call edi
pop ecx
test eax, eax
pop ecx
jne 0x402069
mov ecx, dword [ebp + 0xc]
push 0x406180
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x402039
push str._t____Windows
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString_1
mov edi, eax
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00403362
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42u.DLL_operator
push edi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
call sub.MFC42u.DLL_operator_1
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 8
call fcn.00403356
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42u.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x258]
mov ecx, dword [0x4066a8]
push eax
push 1
push 0x1f0fff
mov dword [ecx*4 + 0x406590], eax
call ebx
mov ecx, dword [0x4066a8]
inc dword [0x4066a8]
mov dword [ecx*4 + 0x406490], eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42u.DLL_CString::MakeUpper
push 1
pop edi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x401ebd
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x4020ad
push edi
push 0x40614c
push str.Process32First___failed_
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret