The button "Download entire course" just downloads every file item that is currently visible in the window.
If one limits the view, e.g., by setting the "Section" dropdown menu to a specific section, the button does not download the entire course.
However, I like the masking functionality of the button and I suggest just renaming it, for example, to "Download all visible items" (or something similar).