Yay, it's a VM. Afair it was a reverse engineering puzzle. Lots of loops in loops, figuring out what the key value is. Bars represent register values.