The film is episodic and uneven, but Cook’s impish glee at being bad in the most frustrating ways possible is a lot of fun.