Function at 0x4a95f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
movsd xmm3, qword [eax]
lea esi, [edi + 0x10]
movsd xmm5, qword [eax + 0x20]
movaps xmm7, xmm3
subsd xmm3, qword [eax + 0x10]
movsd xmm2, qword [eax + 8]
addsd xmm7, qword [eax + 0x10]
movsd xmm4, qword [eax + 0x28]
movaps xmm6, xmm2
subsd xmm2, qword [eax + 0x18]
addsd xmm6, qword [eax + 0x18]
movsd qword [ebp - 0x20], xmm3
movaps xmm3, xmm5
addsd xmm3, qword [eax + 0x30]
subsd xmm5, qword [eax + 0x30]
movsd qword [ebp - 0x18], xmm2
movaps xmm2, xmm4
addsd xmm2, qword [eax + 0x38]
subsd xmm4, qword [eax + 0x38]
movsd xmm1, qword [ebp - 0x18]
movaps xmm0, xmm3
addsd xmm0, xmm7
subsd xmm7, xmm3
movsd xmm3, qword [eax + 0x40]
movsd qword [eax], xmm0
movaps xmm0, xmm2
addsd xmm0, xmm6
movsd qword [eax + 0x20], xmm7
movsd xmm7, qword [eax + 0x60]
subsd xmm6, xmm2
movsd xmm2, qword [eax + 0x48]
movsd qword [eax + 8], xmm0
movsd xmm0, qword [ebp - 0x20]
subsd xmm0, xmm4
movsd qword [eax + 0x28], xmm6
addsd xmm4, qword [ebp - 0x20]
movaps xmm6, xmm3
subsd xmm3, qword [eax + 0x50]
addsd xmm6, qword [eax + 0x50]
movsd qword [eax + 0x10], xmm0
movaps xmm0, xmm5
addsd xmm0, xmm1
movsd qword [eax + 0x30], xmm4
subsd xmm1, xmm5
movaps xmm4, xmm2
subsd xmm2, qword [eax + 0x58]
movsd xmm5, qword [eax + 0x68]
addsd xmm4, qword [eax + 0x58]
movsd qword [ebp - 0x20], xmm3
movaps xmm3, xmm7
addsd xmm3, qword [eax + 0x70]
subsd xmm7, qword [eax + 0x70]
movsd qword [eax + 0x18], xmm0
movsd qword [eax + 0x38], xmm1
movsd xmm0, qword [esi]
movsd qword [ebp - 0x10], xmm0
movaps xmm0, xmm3
movsd qword [ebp - 0x18], xmm2
addsd xmm0, xmm6
movaps xmm2, xmm5
subsd xmm6, xmm3
addsd xmm2, qword [eax + 0x78]
subsd xmm5, qword [eax + 0x78]
movaps xmm1, xmm7
addsd xmm1, qword [ebp - 0x18]
movsd qword [eax + 0x40], xmm0
movaps xmm0, xmm2
movsd qword [eax + 0x68], xmm6
movsd xmm6, qword [ebp - 0x10]
subsd xmm2, xmm4
addsd xmm0, xmm4
movsd qword [eax + 0x60], xmm2
movsd xmm2, qword [ebp - 0x20]
subsd xmm2, xmm5
movsd qword [eax + 0x48], xmm0
movaps xmm0, xmm2
subsd xmm0, xmm1
subsd xmm7, qword [ebp - 0x18]
addsd xmm5, qword [ebp - 0x20]
mov edx, dword [ebp + 8]
addsd xmm1, xmm2
mulsd xmm0, xmm6
mulsd xmm1, xmm6
movsd qword [eax + 0x50], xmm0
movaps xmm0, xmm7
subsd xmm0, xmm5
addsd xmm7, xmm5
movsd qword [eax + 0x58], xmm1
mulsd xmm0, xmm6
mulsd xmm7, xmm6
movsd qword [eax + 0x70], xmm0
movsd qword [eax + 0x78], xmm7
cmp edx, 0x10
jle 0x4a9ab1
lea ecx, [eax + 0xa0]
lea eax, [edx - 0x11]
shr eax, 4
inc eax
nop word [eax + eax]
movsd xmm0, qword [edi + 0x10]
add esi, 0x20
movsd qword [ebp - 8], xmm0
add edi, 0x10
movsd xmm6, qword [ecx]
movsd xmm7, qword [ecx + 8]
movsd xmm2, qword [esi - 0x10]
movsd xmm0, qword [edi + 8]
movaps xmm3, xmm2
movsd xmm1, qword [esi - 8]
movaps xmm4, xmm0
addsd xmm4, xmm0
movsd qword [ebp - 0x20], xmm0
movsd qword [ebp - 0x18], xmm2
movsd qword [ebp - 0x10], xmm1
movaps xmm0, xmm4
mulsd xmm4, xmm2
mulsd xmm0, xmm1
movsd xmm2, qword [ecx - 0x20]
subsd xmm4, xmm1
movaps xmm5, xmm2
subsd xmm2, qword [ecx - 0x10]
subsd xmm3, xmm0
movsd xmm1, qword [ebp - 8]
addsd xmm5, qword [ecx - 0x10]
movsd qword [ebp - 0x40], xmm4
movsd xmm4, qword [ecx - 8]
movsd qword [ebp - 0x38], xmm3
movsd xmm3, qword [ecx - 0x18]
addsd xmm4, xmm3
movsd qword [ebp - 0x28], xmm2
subsd xmm3, qword [ecx - 8]
movsd xmm2, qword [ecx + 0x18]
addsd xmm2, xmm7
subsd xmm7, qword [ecx + 0x18]
movsd qword [ebp - 0x30], xmm3
movsd xmm3, qword [ecx + 0x10]
addsd xmm3, xmm6
subsd xmm6, qword [ecx + 0x10]
movaps xmm0, xmm3
addsd xmm0, xmm5
subsd xmm5, xmm3
movsd xmm3, qword [ebp - 0x28]
subsd xmm3, xmm7
addsd xmm7, qword [ebp - 0x28]
movsd qword [ecx - 0x20], xmm0
movaps xmm0, xmm2
addsd xmm0, xmm4
mulsd xmm1, xmm5
subsd xmm4, xmm2
movaps xmm2, xmm6
movsd qword [ecx - 0x18], xmm0
movsd xmm0, qword [ebp - 0x20]
mulsd xmm0, xmm4
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x20]
mulsd xmm0, xmm5
movsd xmm5, qword [ebp - 0x30]
addsd xmm2, xmm5
movsd qword [ecx], xmm1
subsd xmm5, xmm6
movsd xmm1, qword [ebp - 8]
mulsd xmm1, xmm4
addsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x10]
mulsd xmm0, xmm2
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [ebp - 0x18]
mulsd xmm1, xmm3
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x10]
mulsd xmm0, xmm3
movsd xmm3, qword [ebp - 0x40]
movsd qword [ecx - 0x10], xmm1
movsd xmm1, qword [ebp - 0x18]
mulsd xmm1, xmm2
movsd xmm2, qword [ebp - 0x38]
addsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm7
movsd qword [ecx - 8], xmm0
movsd xmm4, qword [ebp - 8]
movaps xmm0, xmm3
mulsd xmm0, xmm5
addsd xmm4, xmm4
mulsd xmm2, xmm5
mulsd xmm3, xmm7
subsd xmm1, xmm0
movsd xmm5, qword [ecx + 0x30]
movsd xmm6, qword [ecx + 0x40]
movaps xmm0, xmm4
movsd xmm7, qword [ecx + 0x48]
addsd xmm2, xmm3
movsd qword [ecx + 0x10], xmm1
movsd qword [ecx + 0x18], xmm2
movsd xmm2, qword [esi]
movsd xmm1, qword [esi + 8]
movaps xmm3, xmm2
mulsd xmm0, xmm1
mulsd xmm4, xmm2
movsd qword [ebp - 0x10], xmm2
subsd xmm3, xmm0
movsd xmm2, qword [ecx + 0x20]
addsd xmm5, xmm2
movsd qword [ebp - 0x18], xmm1
subsd xmm2, qword [ecx + 0x30]
subsd xmm4, xmm1
movsd qword [ebp - 0x30], xmm3
movsd xmm3, qword [ecx + 0x28]
movsd qword [ebp - 0x40], xmm2
movsd xmm2, qword [ecx + 0x58]
movsd qword [ebp - 0x28], xmm4
addsd xmm2, xmm7
movsd xmm4, qword [ecx + 0x38]
addsd xmm4, xmm3
subsd xmm3, qword [ecx + 0x38]
subsd xmm7, qword [ecx + 0x58]
movsd qword [ebp - 0x38], xmm3
movsd xmm3, qword [ecx + 0x50]
addsd xmm3, xmm6
subsd xmm6, qword [ecx + 0x50]
movaps xmm0, xmm3
addsd xmm0, xmm5
subsd xmm5, xmm3
movsd xmm3, qword [ebp - 8]
movsd qword [ecx + 0x20], xmm0
movaps xmm0, xmm2
addsd xmm0, xmm4
subsd xmm4, xmm2
movsd xmm2, qword [ebp - 0x20]
movaps xmm1, xmm2
mulsd xmm1, xmm5
movsd qword [ecx + 0x28], xmm0
movaps xmm0, xmm3
mulsd xmm3, xmm5
xorps xmm1, xmmword [0x4d0c70]
movsd xmm5, qword [ebp - 0x38]
mulsd xmm2, xmm4
mulsd xmm0, xmm4
subsd xmm3, xmm2
movaps xmm2, xmm6
addsd xmm2, xmm5
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x18]
subsd xmm5, xmm6
movsd qword [ecx + 0x48], xmm3
movsd xmm3, qword [ebp - 0x40]
subsd xmm3, xmm7
movsd qword [ecx + 0x40], xmm1
movsd xmm1, qword [ebp - 0x10]
addsd xmm7, qword [ebp - 0x40]
mulsd xmm0, xmm2
mulsd xmm1, xmm3
subsd xmm1, xmm0
movsd xmm0, qword [ebp - 0x18]
mulsd xmm0, xmm3
movsd qword [ecx + 0x30], xmm1
movsd xmm1, qword [ebp - 0x10]
mulsd xmm1, xmm2
movsd xmm2, qword [ebp - 0x30]
addsd xmm0, xmm1
movsd qword [ecx + 0x38], xmm0
movsd xmm3, qword [ebp - 0x28]
movaps xmm1, xmm2
movaps xmm0, xmm3
mulsd xmm1, xmm7
mulsd xmm0, xmm5
mulsd xmm2, xmm5
mulsd xmm3, xmm7
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [ecx + 0x50], xmm1
movsd qword [ecx + 0x58], xmm2
sub ecx, 0xffffff80
sub eax, 1
jne 0x4a97b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret