Any documentation is helpful.
Tests will be the most helpful, as they will give an idea of how the thing is actually supposed to work.
"Incomplete" software would scare the snot out of me. If the company is going bankrupt, there's likely a reason. There's likely a reason the software is "incomplete." These two are likely related.
Incomplete software is not necessarily better than starting from scratch. It could be of great value, but it could be worse than nothing.
Clarification:
The cost of this software is:
- The cost of the software in dollars
- The cost of the new team getting up to speed in the code
- The cost of fixing whatever design issues may exist
The value of the software is:
- The cost of not writing the functionality that is there
The last two factors in the cost will be hard to determine without a detailed analysis, and worse, are likely to have a pretty wide range of possible values. The functionality that actually exists will be hard to determine without a serious analysis, as well - what looks like functionality could well be demoware.
Writing everything from scratch may be more expensive, but it is likely to have a smaller range of possible costs.
That's also why I suggested tests as the most valuable form of documentation - not only will they tell you what the software actually does (as opposed to what they planned on it doing), but it will give you an idea of how much functionality is actually present - especially if the software has never been completed enough to even ship a V1.