This is a keygen for an old keygenme that the web scene group TSRh used to send to anyone who wished to join them as a cracker in order to test their skill. The keygenme is fortunately not packed or exe-protected, and it doesn't use anti-debugging techniques. Just a regcode validation algo that IMHO is quite hard to beat.
The 'keygen' provided in this repo is a simple command line program that takes a line of input (the username) from stdin and prints a regcode. It should compile anywhere. MSVC users might have to substitute getline with gets or something, I don't know.
A keygen that looks pretty and plays music can be found here:
It's a Win32 executable that also works in Windows x64 and was coded on Linux using MinGW.