Function at 0x45c240
Capabilities:
Enumerate processes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484fa6
push eax
mov dword fs:[0], esp
sub esp, 0x354
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push 0
lea ecx, [ebx + 0x60]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov eax, dword [ebx + 0xc0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push eax
call ebp
lea edi, [ebx + 0xe0]
test edi, edi
je 0x45c29b
mov eax, dword [edi + 4]
test eax, eax
je 0x45c29b
mov ecx, edi
call sub.MFC42.DLL_CImageList::DeleteImageList
push 0
push 0xc8
push 9
push 0x10
push 0x10
mov ecx, edi
call sub.MFC42.DLL_CImageList::Create
test edi, edi
je 0x45c2b6
mov edi, dword [edi + 4]
mov ecx, dword [ebx + 0xc0]
push edi
push 1
push 0x1003
push ecx
call ebp
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov eax, dword [ebx + 0xf4]
cmp eax, 2
je 0x45c590
cmp eax, 3
je 0x45c590
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x45c5c4
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x2c]
mov byte [esp + 0x150], 0
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x151]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x28]
mov dword [esp + 0x28], pe_nt_image_headers32
push edx
push esi
xor ebp, ebp
stosb byte es:[edi], al
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45c587
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], 0
push eax
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov eax, dword [ebx + 0xf0]
test eax, eax
jne 0x45c36e
test edi, edi
je 0x45c574
mov eax, dword [0x4bbcd8]
test eax, eax
je 0x45c37f
lea ecx, [esp + 0x18]
push ecx
push edi
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x45c574
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, ebx
call fcn.0045c5e0
xor esi, esi
cmp ebp, 0xc8
mov dword [esp + 0x36c], esi
mov dword [esp + 0x1c], ebp
jl 0x45c3d5
push 0x7f00
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
mov eax, dword [ebx + 0xe4]
push esi
push eax
jmp 0x45c442
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp dword [eax - 8], esi
je 0x45c42c
cmp byte [eax], 0x5c
je 0x45c42c
lea ecx, [esp + 0x14]
push 1
push ecx
push esi
push esi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExA]
mov eax, dword [esp + 0x14]
cmp eax, esi
jne 0x45c40f
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
push 0xdc
push eax
jmp 0x45c432
push eax
mov eax, dword [ebx + 0xe4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x45c448
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebx + 0xe4]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
lea edi, [esp + 0x4c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x45c4a9
mov edi, str._32
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x254]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0
lea ecx, [esp + 0x260]
push 0
lea esi, [ebx + 0xa0]
push ecx
push ebp
push 3
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
push ebp
push 0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItem
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x150]
push edx
push 0x4a19a8
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [esp + 0x150]
push ecx
push 1
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebx
call fcn.0045c680
mov eax, dword [eax]
mov ecx, esi
push eax
push 2
push ebp
mov byte [esp + 0x378], 1
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x20]
mov byte [esp + 0x36c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x45c55b
push eax
push 3
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x10]
inc ebp
mov dword [esp + 0x36c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x45c340
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45c5c4
call sub.MFC42.DLL_AfxGetModuleState
push 0xd4
push 0xe
push 0xd4
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebx + 0xe4]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ecx, ebx
call fcn.0045cd20
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x360
ret