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

Disassembly:
push 0x29c
mov eax, 0x50d4c5
call fcn.004d0d27
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x284], ecx
lea ecx, [ebp - 0x274]
push eax
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x280], ebx
call fcn.004073ac
lea ecx, [ebp - 0x274]
call fcn.0046fb70
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.00407359
add eax, 0x10
mov dword [ebp - 0x278], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
mov eax, dword [esi]
push dword [eax - 0xc]
push eax
call fcn.004072c9
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x290], 0
mov edi, eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x294], edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
dec eax
neg eax
sbb al, al
add al, 1
je 0x495fcf
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004093f6
mov eax, dword [ebp - 0x26c]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d3931
pop ecx
pop ecx
test eax, eax
jne 0x495e27
or eax, 0xffffffff
jmp 0x495e2f
sub eax, dword [ebp - 0x26c]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x26c]
push esi
lea eax, [ebp - 0x270]
push eax
call fcn.00445117
push str..pack
lea ecx, [ebp - 0x270]
call fcn.004506f4
test eax, eax
jne 0x495f87
push 0x2e
push dword [ebp - 0x26c]
call fcn.004d3931
pop ecx
pop ecx
test eax, eax
jne 0x495e74
or eax, 0xffffffff
jmp 0x495e7c
sub eax, dword [ebp - 0x26c]
sar eax, 1
push eax
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004450c5
push eax
lea ecx, [ebp - 0x26c]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x298]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov eax, dword [ebp - 0x26c]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d3931
pop ecx
pop ecx
test eax, eax
jne 0x495ec9
or eax, 0xffffffff
jmp 0x495ed1
sub eax, dword [ebp - 0x26c]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x26c]
push esi
lea eax, [ebp - 0x29c]
push eax
call fcn.00445117
push eax
lea ecx, [ebp - 0x270]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x29c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
push str..jar
lea ecx, [ebp - 0x270]
call fcn.004506f4
test eax, eax
jne 0x495f87
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0044fed8
pop ecx
push eax
lea ecx, [ebp - 0x28c]
call fcn.004073ac
mov eax, dword [ebp - 0x284]
mov ecx, ebx
mov dword [ebp - 0x288], eax
lea eax, [ebp - 0x28c]
push eax
call fcn.00484233
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x2a8], eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x270]
add ecx, 0xfffffff0
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x26c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
add bl, 1
mov ebx, dword [ebp - 0x280]
jne 0x495df9
push 0x52fbe4
lea ecx, [ebp - 0x270]
call fcn.00480431
lea eax, [ebp - 0x270]
push eax
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0047fc19
pop ecx
push eax
lea ecx, [ebp - 0x278]
call fcn.0044369a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x49603c
push edi
call ebx
and dword [ebp - 0x294], 0
mov esi, dword [ebp - 0x278]
lea eax, [ebp - 0x264]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x294]
call fcn.0044ef11
mov edi, dword [ebp - 0x294]
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
dec eax
neg eax
sbb al, al
add al, 1
je 0x4960f6
mov ebx, dword [ebp - 0x280]
mov esi, dword [ebp - 0x284]
lea ecx, [ebp - 0x264]
call fcn.00487803
test al, al
je 0x4960d3
push esi
push ebx
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x238]
push eax
lea edx, [ebp - 0x274]
lea ecx, [ebp - 0x27c]
call fcn.0044fed8
pop ecx
mov ecx, dword [ebp - 0x2a4]
push eax
call fcn.00495d46
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
dec eax
neg eax
sbb al, al
add al, 1
jne 0x496085
mov esi, dword [ebp - 0x278]
mov ebx, dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x4960fd
push edi
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00406dd3
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.00406dd3
call fcn.004d0cd1
ret 0x10