There is no scanner which will do that for you. It happens to all of us, and can take some time to find the culprit and fix things up.
First thing to do is to open the My Documents--EA Games--The Sims 2 folder.
Inside that folder, look for files named:
groups.cache
accessory.cache
cigen.package
Content Registry
Delete those (don't worry - the game will auto-create fresh new ones when you run it).
Not all those files may be there. Again, don't worry - just delete the ones in that list which are there.
Then launch the game and see if the problem has resolved.
If not, the problem almost surely lies in a custom content file.
In that case, if you don't already have it, download and install Clean Installer:
http://sims2pack.modthesims2.com/index.php?page=1Run Clean Installer and let it scan your Downloads file and finish generating the list of files.
Then click the MD5 tab in Clean Installer - this will group files so you can find duplicates more easily.
As you scroll down the list, look for items highlighted in pink - those are duplicates. Remove them all but one from each group.
Then click the Type tab in Clean Installer, and scroll down the type column to the 'E' section, and see if there are any files listed as "Empty Package.' Delete any listed as Empty Package.
Note: Clean Installer also highlights any hacks in red. This is not a danger sign, just a highlighting. Don't delete the red items, unless you don't want the hacks. Custom lots, especially, can come with included hacks which you may not want or which may be incompatible with your version of the game.
Be aware that if you Remove a file using Clean Installer - it is gone - there is no Undo to get it back.
Close Clean Installer and launch the game to see if the problem has resolved.
If not, then you'll have to use more time-intensive methods to winnow down to the culprit and jettison it.
First, open your Downloads folder and sort the files in it by size. Look for a file named b18484e15a91c5a039d61f635d15d7c3.package that is also 6 MB or larger. See if you have multiples of that file - they will be the same long string of letters and numbers, but also with a _001, _002, etc. at the end of each copy (for example, b18484e15a91c5a039d61f635d15d7c3_001.package). Delete all but the original for now.
Launch the game and see if the problem is resolved.
If it is not, then follow the steps here:
http://www.sims2wiki.info/wiki.php?title=Game_Help:Finding_Problem_Custom_ContentThe tried and true, but time consuming, 50% method is the best way to narrow things down.
Remember, when testing with items temporarily moved out of the Downloads folder for testing purposes, to not Save the game but just Quit the game.