Function at 0x4acf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movss xmm2, dword [0x4e8490]
add edx, 0xffffffe4
push esi
mov ecx, dword [ecx]
mov esi, ecx
sar esi, 1
sar ecx, 2
mov dword [ebp - 4], esi
push edi
lea edx, [edx + esi*4]
lea eax, [ecx + esi]
mov esi, dword [ebp + 0x10]
shl ecx, 2
mov dword [ebp - 8], ecx
lea edi, [esi + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov esi, edi
mov eax, dword [eax + 8]
add eax, ecx
mov ecx, dword [ebp + 0xc]
nop word [eax + eax]
movss xmm1, dword [edx + 8]
sub esi, 0x10
mulss xmm1, dword [eax + 0xc]
movss xmm0, dword [edx]
mulss xmm0, dword [eax + 8]
xorps xmm1, xmm2
subss xmm1, xmm0
movss dword [esi], xmm1
movss xmm1, dword [edx]
mulss xmm1, dword [eax + 0xc]
movss xmm0, dword [edx + 8]
mulss xmm0, dword [eax + 8]
subss xmm1, xmm0
movss dword [esi + 4], xmm1
movss xmm1, dword [eax + 4]
mulss xmm1, dword [edx + 0x18]
movss xmm0, dword [edx + 0x10]
mulss xmm0, dword [eax]
xorps xmm1, xmm2
subss xmm1, xmm0
movss dword [esi + 8], xmm1
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
add eax, 0x10
mulss xmm1, dword [edx + 0x10]
mulss xmm0, dword [edx + 0x18]
sub edx, 0x20
subss xmm1, xmm0
movss dword [esi + 0xc], xmm1
cmp edx, ecx
jae 0x4acf80
mov eax, dword [ebp - 4]
mov esi, ecx
mov ecx, dword [ebp + 8]
add eax, 0xfffffff8
mov edx, edi
mov ecx, dword [ecx + 8]
lea eax, [esi + eax*4]
add ecx, dword [ebp - 8]
nop dword [eax]
movss xmm1, dword [eax + 0x10]
sub ecx, 0x10
mulss xmm1, dword [ecx + 0xc]
movss xmm0, dword [ecx + 8]
mulss xmm0, dword [eax + 0x18]
addss xmm1, xmm0
movss dword [edx], xmm1
movss xmm1, dword [eax + 0x10]
mulss xmm1, dword [ecx + 8]
movss xmm0, dword [ecx + 0xc]
mulss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
movss dword [edx + 4], xmm1
movss xmm1, dword [eax + 8]
movss xmm0, dword [eax]
mulss xmm1, dword [ecx]
mulss xmm0, dword [ecx + 4]
addss xmm1, xmm0
movss dword [edx + 8], xmm1
movss xmm1, dword [eax]
movss xmm0, dword [ecx + 4]
mulss xmm0, dword [eax + 8]
sub eax, 0x20
mulss xmm1, dword [ecx]
subss xmm1, xmm0
movss dword [edx + 0xc], xmm1
add edx, 0x10
cmp eax, esi
jae 0x4ad020
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
push eax
lea esi, [eax*4]
add ecx, esi
push ecx
push dword [ebp + 8]
mov dword [ebp + 0xc], ecx
call fcn.004ad450
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.004ad2a0
mov eax, dword [ebp + 8]
add esp, 0x14
movss xmm2, dword [0x4e8490]
mov ecx, edi
mov edx, dword [eax + 8]
lea eax, [edi + 8]
add edx, esi
mov edi, eax
mov esi, dword [ebp + 0x10]
add esi, 0xc
movss xmm1, dword [edx + 4]
sub edi, 0x10
mulss xmm1, dword [esi - 0xc]
movss xmm0, dword [esi - 8]
mulss xmm0, dword [edx]
subss xmm1, xmm0
movss dword [edi + 4], xmm1
movss xmm1, dword [edx + 4]
mulss xmm1, dword [esi - 8]
movss xmm0, dword [edx]
mulss xmm0, dword [esi - 0xc]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx], xmm1
movss xmm1, dword [esi - 4]
mulss xmm1, dword [edx + 0xc]
movss xmm0, dword [esi]
mulss xmm0, dword [edx + 8]
subss xmm1, xmm0
movss dword [edi], xmm1
movss xmm1, dword [esi]
mulss xmm1, dword [edx + 0xc]
movss xmm0, dword [esi - 4]
mulss xmm0, dword [edx + 8]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx + 4], xmm1
movss xmm1, dword [esi + 4]
mulss xmm1, dword [edx + 0x14]
movss xmm0, dword [esi + 8]
mulss xmm0, dword [edx + 0x10]
subss xmm1, xmm0
movss dword [edi - 4], xmm1
movss xmm1, dword [esi + 8]
mulss xmm1, dword [edx + 0x14]
movss xmm0, dword [esi + 4]
mulss xmm0, dword [edx + 0x10]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx + 8], xmm1
movss xmm1, dword [esi + 0xc]
mulss xmm1, dword [edx + 0x1c]
movss xmm0, dword [edx + 0x18]
mulss xmm0, dword [esi + 0x10]
subss xmm1, xmm0
movss dword [edi - 8], xmm1
movss xmm1, dword [edx + 0x18]
movss xmm0, dword [esi + 0x10]
mulss xmm1, dword [esi + 0xc]
add esi, 0x20
mulss xmm0, dword [edx + 0x1c]
add edx, 0x20
lea eax, [esi - 0xc]
addss xmm1, xmm0
xorps xmm1, xmm2
movss dword [ecx + 0xc], xmm1
add ecx, 0x10
mov dword [ebp + 8], ecx
lea ecx, [edi - 8]
cmp eax, ecx
mov ecx, dword [ebp + 8]
jb 0x4ad0e3
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
add eax, 8
mov edi, dword [ebp - 0xc]
add edx, eax
mov eax, 2
mov ecx, edi
sub eax, dword [ebp - 4]
lea esi, [ecx + eax*4]
nop dword [eax]
movss xmm0, dword [ecx - 4]
lea esi, [esi - 0x10]
sub ecx, 0x10
movss dword [esi + 4], xmm0
xorps xmm0, xmm2
lea edx, [edx + 0x10]
movss dword [edx - 0x18], xmm0
lea eax, [edx - 8]
movss xmm0, dword [ecx + 8]
movss dword [esi], xmm0
xorps xmm0, xmm2
movss dword [edx - 0x14], xmm0
movss xmm0, dword [ecx + 4]
movss dword [esi - 4], xmm0
xorps xmm0, xmm2
movss dword [edx - 0x10], xmm0
movss xmm0, dword [ecx]
movss dword [esi - 8], xmm0
xorps xmm0, xmm2
movss dword [edx - 0xc], xmm0
cmp eax, ecx
jb 0x4ad210
mov edx, dword [ebp + 0xc]
lea ecx, [edi + 8]
nop dword [eax]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 0x10]
sub edi, 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 0x4ad270
pop edi
pop esi
mov esp, ebp
pop ebp
ret