Step one of rebuilding the e-bike my co-worker gave me is grafting a different battery management board onto the battery pack.
Transplant complete!

I still need to figure out how to wire up the charger plug. They used an XLR connector with four pins, and the charger doesn't turn the power on until it senses something (maybe a temperature sensor?)

Edit: i just needed to check the back of the charger for the pinout

@MLE_online Oh, that would do serious damage to a scooter/chair... I hope there are safeguards... The diagram suggests a different keyway, so that´s good.
@hotarubiko It doesn't turn on the charging voltage unless it detects the temperature sensor