// IDA script to decipher data from HCU Millenium strainer stage 1 (AESCUL.EXE) static decryptdata(from,size) { auto i,x,n; for(i=size;i>0;i=i-1){ // loop for the all Byte x=Byte(from); // get the Current Byte n=(i&0xFF); // take the first 8bit of the counter n=(n%8); // these two line is x=(x<>(8-n)); // equal to rol x=(~x); // get the complement (equal to not) PatchByte(from,x);// and patch the Byte in IDA from=from+1; // increment the counter } } // End of Script