I'm attaching a hex file. It should turn on Caps Lock, then Num Lock, then backlight, then turn them off in the same order; with 2 seconds between every change.
Note that it does not have any USB/keyboard function, so with this firmware the keyboard *will not* enumerate as a keyboard. For reverting back to a keyboard firmware, you'll need to enter the bootloader manually (make sure you know how to do that *before* you flash this firmware - normally there's a button on the bottom side of the keyboard; although in your photos it looks like it's missing on your PCB. In that case, you should be able to "emulate" pressing that button by just shorting a pair of the pads where the button is supposed to be by something conductive, like a pin).
Also note that I don't have a schematic of that board, nor do I have that board, so I'm just using the pins that are described as for caps, num, backlight in the firmware supposedly for Red Scarf III that I linked above.