The funding allows the company to continue operating and attempt to restructure its massive debt pile.