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

Disassembly:
push 0x264
mov eax, 0x42b799
call fcn.00428a3d
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x270]
call dword [0x43629c]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call dword [0x43629c]
push esi
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call dword [0x4362a4]
push 0x40363c
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
mov esi, eax
push 1
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC42u.dll_CString::Right]
push dword [esi]
mov ecx, eax
call fcn.00413075
lea ecx, [ebp - 0x26c]
mov esi, eax
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
test esi, esi
je 0x421874
push 0x40363c
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC42u.dll_CString::operator_2]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
push edi
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 4
call dword [0x4362a4]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421932
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call dword [sym.imp.MFC42u.dll_CStringList::AddHead]
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4218c4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4035c4
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 8
call dword [0x4362a4]
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x421a9f
test byte [ebp - 0x260], 0x10
je 0x421a82
mov ecx, 0x403614
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4219e5
test dx, dx
je 0x4219e1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4219e5
add eax, 4
add ecx, 4
test dx, dx
jne 0x4219bf
xor eax, eax
jmp 0x4219ea
sbb eax, eax
or eax, 1
test eax, eax
je 0x421a82
mov ecx, 0x408894
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x421a23
test dx, dx
je 0x421a1f
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x421a23
add eax, 4
add ecx, 4
test dx, dx
jne 0x4219fd
xor eax, eax
jmp 0x421a28
sbb eax, eax
or eax, 1
test eax, eax
je 0x421a82
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call dword [sym.imp.MFC42u.dll_CString::CString_1]
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.MFC42u.dll_operator]
push ebx
mov edx, eax
mov byte [ebp - 4], 0xa
mov ecx, edi
call fcn.004217a8
lea ecx, [ebp - 0x264]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC42u.dll_CString::CString]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4219a7
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x268]
call dword [sym.imp.MFC42u.dll_CString::CString]
lea ecx, [ebp - 0x270]
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.004289da
ret 4