Function at 0x4e9030
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.00405388
xor eax, eax
push ebp
push 0x4e92cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
cmp dword [ebp - 4], 0
je 0x4e9282
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 4]
call fcn.00405198
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.004053f8
mov eax, dword [ebp - 0x154]
mov edx, 0x4e92e4
call fcn.004052e4
jne 0x4e90de
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00405198
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004053f8
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jg 0x4e9110
lea eax, [ebp - 0x158]
mov ecx, 0x4e92f0
mov edx, dword [ebp - 4]
call fcn.004051e4
mov edx, dword [ebp - 0x158]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jle 0x4e9119
mov byte [ebp - 5], 1
jmp 0x4e9282
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
mov ecx, 0x4e92f0
mov edx, dword [ebp - 4]
call fcn.004051e4
mov eax, dword [ebp - 0x15c]
call fcn.00405398
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4e9282
xor edx, edx
push ebp
push 0x4e927b
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040512c
mov eax, dword [ebp - 0x160]
mov edx, 0x4e92fc
call fcn.004052e4
je 0x4e924c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040512c
mov eax, dword [ebp - 0x164]
mov edx, 0x4e9308
call fcn.004052e4
je 0x4e924c
push dword [ebp - 4]
push 0x4e92e4
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.0040512c
push dword [ebp - 0x168]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00405258
mov eax, dword [ebp - 0x150]
and eax, 0x10
cmp eax, 0x10
sete al
test al, al
je 0x4e9236
lea eax, [ebp - 0x16c]
mov ecx, 0x4e92f0
mov edx, dword [ebp - 0x10]
call fcn.004051e4
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4e9246
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004e9030
mov byte [ebp - 5], al
jmp 0x4e9246
mov eax, dword [ebx + 0x30]
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 0x4e9264
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4e915f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9282
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 0x4e92d2
lea eax, [ebp - 0x16c]
call fcn.00404ebc
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00404ee0
lea eax, [ebp - 0x15c]
mov edx, 3
call fcn.00404ee0
lea eax, [ebp - 0x10]
call fcn.00404ebc
lea eax, [ebp - 4]
call fcn.00404ebc
ret