I have a battery charge question

So… I bought a broken board off a friend for 40 bucks. It was a Genisis Hellfire.

I took it apart, and discovered that the port that connects to the battery shorted, and the board fried. I ordered a flipsky fsesc 4.2. everything else works, and the battery still reads 36v.

So I had to trash the original vesc, and the connectors, leaving me with bare lead wires. The battery has a board, which looks to be a bms. However, the battery was previously charged through the vesc. I still have the charger, and the charger is good. 42v. So the only issue I have, is how should I charge the battery now?

Any help is appreciated.