A little help about ASM

Results 1 to 8 of 8
  1. #1
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    A little help about ASM

    Hi, im trying to learn a little bit of ASM, so i think you guys can help me a little bit:I saw a lots of times someone saying "search for the funcion ZPostChannelChat", "search for ZCharacterManager::GetCharacterIndex", but how can i find them? I mean, how can i search for functions at ASM code? Thanks!


  2. #2
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: A little help about ASM

    Download the Gunz PBP dump. I've posted it here a couple of times. Also GunzOld.exe and test.txt.txt combination will also help you.

  3. #3
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: A little help about ASM

    Ok, im going to take a look at them. Thanks T6!

    EDIT: Btw i searched for Gunz PBP dump and it doenst found nothing about it. I think is cuz PBP is a small word and the searh dont use it... Also searched at google and fonud nothing.

  4. #4
    GunZ Developer dacharles is offline
    MemberRank
    Oct 2006 Join Date
    476Posts

    Re: A little help about ASM

    here is the PBD ^^ i dont remember who uploaded this....Hmmm well the credits go to him :p

    http://rapidshare.com/files/169349381/dumps.rar

  5. #5
    Reverse Engineer ThievingSix is offline
    MemberRank
    Mar 2007 Join Date
    CaliforniaLocation
    901Posts

    Re: A little help about ASM

    GunzOld.txt and test.txt.txt will be of more help for finding the functions inside gunz. To know the parameters you'll need the dumps.

  6. #6
    -- Nayr438 is offline
    MemberRank
    May 2008 Join Date
    241Posts

    Re: A little help about ASM


  7. #7
    Programming Addict Lambda is offline
    MemberRank
    Sep 2007 Join Date
    SpainLocation
    393Posts

    Re: A little help about ASM

    also, to call Classes functions you first need to get the class instance (unless these functions are static) and move the instance to ECX register, for example.

    CALL ZGameClient::GetInstance
    MOV ECX, EAX
    CALL ZGameClient::SomeFunction

    this method only works if the class has the __thiscall calling convention, (the 99% of classes functions are __thiscall ), if for example, the function has the __cdecl calling conversion you must pass the instance as parameter.

    PUSH Parameter1
    PUSH Parameter2
    PUSH Instance
    CALL Someclass::Somefunction

  8. #8
    Account Upgraded | Title Enabled! cerealnp is offline
    MemberRank
    Apr 2006 Join Date
    BrazilLocation
    441Posts

    Re: A little help about ASM

    Yay, this helped me alot! Thanks



Advertisement