@zitqhileHi zitqhite,
Thanks for your reply, but that is not the one I've lost.
I think the guy found the lamp, a guy genie appeared, they discussed the 3 wishes, the guy told the genie to have a look around in the world while he formulated his wishes.
They came to an agreement that after getting his wishes, he would hide the lamp, and set the genie free to wander the world.
I don't remember how he got young and in school, and then the rest of the story is taking over the ESP org.
Oh, and if he died, one part of the wish was that he could reanimate into a recently dead person of his choice.
Hope this helps