Function at 0x1008ee80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
push esi
movss xmm2, dword [0x1017ea10]
push edi
mov esi, dword [ecx]
mov edx, esi
mov edi, dword [esp + 0x1c]
sar edx, 1
sar esi, 2
mov dword [esp + 0x10], edx
lea ecx, [edi - 0x1c]
mov dword [esp + 0xc], esi
lea eax, [edx*4]
add ecx, eax
lea eax, [esi + edx]
mov edx, dword [esp + 0x20]
lea esi, [edx + eax*4]
mov eax, dword [esp + 0xc]
shl eax, 2
mov edx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
add eax, dword [esp + 0x1c]
movss xmm1, dword [ecx + 8]
sub edx, 0x10
movss xmm0, dword [ecx]
xorps xmm1, xmm2
mulss xmm1, dword [eax + 0xc]
mulss xmm0, dword [eax + 8]
subss xmm1, xmm0
movss dword [edx], xmm1
movss xmm1, dword [ecx]
mulss xmm1, dword [eax + 0xc]
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [eax + 8]
subss xmm1, xmm0
movss dword [edx + 4], xmm1
movss xmm1, dword [ecx + 0x18]
movss xmm0, dword [eax]
xorps xmm1, xmm2
mulss xmm1, dword [eax + 4]
mulss xmm0, dword [ecx + 0x10]
subss xmm1, xmm0
movss dword [edx + 8], xmm1
movss xmm1, dword [eax + 4]
movss xmm0, dword [ecx + 0x18]
mulss xmm1, dword [ecx + 0x10]
sub ecx, 0x20
mulss xmm0, dword [eax]
add eax, 0x10
subss xmm1, xmm0
movss dword [edx + 0xc], xmm1
cmp ecx, edi
jae 0x1008eed4
mov ecx, dword [esp + 0x10]
mov edx, esi
lea eax, [ecx*4]
mov ecx, dword [esp + 0x18]
add eax, 0xffffffe0
add eax, edi
mov ecx, dword [ecx + 8]
add ecx, dword [esp + 0x1c]
nop word [eax + eax]
movss xmm1, dword [eax + 0x18]
sub ecx, 0x10
movss xmm0, dword [eax + 0x10]
mulss xmm1, dword [ecx + 8]
mulss xmm0, dword [ecx + 0xc]
addss xmm1, xmm0
movss dword [edx], xmm1
movss xmm0, dword [eax + 0x18]
mulss xmm0, dword [ecx + 0xc]
movss xmm1, dword [ecx + 8]
mulss xmm1, dword [eax + 0x10]
subss xmm1, xmm0
movss dword [edx + 4], xmm1
movss xmm1, dword [eax]
mulss xmm1, dword [ecx + 4]
movss xmm0, dword [ecx]
mulss xmm0, dword [eax + 8]
addss xmm1, xmm0
movss dword [edx + 8], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [eax + 8]
sub eax, 0x20
mulss xmm1, dword [ecx]
subss xmm1, xmm0
movss dword [edx + 0xc], xmm1
add edx, 0x10
cmp eax, edi
jae 0x1008ef80
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push edx
lea ecx, [edx*4]
add eax, ecx
push eax
push edi
mov dword [esp + 0x14], eax
call fcn.1008f3c0
push dword [esp + 0x2c]
push edi
call fcn.1008f210
mov ecx, dword [edi + 8]
add esp, 0x14
mov edi, dword [esp + 0x10]
mov eax, esi
movss xmm2, dword [0x1017ea10]
lea edx, [edi*4]
mov edi, esi
add ecx, edx
mov edx, dword [esp + 0x20]
add edx, 0xc
nop dword [eax]
movss xmm1, dword [edx - 0xc]
sub edi, 0x10
mulss xmm1, dword [ecx + 4]
movss xmm0, dword [edx - 8]
mulss xmm0, dword [ecx]
subss xmm1, xmm0
movss dword [edi + 0xc], xmm1
movss xmm1, dword [edx - 0xc]
mulss xmm1, dword [ecx]
movss xmm0, dword [edx - 8]
mulss xmm0, dword [ecx + 4]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [eax], xmm1
movss xmm1, dword [ecx + 0xc]
mulss xmm1, dword [edx - 4]
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [edx]
subss xmm1, xmm0
movss dword [edi + 8], xmm1
movss xmm1, dword [ecx + 8]
mulss xmm1, dword [edx - 4]
movss xmm0, dword [ecx + 0xc]
mulss xmm0, dword [edx]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [eax + 4], xmm1
movss xmm1, dword [ecx + 0x14]
mulss xmm1, dword [edx + 4]
movss xmm0, dword [ecx + 0x10]
mulss xmm0, dword [edx + 8]
subss xmm1, xmm0
movss dword [edi + 4], xmm1
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [edx + 4]
movss xmm0, dword [edx + 8]
mulss xmm0, dword [ecx + 0x14]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [eax + 8], xmm1
movss xmm1, dword [ecx + 0x1c]
mulss xmm1, dword [edx + 0xc]
movss xmm0, dword [ecx + 0x18]
mulss xmm0, dword [edx + 0x10]
subss xmm1, xmm0
movss dword [edi], xmm1
movss xmm1, dword [ecx + 0x1c]
movss xmm0, dword [edx + 0xc]
mulss xmm1, dword [edx + 0x10]
add edx, 0x20
mulss xmm0, dword [ecx + 0x18]
add ecx, 0x20
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [eax + 0xc], xmm1
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [edx - 0xc]
cmp eax, edi
mov eax, dword [esp + 0x18]
jb 0x1008f050
mov edi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
add edx, 8
add edx, edi
lea edi, [edi + eax*4]
add edi, 8
nop word [eax + eax]
movss xmm0, dword [ecx - 4]
lea edi, [edi - 0x10]
sub ecx, 0x10
movss dword [edi + 4], xmm0
xorps xmm0, xmm2
lea edx, [edx + 0x10]
movss dword [edx - 0x18], xmm0
lea eax, [edx - 8]
movss xmm0, dword [ecx + 8]
movss dword [edi], xmm0
xorps xmm0, xmm2
movss dword [edx - 0x14], xmm0
movss xmm0, dword [ecx + 4]
movss dword [edi - 4], xmm0
xorps xmm0, xmm2
movss dword [edx - 0x10], xmm0
movss xmm0, dword [ecx]
movss dword [edi - 8], xmm0
xorps xmm0, xmm2
movss dword [edx - 0xc], xmm0
cmp eax, ecx
jb 0x1008f180
mov edx, dword [esp + 8]
mov ecx, esi
nop dword [eax]
mov eax, dword [esi + 0xc]
lea esi, [esi + 0x10]
sub ecx, 0x10
mov dword [ecx], eax
mov eax, dword [esi - 8]
mov dword [ecx + 4], eax
mov eax, dword [esi - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esi - 0x10]
mov dword [ecx + 0xc], eax
cmp ecx, edx
ja 0x1008f1e0
pop edi
pop esi
add esp, 0xc
ret