Function at 0x8081e4
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.0040506c
xor eax, eax
push ebp
push 0x80847f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x808436
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e84
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebp - 0x154]
mov edx, 0x808498
call fcn.00404fc8
jne 0x808292
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e84
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004050dc
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jg 0x8082c4
lea eax, [ebp - 0x158]
mov ecx, 0x8084a4
mov edx, dword [ebp - 4]
call fcn.00404ed0
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x8082cd
mov byte [ebp - 5], 1
jmp 0x808436
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x8084a4
mov edx, dword [ebp - 4]
call fcn.00404ed0
mov eax, dword [ebp - 0x15c]
call fcn.0040507c
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x808436
xor edx, edx
push ebp
push 0x80842f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x160]
mov edx, 0x8084b0
call fcn.00404fc8
je 0x808400
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404e34
mov eax, dword [ebp - 0x164]
mov edx, 0x8084bc
call fcn.00404fc8
je 0x808400
push dword [ebp - 4]
push 0x808498
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404e34
push dword [ebp - 0x168]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404f44
mov eax, dword [ebp - 0x150]
and eax, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x8083ea
lea eax, [ebp - 0x16c]
mov ecx, 0x8084a4
mov edx, dword [ebp - 0x10]
call fcn.00404ed0
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 0x8083fa
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.008081e4
mov byte [ebp - 5], al
jmp 0x8083fa
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 0x808418
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x808313
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x808436
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 0x808486
lea eax, [ebp - 0x16c]
call fcn.00404bbc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404be0
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404be0
lea eax, [ebp - 0x10]
call fcn.00404bbc
lea eax, [ebp - 4]
call fcn.00404bbc
ret