Allan Dodds Frank is an Emmy and Loeb Award-winning business investigative correspondent who has worked for ABC, CNN and Bloomberg television, as well as Forbes, The Washington Star and The Anchorage Daily News. He is a past President of the Overseas Press Club of America. The opinions expressed in this commentary are solely his own.

(CNN) Venezuela's future is in limbo, as its embattled president continues to fend off a national movement for regime change. And whether President Nicolas Maduro consolidates his power, or opposition leader Juan Guaido takes control of the government, one longterm question hangs over the country's fate: "Who gets Venezuela's oil?"

The importance of that unsettled question became even clearer last month, when Guaido, the 35-year-old National Assembly President, failed to convince the military to abandon Maduro. Now an international financial chess match is afoot, between the US and more than 50 countries backing Guaido as the country's legitimate interim president, and those nations aligned with Maduro.

To support Guaido, the United States has initiated an array of sanctions to hamper Maduro's oil sales by the state-controlled company PDVSA (Petróleos de Venezuela, S.A) and to steer money to accounts controlled by Guaido.

Meanwhile, Venezuela's two biggest creditors, China and Russia, are backing Maduro and keeping an eye on what they're owed. Cuba too has strengthened the regime by sending thousands of security forces in exchange for free oil.

Venezuela's oil riches—and woes

Venezuela holds the largest oil reserves in the world . It also has enormous debt, and its creditors' scramble to get paid is a major factor in the worldwide split over Venezuela.

Rampant inflation has made Venezuelan currency virtually worthless, and oil is its foremost means of repaying creditors. The problem is that its oil supply is only valuable when it can be extracted and processed—and the country's crumbling infrastructure simply cannot produce enough oil to serve as collateral against the complete ledger of debts.

Thanks to mismanagement and nationwide electrical outages, oil production has declined from more than 3.5 million barrels a day in 1998 -- the year before Chavez took power -- to 750,000 barrels per day in March 2019, according to field level data from Rystad Energy . Between that and stiff sanctions, Venezuela's current oil sales raise nowhere near enough money to meet the country's foreign exchange needs or its credit obligations. More than half the current production is already destined to pay off debts and therefore is not available to be sold for cash on the open world market.

"The total debt is more than six times the annual exports. In fact, the ratio is getting significantly worse this year with the decline in exports. No one is expecting Venezuela to pay its debts and the situation is very bad compared to the number of barrels that actually generate cash flow," Francisco J. Monaldi, the Latin American Energy Fellow at Rice University's Baker Institute in Houston, Texas, tells me.

In this handout photo released by Miraflores Press Office, Venezuela's President Nicolas Maduro, center.

Monaldi notes that even economically-stricken South Sudan has a significantly better debt-to-exports ratio.

Whoever ends up in Venezuela's presidency will face vast sums of debt that will be hard to repay even if oil production ramps up quickly. "The problem with accounting for the Venezuelan debt is that there are very different estimates. It is at least $130-$140 billion, but it could be up to $160 billion, depending on how you add up all the arbitrations, the decisions against Venezuela, the money that Venezuela owes to airlines and others," says Monaldi.

"Mortgaged to the hilt"

US President Donald Trump, himself a veteran of multiple bankruptcies, points to Russia and China as significant contributors to Venezuela's financial debacle. On May 1, he told Fox Business : "The advantage (Venezuela has) is they have oil. It's mortgaged out to the hilt between China and Russia.They just sucked money out of everybody. (Venezuela) has mortgaged their oil almost to the maximum. ... When you think about it, what has to be done, essentially, it's called a country foreclosure."

Overall, Venezuela could owe China more than $55 billion and Russia at least $17 billion, estimates Moises Rendon, a former Venezuelan bank analyst who is now Associate Director of the Americas program at the Center for Strategic & International Studies in Washington, D.C.

And the Maduro regime has not figured out how to raise foreign exchange by pumping more oil for sale for dollars on the open market without triggering clamoring from its creditors, who are owed yet more oil.

Before U.S. sanctions, PDVSA was raising dollars for Venezuela by selling nearly 500,000 barrels of oil a day to its subsidiary, Citgo, the US refinery company headquartered in Houston, Texas and incorporated in Delaware. Citgo has been so crucial to Venezuela that its bonds are the only debt issue that has been kept up to date with creditors by the government. But US sanctions have put Citgo's board under control of Guaido supporters and segregated its bank accounts to cut off Maduro's access.

Tanker trucks are seen in Maracaibo, Venezuela on March 15, 2019.

"The Maduro government does not control Citgo anymore, so they are not going to pay," predicts Monaldi, referring to US-forced takeover of the Citgo board by Guaido loyalists. "The Russians have a tougher hand. They have to convince a (U.S.) judge to let them auction the shares to get repaid." Citgo in Houston declined to return e-mail or phone call requests for comment.

PDVSA itself has more than $40 billion in outstanding debt, much of which is now in arrears. It's unlikely that a Maduro or Guaido government can or would pay back the PDVSA loans anytime soon to companies that support and supply oil drilling services, shipping and marketing.

Guaido's promises

Guaido's emissaries have been trying to convince countries like Russia and China that a new regime would honor their claims —and that argument is a crucial one. Frank A. Verrastro, a longtime U.S. oil executive and government official now serving as a senior vice president at the Center for Strategic & International Studies, says the economic concerns of Russia and China could potentially sway their support of Maduro.

"For the Chinese especially, if you ever want to be paid back the money Venezuela owes you, wouldn't you better off dealing with a new government that is solvent than the Maduro government?" says Verrastro.

Joel Guedes, an energy consultant with IPD Latin America who worked for PDVSA for more than two decades, tells me a key question is: "Can a Guaidó-controlled government offer China and Russia a better repayment plan?

Venezuelan opposition leader and self-declared president Juan Guaido talks at a meeting in Caraca's Chamber of Commerce Auditorium.

"The Chinese are reluctant to continue exposing themselves in terms of providing additional financial help because Venezuela and PDVSA already owe them a lot of money. The Russians are in the same situation," says Guedes.

"The Russians and Chinese are basically keeping the Maduro regime alive. The opposition also understands they want to honor financial obligations with any creditor. Of course, creditors will need to be part of the solution, not part of the problem."

Similarly, the Guaido legal team has indicated to federal and state judges in Pennsylvania and Delaware that it will seek to stop Crystallex, a Canadian mining company from forcing a sale of Citgo shares to collect an arbitration award worth $1.2 billion

If Maduro is replaced by a new government, the legitimacy of many of the financial agreements negotiated during the last 20 years by the Chavez and Maduro regimes may be challenged in international judicial proceedings, points out Rendon, because the debt deals were never approved by the Venezuelan National Assembly—considered by Guaido's supporters to be the only legitimate governmental body—in the first place.