Cracking SecureW2 hashes

This is a C function to crack SecureW2 hashes, which are stored in the windows registry in the "SoftwareSecureW2MethodsDefaultProfilesDEFAULTCredentialsUserPassword" key. Change the last DEFAULT with the username, if you need to. The hash looks like this:

4C4626383636374644375043514458344D...(truncated)

Two characters make one character and every other combined character is added ...

more ...