Function at 0x100f32f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov edx, dword [ebp + 8]
mov ecx, edx
push esi
push edi
mov edi, dword [ebp + 0xc]
imul ecx, edi
mov dword [ebp - 0x28], ecx
test edi, edi
jle 0x100f3372
mov esi, dword [ebp + 0x14]
lea eax, [edx*8]
mov dword [ebp - 4], eax
mov edi, esi
lea eax, [edx*4]
add edi, 0xfffffffc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, edx
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 4]
add edx, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x24]
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [ecx]
add esi, dword [ebp - 4]
add eax, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
movss dword [edi], xmm0
add edi, dword [ebp - 4]
sub dword [ebp - 0xc], 1
jne 0x100f3342
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
cmp edx, 2
jl 0x100f34fe
je 0x100f349d
test edi, edi
jle 0x100f3498
mov esi, dword [ebp + 0x10]
lea eax, [edx*4]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
lea eax, [edx*8]
mov dword [ebp - 0x1c], eax
lea eax, [esi + ecx*4]
mov dword [ebp - 0x24], edi
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [edx*8]
add eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov dword [ebp - 8], esi
cmp edx, 2
jle 0x100f3473
mov ecx, dword [ebp - 8]
mov esi, edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
add eax, 4
mov dword [ebp - 0x14], eax
lea eax, [edx - 3]
mov edx, dword [ebp - 0x30]
shr eax, 1
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
add edx, 8
add ecx, 8
add edi, 8
sub esi, 8
movss xmm4, dword [edx]
movss xmm1, dword [eax]
movaps xmm0, xmm4
mulss xmm4, dword [eax - 4]
movss xmm5, dword [edx - 4]
mulss xmm5, dword [eax - 4]
add eax, 8
sub dword [ebp - 0x18], 1
mulss xmm0, xmm1
mov dword [ebp - 0x14], eax
mulss xmm1, dword [edx - 4]
addss xmm5, xmm0
subss xmm4, xmm1
movaps xmm0, xmm4
addss xmm0, dword [ecx]
movss dword [edi], xmm0
movaps xmm0, xmm5
subss xmm4, dword [ecx]
movss dword [esi], xmm4
addss xmm0, dword [ecx - 4]
movss dword [edi - 4], xmm0
movss xmm0, dword [ecx - 4]
subss xmm0, xmm5
movss dword [esi - 4], xmm0
jne 0x100f33f0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
sub dword [ebp - 0x24], 1
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
jne 0x100f33c7
mov edi, dword [ebp + 0xc]
test dl, 1
jne 0x100f34fe
lea esi, [edx - 1]
mov dword [ebp + 0xc], esi
add esi, dword [ebp - 0x28]
test edi, edi
jle 0x100f34fe
movss xmm1, dword [0x101c3e30]
lea eax, [edx*8]
mov dword [ebp + 8], eax
lea eax, [edx*4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
lea ecx, [eax + edx*4]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea edx, [edx + eax*4]
mov eax, dword [ebp + 0x10]
lea esi, [eax + esi*4]
nop dword [eax + eax]
movss xmm0, dword [esi]
add esi, dword [ebp - 0x30]
xorps xmm0, xmm1
movss dword [ecx], xmm0
mov eax, dword [edx]
add edx, dword [ebp - 0x30]
mov dword [ecx - 4], eax
add ecx, dword [ebp + 8]
sub edi, 1
jne 0x100f34e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret