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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58364e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
mov eax, dword [0x5f3edc]
push ebx
push esi
push edi
mov dword [esp + 0x15c], eax
xor eax, eax
mov ecx, 0x50
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_7]
mov ebx, dword [ebp + 8]
push 0
mov ecx, ebx
mov dword [esp + 0x170], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
test eax, eax
jne 0x46752b
lea eax, [esp + 0x18]
push eax
mov ecx, ebx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x46752b
mov ecx, dword [esp + 0x34]
push 1
push 0
push 0
push ecx
call fcn.00558390
mov edi, edx
mov edx, dword [esp + 0x38]
mov esi, eax
xor eax, eax
add esi, edx
push ebx
adc edi, eax
call fcn.00465ce0
add esp, 4
test al, al
je 0x467356
mov ecx, esi
or ecx, edi
jne 0x467356
mov bl, 1
jmp 0x467358
xor bl, bl
push 0x48
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x16c], 1
je 0x467396
neg bl
lea edx, [esp + 0x2c]
push edx
push edi
push esi
mov esi, dword [esp + 0x24]
mov ecx, eax
sbb ebx, ebx
and ebx, 0x10
or ebx, esi
mov esi, dword [ebp + 8]
push ebx
push esi
call fcn.004669d0
mov edi, eax
jmp 0x46739b
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esp + 0x10]
push eax
mov byte [esp + 0x170], 0
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 0x10]
shr ecx, 4
test cl, 1
je 0x46751d
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator]
cmp al, 0x5c
je 0x4673f8
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator]
cmp al, 0x2f
je 0x4673f8
mov edx, dword [esi]
push edx
push str._s
lea eax, [esp + 0x14]
push eax
jmp 0x467405
mov ecx, dword [esi]
push ecx
push 0x5a22ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
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
je 0x467516
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
dec eax
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x170], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x16c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x178], 3
call fcn.0040cd70
add esp, 0xc
push 0x5a22e8
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4674ea
push 0x5a22e4
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4674ea
lea eax, [esp + 0x10]
push eax
call fcn.00467290
add esp, 4
test eax, eax
je 0x4674ea
push eax
mov ecx, edi
call fcn.004670b0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x18]
push ecx
push esi
call ebx
test eax, eax
jne 0x467475
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, edi
jmp 0x467537
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
xor eax, eax
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x15c]
call fcn.00558076
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret