Function at 0x1017ff50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1030
call fcn.102ddfa0
mov eax, dword [0x10411ce0]
xor eax, esp
mov dword [esp + 0x102c], eax
mov eax, dword [esp + 0x1034]
push esi
mov esi, dword [esp + 0x1040]
mov dword [esp + 0x24], eax
movzx ecx, word [eax]
mov dword [esp + 0x14], esi
mov esi, dword [eax + 8]
mov ax, cx
shr ax, 1
movzx edx, ax
mov ax, cx
shr ax, 2
shr cx, 3
push edi
movzx edi, ax
movzx eax, cx
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], edi
cmp ax, di
jae 0x10180043
movzx eax, dx
lea edi, [esp + 0x38]
mov edx, dword [esp + 0x1040]
sub edi, esi
dec eax
mov dword [esp + 0x2c], edi
lea edi, [esp + 0x34]
mov ecx, esi
lea eax, [edx + eax*4]
sub edx, esi
sub edi, esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], edi
movzx edi, si
mov esi, dword [esp + 0x2c]
lea esp, [esp]
movss xmm5, dword [ecx + edx]
movss xmm4, dword [eax]
movaps xmm1, xmm5
movss xmm2, dword [ecx]
movaps xmm0, xmm4
movss xmm3, dword [ecx + 4]
sub eax, 8
mulss xmm1, xmm2
mulss xmm0, xmm3
mulss xmm4, xmm2
addss xmm1, xmm0
mulss xmm5, xmm3
subss xmm4, xmm5
movss dword [ecx + esi], xmm1
mov esi, dword [esp + 0x1c]
movss dword [ecx + esi], xmm4
add ecx, 8
mov esi, dword [esp + 0x2c]
dec edi
jne 0x1017fff0
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
call fcn.10187760
xor eax, eax
add esp, 8
cmp ax, di
jae 0x101800b1
lea eax, [esp + 0x38]
mov ecx, eax
sub esi, ecx
movzx ecx, di
lea esp, [esp]
movss xmm5, dword [eax - 4]
movss xmm4, dword [eax]
movaps xmm1, xmm5
movss xmm2, dword [esi + eax]
movaps xmm0, xmm4
movss xmm3, dword [esi + eax + 4]
mulss xmm1, xmm3
mulss xmm0, xmm2
mulss xmm5, xmm2
mulss xmm4, xmm3
addss xmm1, xmm0
subss xmm5, xmm4
movss dword [eax], xmm1
movss dword [eax - 4], xmm5
add eax, 8
dec ecx
jne 0x10180070
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ax, cx
jae 0x1018024d
movzx edx, cx
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
movzx ecx, cx
lea edi, [edi + edx*8]
movss xmm1, dword [0x10346fd0]
lea edx, [esp + edx*8 + 0x24]
mov dword [esp + 0x28], edx
lea esi, [eax + 4]
lea eax, [eax + ecx*4]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x2c], eax
movzx eax, si
lea esi, [esp + eax*8 + 0x28]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea esi, [esi + eax*4]
add eax, ecx
mov ecx, dword [esp + 0x18]
inc eax
add esi, 4
mov dword [esp + 0x24], esi
mov esi, dword [esp + 8]
lea eax, [ecx + eax*4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
sub eax, ecx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x3c]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
dec ax
shr ax, 1
inc ax
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [edi - 8]
lea esi, [esi + 0x10]
mov dword [esi - 0x14], eax
lea edi, [edi + 0x10]
mov eax, dword [edi - 0x10]
lea edx, [edx - 0x10]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x24], 0x10
movss xmm0, dword [eax + 8]
xorps xmm0, xmm1
movss dword [esi - 0x10], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm1
movss dword [esi - 8], xmm0
movss xmm0, dword [edx + 0x18]
xorps xmm0, xmm1
add dword [esp + 0x1c], 0x10
mov eax, dword [eax]
mov dword [ecx - 4], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi - 0x10]
mov dword [ecx + 4], eax
mov eax, ecx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x2c], 0x10
movss dword [eax], xmm0
movss xmm0, dword [edx + 0x10]
xorps xmm0, xmm1
movss dword [eax + 8], xmm0
mov eax, dword [edi - 0x1c]
mov dword [ecx - 4], eax
mov eax, dword [edi - 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x28], 0x10
movss xmm0, dword [eax + 0xc]
xorps xmm0, xmm1
movss dword [ecx], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [esp + 0xc]
xorps xmm0, xmm1
movss dword [ecx + 8], xmm0
mov ecx, dword [esp + 0x10]
movss xmm0, dword [eax + esi - 0x10]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm1
movss dword [eax - 4], xmm0
movss xmm0, dword [ecx + esi - 0x10]
mov ecx, dword [esp + 0x30]
xorps xmm0, xmm1
add dword [esp + 0x30], 0x10
dec dword [esp + 0x20]
movss dword [eax + 4], xmm0
mov eax, dword [edx + 0x14]
mov dword [ecx], eax
mov eax, dword [edx + 0xc]
mov dword [ecx + 8], eax
jne 0x10180161
mov ecx, dword [esp + 0x1034]
pop edi
pop esi
xor ecx, esp
call fcn.102d6d23
add esp, 0x1030
ret