#include <iostream>
#include <string>
#include <cstdint>
void V4_Auth_wwgw9c() {
auto l0 = []() -> std::string {
std::string s;
uint8_t enc[38] = {
0xDB, 0xE9,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA
};
for (int i = 0; i <= 37; ++i) s += char(enc
^ 0x87);
return s; // "\n--------------------------------------"
};
auto l1 = []() -> std::string {
std::string s;
uint8_t enc[12] = { 0xCF,0xE2,0xEB,0xEB,0xE8,0xA7,0xD0,0xE8,0xF5,0xEB,0xE3,0xA6 };
for (int i = 0; i <= 11; ++i) s += char(enc ^ 0x87);
return s; // "Hello World!"
};
auto l2 = []() -> std::string {
std::string s;
uint8_t enc[38] = {
0xDB, 0xE9,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,
0xAA,0xAA,0xAA,0xAA
};
for (int i = 0; i <= 37; ++i) s += char(enc ^ 0x87);
return s; // "\n--------------------------------------"
};
auto l3 = []() -> std::string {
std::string s;
uint8_t enc[29] = {
0xD7,0xF5,0xE2,0xF4,0xF4,0xA7,0xC2,0xE9,0xF3,0xE2,0xF5,0xA7,
0xF3,0xE8,0xA7,0xE4,0xE8,0xE9,0xF3,0xEE,0xE9,0xF2,0xE2,0xA7,
0xA9,0xA7,0xA9,0xA7,0xA9
};
for (int i = 0; i <= 28; ++i) s += char(enc ^ 0x87);
return s; // "Press Enter to continue . . ."
};
using std::cout; using std::endl; using std::cin;
cout << l0() << endl;
cout << l1() << endl;
cout << l2() << endl;
cout << l3();
cin.get();
}
int main() {
int state = 0xAF2;
while (state != 0) {
if (state == 0xAF2) {
V4_Auth_wwgw9c();
state = 0;
} else {
state = 0; // dead path
}
}
return 0;
}