1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
| int __cdecl main(int argc, const char **argv, const char **envp) { int v3; int v4; int v5; int v6; int v7; int v8; int v9; int v10; int v11; int v12; int v13; int v14; int v15; int v16; int v17; bool v18; int v19; int v20; int v21; int v22; int v23; int v24; int v25; int v26; int data1[68]; char input[1008]; int enflag[1008]; int num[4]; int len; int k; int j; int i;
_main(); memset(enflag, 0, 0xFA0ui64); enflag[1000] = 0; memset(data1, 0, 0x100ui64); data1[64] = 0; for ( i = 0; i <= 64; ++i ) data1[i] = i + 1; num[0] = 2; num[1] = 3; num[2] = 4; num[3] = 5; enflag[1004] = 2; enflag[1005] = 3; enflag[1006] = 4; enflag[1007] = 5; puts("WHERE IS MY KEY!?"); scanf("%32s", input); len = strlen(input); v3 = Gcd(data1[j], data1[j]); for ( j = v3 / data1[j]; j <= len; ++j ) { v4 = (data1[j] + data1[j + 1]) * (data1[j] + data1[j + 1]); if ( v4 >= (int)(Pow(2, 2) * data1[j] * data1[j + 1]) ) { v5 = ~input[(int)Sub(j, 1)]; v6 = Sub(j, 1); enflag[j] = ~(v5 + num[v6 % (int)Pow(2, 2)]); } v7 = Gcd(data1[j], data1[j + 1]); if ( v7 > (int)Gcd(data1[j + 1], ~(~data1[j + 1] + data1[j])) ) { v8 = enflag[j]; v9 = Sub(j, 1); enflag[j] = ~(~v8 + data1[v9 % (int)Pow(2, 2)]) * v8; } v10 = data1[j + 1]; v11 = Pow(2, 1) * v10; v12 = data1[j]; v13 = Pow(2, 1); v14 = Gcd(v12 * v13, v11); v15 = Pow(2, 1); if ( v14 == v15 * (unsigned int)Gcd(data1[j], data1[j + 1]) ) { v16 = Sub(j, 1); enflag[j] ^= num[v16 % (int)Pow(2, 2)]; } v17 = Pow(Num_3, data1[j]); v18 = v17 < data1[j] + 1; v19 = Pow(2, 4); if ( (unsigned __int8)F0X3(v19 >= j, v18) ) { v20 = ~input[(int)Sub(j, 1)]; v21 = Sub(j, 1); enflag[j] ^= ~(v20 + num[v21 % (int)Pow(2, 2)]); } v22 = Pow(2, 3); v23 = Gcd(data1[j], data1[j]); enflag[j] *= v22 + (unsigned int)Pow(2, v23 / data1[j]); } v24 = Pow(2, 4); if ( (unsigned int)Sub(v24, 1) != len ) goto LABEL_23; v25 = Gcd(data1[k], data1[k]); for ( k = v25 / data1[k]; k <= len; ++k ) { v26 = enflag[k]; if ( v26 == (int)Sub(A0X6[k], 1) / 10 ) ++V0X2; } if ( V0X2 == len ) puts("\nPASS"); else LABEL_23: puts("\nDENIED"); return 0; }
|