Function at 0x100895b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
sar ecx, 3
movss xmm1, dword [eax + ecx*4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
movss dword [ebp - 4], xmm1
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
shl eax, 6
mov edx, ecx
sub edx, eax
cmp ecx, edx
jbe 0x10089866
movaps xmm0, xmm1
xorps xmm0, xmmword [0x100e2960]
movss dword [ebp - 8], xmm0
nop dword [eax]
nop word [eax + eax]
movss xmm5, dword [ecx]
subss xmm5, dword [ecx - 0x20]
movss xmm6, dword [ecx - 0x2c]
movss xmm7, dword [ecx - 0x24]
movss xmm0, dword [ecx - 4]
movss xmm2, dword [ecx - 8]
subss xmm0, xmm7
subss xmm2, dword [ecx - 0x28]
movss xmm3, dword [ecx - 0x28]
addss xmm3, dword [ecx - 8]
movss dword [ebp - 0x1c], xmm5
movss xmm5, dword [ecx - 0xc]
subss xmm5, xmm6
movss dword [ebp - 0x28], xmm0
addss xmm6, dword [ecx - 0xc]
addss xmm7, dword [ecx - 4]
movss xmm4, dword [ecx - 0x10]
movss dword [ebp + 0x18], xmm3
movss xmm3, dword [ecx - 0x18]
movss dword [ebp + 0x14], xmm5
movss xmm1, dword [ebp + 0x14]
movss xmm5, dword [ecx]
movaps xmm0, xmm1
addss xmm0, xmm2
movss dword [ebp - 0x10], xmm6
movss xmm6, dword [ecx - 0x38]
subss xmm1, xmm2
addss xmm5, dword [ecx - 0x20]
subss xmm3, xmm6
movss dword [ebp + 0xc], xmm4
addss xmm6, dword [ecx - 0x18]
mulss xmm0, dword [ebp - 4]
mulss xmm1, dword [ebp - 4]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ecx - 0x14]
subss xmm0, dword [ecx - 0x34]
addss xmm4, dword [ecx - 0x30]
movss dword [ebp + 8], xmm3
movss xmm3, dword [ecx - 0x1c]
movss dword [ebp - 0x14], xmm7
movss xmm7, dword [ecx - 0x3c]
movss dword [ebp - 0x20], xmm0
subss xmm3, xmm7
movss xmm0, dword [ebp + 0xc]
subss xmm0, dword [ecx - 0x30]
addss xmm7, dword [ecx - 0x1c]
movss dword [ebp - 0xc], xmm5
movss xmm2, dword [ebp - 0xc]
movss dword [ebp + 0x10], xmm3
subss xmm2, xmm4
xorps xmm0, xmmword [0x100e2960]
addss xmm4, dword [ebp - 0xc]
movss dword [ebp + 0xc], xmm0
movss xmm0, dword [ebp + 0x10]
movaps xmm5, xmm0
movss xmm3, dword [ecx - 0x34]
addss xmm0, dword [ebp + 8]
addss xmm3, dword [ecx - 0x14]
subss xmm5, dword [ebp + 8]
movss dword [ebp + 0x14], xmm1
movaps xmm1, xmm6
mulss xmm0, dword [ebp - 8]
mulss xmm5, dword [ebp - 4]
movss dword [ebp + 0x10], xmm0
movss xmm0, dword [ebp + 0x18]
addss xmm1, xmm0
movss dword [ebp - 0x18], xmm3
subss xmm0, xmm6
movss dword [ebp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm4
subss xmm4, xmm1
movss xmm1, dword [ebp - 0x10]
subss xmm1, xmm7
movss dword [ecx], xmm0
movss dword [ecx - 8], xmm4
movaps xmm0, xmm1
addss xmm0, xmm2
subss xmm2, xmm1
movss dword [ecx - 0x10], xmm0
movss dword [ecx - 0x18], xmm2
movss xmm1, dword [ebp - 0x14]
movaps xmm2, xmm3
addss xmm7, dword [ebp - 0x10]
subss xmm1, xmm2
movss xmm3, dword [ebp - 0x20]
addss xmm2, dword [ebp - 0x14]
movss xmm4, dword [ebp - 0x24]
movaps xmm0, xmm7
addss xmm0, xmm2
subss xmm2, xmm7
movss dword [ecx - 4], xmm0
movaps xmm0, xmm1
addss xmm1, dword [ebp + 0x18]
subss xmm0, dword [ebp + 0x18]
movss dword [ecx - 0xc], xmm2
movss xmm2, dword [ebp - 0x1c]
subss xmm2, xmm3
addss xmm3, dword [ebp - 0x1c]
movss dword [ecx - 0x1c], xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
movss dword [ecx - 0x14], xmm0
subss xmm4, xmm5
movaps xmm0, xmm1
addss xmm0, xmm3
subss xmm3, xmm1
movss xmm1, dword [ebp + 0x14]
movss dword [ecx - 0x20], xmm0
movss dword [ecx - 0x28], xmm3
movss xmm3, dword [ebp + 0x10]
subss xmm1, xmm3
addss xmm3, dword [ebp + 0x14]
movaps xmm0, xmm1
addss xmm0, xmm2
subss xmm2, xmm1
movss xmm1, dword [ebp - 0x28]
movss dword [ecx - 0x30], xmm0
movaps xmm0, xmm3
movss dword [ecx - 0x38], xmm2
movss xmm2, dword [ebp + 0xc]
subss xmm1, xmm2
addss xmm2, dword [ebp - 0x28]
addss xmm0, xmm2
subss xmm2, xmm3
movss dword [ecx - 0x24], xmm0
movaps xmm0, xmm1
subss xmm0, xmm4
movss dword [ecx - 0x2c], xmm2
addss xmm1, xmm4
movss dword [ecx - 0x34], xmm0
movss dword [ecx - 0x3c], xmm1
sub ecx, 0x40
cmp ecx, edx
ja 0x10089600
mov esp, ebp
pop ebp
ret