Document the business logic and write test cases with known inputs and correct outputs, so the numbers can be verified after the production build.
Build one working proof of concept: model a single module (likely the cap table) in a real database, load real data, and reproduce the current software's numbers exactly.
Work directly with the founder and the team, raise questions early, and make sensible calls where requirements aren't fully defined.
...