Function at 0x57a670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov ecx, dword [ebp + 0xc]
movss xmm0, dword [0x5cbb40]
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
movss xmm1, dword [ecx + 8]
mulss xmm1, dword [eax + 0xc]
movss xmm2, dword [ecx]
mulss xmm2, dword [eax + 8]
xorps xmm1, xmm0
subss xmm1, xmm2
movss dword [edx - 0x10], xmm1
movss xmm1, dword [ecx]
mulss xmm1, dword [eax + 0xc]
movss xmm2, dword [ecx + 8]
mulss xmm2, dword [eax + 8]
subss xmm1, xmm2
sub edx, 0x10
movss dword [edx + 4], xmm1
movss xmm1, dword [eax + 4]
mulss xmm1, dword [ecx + 0x18]
movss xmm2, dword [ecx + 0x10]
mulss xmm2, dword [eax]
xorps xmm1, xmm0
subss xmm1, xmm2
movss dword [edx + 8], xmm1
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
mulss xmm1, dword [ecx + 0x10]
mulss xmm2, dword [ecx + 0x18]
sub ecx, 0x20
add eax, 0x10
subss xmm1, xmm2
movss dword [edx + 0xc], xmm1
cmp ecx, edi
jae 0x57a6b2
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
lea ecx, [edi + esi*4 - 0x20]
jmp 0x57a750
movss xmm0, dword [ecx + 0x10]
mulss xmm0, dword [eax - 4]
movss xmm1, dword [eax - 8]
mulss xmm1, dword [ecx + 0x18]
addss xmm0, xmm1
movss dword [edx], xmm0
movss xmm0, dword [ecx + 0x10]
mulss xmm0, dword [eax - 8]
movss xmm1, dword [eax - 4]
mulss xmm1, dword [ecx + 0x18]
sub eax, 0x10
subss xmm0, xmm1
movss dword [edx + 4], xmm0
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [eax]
movss xmm1, dword [ecx]
mulss xmm1, dword [eax + 4]
addss xmm0, xmm1
movss dword [edx + 8], xmm0
movss xmm0, dword [ecx]
movss xmm1, dword [eax + 4]
mulss xmm1, dword [ecx + 8]
mulss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [edx + 0xc], xmm0
sub ecx, 0x20
add edx, 0x10
cmp ecx, edi
jae 0x57a750
mov edi, dword [ebp + 0x10]
lea eax, [edi + esi*4]
push esi
mov dword [ebp - 8], eax
push eax
mov eax, ebx
call fcn.0057a3c0
add esp, 8
mov eax, edi
mov ecx, ebx
call fcn.0057a4c0
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 8]
movss xmm1, dword [0x5cbb40]
lea ecx, [esi*4]
add eax, ecx
mov ecx, dword [ebp + 0x10]
mov edi, edx
add ecx, 0xc
add edx, 8
jmp 0x57a813
mov edi, dword [ebp + 0xc]
movss xmm0, dword [eax + 4]
mulss xmm0, dword [ecx - 0xc]
movss xmm2, dword [eax]
mulss xmm2, dword [ecx - 8]
subss xmm0, xmm2
movss dword [edx - 0xc], xmm0
movss xmm0, dword [ecx - 0xc]
mulss xmm0, dword [eax]
movss xmm2, dword [eax + 4]
mulss xmm2, dword [ecx - 8]
addss xmm0, xmm2
xorps xmm0, xmm1
movss dword [edi], xmm0
movss xmm0, dword [ecx - 4]
mulss xmm0, dword [eax + 0xc]
movss xmm2, dword [ecx]
mulss xmm2, dword [eax + 8]
subss xmm0, xmm2
movss dword [edx - 0x10], xmm0
movss xmm0, dword [ecx]
mulss xmm0, dword [eax + 0xc]
movss xmm2, dword [ecx - 4]
mulss xmm2, dword [eax + 8]
addss xmm0, xmm2
sub edx, 0x10
xorps xmm0, xmm1
movss dword [edi + 4], xmm0
movss xmm0, dword [eax + 0x14]
mulss xmm0, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
mulss xmm2, dword [eax + 0x10]
subss xmm0, xmm2
movss dword [edx - 4], xmm0
movss xmm0, dword [eax + 0x14]
mulss xmm0, dword [ecx + 8]
movss xmm2, dword [ecx + 4]
mulss xmm2, dword [eax + 0x10]
addss xmm0, xmm2
xorps xmm0, xmm1
movss dword [edi + 8], xmm0
movss xmm0, dword [eax + 0x1c]
mulss xmm0, dword [ecx + 0xc]
movss xmm2, dword [eax + 0x18]
mulss xmm2, dword [ecx + 0x10]
subss xmm0, xmm2
movss dword [edx - 8], xmm0
movss xmm0, dword [eax + 0x1c]
mulss xmm0, dword [ecx + 0x10]
movss xmm2, dword [eax + 0x18]
mulss xmm2, dword [ecx + 0xc]
addss xmm0, xmm2
xorps xmm0, xmm1
movss dword [edi + 0xc], xmm0
add edi, 0x10
add ecx, 0x20
mov dword [ebp + 0xc], edi
lea edi, [edx - 8]
lea ebx, [ecx - 0xc]
add eax, 0x20
cmp ebx, edi
jb 0x57a810
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp + 8]
lea ecx, [ecx + edx + 8]
mov edx, 2
mov eax, edi
sub edx, esi
lea edx, [eax + edx*4]
jmp 0x57a940
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 0x57a940
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 0x57a9a0
mov esp, ebp
pop ebp
ret