A licence checker, decompiled and stripped of its symbols. It reads one line and returns 1 or 0.
The bytes it compares against, at
There is no anti-debugging, no packing, and no cleverness. Just read it.
c
int check(char *input) {
const unsigned char expected[32] = { /* .rodata, see below */ };
for (int i = 0; i < 32; i++) {
if ((input[i] ^ 42) != expected[i])
return 0;
}
return 1;
}The bytes it compares against, at
.rodata:0x402040:r
402040 44 5f 46 46 42 4b 5c 4f 44 51 52 45 58 75 43 59
402050 75 44 45 5e 75 4f 44 49 58 53 5a 5e 43 45 44 57There is no anti-debugging, no packing, and no cleverness. Just read it.