Function at 0x40aeb0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b1d0
push eax
mov dword fs:[0], esp
sub esp, 0x154
lea ecx, [ebp - 0x1c]
push ebx
push esi
call sub.MFC40.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC40.DLL_CString::CString_1
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov ebx, 2
mov byte [ebp - 4], 1
call sub.MFC40.DLL_CString::operator_1
push 0x4190a4
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString
mov esi, eax
push 1
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], bl
call sub.MFC40.DLL_CString::Right
mov byte [ebp - 4], 3
mov ecx, dword [esi]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.MSVCRT40.dll__mbscmp]
add esp, 8
mov byte [ebp - 4], bl
cmp eax, 1
sbb eax, eax
inc eax
mov dword [ebp - 0x20], eax
call fcn.0040b1b8
mov byte [ebp - 4], 1
call fcn.0040b1c0
cmp dword [ebp - 0x20], 0
je 0x40af72
push 0x4190a4
lea ecx, [ebp - 0x10]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00414e9a
mov byte [ebp - 4], 1
call fcn.0040b0a9
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
lea edx, [ebp - 0x10]
push ecx
push edx
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC40.DLL_CString::operator_1
mov byte [ebp - 4], 1
call fcn.0040b1b0
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40b013
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
push ecx
call sub.MFC40.DLL_operator
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push eax
call sub.MFC40.DLL_CStringList::AddHead
mov byte [ebp - 4], 6
call fcn.0040b0b9
mov byte [ebp - 4], 1
call fcn.0040b0b1
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40afb2
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x419840
lea ecx, [ebp - 0x18]
mov ebx, 8
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], bl
push eax
push ecx
call sub.MFC40.DLL_operator
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sub.MFC40.DLL_CString::operator_1
mov byte [ebp - 4], bl
call fcn.0040b1a8
mov byte [ebp - 4], 1
call fcn.0040b1a0
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x40b16c
test byte [ebp - 0x160], 0x10
je 0x40b149
lea eax, [ebp - 0x134]
mov ecx, 0x4191b8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b0c1
or dl, dl
je 0x40b0a5
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b0c1
add eax, 2
add ecx, 2
or dl, dl
jne 0x40b089
xor eax, eax
jmp 0x40b0c6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40b149
lea eax, [ebp - 0x134]
mov ecx, 0x4191b4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40b0f5
or dl, dl
je 0x40b0f1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40b0f5
add eax, 2
add ecx, 2
or dl, dl
jne 0x40b0d5
xor eax, eax
jmp 0x40b0fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40b149
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x134]
push eax
mov ebx, 0xa
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC40.DLL_CString::CString
push eax
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], bl
call sub.MFC40.DLL_operator
push eax
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 0xb
push ecx
call fcn.0040aeb0
add esp, 0xc
mov byte [ebp - 4], bl
call fcn.0040b198
mov byte [ebp - 4], 1
call fcn.0040b190
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b071
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
call fcn.0040b1c8
mov dword [ebp - 4], 0xffffffff
call fcn.0040b1da
mov eax, dword [ebp - 0xc]
pop esi
mov dword fs:[0], eax
pop ebx
mov esp, ebp
pop ebp
ret