Function at 0x46400f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, eax
sar ecx, 1
mov dword [ebp - 4], ecx
mov ecx, eax
sar ecx, 2
mov dword [ebp - 0x20], ecx
mov ecx, eax
sar ecx, 3
shl eax, 2
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], eax
call fcn.00573180
mov eax, dword [ebp - 4]
mov esi, esp
mov ecx, eax
add eax, dword [ebp - 0x20]
shl ecx, 2
mov dword [ebp - 0x24], ecx
lea edx, [ecx + esi]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 8]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 8], eax
add eax, 4
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], eax
jle 0x4640cc
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0x14]
movss xmm2, dword [edi + 8]
sub esi, 0x10
sub ecx, 8
movss xmm3, dword [esi + 8]
addss xmm3, dword [edi]
addss xmm2, dword [esi]
add edi, 0x10
movaps xmm0, xmm3
mulss xmm0, dword [ecx]
movaps xmm1, xmm2
mulss xmm1, dword [ecx + 4]
addss xmm1, xmm0
movss dword [edx + eax*4], xmm1
mulss xmm2, dword [ecx]
mulss xmm3, dword [ecx + 4]
subss xmm2, xmm3
movss dword [edx + eax*4 + 4], xmm2
add eax, 2
cmp eax, dword [ebp - 0x10]
jl 0x464079
mov dword [ebp - 8], esi
mov esi, esp
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
cmp eax, edx
jge 0x46413d
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
sub ecx, 8
sub esi, 0x10
mov dword [ebp - 8], esi
movss xmm3, dword [esi + 8]
movss xmm2, dword [esi]
subss xmm2, dword [edi + 8]
subss xmm3, dword [edi]
mov esi, dword [ebp - 0x1c]
add edi, 0x10
movaps xmm1, xmm2
mulss xmm1, dword [ecx + 4]
movaps xmm0, xmm3
mulss xmm0, dword [ecx]
addss xmm1, xmm0
movss dword [esi + eax*4], xmm1
mulss xmm2, dword [ecx]
mulss xmm3, dword [ecx + 4]
subss xmm2, xmm3
movss dword [esi + eax*4 + 4], xmm2
add eax, 2
cmp eax, edx
jl 0x4640e2
mov dword [ebp - 0x14], edi
mov esi, esp
mov edi, dword [ebp - 0x28]
add dword [ebp + 0xc], edi
mov edi, dword [ebp + 8]
cmp eax, dword [ebp - 4]
jge 0x4641b5
movss xmm4, dword [0x5bc810]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x1c]
movss xmm3, dword [edi - 8]
sub edi, 0x10
xorps xmm3, xmm4
sub ecx, 8
subss xmm3, dword [edx]
movss xmm2, dword [edi]
xorps xmm2, xmm4
subss xmm2, dword [edx + 8]
movaps xmm0, xmm3
add edx, 0x10
mulss xmm0, dword [ecx]
movaps xmm1, xmm2
mulss xmm1, dword [ecx + 4]
addss xmm1, xmm0
movss dword [esi + eax*4], xmm1
mulss xmm2, dword [ecx]
mulss xmm3, dword [ecx + 4]
subss xmm2, xmm3
movss dword [esi + eax*4 + 4], xmm2
add eax, 2
cmp eax, dword [ebp - 4]
jl 0x46415c
mov edi, dword [ebp + 8]
mov esi, esp
push dword [ebp - 4]
push dword [ebp - 0x1c]
push edi
call fcn.00463676
push esi
push edi
call fcn.00463504
mov eax, dword [edi + 8]
add esp, 0x14
mov ecx, dword [ebp - 0x24]
add eax, ecx
mov edx, dword [ebp + 0x10]
add ecx, edx
cmp dword [ebp - 0x20], 0
mov edi, dword [ebp + 8]
jle 0x46423d
movss xmm1, dword [eax]
sub ecx, 4
mulss xmm1, dword [esi]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [esi + 4]
addss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
mov edi, dword [ebp - 0xc]
movss dword [edx + edi*4], xmm1
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
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
subss xmm1, xmm0
mulss xmm1, dword [edi + 0x10]
movss dword [ecx], xmm1
jl 0x4641e1
lea esp, [ebp - 0x30]
pop edi
pop esi
leave
ret