If your code base is a wreck, word will get out, and this will make it harder for you to recruit. As a result, you are likely to end up with mediocre engineers. This will increase your future costs and probably cause the system structure to degrade even more.
This is important to keep in mind; as Peter Thiel said, a company fouled up at the outset is destined for failure.