An interactive reading of the leaked Windows XP code

Anne Barela · Dec 4, 2026 · about 1 min read

AI summary AI-generated, may contain mistakes

A blog post on lr0.org examines the Windows XP SP1 source code leaked in 2020, porting several pieces to JavaScript to run as interactive browser demos. The author highlights an unshipped full-screen Start page, a Mac OS X-like 'Candy' theme, a 1998 machine-learned spam filter that was dropped after a lawsuit, and the fact that _NSAKEY was just one of two cryptographically named keys. The post also uncovers a rare Minesweeper bug where the 100-entry flood-fill queue can overflow on wide boards.

Key takeaways

  • Several Windows XP code pieces were ported to JavaScript demos in the browser.
  • An unshipped full-screen Start page is enabled via a build flag and a registry value.
  • A 'Candy' theme with Mac OS X-like styling was last changed in July 2000.
  • Outlook Express shipped a machine-learned spam filter in 1998, removed after a lawsuit.
  • Minesweeper's 100-entry flood-fill queue can lap itself, mislabeling squares about two cases per million first clicks.

A blog post on lr0.org works through the Windows XP SP1 source that leaked in 2020. The writer ported several pieces to JavaScript so they run as demos in the browser. Some demos load the original data, including the boot bitmap from the kernel.

One find is an unshipped full-screen Start page, switched on by a build flag and a registry value. Another is a theme called Candy, with rounded buttons and glassy controls that look like early Mac OS X. It was last changed in July 2000. Outlook Express carries a machine-learned spam filter from 1998, and Microsoft dropped it after a lawsuit over e-cards going to the junk folder.

The post also looks at _NSAKEY. In the code that checks signatures on cryptographic providers, the two production keys are named KEY and KEY2.

Keep reading

Out of respect for the author only the opening is shown here. Read the rest on the original site, or in HorizonReader with highlights, notes and AI help.