Function at 0x4013e0
Capabilities:
Enumerate processes
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4191cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x878
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString_3
xor ebp, ebp
push 0x85
lea ecx, [esp + 0x24]
mov dword [esp + 0x894], ebp
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0x91
lea ecx, [esp + 0x1c]
mov byte [esp + 0x894], 1
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebx + 0x638]
push ebp
push ebp
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x268]
mov dword [esp + 0x264], ebp
mov byte [esp + 0x164], al
rep stosd dword es:[edi], eax
mov ecx, 0x3f
lea edi, [esp + 0x165]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x489]
mov byte [esp + 0x488], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x29], ecx
push edx
mov dword [esp + 0x31], ecx
push esi
mov dword [esp + 0x39], ecx
mov dword [esp + 0x2c], esi
stosw word es:[edi], ax
mov dword [esp + 0x3d], ecx
mov dword [esp + 0x44], 0x128
mov word [esp + 0x41], cx
mov byte [esp + 0x30], 0
stosb byte es:[edi], al
mov byte [esp + 0x43], cl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40165d
add ebx, 0x658
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x164]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x224
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x268]
push ecx
push edx
call fcn.0040f780
add esp, 0xc
test eax, eax
je 0x401564
lea edi, [esp + 0x384]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x488]
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x401581
lea ecx, [esp + 0x488]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.0040f850
add esp, 8
test al, al
je 0x40163e
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 2
je 0x40159d
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x28]
jmp 0x4015d2
lea eax, [esp + 0x488]
push eax
call fcn.0040f4a0
add esp, 4
test eax, eax
jne 0x40163e
lea ecx, [esp + 0x164]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00401e60
test al, al
je 0x40163e
mov edi, dword [esp + 0x18]
lea edx, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
and ecx, 3
lea edx, [esp + 0x170]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push ebp
lea esi, [ecx + 0x618]
push 3
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 1
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x488]
push ecx
push 2
push ebp
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esp + 0x44]
inc ebp
mov dword [ebx], edx
add ebx, 4
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4014f1
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
push 0x86
lea ecx, [esp + 0x18]
mov byte [esp + 0x894], 2
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push 0x9e
lea ecx, [esp + 0x20]
mov byte [esp + 0x894], 3
call sub.MFC42.DLL_CString::LoadStringA
test ebp, ebp
jne 0x4016ad
mov edx, dword [esp + 0x14]
push edx
jmp 0x4016b2
mov eax, dword [esp + 0x1c]
push eax
push 0x420
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x1c]
mov byte [esp + 0x890], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x890], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x890], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov dword [esp + 0x890], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x888]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x884
ret