Function at 0x101ea3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, eax
sar eax, 2
sar esi, 1
push edi
mov edi, dword [ebp + 0x10]
lea edx, [eax + esi]
lea edx, [edi + edx*4]
lea edi, [eax*4]
mov eax, dword [ebx + 8]
mov dword [ebp - 4], edi
add eax, edi
mov edi, dword [ebp + 0xc]
lea ecx, [ecx + esi*4 - 0x1c]
mov dword [ebp + 8], edx
lea ebx, [ebx]
fld dword [ecx + 8]
sub edx, 0x10
fchs
sub ecx, 0x20
fmul dword [eax + 0xc]
add eax, 0x10
fld dword [ecx + 0x20]
fmul dword [eax - 8]
fsubp st(1)
fstp dword [edx]
fld dword [ecx + 0x20]
fmul dword [eax - 4]
fld dword [eax - 8]
fmul dword [ecx + 0x28]
fsubp st(1)
fstp dword [edx + 4]
fld dword [ecx + 0x38]
fchs
fmul dword [eax - 0xc]
fld dword [eax - 0x10]
fmul dword [ecx + 0x30]
fsubp st(1)
fstp dword [edx + 8]
fld dword [eax - 0xc]
fmul dword [ecx + 0x30]
fld dword [ecx + 0x38]
fmul dword [eax - 0x10]
fsubp st(1)
fstp dword [edx + 0xc]
cmp ecx, edi
jae 0x101ea400
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
lea ecx, [edi + esi*4 - 0x20]
fld dword [eax - 8]
sub eax, 0x10
fmul dword [ecx + 0x18]
sub ecx, 0x20
fld dword [eax + 0xc]
add edx, 0x10
fmul dword [ecx + 0x30]
faddp st(1)
fstp dword [edx - 0x10]
fld dword [eax + 8]
fmul dword [ecx + 0x30]
fld dword [ecx + 0x38]
fmul dword [eax + 0xc]
fsubp st(1)
fstp dword [edx - 0xc]
fld dword [ecx + 0x20]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [ecx + 0x28]
faddp st(1)
fstp dword [edx - 8]
fld dword [ecx + 0x20]
fmul dword [eax]
fld dword [eax + 4]
fmul dword [ecx + 0x28]
fsubp st(1)
fstp dword [edx - 4]
cmp ecx, edi
jae 0x101ea461
mov edi, dword [ebp + 0x10]
lea eax, [edi + esi*4]
push esi
mov dword [ebp - 8], eax
push eax
mov eax, ebx
call fcn.101ea0d0
add esp, 8
mov eax, edi
mov ecx, ebx
call fcn.101ea1d0
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 8]
lea ecx, [esi*4]
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov edi, edx
add ecx, 0xc
add edx, 8
jmp 0x101ea4f3
mov edi, dword [ebp + 0xc]
fld dword [eax + 4]
sub edx, 0x10
fmul dword [ecx - 0xc]
add edi, 0x10
fld dword [ecx - 8]
add ecx, 0x20
fmul dword [eax]
mov dword [ebp + 0xc], edi
lea ebx, [ecx - 0xc]
add eax, 0x20
fsubp st(1)
fstp dword [edx + 4]
fld dword [ecx - 0x2c]
fmul dword [eax - 0x20]
fld dword [ecx - 0x28]
fmul dword [eax - 0x1c]
faddp st(1)
fchs
fstp dword [edi - 0x10]
fld dword [ecx - 0x24]
fmul dword [eax - 0x14]
fld dword [eax - 0x18]
fmul dword [ecx - 0x20]
fsubp st(1)
fstp dword [edx]
fld dword [ecx - 0x24]
fmul dword [eax - 0x18]
fld dword [eax - 0x14]
fmul dword [ecx - 0x20]
faddp st(1)
fchs
fstp dword [edi - 0xc]
fld dword [ecx - 0x1c]
fmul dword [eax - 0xc]
fld dword [ecx - 0x18]
fmul dword [eax - 0x10]
fsubp st(1)
fstp dword [edx - 4]
fld dword [ecx - 0x18]
fmul dword [eax - 0xc]
fld dword [ecx - 0x1c]
fmul dword [eax - 0x10]
faddp st(1)
fchs
fstp dword [edi - 8]
fld dword [ecx - 0x14]
fmul dword [eax - 4]
fld dword [ecx - 0x10]
fmul dword [eax - 8]
fsubp st(1)
fstp dword [edx - 8]
fld dword [ecx - 0x10]
fmul dword [eax - 4]
fld dword [ecx - 0x14]
fmul dword [eax - 8]
faddp st(1)
fchs
fstp dword [edi - 4]
lea edi, [edx - 8]
cmp ebx, edi
jb 0x101ea4f0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
movss xmm1, dword [0x10256800]
lea ecx, [ecx + edx + 8]
mov edx, 2
mov eax, edi
sub edx, esi
lea edx, [eax + edx*4]
nop
movss xmm0, dword [eax - 4]
movss dword [edx - 0xc], xmm0
sub eax, 0x10
sub edx, 0x10
xorps xmm0, xmm1
movss dword [ecx - 8], xmm0
movss xmm0, dword [eax + 8]
movss dword [edx], xmm0
xorps xmm0, xmm1
movss dword [ecx - 4], xmm0
movss xmm0, dword [eax + 4]
movss dword [edx - 4], xmm0
xorps xmm0, xmm1
movss dword [ecx], xmm0
movss xmm0, dword [eax]
movss dword [edx - 8], xmm0
xorps xmm0, xmm1
movss dword [ecx + 4], xmm0
add ecx, 0x10
lea esi, [ecx - 8]
cmp esi, eax
jb 0x101ea5c0
mov edx, dword [ebp - 8]
mov eax, edi
lea ecx, [edi + 8]
pop edi
pop esi
pop ebx
fld dword [ecx + 4]
sub eax, 0x10
fstp dword [eax]
add ecx, 0x10
fld dword [ecx - 0x10]
fstp dword [eax + 4]
fld dword [ecx - 0x14]
fstp dword [eax + 8]
fld dword [ecx - 0x18]
fstp dword [eax + 0xc]
cmp eax, edx
ja 0x101ea620
mov esp, ebp
pop ebp
ret