Results 1 to 13 of 13
  1. #1
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad

    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.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  2. #2
    pbsucks's Avatar
    Join Date
    Sep 2007
    Location
    univers
    Posts
    65
    Reputation
    10
    Thanks
    4
    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...

  3. #3
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    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

  4. #4
    pbsucks's Avatar
    Join Date
    Sep 2007
    Location
    univers
    Posts
    65
    Reputation
    10
    Thanks
    4
    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
    Last edited by pbsucks; 11-27-2007 at 01:50 PM.

  5. #5
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    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
    Last edited by castaway; 11-27-2007 at 01:50 PM.

  6. #6
    pbsucks's Avatar
    Join Date
    Sep 2007
    Location
    univers
    Posts
    65
    Reputation
    10
    Thanks
    4
    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

  7. #7
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    =/ I won't to like write ASM to another process, not mine.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  8. #8
    castaway's Avatar
    Join Date
    Mar 2007
    Location
    In a BIG Box.
    Posts
    1,636
    Reputation
    14
    Thanks
    97
    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!

  9. #9
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    I see....Fuck now I feel like an idiot. I should have known to convert it to bytes.



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  10. #10
    nukeist_'s Avatar
    Join Date
    Jul 2007
    Location
    in HELL
    Posts
    295
    Reputation
    12
    Thanks
    92
    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
    Last edited by nukeist_; 11-28-2007 at 08:50 PM.

  11. #11
    K2 Nemico's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Posts
    160
    Reputation
    8
    Thanks
    29
    Quote Originally Posted by thimo 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.

  12. #12
    radnomguywfq3's Avatar
    Join Date
    Jan 2007
    Gender
    male
    Location
    J:\E\T\A\M\A\Y.exe
    Posts
    8,858
    Reputation
    381
    Thanks
    1,823
    My Mood
    Sad
    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..



    There are two types of tragedies in life. One is not getting what you want, the other is getting it.

    If you wake up at a different time in a different place, could you wake up as a different person?


  13. #13
    K2 Nemico's Avatar
    Join Date
    Jul 2007
    Gender
    male
    Posts
    160
    Reputation
    8
    Thanks
    29
    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.

Similar Threads

  1. [TuT] How to write a pointer in vb6
    By cjg333 in forum General Game Hacking
    Replies: 5
    Last Post: 06-26-2010, 07:30 PM
  2. [Tutorial(C++)]How to call functions within another process
    By radnomguywfq3 in forum Programming Tutorials
    Replies: 4
    Last Post: 07-08-2008, 07:33 PM
  3. [Help] How to write value NOP
    By jaqq3000 in forum Visual Basic Programming
    Replies: 9
    Last Post: 12-02-2007, 11:46 AM
  4. ASM hacks like OPK,Invi.. in vb6? and VB write big value?
    By o0KoNsY0o in forum WarRock - International Hacks
    Replies: 21
    Last Post: 11-28-2007, 05:51 PM
  5. How to write value "NOP"
    By w00t? in forum Visual Basic Programming
    Replies: 2
    Last Post: 10-10-2007, 12:32 PM