* Reference To: NDIS.NdisReadNetworkAddress, Ord:00EAh
|
:000109BA FF1538040100 Call dword ptr [00010438]
:000109C0 837DF400 cmp dword ptr [ebp-0C], 00000000
:000109C4 7516 jne 000109DC //is set mac addr in registry, use it. others jump
:000109C6 8B45E8 mov eax, dword ptr [ebp-18]
:000109C9 8B08 mov ecx, dword ptr [eax]
:000109CB 898EE4000000 mov dword ptr [esi+000000E4], ecx
:000109D1 668B4004 mov ax, word ptr [eax+04]
:000109D5 668986E8000000 mov word ptr [esi+000000E8], ax
......
set w memory breal point at esi+000000e4, find location:
......
:000124D6 8A83E5000000 mov al, byte ptr [ebx+000000E5] // mac addr 2nd byte
:000124DC 0A83E6000000 or al, byte ptr [ebx+000000E6] // mac addr 3rd byte
:000124E2 0A83E7000000 or al, byte ptr [ebx+000000E7] ...
:000124E8 0A83E8000000 or al, byte ptr [ebx+000000E8]
:000124EE 0A83E9000000 or al, byte ptr [ebx+000000E9] // mac addr 6th byte
:000124F4 0A07 or al, byte ptr [edi] //
:000124F6 7503 jne 000124FB //
:000124F8 A5 movsd //
:000124F9 66A5 movsw // if no station addr use permanent address as mac addr
.....