Ugly, dirty, but it works
lepunk.co.uk
lepunk.co.uk
(pads number with 0s at start so that it is 2 digits)
As for checking if the PIN was accepted, it'd maybe work to check the window title or something. Chances are it will change once the software is registered. Then you can easily log the current PIN and break the loop.
Not that I support piracy, just thinking of ways to clean up that code a bit.
the program itself is incredibly outdated and as my uncle says noone using it in the industry anymore. sadly this one was the only one with trial version