The board doesn't look obviously damaged other than the three black wires are pulled off. You can either remove the black wires completely and use the pigtail, or you can solder the wires back on.
The board can't be replaced by end users. It has to be calibrated to match the encoders, end stops, motor/bearing drag resistance, any balance variations and the IMU.