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
>>> for x in range(0xffffffff): | |
... if 0x978710a1 ^ x == 0x90909090: | |
... print(hex(x)) | |
... break | |
... | |
0x7178031 |
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
e asm.bits=32 | |
e asm.arch=x86 | |
e asm.emu.write=true | |
e io.cache=true |
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
aei | |
aeim |
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
aeim 0x800000 0x28000 |
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
s 0x40104b | |
aeip | |
aer eax=0x800000 |
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
aecu 0x401070 |
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
aer ecx=0x7178031 | |
aecu 0x401096 |
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
#pragma comment(lib, "User32.lib") | |
#pragma comment(lib, "Kernel32.lib") | |
#define STRICT | |
#include <windows.h> | |
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) | |
{ | |
if (GetSystemDefaultUILanguage() == 0x40E) | |
MessageBox(NULL, "Hi there! Wait while I do something bad!", "Success", MB_OK); |
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
int main(int argc, char *argv[]) | |
{ | |
... | |
IMG_AddInstrumentFunction(Image, 0); | |
... | |
} |
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
VOID Image(IMG img, VOID *v) | |
{ | |
RTN sysDefUILangRtn = RTN_FindByName(img, GETSYSTEMDEFAULTUILANGUAGE); | |
if (RTN_Valid(sysDefUILangRtn)) { | |
RTN_Open(sysDefUILangRtn); | |
if (newLangCode > 0) | |
RTN_Replace(sysDefUILangRtn, (AFUNPTR)SetSystemDefaultUILanguage); | |
RTN_Close(sysDefUILangRtn); |
OlderNewer