Hey all, I've been searching Rohitab, CodeProject and various other sites to figure out how to write OPCodes to a file and cannot figure it out. I thought I'd ask here because it's the only site I have an account on and I usually get my answers here or hints.
I was to basically open a file and write:
MOV EBX 10; Stuff like that.
Or
NOP;
But I'm not sure how to actually write it to a file or how to read it either.
I know in C++ I can do:
int main()
{
__asm
{
push 0;
push title;
push caption;
call MessageBoxA;
}
}
But I cannot figure out how to actually write that to a file and how to check if a file has stuff like that in it.