Function at 0x526a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x7a8498]
xor edx, ebp
mov dword [esp + 0x58], edx
cmp ecx, 0x100
je 0x526b3d
cmp ecx, 0xc0
je 0x526c65
mov esi, 1
cmp ecx, 0x80
jne 0x526e1f
mov dword [edi + 0xf0], 0xa
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi], xmm0
movdqa xmm2, xmmword [esp + 0x40]
add edi, 0x10
mov esi, 0xfffffff6
lea ebx, [esp + 0x40]
nop word cs:[eax + eax]
movdqa xmmword [esp], xmm2
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
lea ecx, [esp + 0x30]
mov edx, ebx
call fcn.005607e0
movzx eax, byte [esi + 0x74910a]
movd xmm0, eax
pxor xmm0, xmmword [esp]
movdqa xmm2, xmmword [esp + 0x30]
movdqa xmm1, xmm2
psrld xmm1, 8
pslld xmm2, 0x18
por xmm2, xmm1
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [esp + 0x40], xmm2
movdqa xmm0, xmmword [esp + 0x40]
movdqu xmmword [edi], xmm0
add edi, 0x10
inc esi
jne 0x526ab0
jmp 0x526e1d
mov dword [edi + 0xf0], 0xe
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movups xmm0, xmmword [eax + 0x10]
movaps xmmword [esp + 0x30], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x10], xmm0
mov ebx, 0x30
mov esi, 0x749100
movdqa xmm0, xmmword [esp + 0x40]
movdqa xmmword [esp], xmm0
nop dword [eax + eax]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x20]
lea edx, [esp + 0x30]
call fcn.005607e0
movzx eax, byte [esi]
movd xmm0, eax
pxor xmm0, xmmword [esp]
movdqa xmm2, xmmword [esp + 0x20]
movdqa xmm1, xmm2
psrld xmm1, 8
pslld xmm2, 0x18
por xmm2, xmm1
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [esp + 0x40], xmm2
movaps xmm0, xmmword [esp + 0x40]
movups xmmword [edi + ebx - 0x10], xmm0
cmp ebx, 0xf0
je 0x526e1d
movdqa xmmword [esp], xmm2
lea ecx, [esp + 0x20]
lea edx, [esp + 0x40]
call fcn.005607e0
movdqa xmm0, xmmword [esp + 0x20]
psrldq xmm0, 0xc
pxor xmm0, xmmword [esp + 0x30]
movdqa xmm1, xmm0
pslldq xmm1, 4
pxor xmm1, xmm0
movdqa xmm2, xmm0
pslldq xmm2, 8
pslldq xmm0, 0xc
pxor xmm0, xmm2
pxor xmm0, xmm1
movdqa xmmword [esp + 0x30], xmm0
movdqa xmm0, xmmword [esp + 0x30]
movdqu xmmword [edi + ebx], xmm0
add ebx, 0x20
add esi, 1
jmp 0x526b80
mov dword [edi + 0xf0], 0xc
lea ecx, [esp + 0x40]
lea esi, [esp + 0x30]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x40], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi], xmm0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
add edi, 0x30
mov ebx, edi
mov edi, 0xfffffff8
nop
mov dword [esp + 0x1c], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x20], xmm0
lea ecx, [esp + 0x20]
mov edx, esi
call fcn.005607e0
mov dword [esp], edi
movzx eax, byte [edi + 0x749108]
movd xmm1, eax
mov edi, dword [esp + 0x1c]
movdqa xmm0, xmmword [edi]
pxor xmm1, xmm0
pslldq xmm1, 8
por xmm1, xmmword [esi]
movdqa xmmword [esi], xmm1
movdqa xmm2, xmmword [esp + 0x20]
movdqa xmm3, xmm2
psrld xmm3, 8
pslld xmm2, 0x18
por xmm2, xmm3
pshufd xmm3, xmm2, 0xd4
pand xmm3, xmmword [0x731fd0]
pxor xmm3, xmm1
pshufd xmm2, xmm3, 0xaa
pand xmm2, xmmword [0x6fb7e0]
pxor xmm2, xmm3
movdqa xmmword [esi], xmm2
shufps xmm0, xmm1, 0x4e
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 8
pslldq xmm2, 0xc
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmmword [edi], xmm2
movups xmm0, xmmword [esi]
movups xmmword [ebx - 0x20], xmm0
movups xmm0, xmmword [edi]
movups xmmword [ebx - 0x10], xmm0
lea ecx, [esp + 0x20]
mov edx, edi
call fcn.005607e0
mov eax, dword [esp]
movzx eax, byte [eax + 0x749109]
movaps xmm1, xmmword [esi]
movaps xmm0, xmmword [edi]
shufps xmm1, xmm0, 0x4e
movd xmm2, eax
pxor xmm2, xmm1
movdqa xmmword [esi], xmm2
movdqa xmm1, xmmword [esp + 0x20]
movdqa xmm3, xmm1
psrld xmm3, 8
pslld xmm1, 0x18
por xmm1, xmm3
psrldq xmm1, 0xc
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm3, xmm1
pslldq xmm3, 8
pslldq xmm1, 0xc
pxor xmm1, xmm3
pxor xmm1, xmm2
movdqa xmmword [esi], xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
pxor xmm1, xmm0
movdqa xmm0, xmm1
psllq xmm0, 0x20
pxor xmm0, xmm1
movdqa xmmword [edi], xmm0
movdqu xmm0, xmmword [esi]
movdqu xmmword [ebx], xmm0
add ebx, 0x30
mov ecx, esi
mov esi, edi
mov edi, dword [esp]
add edi, 2
jne 0x526cb0
xor esi, esi
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.006c9121
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret