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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501eac
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5405e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
push 0x5190f0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x190]
push ecx
call fcn.00407930
add esp, 0xc
mov dword [ebp - 0x244], eax
lea edx, [ebp - 0x154]
push edx
mov ecx, dword [ebp - 0x244]
call fcn.00405920
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x190]
call fcn.00405980
cmp dword [ebp - 0x158], 0xffffffff
jne 0x4f8667
jmp 0x4f88ee
mov eax, dword [ebp - 0x154]
and eax, 0x10
je 0x4f88c5
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x174]
call fcn.00405940
mov dword [ebp - 4], 0
push 0x5190f4
lea edx, [ebp - 0x174]
push edx
call fcn.00413c00
add esp, 8
movzx eax, al
test eax, eax
jne 0x4f86c5
push 0x5190f8
lea ecx, [ebp - 0x174]
push ecx
call fcn.00413c00
add esp, 8
movzx edx, al
test edx, edx
je 0x4f86dc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00405980
jmp 0x4f88c5
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1b0]
push edx
call fcn.00425c60
add esp, 0xc
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 1
push 0x5190fc
mov ecx, dword [ebp - 0x24c]
push ecx
lea edx, [ebp - 0x1cc]
push edx
call fcn.00407930
add esp, 0xc
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x254], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x240]
call fcn.004f8550
mov byte [ebp - 0x191], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1cc]
call fcn.00405980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
call fcn.00405980
movzx edx, byte [ebp - 0x191]
test edx, edx
je 0x4f881a
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x1e8]
push edx
call fcn.00425c60
add esp, 0xc
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 4], 3
push 0x519100
mov ecx, dword [ebp - 0x25c]
push ecx
lea edx, [ebp - 0x204]
push edx
call fcn.00407930
add esp, 0xc
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x240]
call dword [ebp + 0x10]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x204]
call fcn.00405980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e8]
call fcn.00405980
jmp 0x4f88b3
lea eax, [ebp - 0x174]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.00425c60
add esp, 0xc
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 5
push 0x519104
mov ecx, dword [ebp - 0x26c]
push ecx
lea edx, [ebp - 0x23c]
push edx
call fcn.00407930
add esp, 0xc
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x240]
call fcn.004f85e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x23c]
call fcn.00405980
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00405980
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00405980
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x4f8667
mov eax, dword [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d69b
mov esp, ebp
pop ebp
ret 0xc