xkor, после старшей части xor-ключа
Код:
struct RequestAuthLogin
{
static const unsigned char id = 0x2B;
std::wstring Login;
__int64 GameKey;
__int64 SessionKey;
int XorKey_hi_dw;
__int64 mac_addr;
выглядит это так
Код:
push offset aReceiveVersioncheck ; "(Receive)VersionCheck"
push edx
call edi ; FOutputDevice::Logf(ushort const *,...)
mov eax, g_UNetworkHandler
mov ecx, g_UGameEngine
mov esi, [eax+48h]
mov edx, [ecx]
mov eax, [edx+0D4h]
mov ebx, [esi]
add esp, 8
call eax ;************* Engine.UGameEngine::GetMacAddress ***********
; returns eax:edx
mov ecx, ds:int GLanguageType
push edx
mov edx, [ecx]
----------------------------------
mov ecx, SessionKeyLo
push eax
mov eax, SessionKeyHi
push edx
mov edx, GameKeyHi
push eax
mov eax, GameKeyLo
push ecx
mov ecx, [ebx+68h]
push edx
push eax
push offset Login
push 2Bh
push offset aCsdddddq ; "cSdddddQ"
push esi
call ecx
add esp, 2Ch
push offset aSendC_loginPacket ; "(Send)C_LOGIN Packet"
mov edx, ds:FOutputDevice * GNetworkLog
mov eax, [edx]
push eax
call edi ; FOutputDevice::Logf(ushort const *,...)