Function at 0x4df470
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x68
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movups xmmword [rsp + 0x30], xmm9
movups xmmword [rsp + 0x40], xmm10
movups xmmword [rsp + 0x50], xmm11
mov r10d, 0xaaaaaaab
shr r8d, 4
mov r11d, r8d
imul r10, r11
shr r10, 0x22
cmp r8d, 5
jbe 0x4df763
movdqu xmm6, xmmword [rcx]
mov rax, rdx
xor r9d, r9d
nop
movups xmmword [rax], xmm6
movdqu xmm6, xmmword [rcx + 0x10]
add r9d, 1
add rax, 0x60
movups xmmword [rax - 0x50], xmm6
movdqu xmm6, xmmword [rcx + 0x20]
movups xmmword [rax - 0x40], xmm6
movdqu xmm5, xmmword [rcx + 0x30]
movups xmmword [rax - 0x30], xmm5
movdqu xmm6, xmmword [rcx + 0x40]
movups xmmword [rax - 0x20], xmm6
movdqu xmm10, xmmword [rcx + 0x50]
movups xmmword [rax - 0x10], xmm10
movdqu xmm1, xmmword [rcx + 0x20]
movdqu xmm6, xmmword [rcx]
movdqu xmm7, xmmword [rcx + 0x60]
movdqu xmm3, xmmword [rcx + 0x40]
paddq xmm6, xmm1
movdqu xmm0, xmmword [rcx + 0x30]
movdqu xmm4, xmmword [rcx + 0x70]
pxor xmm7, xmm6
pshufd xmm7, xmm7, 0xb1
paddq xmm3, xmm7
pxor xmm1, xmm3
movdqu xmm2, xmm1
psrlq xmm1, 0x18
psllq xmm2, 0x28
por xmm1, xmm2
paddq xmm6, xmm1
pxor xmm7, xmm6
pshuflw xmm7, xmm7, 0x39
pshufhw xmm7, xmm7, 0x39
paddq xmm3, xmm7
movdqu xmm8, xmm7
pxor xmm1, xmm3
psrldq xmm8, 8
movdqu xmm2, xmm1
psrlq xmm1, 0x3f
psllq xmm2, 1
por xmm2, xmm1
movdqu xmm1, xmmword [rcx + 0x10]
paddq xmm1, xmm0
pxor xmm4, xmm1
pshufd xmm4, xmm4, 0xb1
paddq xmm10, xmm4
pxor xmm0, xmm10
movdqu xmm5, xmm0
psrlq xmm0, 0x18
psllq xmm5, 0x28
por xmm0, xmm5
movdqu xmm5, xmm1
paddq xmm5, xmm0
pxor xmm4, xmm5
pshuflw xmm4, xmm4, 0x39
pshufhw xmm4, xmm4, 0x39
paddq xmm10, xmm4
movdqu xmm9, xmm4
psrldq xmm4, 8
pslldq xmm9, 8
pxor xmm0, xmm10
movdqu xmm1, xmm0
psrlq xmm0, 0x3f
por xmm8, xmm9
psllq xmm1, 1
por xmm0, xmm1
movdqu xmm1, xmm7
movdqu xmm7, xmm2
psrldq xmm2, 8
pslldq xmm1, 8
movdqu xmm11, xmm0
pslldq xmm0, 8
psrldq xmm11, 8
por xmm4, xmm1
por xmm0, xmm2
pslldq xmm7, 8
paddq xmm6, xmm0
por xmm7, xmm11
pxor xmm4, xmm6
paddq xmm5, xmm7
pshufd xmm4, xmm4, 0xb1
pxor xmm8, xmm5
paddq xmm10, xmm4
pshufd xmm8, xmm8, 0xb1
pxor xmm0, xmm10
paddq xmm3, xmm8
movdqu xmm2, xmm0
psrlq xmm0, 0x18
pxor xmm7, xmm3
psllq xmm2, 0x28
por xmm2, xmm0
paddq xmm6, xmm2
pxor xmm4, xmm6
movups xmmword [rcx], xmm6
pshuflw xmm0, xmm4, 0x39
movdqu xmm4, xmm7
psllq xmm4, 0x28
psrlq xmm7, 0x18
pshufhw xmm0, xmm0, 0x39
paddq xmm10, xmm0
por xmm7, xmm4
pxor xmm2, xmm10
movups xmmword [rcx + 0x50], xmm10
movdqu xmm1, xmm2
psrlq xmm2, 0x3f
psllq xmm1, 1
por xmm2, xmm1
movdqu xmm1, xmm5
paddq xmm1, xmm7
movups xmmword [rcx + 0x10], xmm1
pxor xmm1, xmm8
pshuflw xmm1, xmm1, 0x39
pshufhw xmm1, xmm1, 0x39
paddq xmm3, xmm1
movdqu xmm5, xmm1
movups xmmword [rcx + 0x40], xmm3
pxor xmm3, xmm7
pslldq xmm1, 8
movdqu xmm4, xmm3
psrlq xmm3, 0x3f
psllq xmm4, 1
psrldq xmm5, 8
por xmm3, xmm4
movdqu xmm4, xmm0
psrldq xmm0, 8
pslldq xmm4, 8
por xmm0, xmm1
movdqu xmm1, xmm2
movups xmmword [rcx + 0x60], xmm0
movdqu xmm0, xmm4
psrldq xmm1, 8
por xmm0, xmm5
pslldq xmm2, 8
movups xmmword [rcx + 0x70], xmm0
movdqu xmm0, xmm3
psrldq xmm3, 8
pslldq xmm0, 8
por xmm2, xmm3
por xmm0, xmm1
movups xmmword [rcx + 0x20], xmm2
movups xmmword [rcx + 0x30], xmm0
cmp r10d, r9d
jg 0x4df4c0
lea eax, [r10 - 1]
mov r9d, 0x60
lea rax, [rax + rax*2 + 3]
shl rax, 5
cmp r8d, 5
cmovle rax, r9
add rdx, rax
mov eax, 0xaaaaaaab
imul rax, r11
shr rax, 0x22
lea eax, [rax + rax*2]
add eax, eax
sub r8d, eax
je 0x4df7bd
movdqu xmm5, xmmword [rcx]
movups xmmword [rdx], xmm5
cmp r8d, 1
je 0x4df7bd
movdqu xmm5, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm5
cmp r8d, 2
je 0x4df7bd
movdqu xmm5, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm5
cmp r8d, 3
je 0x4df7bd
movdqu xmm5, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm5
cmp r8d, 5
jne 0x4df7bd
movdqu xmm5, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm5
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
movups xmm9, xmmword [rsp + 0x30]
movups xmm10, xmmword [rsp + 0x40]
movups xmm11, xmmword [rsp + 0x50]
add rsp, 0x68
ret