Function at 0x1400a9c1c
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
mov r10, qword [rcx]
movsxd rax, dword [r10 + 4]
mov r8d, dword [rcx + rax + 0x10]
cmp dword [rcx + rax + 0x1c], 1
lea r11d, [r8 + r8*2]
mov r8d, 1
movsxd rbx, r11d
jb 0x1400a9fd6
dec edx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], r14
shl rbx, 3
movups xmmword [rsp + 0x20], xmm6
movaps xmm6, xmm2
mov dword [rsp + 0x70], r11d
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r12
mov r12d, r8d
mov qword [rsp + 0x48], r13
mov r13, rcx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbp
mov ebp, edx
mov rdi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb0]
mov r9d, dword [rax + r13 + 0x1c]
imul r9d, ebp
movsxd rsi, dword [r10 + 4]
add r9d, r12d
mov r8, qword [rsp + 0x68]
mov edx, dword [r13 + rsi + 0xe0]
lea rcx, [rsi + r13 + 0x1c0]
call fcn.14009ee90
mov rax, qword [r13]
movsxd r8, r12d
imul r8, rbx
movsxd r10, dword [rax + 4]
mov rdx, r8
sub rdx, rbx
mov esi, dword [r13 + r10 + 0x1c]
imul esi, ebp
mov r11, qword [r13 + r10 + 0x1d8]
lea r9d, [r12 + rsi - 1]
movsd qword [r11 + r9*8], xmm6
mov r15, qword [r13]
mov r9, qword [r14]
add rdx, r9
movsxd r15, dword [r15 + 4]
mov eax, dword [r13 + r15 + 0x1c]
imul eax, ebp
imul eax, dword [rsp + 0x70]
mov rsi, qword [r13 + r15 + 0x130]
lea rcx, [rsi + rax*8]
sub rcx, rbx
add rcx, r8
sub r8, rdx
add r8, r9
call sub.VCRUNTIME140.dll_memmove
mov rsi, qword [r13]
mov r9, qword [rdi]
movsxd r11, dword [rsi + 4]
lea esi, [r12 - 1]
mov r10d, dword [r13 + r11 + 0x1c]
imul r10d, ebp
mov r8d, dword [r13 + r11 + 0x14]
mov eax, r8d
imul eax, esi
imul r10d, r8d
imul r8d, r12d
mov r15, qword [r13 + r11 + 0x190]
lea rdx, [r9 + rax*8]
shl r8, 3
sub r8, rdx
add r8, r9
lea r11, [r15 + r10*8]
lea rcx, [r11 + rax*8]
call sub.VCRUNTIME140.dll_memmove
mov r10, qword [r13]
mov ecx, esi
movsxd r9, dword [r10 + 4]
mov r11d, dword [r13 + r9 + 0x1c]
imul r11d, ebp
mov eax, dword [r13 + r9 + 0x14]
imul r11d, eax
imul ecx, eax
shl rax, 3
mov r15, qword [r13 + r9 + 0x190]
lea r8, [r15 + r11*8]
lea rax, [rax + rcx*8]
add rax, r8
lea r9, [r8 + rcx*8]
cmp r9, rax
je 0x1400a9f92
sub rax, r9
add rax, 7
mov rdx, rax
shr rdx, 3
cmp rdx, 6
jbe 0x1400a9f1d
lea r10, [rdx*8]
test r10, r10
jg 0x1400a9f1d
cmp rdx, 8
jb 0x1400a9fdf
mov r10, r9
and r10, 0xf
je 0x1400a9de2
test r10, 7
jne 0x1400a9fdf
mov r10d, 1
lea rax, [r10 + 8]
cmp rdx, rax
jb 0x1400a9fdf
mov r11, rdx
xor r15d, r15d
sub r11, r10
lea rax, [r8 + rcx*8]
and r11, 7
neg r11
add r11, rdx
test r10, r10
jbe 0x1400a9e26
movsd xmm0, qword [r9 + r15*8]
xorps xmm0, xmmword [0x140145e70]
movsd qword [rax + r15*8], xmm0
inc r15
cmp r15, r10
jb 0x1400a9e0b
lea r15, [r9 + r10*8]
test r15, 0xf
je 0x1400a9ea0
nop dword [rax + rax]
nop dword [rax + rax]
movups xmm0, xmmword [r9 + r10*8]
movups xmm1, xmmword [r9 + r10*8 + 0x10]
movups xmm3, xmmword [r9 + r10*8 + 0x20]
movups xmm4, xmmword [r9 + r10*8 + 0x30]
xorps xmm0, xmmword [0x140146410]
xorps xmm1, xmmword [0x140146410]
xorps xmm3, xmmword [0x140146410]
xorps xmm4, xmmword [0x140146410]
movups xmmword [rax + r10*8], xmm0
movups xmmword [rax + r10*8 + 0x10], xmm1
movups xmmword [rax + r10*8 + 0x20], xmm3
movups xmmword [rax + r10*8 + 0x30], xmm4
add r10, 8
cmp r10, r11
jb 0x1400a9e40
jmp 0x1400a9ef3
movups xmm0, xmmword [r9 + r10*8]
movups xmm1, xmmword [r9 + r10*8 + 0x10]
movups xmm3, xmmword [r9 + r10*8 + 0x20]
movups xmm4, xmmword [r9 + r10*8 + 0x30]
xorps xmm0, xmmword [0x140146410]
xorps xmm1, xmmword [0x140146410]
xorps xmm3, xmmword [0x140146410]
xorps xmm4, xmmword [0x140146410]
movups xmmword [rax + r10*8], xmm0
movups xmmword [rax + r10*8 + 0x10], xmm1
movups xmmword [rax + r10*8 + 0x20], xmm3
movups xmmword [rax + r10*8 + 0x30], xmm4
add r10, 8
cmp r10, r11
jb 0x1400a9ea0
cmp r11, rdx
jae 0x1400a9f8e
lea rax, [r8 + rcx*8]
movsd xmm0, qword [r9 + r11*8]
xorps xmm0, xmmword [0x140145e70]
movsd qword [rax + r11*8], xmm0
inc r11
cmp r11, rdx
jb 0x1400a9f00
jmp 0x1400a9f8e
xor r15d, r15d
mov r10d, 1
xor r11d, r11d
shr rax, 4
je 0x1400a9f6c
lea r10, [r8 + rcx*8]
movsd xmm0, qword [r11 + r9]
inc r15
xorps xmm0, xmmword [0x140145e70]
movsd qword [r11 + r10], xmm0
movsd xmm1, qword [r11 + r9 + 8]
xorps xmm1, xmmword [0x140145e70]
movsd qword [r11 + r10 + 8], xmm1
add r11, 0x10
cmp r15, rax
jb 0x1400a9f33
lea r10, [r15 + r15 + 1]
lea rax, [r10 - 1]
cmp rax, rdx
jae 0x1400a9f8e
movsd xmm0, qword [r9 + r10*8 - 8]
lea rax, [r8 + rcx*8]
xorps xmm0, xmmword [0x140145e70]
movsd qword [rax + r10*8 - 8], xmm0
mov r10, qword [r13]
movsxd rax, dword [r10 + 4]
mov r8d, dword [rax + r13 + 0x18]
test r8d, r8d
ja 0x1400a9fe7
inc r12d
cmp r12d, dword [rax + r13 + 0x1c]
jbe 0x1400a9c6f
movups xmm6, xmmword [rsp + 0x20]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
add rsp, 0x80
pop rbx
ret
xor r11d, r11d
jmp 0x1400a9ef3
mov eax, dword [rax + r13 + 0x1c]
imul eax, ebp
imul esi, r8d
imul eax, r8d
imul r8d, r12d
mov r11, qword [rsp + 0xb8]
movsxd r10, dword [r10 + 4]
shl r8, 3
mov r9, qword [r11]
mov r15, qword [r10 + r13 + 0x1a8]
lea rdx, [r9 + rsi*8]
sub r8, rdx
lea r10, [r15 + rax*8]
add r8, r9
lea rcx, [r10 + rsi*8]
call sub.VCRUNTIME140.dll_memmove
mov r10, qword [r13]
movsxd rax, dword [r10 + 4]
jmp 0x1400a9fa0