Text this: Theory of scanning tunneling microscopy of adsorbed molecules on metallic surfaces for nearly localized atomic states