Maya pulled the source repository from the legacy Git server. The code was a tangled mess of #ifdef s and magic constants, but the license routine was neatly encapsulated in a file called license.c . The function GenerateLicenseKey() took two inputs: hwSerial (a 12‑character string pulled from the BIOS) and seed (an integer). It then ran the serial through a custom SHA‑1 variant, XOR‑ed the result with the seed, and formatted the output as five blocks of four alphanumeric characters.
SerialNumber B7C3D9E1F4A2