On the Subject of the Pancake CM

A machine that knows no bounds when it comes to ciphers.

From the Mechanus Cipher module by Obvious.

If the Submit Button is white, reverse both number strings on screens 1 and 2.

For each digit in the number strings, take the Nth digit on screen 1 and the Nth digit on screen 2 and mirror the group of letters that are positioned between and including those 2 numbers to get a decrypted word.

Example 1

Encrypted Word: AYPIRC
Screen 1: 6122212
Screen 2: 2231523
Submit Screen: Black

AYPIRC + 62 → ACRIPY
ACRIPY + 12 → CARIPY
CARIPY + 23 → CRAIPY
CRAIPY + 21 → RCAIPY
RCAIPY + 25 → RPIACY
RPIACY + 12 → PRIACY
PRIACY + 23 → PIRACY

Decrypted Word: PIRACY

Example 2

Encrypted Word: GIPCNA
Screen 1: 3636256
Screen 2: 6513343
Submit Screen: White

GIPCNA + 63 → GIANCP
GIANCP + 54 → GIACNP
GIACNP + 23 → GAICNP
GAICNP + 63 → GAPNCI
GAPNCI + 31 → PAGNCI
PAGNCI + 65 → PAGNIC
PAGNIC + 36 → PACING

Decrypted Word: PACING