Function at 0x100c0f60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov edx, dword [esp + 0x2c]
mov eax, edx
push esi
push edi
mov edi, dword [esp + 0x38]
xor esi, esi
imul eax, edi
lea ecx, [edx + edx]
mov dword [esp + 0x20], ecx
lea ecx, [edx*4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x2c], eax
test edi, edi
jle 0x100c1002
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x3c]
lea edx, [edx + eax*4]
mov eax, esi
mov dword [esp + 0x24], edx
nop dword [eax]
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
movss xmm0, dword [edi + eax*4 - 4]
addss xmm0, dword [edi + ecx*4]
movss dword [edx + esi*4], xmm0
movss xmm0, dword [edi + ecx*4]
subss xmm0, dword [edi + eax*4 - 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
add esi, edx
movss dword [eax], xmm0
lea ecx, [edx*4]
add eax, ecx
sub dword [esp + 0x18], 1
mov dword [esp + 0x24], eax
lea eax, [esi + esi]
mov dword [esp + 0x2c], eax
jne 0x100c0fb0
jmp 0x100c1006
mov dword [esp + 0x28], ecx
cmp edx, 2
jl 0x100c11a9
je 0x100c113c
mov eax, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x10], 0
test eax, eax
jle 0x100c1137
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
mov dword [esp + 0xc], eax
xor eax, eax
lea edi, [edi + ecx*4]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
nop dword [eax + eax]
mov ecx, dword [esp + 0x28]
cmp edx, 2
jle 0x100c1110
mov eax, dword [esp + 0x20]
lea edx, [edi + esi*4]
mov ecx, dword [esp + 0x24]
add eax, esi
mov esi, dword [esp + 0x44]
add esi, 4
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x34]
add edi, 0xfffffffd
shr edi, 1
inc edi
mov dword [esp + 0x14], edi
nop word [eax + eax]
movss xmm0, dword [eax - 0xc]
sub eax, 8
addss xmm0, dword [edx + 4]
mov edi, dword [esp + 0x18]
add edx, 8
add edi, 8
add ecx, 8
mov dword [esp + 0x18], edi
movss dword [edi - 4], xmm0
movss xmm0, dword [edx]
subss xmm0, dword [eax]
movss xmm3, dword [edx - 4]
subss xmm3, dword [eax - 4]
movss dword [edi], xmm0
movss xmm2, dword [eax]
addss xmm2, dword [edx]
movaps xmm1, xmm3
mulss xmm1, dword [esi - 4]
movaps xmm0, xmm2
mulss xmm0, dword [esi]
subss xmm1, xmm0
movss dword [ecx - 4], xmm1
mulss xmm2, dword [esi - 4]
mulss xmm3, dword [esi]
add esi, 8
sub dword [esp + 0x14], 1
addss xmm2, xmm3
movss dword [ecx], xmm2
jne 0x100c1090
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
add dword [esp + 0x2c], ecx
add eax, edx
add dword [esp + 0x24], ecx
sub dword [esp + 0xc], 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
lea esi, [eax + eax]
jne 0x100c1050
lea ecx, [edx*4]
test dl, 1
jne 0x100c11a9
cmp dword [esp + 0x38], 0
jle 0x100c11a9
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add esi, 0xfffffffc
movss xmm1, dword [0x101173f0]
add edi, 0xfffffffc
shl eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
lea esi, [esi + edx*4]
dec eax
lea edi, [edi + edx*4]
add eax, edx
mov edx, dword [esp + 0x40]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x38]
nop dword [eax]
movss xmm0, dword [esi]
addss xmm0, xmm0
movss dword [edi], xmm0
add edi, ecx
movss xmm0, dword [esi + 4]
add esi, dword [esp + 0x34]
addss xmm0, xmm0
xorps xmm0, xmm1
movss dword [eax], xmm0
add eax, ecx
sub edx, 1
jne 0x100c1180
pop edi
pop esi
add esp, 0x28
ret