I'm the one who has to look at the code.
What I see can't be saved. It is a total mess. The team is clueless but at the other hand they really put a lot of effort and work hard. They now want to change the framework and refactor a portion of the software. But I have a feeling that this a never ending story.
What it makes it really difficult is to accept the loss, trow away all the money and time and begin all over again. So the founder has the feeling that there must be a way to launch with this code base and delay the rewrite.