Function at 0x100213e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
mov edi, edx
mov edx, ecx
imul edx, edi
lea eax, [ecx + ecx]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
test edi, edi
jle 0x1002146c
mov edi, dword [ebp + 0xc]
lea eax, [ecx*4]
mov dword [ebp - 0x10], eax
lea eax, [ecx*8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, ecx
lea edx, [ecx + edx*4]
mov ecx, dword [ebp - 0x2c]
mov esi, edi
lea edi, [edi + ecx*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x20]
add edi, 0xfffffffc
jmp 0x10021440
movss xmm0, dword [eax]
addss xmm0, dword [edx]
movss dword [esi], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [edx]
add esi, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
add edx, dword [ebp - 0x10]
movss dword [edi], xmm0
add edi, dword [ebp - 0xc]
dec dword [ebp - 8]
jne 0x10021440
mov edi, dword [ebp - 0x14]
cmp ecx, 2
jl 0x100215fd
je 0x100215aa
test edi, edi
jle 0x10021597
mov esi, dword [ebp + 8]
lea eax, [ecx*8]
mov dword [ebp - 0x28], eax
lea eax, [ecx*4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], esi
mov edx, esi
lea esi, [esi + eax*4]
lea eax, [ecx*8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc], esi
cmp ecx, 2
jle 0x10021573
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0x18], eax
lea eax, [ecx - 3]
mov ecx, dword [ebp - 0xc]
shr eax, 1
inc eax
mov esi, edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
lea ebx, [ebx]
mov eax, dword [ebp - 0x18]
movss xmm4, dword [ecx + 8]
movss xmm5, dword [eax - 4]
movss xmm2, dword [eax]
add ecx, 8
movaps xmm0, xmm5
mulss xmm0, dword [ecx - 4]
mulss xmm5, dword [ecx]
mulss xmm4, xmm2
mulss xmm2, dword [ecx - 4]
add edx, 8
addss xmm4, xmm0
movss xmm0, dword [edx]
subss xmm5, xmm2
add edi, 8
sub esi, 8
add eax, 8
dec dword [ebp - 0x1c]
addss xmm0, xmm5
mov dword [ebp - 0x18], eax
movss dword [edi], xmm0
subss xmm5, dword [edx]
movaps xmm0, xmm4
movss dword [esi], xmm5
addss xmm0, dword [edx - 4]
movss dword [edi - 4], xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm4
movss dword [esi - 4], xmm0
jne 0x100214f0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edi, dword [ebp - 0x28]
add edx, dword [ebp - 0x24]
add esi, dword [ebp - 0x24]
add eax, dword [ebp - 0x28]
dec dword [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], eax
jne 0x100214c4
mov edi, dword [ebp - 0x14]
mov eax, ecx
and eax, 0x80000001
jns 0x100215a5
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x100215fd
lea esi, [ecx - 1]
mov edx, esi
add esi, dword [ebp - 0x30]
test edi, edi
jle 0x100215fd
movss xmm1, dword [0x100b1f10]
lea eax, [ecx*8]
mov dword [ebp - 0x38], eax
lea eax, [ecx*4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
lea esi, [eax + esi*4]
movss xmm0, dword [esi]
add esi, dword [ebp - 0x34]
xorps xmm0, xmm1
movss dword [ecx], xmm0
mov eax, dword [edx]
add edx, dword [ebp - 0x34]
mov dword [ecx - 4], eax
add ecx, dword [ebp - 0x38]
dec edi
jne 0x100215e1
pop edi
pop esi
mov esp, ebp
pop ebp
ret