Function at 0x10078280
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [esp + 0x40]
push esi
push edi
mov edi, dword [esp + 0x4c]
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 [esp + 0x20], xmm3
movaps xmm3, xmm5
addsd xmm3, qword [eax + 0x30]
subsd xmm5, qword [eax + 0x30]
movsd qword [esp + 0x28], xmm2
movaps xmm2, xmm4
addsd xmm2, qword [eax + 0x38]
subsd xmm4, qword [eax + 0x38]
movsd xmm1, qword [esp + 0x28]
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 [esp + 0x20]
subsd xmm0, xmm4
movsd qword [eax + 0x28], xmm6
addsd xmm4, qword [esp + 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 [esp + 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 [esp + 0x30], xmm0
movaps xmm0, xmm3
movsd qword [esp + 0x28], 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 [esp + 0x28]
movsd qword [eax + 0x40], xmm0
movaps xmm0, xmm2
movsd qword [eax + 0x68], xmm6
movsd xmm6, qword [esp + 0x30]
subsd xmm2, xmm4
addsd xmm0, xmm4
movsd qword [eax + 0x60], xmm2
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm5
movsd qword [eax + 0x48], xmm0
movaps xmm0, xmm2
subsd xmm0, xmm1
subsd xmm7, qword [esp + 0x28]
addsd xmm5, qword [esp + 0x20]
mov edx, dword [esp + 0x44]
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 0x1007874b
lea ecx, [eax + 0xa0]
lea eax, [edx - 0x11]
shr eax, 4
inc eax
movsd xmm0, qword [edi + 0x10]
add esi, 0x20
movsd qword [esp + 0x38], xmm0
add edi, 0x10
movsd xmm7, qword [ecx - 0x20]
movsd xmm5, qword [ecx]
movsd xmm1, qword [esi - 8]
movsd xmm0, qword [edi + 8]
movsd xmm2, qword [esi - 0x10]
movaps xmm4, xmm0
addsd xmm4, xmm0
movsd qword [esp + 0x20], xmm0
movaps xmm3, xmm2
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm2
subsd xmm5, qword [ecx + 0x10]
movsd xmm6, qword [ecx + 8]
movaps xmm0, xmm4
mulsd xmm4, xmm2
mulsd xmm0, xmm1
movsd xmm2, qword [ecx - 0x18]
subsd xmm4, xmm1
movsd xmm1, qword [ecx - 0x10]
subsd xmm6, qword [ecx + 0x18]
subsd xmm3, xmm0
movups xmm0, xmmword [ecx]
movsd qword [esp + 8], xmm4
movaps xmm4, xmm1
addsd xmm4, xmm7
movsd qword [esp + 0x10], xmm3
subsd xmm7, xmm1
movsd xmm3, qword [ecx - 8]
addsd xmm3, xmm2
subsd xmm2, qword [ecx - 8]
movaps xmm1, xmm4
movsd qword [esp + 0x18], xmm2
movups xmm2, xmmword [ecx + 0x10]
addpd xmm2, xmm0
movaps xmm0, xmm3
unpcklpd xmm1, xmm0
subsd xmm4, xmm2
movsd xmm0, qword [esp + 0x20]
addpd xmm1, xmm2
unpckhpd xmm2, xmm2
movups xmmword [ecx - 0x20], xmm1
movsd xmm1, qword [esp + 0x38]
subsd xmm3, xmm2
mulsd xmm1, xmm4
movaps xmm2, xmm5
mulsd xmm0, xmm3
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x20]
mulsd xmm0, xmm4
movsd xmm4, qword [esp + 0x18]
addsd xmm2, xmm4
movsd qword [ecx], xmm1
subsd xmm4, xmm5
movsd xmm1, qword [esp + 0x38]
mulsd xmm1, xmm3
movaps xmm3, xmm7
subsd xmm3, xmm6
addsd xmm6, xmm7
addsd xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
mulsd xmm0, xmm2
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [esp + 0x28]
mulsd xmm1, xmm3
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x30]
mulsd xmm0, xmm3
movsd xmm3, qword [esp + 8]
movsd qword [ecx - 0x10], xmm1
movsd xmm1, qword [esp + 0x28]
mulsd xmm1, xmm2
movsd xmm2, qword [esp + 0x10]
addsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm6
movsd qword [ecx - 8], xmm0
movaps xmm0, xmm3
mulsd xmm0, xmm4
mulsd xmm2, xmm4
movsd xmm4, qword [esp + 0x38]
subsd xmm1, xmm0
mulsd xmm3, xmm6
addsd xmm4, xmm4
movsd xmm7, qword [ecx + 0x20]
movsd xmm5, qword [ecx + 0x40]
subsd xmm5, qword [ecx + 0x50]
addsd xmm2, xmm3
movsd qword [ecx + 0x10], xmm1
movsd xmm6, qword [ecx + 0x48]
movaps xmm0, xmm4
subsd xmm6, qword [ecx + 0x58]
movsd qword [ecx + 0x18], xmm2
movsd xmm1, qword [esi + 8]
movsd xmm2, qword [esi]
mulsd xmm0, xmm1
movaps xmm3, xmm2
mulsd xmm4, xmm2
movsd qword [esp + 0x30], xmm2
movsd xmm2, qword [ecx + 0x28]
subsd xmm3, xmm0
movups xmm0, xmmword [ecx + 0x50]
subsd xmm4, xmm1
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [ecx + 0x30]
movsd qword [esp + 0x10], xmm3
movsd xmm3, qword [ecx + 0x38]
addsd xmm3, xmm2
subsd xmm2, qword [ecx + 0x38]
movsd qword [esp + 0x18], xmm4
movaps xmm4, xmm1
addsd xmm4, xmm7
subsd xmm7, xmm1
movsd qword [esp + 8], xmm2
movups xmm2, xmmword [ecx + 0x40]
movaps xmm1, xmm4
addpd xmm2, xmm0
movaps xmm0, xmm3
unpcklpd xmm1, xmm0
subsd xmm4, xmm2
movsd xmm0, qword [esp + 0x38]
addpd xmm1, xmm2
unpckhpd xmm2, xmm2
movups xmmword [ecx + 0x20], xmm1
subsd xmm3, xmm2
movsd xmm2, qword [esp + 0x20]
movaps xmm1, xmm2
xorps xmm1, xmmword [0x1017ea00]
mulsd xmm1, xmm4
mulsd xmm0, xmm3
mulsd xmm2, xmm3
movaps xmm3, xmm7
subsd xmm3, xmm6
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x38]
mulsd xmm0, xmm4
addsd xmm6, xmm7
movsd xmm4, qword [esp + 8]
movsd qword [ecx + 0x40], xmm1
movsd xmm1, qword [esp + 0x30]
subsd xmm0, xmm2
movaps xmm2, xmm5
mulsd xmm1, xmm3
addsd xmm2, xmm4
subsd xmm4, xmm5
movsd qword [ecx + 0x48], xmm0
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, xmm2
subsd xmm1, xmm0
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, xmm3
movsd qword [ecx + 0x30], xmm1
movsd xmm1, qword [esp + 0x30]
mulsd xmm1, xmm2
movsd xmm2, qword [esp + 0x10]
addsd xmm0, xmm1
movaps xmm1, xmm2
mulsd xmm1, xmm6
movsd qword [ecx + 0x38], xmm0
movsd xmm3, qword [esp + 0x18]
movaps xmm0, xmm3
mulsd xmm2, xmm4
mulsd xmm0, xmm4
mulsd xmm3, xmm6
subsd xmm1, xmm0
addsd xmm2, xmm3
movsd qword [ecx + 0x50], xmm1
movsd qword [ecx + 0x58], xmm2
sub ecx, 0xffffff80
sub eax, 1
jne 0x10078442
pop edi
pop esi
add esp, 0x38
ret