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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22b0
call fcn.0049c210
mov edx, dword [0x4bc51c]
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.0049cea2
lea eax, [ebp - 0xab0]
push 0x4afefc
push eax
call fcn.0049cea2
lea eax, [ebp - 0xab0]
push eax
lea eax, [ebp - 0x12b0]
push eax
call fcn.0049cea2
lea eax, [ebp - 0x12b0]
push 0x4b0480
push eax
call fcn.0049cea2
add esp, 0x20
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0xa
cmp dword [esi + 0x1c], ebx
jne 0x47a057
cmp dword [esi + 0x6c], ebx
je 0x47a06a
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x48], ebx
jne 0x47a4e9
jmp 0x47a04d
cmp dword [esi + 0x48], ebx
jne 0x47a4e9
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 0x47a512
cmp eax, 0xffffffff
je 0x47a512
cmp dword [esi + 0x1c], ebx
jne 0x47a0ad
cmp dword [esi + 0x6c], ebx
jne 0x47a0ad
cmp dword [0x4c6948], ebx
je 0x47a0c0
cmp dword [esi + 0x48], ebx
jne 0x47a4e9
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47a09b
cmp dword [ebp - 0x18], 0xa
jne 0x47a0d0
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x18], ebx
inc dword [ebp - 0x18]
cmp dword [esi + 0x48], ebx
jne 0x47a4e9
mov eax, dword [ebp - 0x2b0]
mov ecx, eax
not ecx
shr ecx, 4
and ecx, 1
mov dword [ebp + 8], ecx
jne 0x47a2b4
and eax, 0x400
mov dword [ebp + 8], eax
jne 0x47a2b4
lea eax, [ebp - 0x284]
push 0x4b011c
push eax
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x47a382
lea eax, [ebp - 0x284]
push 0x4b0120
push eax
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x47a382
cmp dword [ebp + 0x14], ebx
jne 0x47a147
cmp dword [ebp - 0x24], ebx
je 0x47a382
cmp dword [0x4c6924], ebx
jne 0x47a158
cmp dword [esi + 8], ebx
je 0x47a4ab
mov eax, dword [0x4bc51c]
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.0049cecc
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x1ab0]
push eax
call fcn.0049cea2
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.00479f9f
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 0x47a2a5
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040a529
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.0047b054
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 0x47a239
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 0x47a262
jb 0x47a25c
mov eax, dword [esi + 0x60]
cmp eax, ecx
jae 0x47a262
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 0x47a29d
add eax, 0xc8
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x47a29d
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 0x47a382
inc dword [edi]
jmp 0x47a382
cmp dword [ebp + 0x14], ebx
jne 0x47a378
mov eax, dword [0x4bc51c]
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.0049cecc
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x22b0]
push eax
call fcn.0049cea2
add esp, 0x10
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a529
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.0047b054
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 0x47a36e
jb 0x47a368
mov edx, dword [esi + 0x60]
cmp edx, ecx
jae 0x47a36e
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 0x47a382
mov eax, dword [ebp + 0xc]
inc dword [eax]
cmp dword [esi + 8], ebx
je 0x47a4ab
lea eax, [ebp - 0xab0]
lea ecx, [ebp - 0x10]
push eax
call fcn.0040a529
lea eax, [ebp - 0x284]
test eax, eax
je 0x47a3b1
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 0x4b5fc8
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.0045fe66
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.00422d37
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 0x47a469
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 0x47a46d
mov byte [ebp + 0xb], 1
lea ecx, [ebp - 0x48]
call fcn.004038fb
cmp byte [ebp + 0xb], bl
je 0x47a493
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 0x47a09b
cmp dword [ebp - 0x14], ebx
je 0x47a4f7
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x14], ebx
jne 0x47a518
cmp dword [ebp - 0x24], ebx
jne 0x47a518
cmp dword [esi + 0x48], ebx
mov dword [ebp - 0x24], 1
jne 0x47a518
jmp 0x47a04d
xor eax, eax
xor edx, edx
jmp 0x47a51e
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14