Function at 0x52d4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
mov esi, ecx
mov edi, edx
mov ecx, 0x70ac9b
mov dword [ebp - 8], edi
mov dword [ebp - 0x24], esi
call fcn.0056b0a5
mov ecx, esi
imul ecx, edi
mov dword [ebp - 0x34], ecx
test edi, edi
jle 0x52d540
mov edx, dword [ebp + 0xc]
lea edi, [esi*8]
lea eax, [esi*4]
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, esi
lea ecx, [esi + ecx*4]
mov esi, edx
add esi, 0xfffffffc
add edi, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x24]
nop word [eax + eax]
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
movss dword [edx], xmm0
movss xmm0, dword [eax]
subss xmm0, dword [ecx]
add edx, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
add ecx, dword [ebp - 0x10]
movss dword [edi], xmm0
add edi, dword [ebp - 0x14]
sub dword [ebp - 0xc], 1
jne 0x52d510
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
cmp esi, 2
jl 0x52d6ee
je 0x52d68c
mov dword [ebp - 0x18], 0
test edi, edi
jle 0x52d679
mov edx, dword [ebp + 8]
lea eax, [esi*4]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
lea eax, [esi*8]
mov dword [ebp - 0x28], eax
lea eax, [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [esi*8]
add eax, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
nop dword [eax]
add dword [ebp - 0x18], esi
mov ecx, dword [ebp - 4]
cmp esi, 2
jle 0x52d654
mov ecx, dword [ebp - 0x10]
mov edx, 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, [esi - 3]
mov esi, dword [ebp - 0x3c]
shr eax, 1
inc eax
mov dword [ebp - 0x20], eax
nop
mov eax, dword [ebp - 0x1c]
add esi, 8
add ecx, 8
add edi, 8
sub edx, 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 - 0x20], 1
mulss xmm0, xmm1
mov dword [ebp - 0x1c], eax
mulss xmm1, dword [esi - 4]
addss xmm5, xmm0
movss xmm0, dword [ecx]
subss xmm4, xmm1
addss xmm0, xmm4
movss dword [edi], xmm0
movaps xmm0, xmm5
subss xmm4, dword [ecx]
movss dword [edx], xmm4
addss xmm0, dword [ecx - 4]
movss dword [edi - 4], xmm0
movss xmm0, dword [ecx - 4]
subss xmm0, xmm5
movss dword [edx - 4], xmm0
jne 0x52d5d0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x28]
add edx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
sub dword [ebp - 0x30], 1
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], eax
jne 0x52d5a0
mov edi, dword [ebp - 8]
mov eax, esi
and eax, 0x80000001
jns 0x52d687
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x52d6ee
lea eax, [esi - 1]
mov edx, eax
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
test edi, edi
jle 0x52d6ee
movss xmm1, dword [0x5b4940]
lea eax, [esi*8]
mov dword [ebp - 0x38], eax
lea eax, [esi*4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
lea ecx, [eax + esi*4]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
lea edx, [esi + edx*4]
lea esi, [esi + eax*4]
nop dword [eax]
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]
sub edi, 1
jne 0x52d6d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret