as seen in 96baba74a907890b995f23c7db21568f7bfb5dbf417ed90ca311482b99702b72 By 262588213843476 Archived: 2026-04-06 00:34:26 UTC Star (1) Fork (0) Clone this repository at <script src="https://gist.github.com/larsborn/0ec24d7b294248c51de0c3335802cbd4.js"></script> Clone this repository at <script src="https://gist.github.com/larsborn/0ec24d7b294248c51de0c3335802cbd4.js"></script> as seen in 96baba74a907890b995f23c7db21568f7bfb5dbf417ed90ca311482b99702b72 #!/usr/bin/env python3 # -*- coding: utf-8 -*- import binascii def decrypt(buf: bytes, key: int, summand: int) -> str: ret = bytearray() for i, c in enumerate(buf): ret.append(c ^ key) key += (-1 if i % 2 else 1) + summand key &= 0xff return ret.decode('utf-8').rstrip('\0') if __name__ == '__main__': assert decrypt(binascii.unhexlify(b'8797286a6da3f032539eb4'), 0xe4, -0x38) == r'c:\Windows' https://gist.github.com/larsborn/0ec24d7b294248c51de0c3335802cbd4 Page 1 of 2 Source: https://gist.github.com/larsborn/0ec24d7b294248c51de0c3335802cbd4 https://gist.github.com/larsborn/0ec24d7b294248c51de0c3335802cbd4 Page 2 of 2