Stack structure
•
…
•
[EBP-8] Local Var 2 (DWORD)
•
[EBP-4] Local Var 1 (DWORD)
•
[EBP]
previous EBP
•
[EBP+4] return address
•
[EBP+8] Param 1 (DWORD)
•
[EBP+C] Param 2 (DWORD)
•
…
•
•
void func(int Param1, int Param2)
•
{
•
int var1, var2;
•
}