Diamonds Are Forever

James Bondâagent 007âpursues Ernst Stavro Blofeld and eventually finds him at a facility where Blofeld look-alikes are being created through surgery. Bond kills a test subject, and later the "real" Blofeld, by drowning him in a pool of superheated mud.
While assassins Mr. Wint and Mr. Kidd systematically kill several diamond smugglers, M suspects that South African diamonds are being stockpiled to depress prices by dumping, and orders Bond to uncover the smuggling ring. Disguised as professional smuggler and assassin Peter Franks, Bond travels to Amsterdam to meet contact Tiffany Case. The real Franks shows up on the way, but Bond intercepts and kills him, then switches IDs to make it seem like Franks is Bond. Case and Bond then go to Los Angeles, smuggling the diamonds inside Franks' corpse.
At the airport Bond meets his CIA ally Felix Leiter, then travels to Las Vegas. At a funeral home, Franks' body is cremated and the diamonds are passed on to another smuggler, Shady Tree. Bond is nearly killed by Wint and Kidd when they put him into a coffin and send to a cremation oven, but Tree stops the process when he discovers that the diamonds in Franks' body were fakes planted by Bond and the CIA.
Bond tells Leiter to ship him the real diamonds. Bond then goes to the Whyte House, a casino-hotel owned by the reclusive billionaire Willard Whyte, where Tree works as a stand-up comedian. Bond watches Tree's act and afterwards goes to his dressing room, where he discovers there that Tree has been killed by Wint and Kidd, who did not know that the diamonds were fake.
At the craps table Bond meets the opportunistic Plenty O'Toole, and after gambling, brings her to his room. Gang members ambush them, throwing O'Toole out the window and into a pool. Bond spends the rest of the night with Tiffany Case, instructing her to retrieve the real diamonds at the Circus Circus casino.
Tiffany reneges on her deal to meet back with Bond and instead flees, passing off the diamonds to the next smuggler. However, seeing that O'Toole was killed after being mistaken for her, Tiffany changes her mind. She drives Bond to the airport, where the diamonds are given to Whyte's casino manager, Bert Saxby, who is followed to a remote facility. Bond enters the apparent destination of the diamonds; a research laboratory owned by Whyte, where a satellite is being built by Professor Metz, a laser refraction specialist. Bond fakes Metz by telling him he is Klaus Hergersheimer, a technician he met in the facility. His cover is blown when he is seen by a technicinan, but evades the security guards by stealing a moon buggy and reunites with Tiffany. They are seen by the Las Vegas police, and assuming Bond is a saboteur, follow them back to the city. They soon engage in a car chase, but Bond manages to evade all the cars.
Bond later scales the walls to the Whyte House's top floor to confront Whyte. He is instead met by two identical Blofelds, who use an electronic device to sound like Whyte. Bond kills one of the Blofelds, which turns out to be a look-alike. The real Blofeld pulls a gun on Bond, and instructs him into a elevator, where he is knocked out by gas. He is picked up by Wint and Kidd, and taken out to Las Vegas Valley, where he is placed in a pipeline and left to die. The pipeline is buried the next morning.
Bond escapes and calls Blofeld, using a similar electronic device made by Q to pose as Saxby. He finds out Whyte is kept at his summer house outside the city and goes there with Felix and the CIA. After a brief battle with Whyte's female bodyguards Bambi and Thumper, they rescue Whyte. Saxby attempts to kill Bond outside the summer house, but is fatally shot during the ensuring gunfight. In the meantime, Blofeld abducts Case. With the help of Whyte, Bond raids the lab and uncovers Blofeld's plot to create a laser satellite using the diamonds, which by now has already been sent into orbit. With the satellite, Blofeld destroys nuclear weapons in China, the Soviet Union and the United States, then proposes an international auction for global nuclear supremacy.
Whyte identifies an oil platform off the coast of Baja California as Blofeld's likely base of operations. After Bond's attempt to change the cassette containing the satellite control codes fails due to a mistake by Tiffany, a helicopter attack on the oil rig is launched by Leiter and the CIA.
Blofeld tries to escape in a midget submarine, but Bond gains control of the submarine's launch crane and crashes the sub into the control room, causing both the satellite control and the base to be destroyed. Bond and Tiffany then head for Britain on a cruise ship, where Wint and Kidd pose as room-service stewards and attempt to kill them with a hidden bomb. Bond turns the tables on them, causing Kidd to hurl himself overboard after being set aflame and Wint to detonate with the bomb after being thrown overboard. Tiffany then asks James Bond a sensitive question: "How the hell do we get those diamonds down again?"
The obvious cause of the question is the diamonds in the satellite, which can be seen by Bond and Tiffany as a speck in the night sky.

Question: Who tries to change the cassette containing the satellite control codes?
Answer: Bond