•FunctionParameters!main:
•push 0x1
•push 0x1
•call FunctionParameters!arithmetic
(00401010)
•add esp,0x8
•xor eax,eax
•ret
•
•FunctionParameters!arithmetic:
•mov eax,[esp+0x4] ; eax := [b]
•mov ecx,[esp+0x8] ; ecx := [a]
•add ecx,eax ; ecx := ecx + eax
•inc eax ; eax := eax + 1
•imul eax,ecx ; eax := eax * ecx
•ret ; return result in eax
•