Even if this were completely innocent request, you haven't provided anywhere near enough information for us to be able to help. Creating a key generator through reverse engineering hardly sounds completely innocent though. It sounds extremely nefarious. If you would like help on that here, I think that you're going to need to provide convincing evidence that you're not trying to crack someone else's software. Unless you can do that, this thread will be closed. If this really is your friend's application, they should be able to provide you with the information you need.
On second thoughts, I'm going to close this thread by default and will reopen it if you can provide such evidence. I think that you should be able to add a message to my profile page so do that if you can and have the evidence. If you can't add a message to my profile, add one to your own and I'll keep an eye out for it.