Without dealer intervention, the easiest way to clone a dead ECU to donor ECU with identical part number is to move the memory chip which contains all unique data along with the all important immobiliser code.
Do some research because ECU inspection and repair is available in Thailand even for rare modules. ECU's often fail around inexpensive driver components that interface the processor with the outside world so its worth paying for an inspection before seeking a replacement.
One should also consider the repair shop has diagnosed the fault correctly and not fallen into some faulty ECU trap created by another module or external fault.