Function at 0x100197b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movss xmm2, dword [0x100b1f10]
mov eax, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov dword [ebp - 4], eax
mov eax, esi
sar eax, 1
sar esi, 2
mov dword [ebp - 0x10], edx
lea edx, [edx + eax*4]
mov dword [ebp - 8], eax
add eax, esi
push edi
lea edi, [ecx + eax*4]
mov eax, dword [ebp - 4]
shl esi, 2
mov eax, dword [eax + 8]
add edx, 0xffffffe4
mov dword [ebp - 0xc], esi
add eax, esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov ecx, edi
jmp 0x10019800
movss xmm1, dword [edx + 8]
mulss xmm1, dword [eax + 0xc]
movss xmm0, dword [edx]
mulss xmm0, dword [eax + 8]
xorps xmm1, xmm2
sub ecx, 0x10
subss xmm1, xmm0
sub edx, 0x20
add eax, 0x10
movss dword [ecx], xmm1
movss xmm1, dword [edx + 0x20]
mulss xmm1, dword [eax - 4]
movss xmm0, dword [edx + 0x28]
mulss xmm0, dword [eax - 8]
subss xmm1, xmm0
movss dword [ecx + 4], xmm1
movss xmm1, dword [eax - 0xc]
mulss xmm1, dword [edx + 0x38]
movss xmm0, dword [edx + 0x30]
mulss xmm0, dword [eax - 0x10]
xorps xmm1, xmm2
subss xmm1, xmm0
movss dword [ecx + 8], xmm1
movss xmm1, dword [eax - 0xc]
movss xmm0, dword [eax - 0x10]
mulss xmm1, dword [edx + 0x30]
mulss xmm0, dword [edx + 0x38]
subss xmm1, xmm0
movss dword [ecx + 0xc], xmm1
cmp edx, esi
jae 0x10019800
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add eax, 0xfffffff8
mov ecx, dword [ecx + 8]
add ecx, dword [ebp - 0xc]
lea eax, [esi + eax*4]
mov edx, edi
lea ecx, [ecx]
movss xmm1, dword [eax + 0x10]
mulss xmm1, dword [ecx - 4]
movss xmm0, dword [ecx - 8]
mulss xmm0, dword [eax + 0x18]
sub ecx, 0x10
sub eax, 0x20
addss xmm1, xmm0
add edx, 0x10
movss dword [edx - 0x10], xmm1
movss xmm1, dword [eax + 0x30]
mulss xmm1, dword [ecx + 8]
movss xmm0, dword [ecx + 0xc]
mulss xmm0, dword [eax + 0x38]
subss xmm1, xmm0
movss dword [edx - 0xc], xmm1
movss xmm1, dword [eax + 0x28]
movss xmm0, dword [eax + 0x20]
mulss xmm1, dword [ecx]
mulss xmm0, dword [ecx + 4]
addss xmm1, xmm0
movss dword [edx - 8], xmm1
movss xmm1, dword [eax + 0x20]
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [eax + 0x28]
mulss xmm1, dword [ecx]
subss xmm1, xmm0
movss dword [edx - 4], xmm1
cmp eax, esi
jae 0x100198a0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea esi, [eax*4]
add ecx, esi
mov dword [ebp - 0x18], ecx
mov edx, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.10018710
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
add esp, 4
call fcn.10018560
mov eax, dword [ebp - 4]
movss xmm2, dword [0x100b1f10]
mov edx, dword [eax + 8]
add edx, esi
mov esi, dword [ebp + 8]
lea eax, [edi + 8]
mov ecx, edi
add esi, 0xc
mov edi, eax
jmp 0x10019970
movss xmm1, dword [edx + 4]
mulss xmm1, dword [esi - 0xc]
movss xmm0, dword [edx]
mulss xmm0, dword [esi - 8]
sub edi, 0x10
add ecx, 0x10
subss xmm1, xmm0
add esi, 0x20
mov dword [ebp - 0x10], ecx
lea eax, [esi - 0xc]
add edx, 0x20
movss dword [edi + 4], xmm1
movss xmm1, dword [esi - 0x2c]
mulss xmm1, dword [edx - 0x20]
movss xmm0, dword [edx - 0x1c]
mulss xmm0, dword [esi - 0x28]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx - 0x10], xmm1
movss xmm1, dword [esi - 0x24]
mulss xmm1, dword [edx - 0x14]
movss xmm0, dword [esi - 0x20]
mulss xmm0, dword [edx - 0x18]
subss xmm1, xmm0
movss dword [edi], xmm1
movss xmm1, dword [esi - 0x20]
mulss xmm1, dword [edx - 0x14]
movss xmm0, dword [esi - 0x24]
mulss xmm0, dword [edx - 0x18]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx - 0xc], xmm1
movss xmm1, dword [esi - 0x1c]
mulss xmm1, dword [edx - 0xc]
movss xmm0, dword [esi - 0x18]
mulss xmm0, dword [edx - 0x10]
subss xmm1, xmm0
movss dword [edi - 4], xmm1
movss xmm1, dword [esi - 0x18]
mulss xmm1, dword [edx - 0xc]
movss xmm0, dword [esi - 0x1c]
mulss xmm0, dword [edx - 0x10]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx - 8], xmm1
movss xmm1, dword [esi - 0x14]
mulss xmm1, dword [edx - 4]
movss xmm0, dword [edx - 8]
mulss xmm0, dword [esi - 0x10]
subss xmm1, xmm0
movss dword [edi - 8], xmm1
movss xmm1, dword [edx - 8]
movss xmm0, dword [esi - 0x10]
mulss xmm1, dword [esi - 0x14]
mulss xmm0, dword [edx - 4]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx - 4], xmm1
lea ecx, [edi - 8]
cmp eax, ecx
mov ecx, dword [ebp - 0x10]
jb 0x10019970
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
add eax, 8
add edx, eax
mov eax, 2
sub eax, dword [ebp - 8]
mov ecx, edi
lea esi, [ecx + eax*4]
lea ecx, [ecx]
movss xmm0, dword [ecx - 4]
movss dword [esi - 0xc], xmm0
sub ecx, 0x10
lea esi, [esi - 0x10]
xorps xmm0, xmm2
movss dword [edx - 8], xmm0
movss xmm0, dword [ecx + 8]
movss dword [esi], xmm0
xorps xmm0, xmm2
movss dword [edx - 4], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esi - 4], xmm0
xorps xmm0, xmm2
movss dword [edx], xmm0
movss xmm0, dword [ecx]
movss dword [esi - 8], xmm0
xorps xmm0, xmm2
movss dword [edx + 4], xmm0
lea edx, [edx + 0x10]
lea eax, [edx - 8]
cmp eax, ecx
jb 0x10019aa0
mov edx, dword [ebp - 0x18]
lea ecx, [edi + 8]
jmp 0x10019b00
mov eax, dword [ecx + 4]
sub edi, 0x10
lea ecx, [ecx + 0x10]
mov dword [edi], eax
mov eax, dword [ecx - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ecx - 0x14]
mov dword [edi + 8], eax
mov eax, dword [ecx - 0x18]
mov dword [edi + 0xc], eax
cmp edi, edx
ja 0x10019b00
pop edi
pop esi
mov esp, ebp
pop ebp
ret