When I see the assembly line:
MOV ESI, DWORD PTR DS:[EBP+0x8]
And, when Ollydbg shows me that [EBP+0x8] = 00000000
, then can I write it in C like this:
int *esi = NULL;
Or, should I use the stack address EBP + 0x8
which is 0x0012FF43
and write something like:
int *esi = &0012FF43
I would say that the first is the right answer, but I am very confused about that.