[CODE] Conficker C P2P Port Generation Algorithm [/CODE]

Sorry, I am putting a lot of Code snippets and tutorials in this Section but I want to give as much as I can.

Okay before we begin. This code was not written by me. I have simply translated this is into Windows Working code , since the previous code only worked for Linux & Unix.

All hackers who wish to steal this code and use it will ,fail terribly since normally P2P bot codes are only compatible with that specific Malware. Conficker is known to use many exploits and USB LNK-SWAP to spread and also such P2P botnets are used for organised crime and are very well looked after.
Code:
NOTE * This is only for study and not for programming Malware and Such.