Pakistan has failed to attract FDI because of political and security issues. Other than this, there is not much that separates Pakistan from the rest of its neighbors. Same level of worker productivity and logistical efficiencies. All South Asian countries have twin deficits in their budget and services rendered by the gov. to the taxed population is unsatisfactory. This is why most young educated people try to leave South Asia.
I predict Pakistan's macro economic problems will automagically settle down when Reko Diq revenue (annually expected to be $2 or $3 billion for the federal exchequer) tilts the BoP just enough to bring basic economic stability. At that point, investors will start pumping money into the country to mask the twin deficit problem.
Corruption is a symptom of lack in per capita availability of (harvestable) resources and not the cause for misery in developing countries. People who believe that 'corruption is the problem' have simply not questioned their underlying assumptions enough to inevitably reach this realization.