/*Does not work*/
#include <stdio.h>
#include <Windows.h>
int main()
{
char buffer[2];
char *sc =
"\x8B\xF4" //mov esi,esp
"\x6A\x00" //push 0
"\x6A\x00" //push 0
"\x6A\x00" //push 0
"\x6A\x00" //push 0
"\xFF\x15\x30\x83\x07\x00"; //call dword ptr [__imp__MessageBoxW@16 (78330h)]
strcpy(buffer, sc);
return 0;
}