I think these two code snippets should have the same effect. The current code is
add esp, 36 pop esi sub esp, 40
which works. I want to replace it with
mov esi, [esp + 36]
but replacing my current code with this code has a different effect. Are these two snippets equivalent?