Function at 0x40b060
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x454
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x125]
mov byte [esp + 0x124], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x124]
push eax
call fcn.00410710
add esp, 4
lea ecx, [ebp + 0xa0]
mov dword [esp + 0x20], ecx
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebp + 0x358]
push 0
mov dword [esp + 0x20], ecx
call sub.MFC42.DLL_CWnd::EnableWindow
lea ecx, [ebp + 0x610]
push 0
mov dword [esp + 0x1c], ecx
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [ebp + 0x80]
push 0
push 0
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x225]
mov byte [esp + 0x224], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov dword [esp + 0x10], 1
rep movsb byte es:[edi], byte [esi]
mov edi, str..zb
or ecx, 0xffffffff
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
lea eax, [esp + 0x324]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x40b25a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40b256
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x350]
or ecx, 0xffffffff
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
lea eax, [esp + 0x224]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
call fcn.00410a20
add esp, 8
test al, al
je 0x40b23a
push 0
push 0
push 0
lea edx, [esp + 0x230]
push 0
lea esi, [ebp + 0x60]
push edx
push ebx
push 3
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::InsertItem
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push 1
push ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
inc ebx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x324]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [esp + 0x10], eax
jmp 0x40b190
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x20]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x1c]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x18]
push 1
call sub.MFC42.DLL_CWnd::EnableWindow
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x454
ret