How do I go about repairing an original bin file on the 93LC66A eprom for my 2004 MGTF.

I bought it without keys and with the help of a locksmith tried to add a new remote.

But the file is corrupt. I have bought a used SCU from a Rover 25 and paired it to the mems3 but just curious how it could be corrected.

Thanks.
Lee