Function at 0x4d0450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x14]
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
push ebx
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
and ecx, 0xfffffff0
je 0x4d05fc
jmp 0x4d0490
push ecx
mov eax, dword [edi + esi*4]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 4]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 8]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0xc]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x10]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x14]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x18]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x1c]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x20]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x24]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x28]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x2c]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x30]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x34]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x38]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
mov eax, dword [edi + esi*4 + 0x3c]
movzx ecx, ax
movq mm0, qword [edx + ecx*8]
shr eax, 0x10
pxor mm0, qword [ebx + eax*8]
movq qword [ebx + eax*8], mm0
pop ecx
add esi, 0x10
cmp esi, ecx
jne 0x4d0490
mov dword [ebp - 4], esi
pop ebx
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
cmp ecx, edi
jae 0x4d0636
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
movzx eax, word [esi + ecx*4 + 2]
movzx ecx, word [esi + ecx*4]
mov ebx, dword [ebp + 0xc]
lea eax, [ebx + eax*8]
mov ebx, dword [edx + ecx*8]
xor dword [eax], ebx
mov ecx, dword [edx + ecx*8 + 4]
xor dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, edi
jb 0x4d0610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret