Function at 0x1402a07e0
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 [0x14040f040]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea r15, [rdx + rdx*4]
movsx r12, r8b
shl r15, 8
lea r13, [0x140386320]
mov ebp, 2
mov r14, rcx
mov edx, ebp
lea rax, [r15 + r13]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1402a0830
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.1402a0f30
lea rdx, [r11 + 0x180]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.1402a0f30
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.1402a0f30
lea rdx, [r11 + 0x280]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.1402a0f30
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.1402a0f30
lea rdx, [r11 + 0x380]
movzx r8d, bl
lea rcx, [r14 + 0x80]
call fcn.1402a0f30
xor esi, 0xfc
lea r11, [r15 + r13]
dec esi
lea rdx, [r11 + 0x400]
shr esi, 0x1f
mov rcx, r14
movzx r8d, sil
call fcn.1402a0f30
lea rdx, [r11 + 0x480]
movzx r8d, sil
lea rcx, [r14 + 0x80]
call fcn.1402a0f30
mov rdx, r14
lea rcx, [rsp + 0x20]
call fcn.1402a1de0
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 0x1402a09fd
lea rcx, [rsp + 0x20]
cmp rax, rcx
jb 0x1402a09fd
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 0x1402a09e0
jmp 0x1402a0a90
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x40]
sub rcx, r14
sub rdx, r14
lea r8, [rsp + 0x20]
sub r8, r14
lea rax, [r14 + 0x10]
nop dword [rax]
movdqu xmm1, xmmword [rax - 0x10]
movdqu xmm0, xmmword [r8 + rax - 0x10]
lea rax, [rax + 0x40]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
movdqu xmm0, xmmword [r8 + rax - 0x40]
xorps xmm0, xmm1
andps xmm0, xmm2
xorps xmm0, xmm1
movdqu xmm1, xmmword [rcx + rax - 0x40]
movdqu xmmword [rax - 0x40], xmm0
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
andps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rdx + rax - 0x40]
xorps xmm1, xmm0
andps xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
sub rbp, 1
jne 0x1402a0a20
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x108]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret