Function at 0x52c090
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov edi, edx
mov dword [ebp - 0x1c], ecx
mov ecx, 0x70ac9b
mov dword [ebp - 4], edi
call fcn.0056b0a5
mov eax, edi
xor ecx, ecx
cdq
and edx, 3
add eax, edx
mov edx, 4
sar eax, 2
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00555564
mov esi, eax
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 4
add eax, edi
mov dword [ebp - 0x44], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00555564
mov edx, dword [ebp - 4]
mov edi, eax
mov eax, edx
mov dword [ebp - 0x10], edi
sar eax, 1
mov dword [ebp - 0x24], eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x14], xmm0
cvtps2pd xmm0, xmm0
call fcn.0056ca60
movsd qword [ebp - 0x40], xmm0
movsd xmm0, qword [0x5b4650]
call fcn.0056ca60
movsd xmm1, qword [ebp - 0x40]
divsd xmm1, xmm0
addsd xmm1, qword [0x5b4630]
movsd qword [ebp - 0x40], xmm1
fld qword [ebp - 0x40]
fstp qword [esp]
call fcn.0056dd80
add esp, 8
call fcn.0056aff0
mov ecx, dword [ebp - 0x1c]
movss xmm1, dword [0x5b4688]
mov dword [ebp - 0x3c], eax
mov dword [ecx + 0xc], esi
xor esi, esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 8], edi
cmp dword [ebp - 0xc], esi
jle 0x52c267
add eax, eax
mov ecx, dword [ebp - 0x24]
movaps xmm2, xmm1
mov dword [ebp - 8], 1
divss xmm2, dword [ebp - 0x14]
lea edi, [edi + ecx*4]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], eax
movss dword [ebp - 0x34], xmm2
divss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
nop word [eax + eax]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
call fcn.0056c5c0
mov ecx, dword [ebp - 0x10]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
movss dword [ecx + esi*8], xmm1
call fcn.0056d840
xorps xmm0, xmmword [0x5b4930]
mov eax, dword [ebp - 0x10]
cvtsd2ss xmm0, xmm0
movss dword [eax + esi*8 + 4], xmm0
movd xmm0, dword [ebp - 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
call fcn.0056c5c0
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [ebp - 0x28]
movss dword [edi], xmm1
call fcn.0056d840
mov eax, dword [ebp - 0x18]
lea edi, [edi + 8]
add dword [ebp - 8], 2
inc esi
movss xmm2, dword [ebp - 0x34]
add eax, 4
cvtsd2ss xmm0, xmm0
mov dword [ebp - 0x18], eax
movss dword [edi - 4], xmm0
cmp esi, dword [ebp - 0xc]
jl 0x52c1c0
movss xmm1, dword [0x5b4688]
mov eax, dword [ebp - 4]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x52c2ec
divss xmm1, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edi, 2
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
lea esi, [ecx + edx*4]
movss dword [ebp - 0x34], xmm1
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
call fcn.0056c5c0
mulsd xmm0, qword [0x5b4630]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [ebp - 0x30]
movss dword [esi], xmm1
call fcn.0056d840
mulsd xmm0, qword [0x5b4720]
lea esi, [esi + 8]
add edi, 4
sub dword [ebp - 0x18], 1
movss xmm1, dword [ebp - 0x34]
cvtsd2ss xmm0, xmm0
movss dword [esi - 4], xmm0
jne 0x52c292
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x3c]
mov edx, 1
mov edi, 1
lea ecx, [esi - 1]
shl edx, cl
lea ecx, [esi - 2]
dec edx
shl edi, cl
xor esi, esi
mov dword [ebp - 0x3c], edx
test eax, eax
jle 0x52c348
nop dword [eax]
xor edx, edx
xor ecx, ecx
test edi, edi
je 0x52c330
mov eax, edi
nop word [eax + eax]
test esi, eax
je 0x52c327
bts edx, ecx
inc ecx
mov eax, edi
sar eax, cl
test eax, eax
jne 0x52c320
mov ecx, dword [ebp - 0x44]
mov eax, edx
not eax
and eax, dword [ebp - 0x3c]
dec eax
mov dword [ecx + esi*8], eax
mov dword [ecx + esi*8 + 4], edx
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x52c310
movss xmm0, dword [0x5b46b0]
divss xmm0, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
pop edi
pop esi
movss dword [ecx + 0x10], xmm0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret