Function at 0x4ae1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, ecx
mov dword [ebp - 4], edx
push esi
push edi
mov edi, eax
mov dword [ebp - 0x10], eax
imul edi, edx
lea esi, [eax*8]
mov dword [ebp - 0x24], esi
lea ecx, [eax*4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], edi
test edx, edx
jle 0x4ae248
mov edx, dword [ebp + 8]
mov eax, edx
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
lea edx, [edx + ecx*4]
mov ecx, edi
add ecx, 0xfffffffc
add ecx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
nop
movss xmm0, dword [edx]
addss xmm0, dword [eax]
mov ecx, dword [ebp - 0x1c]
movss dword [edi], xmm0
add edi, esi
movss xmm0, dword [eax]
subss xmm0, dword [edx]
movss dword [ecx], xmm0
add ecx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
add eax, ecx
add edx, ecx
sub dword [ebp - 0x18], 1
jne 0x4ae210
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x20]
cmp eax, 2
jl 0x4ae3b2
je 0x4ae364
test edx, edx
jle 0x4ae360
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], esi
lea esi, [eax*8]
lea edi, [ecx + edi*4]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add ecx, esi
mov dword [ebp - 0x14], ecx
lea ecx, [eax*4]
mov dword [ebp - 0x1c], edi
nop dword [eax]
cmp eax, 2
jle 0x4ae343
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x14]
add eax, 4
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffffd
shr eax, 1
inc eax
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
add esi, 8
add edx, 8
add ecx, 8
sub edi, 8
movss xmm4, dword [esi]
movss xmm1, dword [eax]
movaps xmm0, xmm4
mulss xmm4, dword [eax - 4]
movss xmm5, dword [esi - 4]
mulss xmm5, dword [eax - 4]
add eax, 8
sub dword [ebp - 0x2c], 1
mulss xmm0, xmm1
mov dword [ebp - 0x28], eax
mulss xmm1, dword [esi - 4]
addss xmm5, xmm0
subss xmm4, xmm1
movaps xmm0, xmm4
addss xmm0, dword [edx]
movss dword [ecx], xmm0
movaps xmm0, xmm5
subss xmm4, dword [edx]
movss dword [edi], xmm4
addss xmm0, dword [edx - 4]
movss dword [ecx - 4], xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm5
movss dword [edi - 4], xmm0
jne 0x4ae2c0
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add dword [ebp - 0x14], esi
add edx, esi
add dword [ebp - 0x18], ecx
add edi, ecx
sub dword [ebp - 0x30], 1
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], edi
jne 0x4ae290
mov edx, dword [ebp - 4]
test al, 1
jne 0x4ae3b2
dec eax
mov edi, eax
add eax, dword [ebp - 0x20]
test edx, edx
jle 0x4ae3b2
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
movss xmm1, dword [0x4d9a60]
add edx, ecx
lea eax, [esi + eax*4]
lea edi, [esi + edi*4]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x24]
nop word [eax + eax]
movss xmm0, dword [eax]
xorps xmm0, xmm1
movss dword [edx], xmm0
mov eax, dword [edi]
add edi, ecx
mov dword [edx - 4], eax
add edx, esi
mov eax, dword [ebp - 0x30]
add eax, ecx
sub dword [ebp - 4], 1
mov dword [ebp - 0x30], eax
jne 0x4ae390
pop edi
pop esi
mov esp, ebp
pop ebp
ret