I've used Dup Detector (
http://ccm.net/download/download-7731-dup-detector) to help identify duplicate photos. I'm not sure if it will work with corrupted files, though.
It can either compare photos in two different folders at one time or, if the files have different names, you can put them all in one folder and it will compare the contents of that folder. The results will show you a thumbnail of the photo, image size, and (I think) file size.