The fate of the U.S.-led war in Afghanistan and of stability in this neighboring country may depend to a great extent on efforts to reform Pakistan's controversial spy agency, known in the past for "hunting with the hounds and running with the hares."