Function at 0x7525b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movsd xmm2, qword [0x8ae110]
push ebx
push esi
mov esi, ecx
cvtss2sd xmm1, xmm1
push edi
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov ebx, dword [esi + 0x18]
mov dword [ebp - 8], ebx
divsd xmm1, qword [0x8ae330]
cmp dword [eax + 0x50], 0
movd xmm3, dword [eax + 0x1c]
cvtdq2pd xmm3, xmm3
mulsd xmm3, xmm2
divsd xmm3, qword [0x8ae330]
mulsd xmm3, qword [0x8adfd0]
movsd qword [ebp - 0x20], xmm3
je 0x75264a
movd xmm0, dword [esi + 0xd3c]
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x8ae3c0]
comisd xmm0, xmmword [0x8ae108]
jbe 0x75262a
movsd xmm2, qword [0x8ae080]
jmp 0x752676
movsd xmm3, qword [0x8ae070]
comisd xmm3, xmm0
ja 0x752676
subsd xmm0, xmm3
mulsd xmm0, qword [0x8ae118]
subsd xmm2, xmm0
jmp 0x752676
movsd xmm0, qword [0x8ae0f0]
comisd xmm0, xmm1
jbe 0x752662
mulsd xmm1, qword [0x8ae0b8]
jmp 0x75266e
addsd xmm1, xmm1
subsd xmm1, qword [0x8ae140]
movsd xmm2, qword [0x8ae078]
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.007eb580
movaps xmm1, xmm0
movsd qword [ebp - 0x18], xmm1
test ebx, ebx
jle 0x752700
lea edi, [esi + 0x440]
mov esi, 0x7f
nop dword [eax + eax]
movd xmm2, dword [edi - 8]
movaps xmm0, xmm1
movsd xmm1, qword [0x8ae140]
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [ebp - 0x20]
subsd xmm1, xmm2
call fcn.007eb580
movsd xmm1, qword [0x8ae140]
subsd xmm1, xmm0
mulsd xmm1, qword [0x8ae358]
cvttsd2si eax, xmm1
test eax, eax
jns 0x7526e2
xor eax, eax
jmp 0x7526e8
cmp eax, 0x7f
cmovg eax, esi
movsd xmm1, qword [ebp - 0x18]
mov dword [edi], eax
add edi, 0x2e8
sub ebx, 1
jne 0x7526a0
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 0x440]
mov edi, 4
mov dword [esi + 0xd38], eax
cmp ebx, edi
jge 0x752747
imul eax, ebx, 0x2e8
lea ecx, [esi + 0x440]
mov edx, edi
add ecx, eax
sub edx, ebx
nop word [eax + eax]
mov eax, dword [esi + 0xd38]
lea ecx, [ecx + 0x2e8]
mov dword [ecx - 0x2e8], eax
sub edx, 1
jne 0x752730
mov eax, dword [esi]
mov ebx, dword [eax + 0x1c]
mov eax, dword [esi + 0xd40]
sub eax, 0x40
lea ecx, [eax + eax*4]
mov eax, 0xea0ea0eb
add ecx, ecx
imul ecx
mov eax, 0x51eb851f
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ebx
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0xfffffffc
jge 0x75278d
mov ecx, 0xfffffffc
jmp 0x752797
mov edx, 6
cmp ecx, edx
cmovg ecx, edx
neg ebx
mov eax, 0x51eb851f
shl ebx, 2
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0xfffffff1
jge 0x7527b9
mov eax, 0xfffffff1
jmp 0x7527c3
mov edx, 0xf
cmp eax, edx
cmovg eax, edx
mov dword [esi + 0xd54], ecx
mov ecx, esi
mov dword [esi + 0xd44], 0
mov dword [esi + 0xd48], 0
mov dword [esi + 0xd4c], 0
mov dword [esi + 0xd50], eax
call fcn.007523f0
cmp dword [ebp - 8], 1
jle 0x752938
cmp dword [esi + 0x18], edi
mov ebx, 1
movaps xmm0, xmmword [0x8ae6e0]
mov eax, ebx
cmovl edi, dword [esi + 0x18]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], eax
movups xmmword [ebp - 0x30], xmm0
cmp edi, ebx
jle 0x752938
lea ecx, [esi + 0x480]
lea edi, [esi + 0x72c]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
nop word [eax + eax]
xor edx, edx
mov dword [ebp - 0x10], 0
test ebx, ebx
jle 0x75287e
mov eax, dword [edi - 4]
lea ecx, [esi + 0x444]
cmp eax, dword [ecx - 4]
jne 0x752864
mov eax, dword [edi]
cmp eax, dword [ecx]
je 0x752871
mov eax, dword [edi - 4]
inc edx
add ecx, 0x2e8
cmp edx, ebx
jl 0x752856
jmp 0x752878
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], 0
mov dword [ebp + eax*4 - 0x30], edx
jne 0x7528af
cmp ebx, eax
je 0x7528a5
lea esi, [edi - 0x2ac]
mov ecx, 0xba
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 0x2e8
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
inc eax
add edi, 0x2e8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], edi
cmp eax, edx
jl 0x752840
cmp ebx, edx
jge 0x752938
mov edi, dword [esi + 0x2c]
imul edi, dword [esi + 0x28]
test edi, edi
jle 0x752900
mov edx, dword [esi + 0x588c]
dec edi
mov ecx, dword [edx + edi*8]
mov eax, ecx
shr eax, 5
and eax, 3
mov eax, dword [ebp + eax*4 - 0x30]
shl eax, 5
xor eax, ecx
and eax, 0x60
xor eax, ecx
mov dword [edx + edi*8], eax
test edi, edi
jg 0x7528d6
mov edx, dword [ebp - 0x1c]
imul eax, ebx, 0x2e8
lea edi, [esi - 0x150]
mov dword [esi + 0x18], ebx
add edi, eax
add eax, 0x198
add eax, esi
mov dword [ebp - 0x1c], edi
sub edx, ebx
nop dword [eax]
mov esi, edi
mov ecx, 0xba
mov edi, eax
add eax, 0x2e8
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x1c]
sub edx, 1
jne 0x752920
mov ecx, dword [ebp - 0xc]
call fcn.00752160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret