Function at 0x5dca10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], ecx
mov edx, ecx
mov dword [ebp - 8], edi
imul edx, edi
mov dword [ebp - 0x34], edx
test edi, edi
jle 0x5dca90
mov esi, dword [ebp + 0xc]
lea edi, [ecx*8]
lea eax, [ecx*4]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, ecx
lea edx, [ecx + edx*4]
mov ecx, esi
add ecx, 0xfffffffc
add edi, ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x24]
nop dword [eax + eax]
movss xmm0, dword [edx]
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [edx]
add eax, dword [ebp - 0x14]
add edx, dword [ebp - 0x14]
add esi, dword [ebp - 0x10]
movss dword [edi], xmm0
add edi, dword [ebp - 0x10]
sub dword [ebp - 0xc], 1
jne 0x5dca60
mov edi, dword [ebp - 8]
mov edx, dword [ebp - 0x34]
cmp ecx, 2
jl 0x5dcc30
je 0x5dcbdb
mov dword [ebp - 0x18], 0
test edi, edi
jle 0x5dcbc8
mov esi, dword [ebp + 8]
lea eax, [ecx*4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
lea eax, [ecx*8]
mov dword [ebp - 0x28], eax
lea eax, [esi + edx*4]
mov dword [ebp - 0x30], edi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ecx*8]
add eax, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
nop dword [eax]
add dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
cmp ecx, 2
jle 0x5dcba3
mov edx, dword [ebp - 0x10]
mov esi, edi
mov edi, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0x1c], eax
lea eax, [ecx - 3]
mov ecx, dword [ebp - 0x3c]
shr eax, 1
inc eax
mov dword [ebp - 0x20], eax
nop
mov eax, dword [ebp - 0x1c]
add ecx, 8
add edx, 8
add edi, 8
sub esi, 8
movss xmm5, dword [eax - 4]
movss xmm2, dword [eax]
movaps xmm4, xmm5
movss xmm0, dword [ecx]
add eax, 8
sub dword [ebp - 0x20], 1
mulss xmm5, dword [ecx]
mov dword [ebp - 0x1c], eax
mulss xmm4, dword [ecx - 4]
mulss xmm0, xmm2
mulss xmm2, dword [ecx - 4]
addss xmm4, xmm0
subss xmm5, xmm2
movaps xmm0, xmm5
addss xmm0, dword [edx]
movss dword [edi], xmm0
subss xmm5, dword [edx]
movss dword [esi], xmm5
movss xmm0, dword [edx - 4]
addss xmm0, xmm4
movss dword [edi - 4], xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm4
movss dword [esi - 4], xmm0
jne 0x5dcb20
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x28]
add esi, dword [ebp - 0x2c]
add edx, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
sub dword [ebp - 0x30], 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
jne 0x5dcaf0
mov edi, dword [ebp - 8]
mov eax, ecx
and eax, 0x80000001
jns 0x5dcbd6
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x5dcc30
lea esi, [ecx - 1]
mov edx, esi
add esi, dword [ebp - 0x34]
test edi, edi
jle 0x5dcc30
movss xmm1, dword [0x62cbb0]
lea eax, [ecx*8]
mov dword [ebp - 0x3c], eax
lea eax, [ecx*4]
mov dword [ebp - 0x38], 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 - 0x38]
xorps xmm0, xmm1
movss dword [ecx], xmm0
mov eax, dword [edx]
add edx, dword [ebp - 0x38]
mov dword [ecx - 4], eax
add ecx, dword [ebp - 0x3c]
sub edi, 1
jne 0x5dcc12
pop edi
pop esi
mov esp, ebp
pop ebp
ret