Re: assembly language and reverse engineering




<travisjg@xxxxxxxxx> wrote in message
news:47bae076-9a80-487c-acc0-5cafbe961376@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,

I've done some programming in a few languages in the past, including
some assembly language. Not much asm, and it's been a while, so I'd
basically have to re-learn what I did know. I've recently become
interested in reverse engineering software in a Windows environment. I
know that understanding assembly language is key, so my question is
where to begin.


be warned though:
disassembling and reverse engineering are not exactly looked on favorably by
most liscense agreements...

maybe good for learning a few things, but just keep this in note.


Most current books on asm seem teach you high level macro assembler
rather than the lower level, DOS style programming, and refer to DOS
asm as obsolete. Even Randall Hyde's site refers to 16-bit asm as
obsolete. It would seem to me though, that this would be what I would
want to start with, and then once I'm fluent, move on to the higher
level assembly language.


starting with this would only really be helpful if you intend to understand
the whole architecture.
for windows code, 16 bit and dos is not a good place to start. there is not
enough relevant in common for there to be much point.

one would be better off learning assembly on linux than they would be on
DOS.
anymore, about the only real use for real mode is for getting into protected
mode...


Am I right here, or should I start off with high level Windows
assembly programming?


not "high level" windows ASM, but still windows ASM.


if your functions look something like:

foo:
push ebp
mov ebp, esp

....
mov eax, [ebp+8]
mov [ebp-8], eax
....

mov esp, ebp
pop ebp
ret

you are probably on about the right track...


if you see some abstract macro-assembler cruft, that is probably not the
right track.


Thanks in advance,

Spasm


.



Relevant Pages

  • Re: Rene cant handle AoAs Success
    ... HLL, mostly an imperative one like JAVA or C++. ... are HLL-knowledge which is a not required detour for true ASM coders. ... Complex programming needs detailed knowledge of the matter, ... if you choose assembly language as your first programming ...
    (alt.lang.asm)
  • Re: General Use of ASM
    ... I am starting to learn ASM, and I was just curious what do most people ... friend suggested that I learn ASM to help me debug device drivers.. ... this in a standard high level language, not even a system programming ... These days I write as little assembly language and as much ...
    (comp.lang.asm.x86)
  • Re: Rene cant handle AoAs Success
    ... Knuth, Pispalis, Dunteman, and/or similar books. ... are HLL-knowledge which is a not required detour for true ASM coders. ... HLLs before assembly language. ... Complex programming needs detailed knowledge of the matter, ...
    (alt.lang.asm)
  • assembly language and reverse engineering
    ... I've done some programming in a few languages in the past, ... Not much asm, and it's been a while, so I'd ... know that understanding assembly language is key, ... or should I start off with high level Windows ...
    (alt.lang.asm)
  • Re: printing 2 and 3 digit numbers in masm
    ... Assembly Language Programming" and the High Level Assembler ... > mov cl,number ... > int 21H ...
    (comp.lang.asm.x86)