Check only exe files for dependency on MSYS-2.0.dll. Also ".bat" and ".cmd" files are windows too. All other files by default is MSYS programs and scripts.