adplus-dvertising
frame-decoration

Question

What is the purpose of the LEA instruction in RtlGetElementGenericTable?

a.

To perform an EBX = EDI + 1

b.

To load the root table pointer into ECX

c.

To compare EDI against -1

d.

To preserve original values of EBX and ESI

Posted under Reverse Engineering

Answer: (a).To perform an EBX = EDI + 1 Explanation:The purpose of the LEA instruction in RtlGetElementGenericTable is to perform an EBX = EDI + 1.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the purpose of the LEA instruction in RtlGetElementGenericTable?