Function at 0x10111860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102f0d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov eax, dword [eax]
mov ecx, eax
sar ecx, 2
mov edi, eax
mov dword [ebp - 0x1c], ecx
mov ecx, eax
sar ecx, 3
shl eax, 2
sar edi, 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
call fcn.1011d130
mov ecx, dword [ebp + 0xc]
lea eax, [edi*4]
mov esi, esp
mov dword [ebp - 0x24], eax
lea edx, [eax + esi]
mov eax, dword [ebp - 0x1c]
add eax, edi
mov dword [ebp - 0x18], edx
lea edi, [ecx + eax*4]
xor ecx, ecx
lea eax, [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
add eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], ecx
jle 0x1011191e
mov esi, dword [ebp - 8]
nop
movss xmm2, dword [esi + 8]
sub edi, 0x10
sub eax, 8
movss xmm3, dword [edi + 8]
addss xmm3, dword [esi]
addss xmm2, dword [edi]
add esi, 0x10
movaps xmm0, xmm3
mulss xmm0, dword [eax]
movaps xmm1, xmm2
mulss xmm1, dword [eax + 4]
addss xmm1, xmm0
movss dword [edx + ecx*4], xmm1
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
subss xmm2, xmm3
movss dword [edx + ecx*4 + 4], xmm2
add ecx, 2
cmp ecx, dword [ebp - 0x10]
jl 0x101118d0
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], esi
add edx, 4
mov esi, dword [ebp - 0x10]
sub dword [ebp - 8], esi
cmp ecx, dword [ebp - 8]
jge 0x1011198e
mov esi, dword [ebp - 0x18]
nop dword [eax + eax]
movss xmm3, dword [edi - 8]
sub edi, 0x10
subss xmm3, dword [edx]
sub eax, 8
movss xmm2, dword [edi]
subss xmm2, dword [edx + 8]
movaps xmm1, xmm3
add edx, 0x10
mulss xmm1, dword [eax]
movaps xmm0, xmm2
mulss xmm0, dword [eax + 4]
addss xmm1, xmm0
movss dword [esi + ecx*4], xmm1
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
subss xmm2, xmm3
movss dword [esi + ecx*4 + 4], xmm2
add ecx, 2
cmp ecx, dword [ebp - 8]
jl 0x10111940
mov edi, dword [ebp + 0xc]
mov esi, esp
add edi, dword [ebp - 0x20]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0xc]
jge 0x10111a06
movss xmm4, dword [0x1020f260]
mov esi, dword [ebp - 0x20]
nop dword [eax]
movss xmm3, dword [esi - 8]
sub esi, 0x10
xorps xmm3, xmm4
sub eax, 8
subss xmm3, dword [edx]
movss xmm2, dword [esi]
xorps xmm2, xmm4
subss xmm2, dword [edx + 8]
movaps xmm1, xmm3
add edx, 0x10
mulss xmm1, dword [eax]
movaps xmm0, xmm2
mulss xmm0, dword [eax + 4]
addss xmm1, xmm0
movss dword [edi + ecx*4], xmm1
mulss xmm2, dword [eax]
mulss xmm3, dword [eax + 4]
subss xmm2, xmm3
movss dword [edi + ecx*4 + 4], xmm2
add ecx, 2
cmp ecx, dword [ebp - 0xc]
jl 0x101119b0
mov esi, esp
push dword [ebp - 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.10110f00
push esi
push edi
call fcn.10110d50
mov eax, dword [edi + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
add esp, 0x14
add eax, edx
add edx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], ecx
jle 0x10111a84
nop
movss xmm1, dword [eax]
sub edx, 4
mulss xmm1, dword [esi]
movss xmm0, dword [esi + 4]
mulss xmm0, dword [eax + 4]
addss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
mov edi, dword [ebp + 0x10]
movss dword [edi + ecx*4], xmm1
inc ecx
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
add eax, 8
mulss xmm1, dword [esi]
mov edi, dword [ebp + 8]
mulss xmm0, dword [esi + 4]
add esi, 8
subss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
movss dword [edx], xmm1
cmp ecx, dword [ebp - 0x1c]
jl 0x10111a30
lea esp, [ebp - 0x2c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret