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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22b0
call fcn.0049c760
mov edx, dword [0x4bd5dc]
push ebx
push esi
mov esi, ecx
mov ebx, 0x1ff
push edi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x12ac]
mov dword [ebp - 0x12b0], edx
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov ecx, ebx
lea edi, [ebp - 0xaac]
mov dword [ebp - 0xab0], edx
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x93
lea edi, [ebp - 0x2ac]
mov dword [ebp - 0x2b0], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xab0]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0049d3f2
lea eax, [ebp - 0xab0]
push 0x4b0efc
push eax
call fcn.0049d3f2
lea eax, [ebp - 0xab0]
push eax
lea eax, [ebp - 0x12b0]
push eax
call fcn.0049d3f2
lea eax, [ebp - 0x12b0]
push 0x4b1480
push eax
call fcn.0049d3f2
add esp, 0x20
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0xa
cmp dword [esi + 0x1c], ebx
jne 0x47a53d
cmp dword [esi + 0x6c], ebx
je 0x47a550
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x48], ebx
jne 0x47a9cf
jmp 0x47a533
cmp dword [esi + 0x48], ebx
jne 0x47a9cf
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x12b0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x47a9f8
cmp eax, 0xffffffff
je 0x47a9f8
cmp dword [esi + 0x1c], ebx
jne 0x47a593
cmp dword [esi + 0x6c], ebx
jne 0x47a593
cmp dword [0x4c7a28], ebx
je 0x47a5a6
cmp dword [esi + 0x48], ebx
jne 0x47a9cf
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47a581
cmp dword [ebp - 0x18], 0xa
jne 0x47a5b6
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], ebx
inc dword [ebp - 0x18]
cmp dword [esi + 0x48], ebx
jne 0x47a9cf
mov eax, dword [ebp - 0x2b0]
mov ecx, eax
not ecx
shr ecx, 4
and ecx, 1
mov dword [ebp + 8], ecx
jne 0x47a79a
and eax, 0x400
mov dword [ebp + 8], eax
jne 0x47a79a
lea eax, [ebp - 0x284]
push 0x4b111c
push eax
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x47a868
lea eax, [ebp - 0x284]
push 0x4b1120
push eax
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x47a868
cmp dword [ebp + 0x14], ebx
jne 0x47a62d
cmp dword [ebp - 0x24], ebx
je 0x47a868
cmp dword [0x4c7a04], ebx
jne 0x47a63e
cmp dword [esi + 8], ebx
je 0x47a991
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x1ab0], eax
xor eax, eax
lea edi, [ebp - 0x1aac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xab0]
push eax
lea eax, [ebp - 0x1ab0]
push eax
call fcn.0049d41c
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x1ab0]
push eax
call fcn.0049d3f2
add esp, 0x10
lea eax, [ebp - 0x44]
fldz
push eax
mov eax, dword [ebp + 0x14]
inc eax
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
fstp qword [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1ab0]
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
call fcn.0047a485
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], edx
adc dword [ebp - 4], edx
add dword [eax], ecx
mov eax, dword [ebp - 0x28]
add dword [edi], eax
mov eax, dword [ebp + 0x18]
fld qword [ebp - 0x44]
fadd qword [eax]
cmp dword [ebp + 0x14], ebx
fstp qword [eax]
jne 0x47a78b
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040a4e8
lea ecx, [ebp - 0x1c]
call fcn.00403cfb
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x38]
push eax
call fcn.0047b4d2
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [esi + 8], ebx
je 0x47a71f
fld qword [ebp - 0x44]
fadd qword [eax + 8]
fstp qword [eax + 8]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x20], 1
mov dword [eax + 0x14], edx
mov eax, dword [esi + 0x64]
cmp eax, edx
ja 0x47a748
jb 0x47a742
mov eax, dword [esi + 0x60]
cmp eax, ecx
jae 0x47a748
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], edx
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp eax, dword [esi + 0x58]
mov dword [esi + 0x50], eax
jle 0x47a783
add eax, 0xc8
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x47a783
lea ecx, [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x105
lea eax, [ebp - 0x60]
push ebx
push eax
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_RedrawWindow]
lea ecx, [ebp - 0x1c]
call fcn.004038fb
cmp edi, ebx
je 0x47a868
inc dword [edi]
jmp 0x47a868
cmp dword [ebp + 0x14], ebx
jne 0x47a85e
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x22b0], eax
xor eax, eax
lea edi, [ebp - 0x22ac]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xab0]
push eax
lea eax, [ebp - 0x22b0]
push eax
call fcn.0049d41c
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x22b0]
push eax
call fcn.0049d3f2
add esp, 0x10
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a4e8
lea ecx, [ebp - 0xc]
call fcn.00403cfb
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0xc]
lea ecx, [esi + 0x38]
push eax
call fcn.0047b4d2
or dword [eax + 4], 0xffffffff
mov dword [eax], ebx
mov dword [eax + 0x20], 1
mov edi, dword [ebp - 0x290]
mov edx, dword [ebp - 0x294]
xor ecx, ecx
xor ebx, ebx
or ecx, edi
or edx, ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 0x10]
mov eax, edx
mov edx, dword [esi + 0x64]
cmp edx, eax
ja 0x47a854
jb 0x47a84e
mov edx, dword [esi + 0x60]
cmp edx, ecx
jae 0x47a854
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
lea ecx, [ebp - 0xc]
call fcn.004038fb
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x47a868
mov eax, dword [ebp + 0xc]
inc dword [eax]
cmp dword [esi + 8], ebx
je 0x47a991
lea eax, [ebp - 0xab0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x284]
test eax, eax
je 0x47a897
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x284]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00403bd8
push 0x4b7048
lea ecx, [ebp - 0x30]
call fcn.00403927
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0x38]
push eax
call fcn.00460258
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x38]
call fcn.004038fb
lea ecx, [ebp - 0x30]
call fcn.004038fb
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0x2c]
push eax
call fcn.00422db4
pop ecx
pop ecx
push str.audio
lea ecx, [ebp - 0x48]
call fcn.00403927
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403d34
test eax, eax
je 0x47a94f
push str.video
lea ecx, [ebp - 0x3c]
call fcn.00403927
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00403d34
neg eax
sbb al, al
lea ecx, [ebp - 0x3c]
inc al
mov byte [ebp + 0xb], al
call fcn.004038fb
cmp byte [ebp + 0xb], bl
mov byte [ebp + 0xb], bl
je 0x47a953
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x48]
call fcn.004038fb
cmp byte [ebp + 0xb], bl
je 0x47a979
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.00402a6c
mov eax, dword [ebp + 0x18]
pop ecx
fadd qword [eax]
fstp qword [eax]
lea ecx, [ebp - 0x2c]
call fcn.004038fb
lea ecx, [ebp - 0x34]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov edx, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x294]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
add dword [ebp - 8], eax
lea eax, [ebp - 0x2b0]
push eax
mov dword [ebp - 0x294], ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x290], ebx
adc dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47a581
cmp dword [ebp - 0x14], ebx
je 0x47a9dd
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x14], ebx
jne 0x47a9fe
cmp dword [ebp - 0x24], ebx
jne 0x47a9fe
cmp dword [esi + 0x48], ebx
mov dword [ebp - 0x24], 1
jne 0x47a9fe
jmp 0x47a533
xor eax, eax
xor edx, edx
jmp 0x47aa04
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14