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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5e
push 0
push 0
dec ecx
jne 0x459d8c
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a21c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x4650d8], 0
jne 0x45a187
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00431c30
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
mov ecx, 0x45a234
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 0x45a187
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x250]
mov ecx, 0x104
call fcn.00404bf0
push 0x45a238
mov eax, dword [ebp - 0x10]
call fcn.00404c1c
mov esi, eax
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x45a16c
push 0x45a23c
push esi
call sub.kernel32.dll_lstrcmpW
test eax, eax
je 0x45a16c
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.00433c0c
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, 0x45a24c
call fcn.00409340
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.00433c0c
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, 0x45a24c
call fcn.00409340
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0xc]
call fcn.00404c0c
test byte [ebp - 0x27c], 0x10
je 0x45a080
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x10]
call fcn.00408170
mov eax, dword [ebp - 0x2b4]
push eax
lea edx, [ebp - 0x2b8]
mov eax, edi
call fcn.00408170
mov eax, dword [ebp - 0x2b8]
pop edx
call fcn.00431c74
test eax, eax
jle 0x45a037
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.004332c0
lea eax, [ebp - 0x2c4]
mov edx, 0x45a270
call fcn.004046d0
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2c0]
call fcn.00404c0c
push dword [ebp - 0x2c0]
push dword [ebp - 8]
push 0x45a278
push dword [ebp - 0xc]
push 0x45a278
push 0x45a280
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.004355d0
lea edx, [ebp - 0x2cc]
mov eax, dword [ebp - 4]
call fcn.00408170
mov edx, dword [ebp - 0x2cc]
mov eax, 0x45a298
call fcn.00431c74
test eax, eax
jg 0x45a16c
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.00459d84
jmp 0x45a16c
mov esi, dword [ebp - 0x25c]
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x10]
call fcn.00408170
mov eax, dword [ebp - 0x2d4]
push eax
lea edx, [ebp - 0x2d8]
mov eax, edi
call fcn.00408170
mov eax, dword [ebp - 0x2d8]
pop edx
call fcn.00431c74
test eax, eax
jle 0x45a16c
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.004332c0
lea eax, [ebp - 0x2e4]
mov edx, 0x45a270
call fcn.004046d0
mov edx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x2e0]
call fcn.00404c0c
push dword [ebp - 0x2e0]
push dword [ebp - 8]
push 0x45a278
push dword [ebp - 0xc]
push 0x45a2b4
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2f0]
call fcn.00408610
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x2ec]
call fcn.00404c0c
push dword [ebp - 0x2ec]
push 0x45a278
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.004355d0
lea eax, [ebp - 0x27c]
push eax
push ebx
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x459df5
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a226
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