General Assembly Flashcards
Learn the basic components and terms that relate to x86 Assembly
What are the CPU Instructions in Immunity?
displays the memory address, opcode and assembly instructions, additional comments, function names and other information related to the CPU instructions
What is the purpose of the Registers pane in Immunity?
displays the contents of the general purpose registers, instruction pointer, and flags associated with the current state of the application
What does the STACK pane display in Immunity?
shows the contents of the current stack
What does the Memory Dump display in Immunity
shows the contents of the application’s memory
What programs can be used to debug a Windows system?
Immunity or WinDbg
What is the EAX register?
The Accumulator Register - it’s the primary register used for common calculations (such as ADD and SUB). and it has preferential status by assigning it more efficient, one-byte opcodes. In addition, EAX is also used to store the return value of a function.
How many bits is the EAX registry?
32-bits total in length
Name EAX least and most significant bits?
EAX refers to the 32-bit register in its entirety. AX refers to the least significant 16 bits which can be further broken down into AH (the 8 most high significant bits of AX) and AL (the 8 lowest significant bits).
What is the EBX register?
a catch-all for available storage
What is the ECX register?
frequently used as a loop and function repetition counter, though it can also be used to store any data
What is the EDX register?
often used in mathematical operations like division and multiplication to deal with overflow where the most significant bits would be stored in EDX and the least significant in EAX; also commonly used for storing function variables.
What is the ESI register?
The Source Index, ESI, is often used to store the pointer to a read location.
What is the EDI register?
EDI, the Destination Index, was primarily designed to store the storage pointers of functions, such as the write address of a string operation.
What is the EBP register?
EBP, Base Pointer, is used to keep track of the base/bottom of the stack within the current stack frame.
What is the ESP register?
ESP, the Stack Pointer is used to track the top of the stack. As items are moved to and from the stack ESP increments/decrements accordingly.