Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void decyp(){
- FILE *file = fopen("launcher_payload.bin", "rb");
- FILE *f = fopen("launcher_payload_out.bin", "wb");;
- fseek(f, 0, SEEK_SET);
- unsigned int n;
- unsigned int key = 0;
- int file_position = 0;
- for(int i = 0; i < 0x1000; i++)
- {
- key += 0xD5828281;
- fread(&n, sizeof(int), 1, file);
- n += key;
- fwrite(&n, 4, 1, f);
- }
- fclose(f);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement