If you'd like to play Spider-Man 3 on PC without resorting to torrents, your best options are legitimate retailers. Look for a physical copy through online marketplaces, or check digital storefronts that still carry older licensed titles.
Keep in mind that licensed games can be pulled from digital stores over time, so availability varies. Buying a genuine copy also protects you from the malware that often hides in pirated downloads.