Think I'm gonna have to go with Megatron, specifically the beast wars megatron. power-hungry, sadistic, and utterly brilliant.
when optimus primal went out into a space pod in order to blow up an alien weapon, megs hacked into the thing to seal it up so that primal would die in the explosion...