What does lea in this x86-64 code do? - Stack Overflow
https://stackoverflow.com/questions/16185446/what-does-lea-in-this-x86-64-code-do
Web1 Answer. Sorted by: 5. lea, Load Effective Address, puts the computed "memory address" in the result register. So here, rcx = rsi + 4 and rax = rsi + 0x14. By the way, the second line doesn't really look like it's part of the code that sets up the stack frame, rsi is the second argument when using System V AMD64 calling conventions.
DA: 40 PA: 49 MOZ Rank: 19