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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
xor ecx, ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040512c
xor eax, eax
push ebp
push 0x64ac77
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x64ac2e
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f44
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.0040519c
mov eax, dword [ebp - 0x154]
mov edx, 0x64ac90
call fcn.00405088
jne 0x64aa8a
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f44
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040519c
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jg 0x64aabc
lea eax, [ebp - 0x158]
mov ecx, 0x64ac9c
mov edx, dword [ebp - 4]
call fcn.00404f90
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x64aac5
mov byte [ebp - 5], 1
jmp 0x64ac2e
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x64ac9c
mov edx, dword [ebp - 4]
call fcn.00404f90
mov eax, dword [ebp - 0x15c]
call fcn.0040513c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x64ac2e
xor edx, edx
push ebp
push 0x64ac27
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ef4
mov eax, dword [ebp - 0x160]
mov edx, 0x64aca8
call fcn.00405088
je 0x64abf8
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ef4
mov eax, dword [ebp - 0x164]
mov edx, 0x64acb4
call fcn.00405088
je 0x64abf8
push dword [ebp - 4]
push 0x64ac90
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404ef4
push dword [ebp - 0x168]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405004
mov eax, dword [ebp - 0x150]
and eax, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x64abe2
lea eax, [ebp - 0x16c]
mov ecx, 0x64ac9c
mov edx, dword [ebp - 0x10]
call fcn.00404f90
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x64abf2
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0064a9dc
mov byte [ebp - 5], al
jmp 0x64abf2
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
je 0x64ac10
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x64ab0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ac2e
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64ac7e
lea eax, [ebp - 0x16c]
call fcn.00404c7c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404ca0
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404ca0
lea eax, [ebp - 0x10]
call fcn.00404c7c
lea eax, [ebp - 4]
call fcn.00404c7c
ret