spuTniK
July 31st, 2002, 12:17
Hi I`m just wondering how adresses are calculated :
004013CE 8B4760 mov eax, dword ptr [edi+60]
// Adress of Username is pushed in eax, edi = 0012FE8C
// After doing this line eax=002F38E8 ??
// This is not 0012FE8C+60 ? How is this calculated ?
004013D1 8D7760 lea esi, dword ptr [edi+60]
// After doing this line esi=0012FEEC, this is 0012FE8C+60 !
004013D4 8B40F8 mov eax, dword ptr [eax-08]
// The result of this line is eax=00000003 which is the length
// of the Username.
// But I don`t know how this has been calculated ...
Thanx for any help,
bye spuTniK
004013CE 8B4760 mov eax, dword ptr [edi+60]
// Adress of Username is pushed in eax, edi = 0012FE8C
// After doing this line eax=002F38E8 ??
// This is not 0012FE8C+60 ? How is this calculated ?
004013D1 8D7760 lea esi, dword ptr [edi+60]
// After doing this line esi=0012FEEC, this is 0012FE8C+60 !
004013D4 8B40F8 mov eax, dword ptr [eax-08]
// The result of this line is eax=00000003 which is the length
// of the Username.
// But I don`t know how this has been calculated ...
Thanx for any help,
bye spuTniK