Function at 0x14021a430
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14036a040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea r15, [rdx + rdx*4]
movsx r12, r8b
shl r15, 8
lea r13, [0x1402dca20]
mov ebp, 2
mov r14, rcx
mov rdx, rcx
mov ecx, ebp
lea rax, [r15 + r13]
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x14021a480
movzx eax, r12b
movzx esi, r12b
mov ecx, esi
lea r11, [r15 + r13]
xor ecx, 1
lea rdx, [r11 + 0x100]
dec ecx
not al
shr ecx, 0x1f
movzx ebx, al
dec ebx
shr ebx, 0x1f
or bl, cl
mov rcx, r14
movzx r8d, bl
call fcn.14021ae20
lea rdx, [r11 + 0x180]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.14021ae20
mov eax, esi
lea r11, [r15 + r13]
xor eax, ebp
lea rdx, [r11 + 0x200]
dec eax
mov ebx, esi
xor ebx, 0xfe
shr eax, 0x1f
dec ebx
mov rcx, r14
shr ebx, 0x1f
or bl, al
movzx r8d, bl
call fcn.14021ae20
lea rdx, [r11 + 0x280]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.14021ae20
mov eax, esi
lea r11, [r15 + r13]
xor eax, 3
lea rdx, [r11 + 0x300]
dec eax
mov ebx, esi
xor ebx, 0xfd
shr eax, 0x1f
dec ebx
mov rcx, r14
shr ebx, 0x1f
or bl, al
movzx r8d, bl
call fcn.14021ae20
lea rdx, [r11 + 0x380]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.14021ae20
xor esi, 0xfc
lea r11, [r15 + r13]
dec esi
lea rdx, [r11 + 0x400]
shr esi, 0x1f
mov rcx, r14
movzx r8d, sil
call fcn.14021ae20
lea rdx, [r11 + 0x480]
movzx r8d, sil
lea rcx, [r14 + 0x80]
call fcn.14021ae20
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.14021bcc0
mov r9, r12
lea rcx, [rsp + 0x9c]
shr r9, 0x3f
lea rax, [r14 + 0x7c]
neg r9d
movd xmm2, r9d
pshufd xmm2, xmm2, 0
cmp r14, rcx
ja 0x14021a64d
lea rcx, [rsp + 0x20]
cmp rax, rcx
jb 0x14021a64d
lea r8, [rsp + 0x20]
mov edx, 0x20
sub r8, r14
nop
mov ecx, dword [r14]
xor ecx, dword [r14 + r8]
lea r14, [r14 + 4]
and ecx, r9d
xor dword [r14 - 4], ecx
sub rdx, 1
jne 0x14021a630
jmp 0x14021a6eb
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x40]
sub rdx, r14
sub r8, r14
lea rcx, [rsp + 0x20]
sub rcx, r14
lea rax, [r14 + 0x10]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
movdqu xmm1, xmmword [rcx + rax - 0x10]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x40]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [rdx + rax - 0x40]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [r8 + rax - 0x40]
pxor xmm1, xmm0
pand xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rbp, 1
jne 0x14021a670
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14008b8a0
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret