Код:
VOID unscrambleRSAKey(BYTE *n)
{
INT i;
for(i=0; i<0x40; i++)
n[0x40 + i] = (BYTE)(n[0x40 + i] ^ n[i]);
for(i=0; i<4; i++)
n[0x0d + i] = (BYTE)(n[0x0d + i] ^ n[0x34 + i]);
for(i=0; i<0x40; i++)
n[i] = (BYTE)(n[i] ^ n[0x40 + i]);
for(i=0; i<4; i++)
{
BYTE temp = n[0x00 + i];
n[0x00 + i] = n[0x4d + i];
n[0x4d + i] = temp;
}
}