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

Disassembly:
push 0xffffffffffffffff
push 0x41ee82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov eax, dword [0x428230]
push ebx
push ebp
push esi
mov dword [esp + 0x178], eax
push edi
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18c], 1
call dword [0x4201f0]
push 0x4209d8
push eax
lea ecx, [esp + 0x3c]
push ecx
mov byte [esp + 0x194], 2
call fcn.00401d90
lea edx, [esp + 0x1a0]
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x1a0], 3
call fcn.00414050
add esp, 0x18
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x30]
mov byte [esp + 0x188], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, dword [esp + 0x198]
mov edi, eax
cmp edi, 0xffffffff
je 0x414897
mov bl, 0xd
test byte [esp + 0x3c], 0x10
jne 0x414883
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0x14]
call dword [0x4201f0]
push 0x5c
lea ecx, [esp + 0x198]
mov byte [esp + 0x18c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
push 0x2f
lea ecx, [esp + 0x198]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, esi
lea ecx, [esp + 0x194]
jle 0x414778
push 0x2f
jmp 0x41477a
push 0x5c
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, 0xffffffff
je 0x4147e2
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x19c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x30]
push 0x4209d8
push ecx
mov byte [esp + 0x194], 8
call fcn.004140f0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 9
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov esi, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x18c], 0xa
call dword [0x4201f0]
push 0x4209d8
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x194], 0xb
call fcn.00401d90
push esi
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x1a0], 0xc
call fcn.00414050
add esp, 0x18
mov edx, dword [ebp]
push eax
mov ecx, ebp
mov byte [esp + 0x18c], bl
call dword [edx + 4]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414724
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x421224
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov esi, eax
lea ecx, [esp + 0x190]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 0xe
call dword [0x4201f0]
push 0x4209d8
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x194], 0xf
call fcn.00401d90
push esi
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x1a0], 0x10
call fcn.00414050
add esp, 0x18
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x18c], 0x11
call dword [0x420238]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x28], esi
je 0x414aa8
mov bl, 0x17
test byte [esp + 0x3c], 0x10
je 0x414a94
mov edi, dword [sym.imp.MSVCR71.dll__mbscmp]
lea edx, [esp + 0x68]
push 0x421200
push edx
call edi
add esp, 8
test eax, eax
je 0x414a94
lea eax, [esp + 0x68]
push 0x420afc
push eax
call edi
add esp, 8
test eax, eax
je 0x414a94
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov esi, eax
push 0x4209d8
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 0x12
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov edi, eax
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x18c], 0x13
call dword [0x4201f0]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x194], 0x14
call fcn.00414050
push esi
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x1a0], 0x15
call fcn.00414050
add esp, 0x18
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push ebp
push ecx
lea edx, [esp + 0x19c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call dword [0x4201f0]
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x198], 0x1b
call dword [0x4201f0]
mov byte [esp + 0x194], bl
call fcn.00414660
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x188], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x414962
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x24]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x190]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x194]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x17c]
call fcn.0041d44e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret