How Do I Write ASM To A Process?

Posts 113 of 13 · Page 1 of 1
How Do I Write ASM To A Process?
I was curious how I would write ASM to a process. Something like
WriteASM(ProcessHandle,Line#,"WhatToWrite")
Just curious if anyone knew.
I don't know it for sure, but i think it was something like:

Code:
_asm
{bla
bla
bla}
_/asm
It's a standard setting in new versions of c++, you can use it without definitions...

but for older versions it would be complicated

wait a bit, i'll try to search it in google...
Quote Originally Posted by pbsucks View Post
I don't know it for sure, but i think it was something like:

Code:
_asm
{bla
bla
bla}
_/asm
It's a standard setting in new versions of c++, you can use it without definitions...

but for older versions it would be complicated

wait a bit, i'll try to search it in google...
u mean

__asm

but you could prefer byte writing
I've searched in google and found out following:

For writing asm you need this code:

Code:
__asm
{
bla
bla
bla
}
You can use _asm or __asm, it depends on the settings...
There are some other conditions you need to think about...
You need to use different definitons of variables depending on the bit-system, if it is 8- , 16- or 64-bit-system

byte-writing is ok, but it is quite complicated for me to use, if i need to write a bunch of different adresses with different options...

ps: I LOVE GOOGLE
Quote Originally Posted by pbsucks View Post
Do I understand you right?

For writing asm you need this code:

Code:
__asm
{
bla
bla
bla
}
__/asm
byte-writing is ok, but it is quite complicated for me to use, if i need to write a bunch of different adresses with different options...
__asm {
code
}

i thought atleat

for wrting bytes in Auto Assembler
just use the db function like

[enable]
001234AB:
db th im oi s l3 3t

[disable]
001234AB:
db ma yb en ot
what is the "db function" ?

ps:

00732A4F:
db id on tt hi nk th im oi sa le et

00732A51:
db ie ve nr es pe ct hi mb ec au se of hi sk no wl eg de
=/ I won't to like write ASM to another process, not mine.
Quote Originally Posted by pbsucks View Post
what is the "db function" ?

ps:

00732A4F:
db id on tt hi nk th im oi sa le et

00732A51:
db ie ve nr es pe ct hi mb ec au se of hi sk no wl eg de
nvm mind its for cheat engien...
but you can just use write bytes or anthing with

memory();
BYTE w/e[ ] = {0x8b, 0x85, 0xE4, 0x32, 0x11};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xAdress), &w/e, sizeof(w/e), NULL);
credz dxt cobra!
I see....Fuck now I feel like an idiot. I should have known to convert it to bytes.
Lol its easy. Like go into your uce change it to what you want, and see what it changes to in the 2nd column when its changed and put that into your hack in reverse order using the Writeprocessmemory, making sure to input them in reverse order and then just use Unsigned Short instead of int for the data type/value
Quote Originally Posted by castaway View Post
nvm mind its for cheat engien...
but you can just use write bytes or anthing with

memory();
BYTE w/e[ ] = {0x8b, 0x85, 0xE4, 0x32, 0x11};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xAdress), &w/e, sizeof(w/e), NULL);
credz dxt cobra!
i dont get it,
can u like write it with out the w/e? thanks.
If you don't know what w\e means. Or the only thing it could we used for, you really should be reading this thread. As w\e stands for a vars name..
is this what you put in the button for antikick?

Code:
memory();
BYTE abc[ ] = {0x90, 0x90, 0x90, 0x90, 0x90, 0x90};
WriteProcessMemory(hProcess, (LPVOID*)(DWORD) (0xAddie), &abc, sizeof abc, NULL);
Tell me if something is wrong.
Posts 113 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?