On the Optimization of Ramboozled Again

I would have preferred a pseudo-needy if he did not depart so quickly.

Decrypt the displayed text and buttons using the table provided here. <#> represents that the next letter is # forwards in the alphabet from the previous decrypted letter, wrapping around.

Take the A1Z26 counterparts of each pair of letters assigned to each button and add them together. If the 2nd letter decrypted in the pair is <#>, obtain the result of 2X + # instead, where X is the A1Z26 of the first letter of the pair. Modulo the sum by 26 for each button to obtain the values of each button.

Decryption Table

ABCDEFGHI
a<25>ABCDEFGH
bIJKLMNOPQ
cRSTUVWXYZ
dABCDEFGHI
eJKLM<13>NOPQ
fRSTUVWXYZ
gABCDEFGHI
hJKLMNOPQR
iSTUVWXYZ<1>

Using the decrypted text from the display, consider the number of letters forwards in the alphabet, from each consecutive pair of letters, including the last and first letters decrypted as a pair. Use the word bank provided to determine which one contains the exact sequence of values. Numbers that are bolded denote that an offset can take <#> as its encryption.

ABCDEFGHIJKLM NOPQRSTUVWXYZ

Shift the encrypted word A letters backwards in the alphabet, and take the last B letters and place them at the front to obtain its original counterpart. Find the button whose value equals (A × B) % 26. There will ONLY be 1 button that has this value. Use the color of the desired button to determine when to interact this button at. Repeat with new displays 3 more times to disarm.

Any incorrect presses or timings will result in a strike and reset the module with new buttons and displays after 4 interactions have been made.

Word Table With Offset Counts

WordLetters Forwards In Alphabet (Looped x2)
Billy Goat 7 3 0 13 8 8 12 19 8 7 3 0 13 8 8 12 19 8
Shearling 15 23 22 17 20 23 5 19 12 15 23 22 17 20 23 5 19 12
Nanny Goat 13 13 0 11 8 8 12 19 20 13 13 0 11 8 8 12 19 20
Livestock 23 13 9 14 1 21 14 8 1 23 13 9 14 1 21 14 8 1
Capricorn 24 15 2 17 20 12 3 22 15 24 15 2 17 20 12 3 22 15
Goatskins 8 12 19 25 18 24 5 5 14 8 12 19 25 18 24 5 5 14
Walia Ibex 4 11 23 18 8 19 3 19 25 4 11 23 18 8 19 3 19 25
Shorthair 15 7 3 2 14 19 8 9 1 15 7 3 2 14 19 8 9 1
Garganica 20 17 15 20 13 21 20 24 6 20 17 15 20 13 21 20 24 6
Icelandic 20 2 7 15 13 16 5 20 6 20 2 7 15 13 16 5 20 6
Jamnapari 17 12 1 13 15 11 17 17 1 17 12 1 13 15 11 17 17 1
Messinese 18 14 0 16 5 17 14 12 8 18 14 0 16 5 17 14 12 8
Oberhasli 13 3 13 16 19 18 19 23 6 13 3 13 16 19 18 19 23 6
Norwegian 1 3 5 8 2 2 18 13 0 1 3 5 8 2 2 18 13 0
Pinzgauer 19 5 12 7 20 20 10 13 24 19 5 12 7 20 20 10 13 24
Sokoto Red 22 22 4 5 21 3 13 25 15 22 22 4 5 21 3 13 25 15
Repartida 13 11 11 17 2 15 21 23 17 13 11 11 17 2 15 21 23 17
Blackneck 10 15 2 8 3 17 24 8 17 10 15 2 8 3 17 24 8 17
ColorVisual ReferenceHold this button for at least 0.5 seconds when the last seconds digit of the countdown timer is the last digit of the...
Black# of unlit indicators
Brown# of AA battery holders
Tan# of D batteries
White# of lit indicators