Function at 0x10113f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
movss xmm7, dword [ecx + 8]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
mov eax, esi
sub eax, dword [ecx + 0x10]
mov dword [esp + 0x50], eax
mov eax, esi
sub eax, dword [ecx + 0x14]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, dword [ecx + 0x18]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 0
test edi, edi
je 0x10114216
movd xmm0, edx
pshufd xmm2, xmm0, 0
movaps xmmword [esp + 0x40], xmm2
nop dword [eax]
movups xmm1, xmmword [esp + 0x50]
and esi, edx
andps xmm1, xmm2
movd ecx, xmm1
movaps xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
movaps xmm0, xmm1
cmp esi, ecx
mov dword [esp + 0x18], ecx
mov eax, ecx
psrldq xmm0, 8
cmova eax, esi
mov dword [esp + 0x1c], edx
cmp eax, edx
mov ecx, edx
movups xmmword [esp + 0x50], xmm1
cmova ecx, eax
psrldq xmm1, 0xc
movd eax, xmm0
cmp ecx, eax
mov dword [esp + 0x20], eax
mov edx, eax
cmova edx, ecx
movd ecx, xmm1
cmp edx, ecx
mov dword [esp + 0x24], ecx
mov eax, ecx
mov ecx, edi
cmova eax, edx
mov edi, esi
mov edx, dword [esp + 0x28]
sub ecx, dword [esp + 0x14]
sub edx, eax
mov eax, dword [esp + 0x14]
inc edx
cmp edx, ecx
cmova edx, ecx
shl edi, 4
add edi, dword [esp + 0xc]
lea ecx, [eax*4 + 0x800]
mov dword [esp + 8], ecx
nop word [eax + eax]
mov eax, dword [esp + 0x10]
movss xmm2, dword [ecx + eax - 0x800]
mov eax, dword [esp + 0x18]
movaps xmm0, xmm2
mulss xmm0, xmm7
lea ecx, [eax + 1]
add eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + eax*8]
mov ecx, dword [esp + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0x10]
movss dword [ecx + eax - 0x800], xmm1
movaps xmm6, xmm1
mulss xmm6, xmm7
addss xmm6, xmm2
movss xmm2, dword [ecx + eax - 0x400]
mov eax, dword [esp + 0x1c]
movaps xmm0, xmm2
mulss xmm0, xmm7
lea ecx, [eax + 1]
add eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + eax*8 + 4]
mov ecx, dword [esp + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0x10]
movss dword [ecx + eax - 0x400], xmm1
movaps xmm5, xmm1
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 8]
mulss xmm5, xmm7
addss xmm5, xmm2
movss xmm2, dword [eax + ecx]
mov eax, dword [esp + 0x20]
movaps xmm0, xmm2
mulss xmm0, xmm7
lea ecx, [eax + 1]
add eax, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + eax*8 + 8]
mov eax, dword [esp + 8]
subss xmm1, xmm0
mov ecx, dword [ebp + 8]
movss dword [eax + ecx], xmm1
movaps xmm4, xmm1
mov ecx, eax
mulss xmm4, xmm7
mov eax, dword [esp + 0x10]
addss xmm4, xmm2
movss xmm2, dword [ecx + eax + 0x400]
mov eax, dword [esp + 0x24]
movaps xmm0, xmm2
mulss xmm0, xmm7
lea ecx, [eax + 1]
add eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xc]
movss xmm1, dword [ecx + eax*8 + 0xc]
mov ecx, dword [esp + 8]
subss xmm1, xmm0
mov eax, dword [esp + 0x10]
movaps xmm3, xmm1
movss dword [ecx + eax + 0x400], xmm1
mov eax, dword [esp + 0x14]
movaps xmm1, xmm5
mulss xmm3, xmm7
subss xmm1, xmm4
inc eax
add ecx, 4
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
addss xmm3, xmm2
addss xmm1, xmm3
movss xmm2, dword [ebp + 0x14]
movaps xmm0, xmm6
mulss xmm0, dword [ebp + 0x10]
inc esi
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm4
subss xmm1, xmm6
addss xmm1, xmm3
mulss xmm1, xmm2
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x34], xmm1
movaps xmm1, xmm6
xorps xmm6, xmmword [0x10157ae0]
subss xmm1, xmm5
subss xmm6, xmm5
addss xmm1, xmm3
mulss xmm3, dword [ebp + 0x10]
subss xmm6, xmm4
mulss xmm1, xmm2
mulss xmm6, xmm2
addss xmm1, xmm0
addss xmm6, xmm3
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm6
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edi], xmm0
add edi, 0x10
sub edx, 1
jne 0x10114020
mov edi, dword [ebp + 0x18]
movaps xmm2, xmmword [esp + 0x40]
mov edx, dword [esp + 0x28]
cmp eax, edi
jb 0x10113f90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14