Function at 0x5064a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x98
call fcn.005ae090
mov eax, dword [0x665ec0]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x50], eax
push ebx
push ebp
movups xmm0, xmmword [eax]
push esi
push edi
movups xmmword [esp + 0x64], xmm0
mov edx, dword [esp + 0x64]
movups xmm0, xmmword [eax + 0x10]
mov dword [esp + 0x48], 4
mov dword [esp + 0x1c], edx
movups xmmword [esp + 0x74], xmm0
mov ebp, dword [esp + 0x7c]
movups xmm0, xmmword [eax + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x2c], ebp
movups xmmword [esp + 0x84], xmm0
mov esi, dword [esp + 0x84]
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0x94], xmm0
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x94]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x34], eax
lea ecx, [edi + edx]
mov eax, ecx
shr ecx, 0x19
shl eax, 7
or eax, ecx
xor eax, ebx
mov dword [esp + 0x30], eax
lea ebx, [eax + edx]
lea ecx, [eax + edx]
shr ebx, 0x17
shl ecx, 9
or ebx, ecx
xor ebx, esi
mov dword [esp + 0x50], ebx
lea esi, [eax + ebx]
lea ecx, [ebx + eax]
shr esi, 0x13
shl ecx, 0xd
or esi, ecx
xor esi, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x58], esi
lea edx, [esi + ebx]
lea ecx, [esi + ebx]
shl edx, 0x12
shr ecx, 0xe
or edx, ecx
xor edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x34]
lea ecx, [edi + edx]
mov eax, ecx
shr ecx, 0x19
shl eax, 7
or eax, ecx
xor eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
lea esi, [eax + edi]
lea ecx, [edi + eax]
shr esi, 0x17
shl ecx, 9
or esi, ecx
xor esi, dword [esp + 0x18]
mov dword [esp + 0x5c], esi
lea ebx, [eax + esi]
lea ecx, [esi + eax]
shl ebx, 0xd
shr ecx, 0x13
or ebx, ecx
xor ebx, edx
lea edx, [ebx + esi]
lea ecx, [ebx + esi]
shl edx, 0x12
shr ecx, 0xe
or edx, ecx
xor edx, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x24], edx
lea ecx, [edi + ebp]
mov eax, ecx
shr ecx, 0x19
shl eax, 7
or eax, ecx
xor eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
lea esi, [eax + edi]
shr esi, 0x17
lea ecx, [eax + edi]
shl ecx, 9
or esi, ecx
xor esi, dword [esp + 0x14]
lea ebp, [esi + eax]
shl ebp, 0xd
lea ecx, [eax + esi]
shr ecx, 0x13
or ebp, ecx
xor ebp, dword [esp + 0x2c]
lea edx, [esi + ebp]
lea ecx, [esi + ebp]
shl edx, 0x12
shr ecx, 0xe
or edx, ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
xor edx, edi
add ecx, eax
mov dword [esp + 0x28], edx
mov edx, ecx
shr ecx, 0x19
shl edx, 7
or edx, ecx
mov ecx, dword [esp + 0x20]
xor edx, dword [esp + 0x38]
lea edi, [ecx + edx]
add ecx, edx
shr ecx, 0x17
shl edi, 9
or edi, ecx
xor edi, dword [esp + 0x3c]
lea ecx, [edi + edx]
shr ecx, 0x13
mov dword [esp + 0x10], ecx
lea ecx, [edi + edx]
shl ecx, 0xd
or dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
xor ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [ecx + edi]
add ecx, edi
shr ecx, 0xe
shl eax, 0x12
or eax, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
xor dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + edx]
add ecx, edx
shr ecx, 0x19
shl eax, 7
or eax, ecx
xor eax, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x68], eax
lea ecx, [ebx + eax]
shr ecx, 0x17
mov dword [esp + 0x14], ecx
lea ecx, [eax + ebx]
shl ecx, 9
or dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
xor ecx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x6c], ecx
lea esi, [ecx + eax]
add ecx, eax
mov eax, dword [esp + 0x14]
shr ecx, 0x13
shl esi, 0xd
or esi, ecx
xor esi, edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x70], esi
lea edx, [esi + eax]
shr edx, 0xe
lea ecx, [esi + eax]
mov eax, dword [esp + 0x30]
shl ecx, 0x12
or edx, ecx
xor edx, ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x24]
lea ebx, [eax + edx]
lea ecx, [edx + eax]
shr ebx, 0x19
shl ecx, 7
or ebx, ecx
xor ebx, ebp
mov dword [esp + 0x2c], ebx
lea esi, [ebx + edx]
mov dword [esp + 0x7c], ebx
lea ecx, [ebx + edx]
shl esi, 9
shr ecx, 0x17
or esi, ecx
xor esi, edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x80], esi
lea ebp, [ebx + esi]
lea ecx, [esi + ebx]
shr ebp, 0x13
shl ecx, 0xd
or ebp, ecx
xor ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x74], ebp
lea eax, [esi + ebp]
lea ecx, [esi + ebp]
shl eax, 0x12
shr ecx, 0xe
or eax, ecx
xor eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x4c]
lea ebx, [edx + eax]
lea ecx, [eax + edx]
shl ebx, 7
shr ecx, 0x19
or ebx, ecx
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x90], ebx
lea esi, [ebx + edx]
lea ecx, [ebx + edx]
shl esi, 9
shr ecx, 0x17
or esi, ecx
xor esi, dword [esp + 0x50]
lea edi, [ebx + esi]
shl edi, 0xd
lea ecx, [esi + ebx]
shr ecx, 0x13
or edi, ecx
xor edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x88], edi
lea eax, [esi + edi]
lea ecx, [edi + esi]
shl eax, 0x12
shr ecx, 0xe
or eax, ecx
xor eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
lea edi, [eax + edx]
shr edi, 0x19
lea ecx, [edx + eax]
shl ecx, 7
or edi, ecx
xor edi, dword [esp + 0x58]
lea ebx, [edi + edx]
shl ebx, 9
lea ecx, [edx + edi]
shr ecx, 0x17
or ebx, ecx
xor ebx, dword [esp + 0x5c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x98], ebx
lea ebp, [edi + ebx]
lea ecx, [ebx + edi]
shl ebp, 0xd
shr ecx, 0x13
or ebp, ecx
xor ebp, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x9c], ebp
lea eax, [ebx + ebp]
lea ecx, [ebx + ebp]
shl eax, 0x12
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
shr ecx, 0xe
or eax, ecx
xor eax, edx
sub dword [esp + 0x48], 1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0xa0], eax
jne 0x506587
mov eax, dword [esp + 0x60]
lea edx, [esp + 0xa0]
mov dword [esp + 0x94], edi
mov dword [esp + 0x84], esi
lea ecx, [eax + 0x3c]
cmp eax, edx
ja 0x5068f5
lea edx, [esp + 0x64]
cmp ecx, edx
jb 0x5068f5
mov esi, edx
mov edx, 0x10
sub esi, eax
mov ecx, dword [esi + eax]
lea eax, [eax + 4]
add dword [eax - 4], ecx
sub edx, 1
jne 0x5068e5
jmp 0x50693d
movups xmm1, xmmword [eax]
movups xmm0, xmmword [esp + 0x64]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x74]
movups xmmword [eax], xmm1
movups xmm1, xmmword [eax + 0x10]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x84]
movups xmmword [eax + 0x10], xmm1
movups xmm1, xmmword [eax + 0x20]
paddd xmm1, xmm0
movups xmm0, xmmword [esp + 0x94]
movups xmmword [eax + 0x20], xmm1
movups xmm1, xmmword [eax + 0x30]
paddd xmm1, xmm0
movups xmmword [eax + 0x30], xmm1
lea eax, [esp + 0x64]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0xac]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ae073
add esp, 0x98
ret