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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5e
push 0
push 0
dec ecx
jne 0x458238
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4586c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4630c0], 0
jne 0x458633
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00431c64
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
mov ecx, 0x4586e0
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 0x458633
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x250]
mov ecx, 0x104
call fcn.00404bf0
push 0x4586e4
mov eax, dword [ebp - 0x10]
call fcn.00404c1c
mov esi, eax
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x458618
push 0x4586e8
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x458618
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.00433cb8
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, 0x4586f8
call fcn.00409328
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.00433cb8
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, 0x4586f8
call fcn.00409328
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0xc]
call fcn.00404c0c
test byte [ebp - 0x27c], 0x10
je 0x45852c
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x10]
call fcn.00408158
mov eax, dword [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x2b8]
mov eax, edi
call fcn.00408158
mov eax, dword [ebp - 0x2b8]
pop edx
call fcn.00431ca8
test eax, eax
jle 0x4584e3
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.004332f4
lea eax, [ebp - 0x2c4]
mov edx, 0x45871c
call fcn.004046d0
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c0]
call fcn.00404c0c
push dword [ebp - 0x2c0]
push dword [ebp - 8]
push 0x458724
push dword [ebp - 0xc]
push 0x458724
push 0x45872c
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.00426dd4
lea edx, [ebp - 0x2cc]
mov eax, dword [ebp - 4]
call fcn.00408158
mov edx, dword [ebp - 0x2cc]
mov eax, 0x458744
call fcn.00431ca8
test eax, eax
jg 0x458618
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.00458230
jmp 0x458618
mov esi, dword [ebp - 0x25c]
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x10]
call fcn.00408158
mov eax, dword [ebp - 0x2d4]
push eax
lea edx, [ebp - 0x2d8]
mov eax, edi
call fcn.00408158
mov eax, dword [ebp - 0x2d8]
pop edx
call fcn.00431ca8
test eax, eax
jle 0x458618
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.004332f4
lea eax, [ebp - 0x2e4]
mov edx, 0x45871c
call fcn.004046d0
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2e0]
call fcn.00404c0c
push dword [ebp - 0x2e0]
push dword [ebp - 8]
push 0x458724
push dword [ebp - 0xc]
push 0x458760
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2f0]
call fcn.004085f8
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2ec]
call fcn.00404c0c
push dword [ebp - 0x2ec]
push 0x458724
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.00426dd4
lea eax, [ebp - 0x27c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4582a1
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4586d2
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