Prime Minister Imran Khan will travel to the United States on Sunday hoping the arrest of Jamaatud Dawa (JuD) chief Hafiz Muhammad Saeed and progress in the Afghan peace talks will help secure a favourable reception.
PM Imran is expected to try to mend fences and attract much-needed investment during his meeting with US President Donald Trump, scheduled to take place on July 22, in exchange for assurances of full cooperation in ending the war in Afghanistan and fighting militant threats.
Trump, a property developer turned reality TV star, and PM Imran, World Cup-winning captain of the Pakistan cricket team, both came to office after achieving fame away from politics and the personal chemistry between the two may be decisive.
"A lot will depend on the kind of mood that President Trump and indeed Prime Minister Imran Khan find themselves in," said Farzana Sheikh, an associate fellow at the Royal Institute of International Affairs in London.
"Neither of them is known to be particularly predictable."
Battling to stave off a balance of payments crisis and forced to seek a bailout from the International Monetary Fund (IMF), Pakistan is badly in need of foreign investment but security is likely to be the main focus of the visit.
PM Imran will be accompanied by Chief of the Army Staff (COAS) Gen Qamar Javed Bajwa.
Analysts believe he will play a key role in behind-the-scenes discussions where much of the serious business of the visit will take place, with the military looking to persuade Washington to restore aid and cooperation.
Last year, Trump cut off hundreds of millions of dollars in security assistance to Pakistan, accusing Islamabad of offering "nothing but lies and deceit" while giving safe haven to terrorists, a charge angrily rejected by Islamabad.
But Imran will believe the arrest on Wednesday of Hafiz Saeed, the alleged mastermind of a four-day militant attack on the Indian city of Mumbai in 2008, will send the right signals to Trump, who exuberantly welcomed the news on Twitter.
More than 160 people were killed in the four-day militant attacks. Saeed — who has a $10 million US bounty on his head — is designated a terrorist by the United States and the United Nations.
Trump said Saeed's arrest "after a 10-year search", was the result of pressure from his administration on Pakistan to get tougher on militants.
But Saeed has been in and out of Pakistan prisons for the last decade and even addressed public rallies.
As well as assurances that it is cracking down on militants, PM Imran is likely to stress Pakistan's role in bringing the Taliban to the negotiating table with the United States.
Trump has made no secret of his desire to end US military involvement in Afghanistan and Pakistan's cooperation will be essential to any deal to end the war and ensure the country does not become a base for militant groups like Islamic State.
"The United States, Russia and China know that without Pakistan's co-operation, there can be no settlement in Afghanistan," Sheikh said.
India will be watching the talks closely.
New Delhi has pushed the Financial Action Task Force, global money laundering and terror finance watchdog, to put Pakistan on a blacklist of countries that fail to meet international standards in stopping financial crime.
But it has had its own problems with the Trump administration over trade and is concerned about being shut out of the peace process in Afghanistan.
Special Assistant to the Prime Minister Naeemul Haque on Thursday said the premier is to travel via Qatar Airways in a bid to save taxpayer money.
The government has repeatedly promised that the trip will cost a total $60,000 to the exchequer, compared to the much more exorbitant expenditures allegedly made by past chief executives.
Earlier, officials in Islamabad are believed to have informed the Pakistan embassy that PM Imran desired to stay at the ambassador’s official residence instead of an expensive hotel during his three-day visit to Washington.