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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5e
push 0
push 0
dec ecx
jne 0x457bec
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45807c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x462098], 0
jne 0x457fe7
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042f8d0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
mov ecx, 0x458094
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x280]
call fcn.00404c1c
push eax
call sub.kernel32.dll_FindFirstFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x457fe7
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x250]
mov ecx, 0x104
call fcn.00404bf0
push 0x458098
mov eax, dword [ebp - 0x10]
call fcn.00404c1c
mov esi, eax
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x457fcc
push 0x45809c
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x457fcc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x278]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0043391c
lea eax, [ebp - 0x284]
push eax
movzx eax, word [ebp - 0x26]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x294], eax
mov byte [ebp - 0x290], 0
movzx eax, word [ebp - 0x22]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 0x288], 0
lea edx, [ebp - 0x2ac]
mov ecx, 4
mov eax, 0x4580ac
call fcn.00409310
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 8]
call fcn.00404c0c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x268]
push eax
call sub.kernel32.dll_FileTimeToLocalFileTime
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0043391c
lea eax, [ebp - 0x2b0]
push eax
movzx eax, word [ebp - 0x26]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, word [ebp - 0x2a]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
movzx eax, word [ebp - 0x2c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 0x298], 0
movzx eax, word [ebp - 0x24]
mov dword [ebp - 0x294], eax
mov byte [ebp - 0x290], 0
movzx eax, word [ebp - 0x22]
mov dword [ebp - 0x28c], eax
mov byte [ebp - 0x288], 0
lea edx, [ebp - 0x2ac]
mov ecx, 4
mov eax, 0x4580ac
call fcn.00409310
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0xc]
call fcn.00404c0c
test byte [ebp - 0x27c], 0x10
je 0x457ee0
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x10]
call fcn.00408140
mov eax, dword [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x2b8]
mov eax, edi
call fcn.00408140
mov eax, dword [ebp - 0x2b8]
pop edx
call fcn.0042f914
test eax, eax
jle 0x457e97
lea eax, [ebp - 0x2c8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x2c8]
lea edx, [ebp - 0x2c4]
call fcn.00430e34
lea eax, [ebp - 0x2c4]
mov edx, 0x4580d0
call fcn.004046d0
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c0]
call fcn.00404c0c
push dword [ebp - 0x2c0]
push dword [ebp - 8]
push 0x4580d8
push dword [ebp - 0xc]
push 0x4580d8
push 0x4580e0
lea eax, [ebp - 0x2bc]
mov edx, 6
call fcn.00404d00
mov edx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x1c]
call fcn.00404690
mov dx, 0x40a
mov eax, dword [ebp - 0x1c]
call fcn.004261dc
lea edx, [ebp - 0x2cc]
mov eax, dword [ebp - 4]
call fcn.00408140
mov edx, dword [ebp - 0x2cc]
mov eax, 0x4580f8
call fcn.0042f914
test eax, eax
jg 0x457fcc
lea eax, [ebp - 0x2d0]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x2d0]
mov edx, edi
call fcn.00457be4
jmp 0x457fcc
mov esi, dword [ebp - 0x25c]
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x10]
call fcn.00408140
mov eax, dword [ebp - 0x2d4]
push eax
lea edx, [ebp - 0x2d8]
mov eax, edi
call fcn.00408140
mov eax, dword [ebp - 0x2d8]
pop edx
call fcn.0042f914
test eax, eax
jle 0x457fcc
lea eax, [ebp - 0x2e8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404c98
mov eax, dword [ebp - 0x2e8]
lea edx, [ebp - 0x2e4]
call fcn.00430e34
lea eax, [ebp - 0x2e4]
mov edx, 0x4580d0
call fcn.004046d0
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2e0]
call fcn.00404c0c
push dword [ebp - 0x2e0]
push dword [ebp - 8]
push 0x4580d8
push dword [ebp - 0xc]
push 0x458114
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2f0]
call fcn.004085e0
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2ec]
call fcn.00404c0c
push dword [ebp - 0x2ec]
push 0x4580d8
lea eax, [ebp - 0x2dc]
mov edx, 7
call fcn.00404d00
mov edx, dword [ebp - 0x2dc]
lea eax, [ebp - 0x1c]
call fcn.00404690
mov dx, 0x40a
mov eax, dword [ebp - 0x1c]
call fcn.004261dc
lea eax, [ebp - 0x27c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x457c55
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458086
lea eax, [ebp - 0x2f0]
call fcn.004043ec
lea eax, [ebp - 0x2ec]
mov edx, 2
call fcn.00404aa4
lea eax, [ebp - 0x2e4]
call fcn.004043ec
lea eax, [ebp - 0x2e0]
mov edx, 7
call fcn.00404aa4
lea eax, [ebp - 0x2c4]
call fcn.004043ec
lea eax, [ebp - 0x2c0]
mov edx, 4
call fcn.00404aa4
lea eax, [ebp - 0x2b0]
call fcn.004043ec
lea eax, [ebp - 0x284]
call fcn.004043ec
lea eax, [ebp - 0x280]
call fcn.00404a8c
lea eax, [ebp - 0x1c]
call fcn.004043ec
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404aa4
ret