int __fastcall __noreturn main(int argc, constchar **argv, constchar **envp) { int v3; // eax char v4; // [rsp+Fh] [rbp-1h]
while ( 1 ) { while ( 1 ) { printf("Welcome to CTF game!\nPlease input d/D to start or input q/Q to quit this program: "); v4 = getchar(); if ( v4 != 100 && v4 != 68 ) break; Decry("Welcome to CTF game!\nPlease input d/D to start or input q/Q to quit this program: ", argv);// 非常明显,这道题应该主要是看Decry } if ( v4 == 113 || v4 == 81 ) Exit("Welcome to CTF game!\nPlease input d/D to start or input q/Q to quit this program: ", argv); puts("Input fault format!"); v3 = getchar(); putchar(v3); } }