Function at 0x401060
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x414199
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x24]
mov ebx, 2
mov dword [esp + 0x20], esi
push esi
push ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x25c], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
or edi, 0xffffffff
mov dword [esp + 0x1c], eax
cmp eax, edi
je 0x4012b0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4012b0
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edx
push esi
push 0x1f0fff
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42u.DLL_CString::CString_1
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x258], 1
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [esp + 0x25c]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::CString_2
push str..exe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x258], bl
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x258], 3
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], bl
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebp, dword [sym.imp.MSVCRT.dll__wcsicmp]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
je 0x401240
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 0
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x40129c
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x1f0fff
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42u.DLL_CString::CString_1
lea edx, [esp + 0x44]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x258], 1
call sub.MFC42u.DLL_CString::operator_2
lea eax, [esp + 0x25c]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42u.DLL_CString::CString_2
push str..exe
lea ecx, [esp + 0x1c]
mov byte [esp + 0x258], bl
call sub.MFC42u.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], 3
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], bl
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x40116c
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00401000
add esp, 4
mov edi, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x254], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x254], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x25c]
mov dword [esp + 0x254], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, edi
jmp 0x4012c5
mov eax, dword [esp + 0x1c]
push eax
call esi
mov dword [esp + 0x254], 0xffffffff
jmp 0x4012b7
mov dword [esp + 0x254], edi
lea ecx, [esp + 0x25c]
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret