Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int __thiscall decryptRecvPacket1(void *this, char* packetData, int dataSize, int unknownNotUsed)
- {
- push ebp
- mov ebp,esp
- push edi
- mov edi,ecx
- mov ecx,dword ptr ss:[ebp+C]
- xor edx,edx
- xor eax,eax
- test ecx,ecx
- jbe maplestory2.41A26F
- push ebx
- push esi
- mov esi,dword ptr ss:[ebp+8]
- mov ebx,dword ptr ds:[edi+4]
- mov bl,byte ptr ds:[ebx+edx]
- xor byte ptr ds:[eax+esi],bl
- xor ebx,ebx
- test edx,edx
- sete bl
- inc eax
- mov edx,ebx
- cmp eax,ecx
- jb maplestory2.41A256
- pop esi
- pop ebx
- mov eax,1
- pop edi
- pop ebp
- ret C
- }
- int __thiscall decryptRecvPacket2(void *this, char* packetData, int dataSize, int unknownNotUsed)
- {
- push ebp
- mov ebp,esp
- push esi
- push edi
- mov edi,dword ptr ss:[ebp+C]
- xor eax,eax
- mov esi,ecx
- test edi,edi
- jbe maplestory2.41A337
- mov edx,dword ptr ss:[ebp+8]
- push ebx
- movzx ecx,byte ptr ds:[eax+edx]
- mov ebx,dword ptr ds:[esi+8]
- mov cl,byte ptr ds:[ecx+ebx]
- mov byte ptr ds:[eax+edx],cl
- inc eax
- cmp eax,edi
- jb maplestory2.41A324
- pop ebx
- pop edi
- mov eax,1
- pop esi
- pop ebp
- ret C
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement