Last active
June 5, 2016 09:37
-
-
Save najashark/3a1e25a12752647d7083bea45ead9674 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//re400.c by najashark | |
//ihack2016 | |
#include "stdafx.h" | |
#include "stdint.h" | |
int main(void) | |
{ | |
char arr[23] = { 0xFA,0x5A,0x32,0x8A,0x32,0xE3,0x52,0x82,0x40,0xBA,0x5A,0x32,0x48,0x52,0x5A,0x12,0x02,0x42,0x70,0x42,0x32,0xD2,0xFA }; | |
char c; | |
for (int i = 0; i < 23; i++) | |
{ | |
c = arr[i]; | |
__asm { mov al, c | |
rol al, 0x05 | |
xor al, 0x23 | |
mov c, al} | |
printf("%c", c); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment