TrackMania United is a fantastic time-trial racer, and it's understandable to want it without paying full price. But downloading a pirated torrent copy is risky, both legally and in terms of malware.
A better approach is to watch for official sales and bundles on legitimate storefronts, where classic racing games are often deeply discounted. You'll get a clean, supported copy that won't come bundled with unwanted software.
Patience for a sale usually pays off and keeps your PC safe.