Function at 0x14006a9a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1400992c0]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor esi, esi
movabs rax, 0x179ec9cbd821dc3b
mul rcx
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm1
mov rbx, rcx
mov r12, rcx
sub rbx, rdx
mov edi, esi
shr rbx, 1
add rbx, rdx
shr rbx, 0xe
test rbx, rbx
je 0x14006aa2a
mov r9d, 0x20
lea r8, [rbp - 0x39]
mov edx, r9d
lea rcx, [rbp - 0x39]
call fcn.14006b440
inc edi
mov eax, edi
cmp rax, rbx
jb 0x14006aa03
movups xmm1, xmmword [rbp - 0x29]
movups xmm0, xmmword [rbp - 0x39]
mov edi, 1
lea r13, [0x1400782d0]
mov r13, qword [r13 + rbx*8]
mov edx, edi
movups xmmword [rbp + 7], xmm0
lea ecx, [rdi + 0x17]
movups xmmword [rbp + 0x17], xmm1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov r15, rax
test rax, rax
je 0x14006aa82
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r15], rax
mov rbx, rax
test rax, rax
je 0x14006aa79
mov rcx, rax
test r13b, 0x3f
je 0x14006aab1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rsi
mov qword [rsi + 0x10], r12
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140066410
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov r9d, 0x20
mov qword [rsp + 0xc8], r14
mov rsi, r13
lea r8, [rbp + 7]
shr rsi, 6
lea edx, [r9 + 0x20]
call fcn.14006b470
cmp esi, edi
je 0x14006ab07
nop word [rax + rax]
mov edx, 0x40
mov ecx, edi
shl rcx, 6
lea r8d, [rdi - 1]
shl r8, 6
add rcx, rbx
add r8, rbx
mov r9d, edx
call fcn.14006b470
inc edi
cmp edi, esi
jne 0x14006aae0
mov r14d, 3
nop dword [rax]
xor edi, edi
test esi, esi
je 0x14006ac0b
nop word [rax + rax]
xor edx, edx
mov r10d, edi
shl r10, 6
mov r9d, 0x40
add r10, rbx
mov eax, dword [r10]
div esi
lea eax, [rsi - 1]
add eax, edi
mov r8d, edx
xor edx, edx
div esi
mov ecx, edx
mov edx, r8d
shl rdx, 4
lea r8, [rbp - 0x39]
shl rcx, 6
movups xmm0, xmmword [rcx + rbx]
movups xmm1, xmmword [rcx + rbx + 0x10]
movups xmm2, xmmword [rcx + rbx + 0x20]
movups xmm3, xmmword [rcx + rbx + 0x30]
mov rcx, r10
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm1
movaps xmmword [rbp - 0x19], xmm2
movaps xmmword [rbp - 9], xmm3
movd eax, xmm0
xor eax, dword [rbx + rdx*4]
mov dword [rbp - 0x39], eax
mov eax, dword [rbx + rdx*4 + 4]
xor dword [rbp - 0x35], eax
mov eax, dword [rbx + rdx*4 + 8]
xor dword [rbp - 0x31], eax
mov eax, dword [rbx + rdx*4 + 0xc]
xor dword [rbp - 0x2d], eax
movd eax, xmm1
xor eax, dword [rbx + rdx*4 + 0x10]
mov dword [rbp - 0x29], eax
mov eax, dword [rbx + rdx*4 + 0x14]
xor dword [rbp - 0x25], eax
mov eax, dword [rbx + rdx*4 + 0x18]
xor dword [rbp - 0x21], eax
mov eax, dword [rbx + rdx*4 + 0x1c]
xor dword [rbp - 0x1d], eax
movd eax, xmm2
xor eax, dword [rbx + rdx*4 + 0x20]
mov dword [rbp - 0x19], eax
mov eax, dword [rbx + rdx*4 + 0x24]
xor dword [rbp - 0x15], eax
mov eax, dword [rbx + rdx*4 + 0x28]
xor dword [rbp - 0x11], eax
mov eax, dword [rbx + rdx*4 + 0x2c]
xor dword [rbp - 0xd], eax
movd eax, xmm3
xor eax, dword [rbx + rdx*4 + 0x30]
mov dword [rbp - 9], eax
mov eax, dword [rbx + rdx*4 + 0x34]
xor dword [rbp - 5], eax
mov eax, dword [rbx + rdx*4 + 0x38]
xor dword [rbp - 1], eax
mov eax, dword [rbx + rdx*4 + 0x3c]
mov edx, r9d
xor dword [rbp + 3], eax
call fcn.14006b470
inc edi
cmp edi, esi
jne 0x14006ab20
sub r14, 1
jne 0x14006ab10
mov r14, qword [rsp + 0xc8]
mov rax, r15
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r12
jmp 0x14006aa89