The file
C:\WINDOWS\twaintec.dll
has nothing to do with your scanner. As long as you did not delete anything else with the word "twain" in it, your scanner should not be affected. For more info on Twain-Tech, click HERE.

You may have to uninstall your scanner and reinstall with the latest drivers available at your scanner site if you continue to have problems.