Torrent sites offering free copies of Assassin's Creed II are distributing an unauthorised copy of a commercial game, and the files on those sites are a leading source of bundled malware. That is the practical problem before the legal one.
The good news is that the game is old and cheap. It goes on deep discount in every seasonal sale, has appeared in bundles, and is frequently part of subscription catalogues at no extra cost while you are subscribed. Ubisoft's own store and the major DRM-free shops both carry it.
If cost is the obstacle, waiting for a sale costs you nothing but patience — and you get a copy that will not stop working when a key server goes down, plus patches and cloud saves you do not get from a cracked build.