Re: Cost is the smaller concern
Will you be able to find a company capable of, and willing to take on someone else's hacked and undocumented spaghetti code from a proprietary company?
NO. The code is not available.
But it should be in escrow. Due diligence should require it.
Good luck getting that in your licensing agreement, though.