Created
November 10, 2013 07:54
-
-
Save acoomans/7395166 to your computer and use it in GitHub Desktop.
In-memory Instagram 4 key
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
//__attribute__((noinline)) | |
void sub_1b1638_i(char *v) { | |
int r11 = 0x37; | |
int r6 = 0x65; | |
int r3 = 0x35; | |
int r2 = 0x38; | |
int r4 = 0x31; | |
int r9 = 0x34; | |
int r12 = 0x61; | |
int lr = 0x39; | |
int r8 = 0x63; | |
unsigned char *r5 = "/*INSTAGRAM*/"; | |
for (int r1=0; r1 != 0x20; r1+=0x1) { | |
unsigned char r10 = r5[r1]; | |
v[r1] = r10; | |
if (r10 > 0xC) { | |
if (r10 > 0x2C) { | |
if (r10 > 0x50) { | |
if (r10 > 0x5A) { | |
if (r10 > 0x6D) { | |
if (r10 > 0xA0) { | |
if (r10 > 0xC3) { | |
if (r10 > 0xD1) { | |
if (r10 > 0xEF) { | |
if (r10 == 0xF0) { | |
v[r1] = r12; | |
} else { | |
if (r10 != 0xF5) { | |
if (r10 == 0xF8) { | |
v[r1] = r8; | |
} | |
} else { | |
v[r1] = lr; | |
} | |
} | |
} else { | |
if (r10 == 0xD2) { | |
v[r1] = r9; | |
} | |
} | |
} else { | |
if (r10 == 0xC4) { | |
v[r1] = r4; | |
} | |
} | |
} else { | |
if (r10 == 0xA1) { | |
v[r1] = r2; | |
} | |
} | |
} else { | |
if (r10 == 0x6E) { | |
v[r1] = r3; | |
} | |
} | |
} else { | |
if (r10 == 0x5b) { | |
v[r1] = r6; | |
} | |
} | |
} else { | |
if (r10 == 0x51) { | |
v[r1] = r11; | |
} | |
} | |
} else { | |
if (r10 != 0x2D) { | |
if (r10 == 0x31) { | |
v[r1] = 0x32; | |
} | |
} else { | |
v[r1] = 0x62; | |
} | |
} | |
} else { | |
if (r10 != 0xD) { | |
if (r10 == 0xE) { | |
v[r1] = 0x33; | |
} | |
} else { | |
v[r1] = 0x64; | |
} | |
} | |
} else { | |
if (r10 == 0x1) { | |
v[r1] = 0x30; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment