Function at 0x14006a7b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov dword [rsp - 0x40], edx
push r12
push r13
push r14
push r15
xchg r12, r12
sub rsp, 0x20
mov r12, qword [rdx + 8]
mov r14, rdx
mov dword [rsp - 0x38], 0x12e3b554
mov rsi, rcx
add r12, 2
mov eax, 0x6acdbd19
sub eax, 0x40bd7135
mov rdx, rdx
add eax, 0x3d1b7be5
xor eax, 0x6b7a8de6
xor eax, 0x148e29f5
mov dword [rsp - 0x24], 0x1436f99e
sub eax, 0x1c62037
sub eax, 0x171943a1
nop
movabs rbx, 0xffffffff457b2ec8
mov dword [rsp - 0xc], 0x2e74068d
sub rbx, 0x1881d16
sub rbx, 0x40ec6484
xor rbx, 0x6d19ae26
xor rbx, 0x1c47936d
mov dword [rsp - 0x3c], 0x51f68194
add rbx, 0x7fffffff
add rbx, 0xda76f9b
mul r12
movzx r13d, r8w
mov rsi, rsi
cmovo rax, rbx
mov rcx, rax
call fcn.140073cf0
mov r15, qword [r14 + 8]
xchg rsi, rsi
mov rbp, rax
cmp r15, 4
jbe 0x14006a889
mov r14, qword [r14]
mov dword [rsp - 0x20], ecx
lea rcx, [r15 + 1]
mov eax, 0x3746efc8
add eax, 0x2c506dc
sub eax, 0x470da12
xchg r10, r10
sub eax, 0x13dab15e
xor eax, 0x1060a728
sub eax, 0x31a0cc1a
mov dword [rsp - 0x1c], edx
mul rcx
cmovo rax, rbx
mov rcx, rax
xchg rsi, rsi
call fcn.140073cf0
xor edi, edi
mov rbx, rax
xchg r8, r8
mov r9d, edi
test r15, r15
je 0x14006a95a
mov rdx, rdx
mov r8, rax
sub r14, rax
nop dword [rax]
mov dword [rsp - 0x40], 0xb28f880
nop dword [rax + rax]
movzx ecx, r9b
lea r8, [r8 + 2]
and cl, 3
xchg rdi, rdi
mov edx, 0x60e910c4
sub edx, 0x8cd663a
sub edx, 0x4079fc0
xor edx, 0x3ebf1fe6
mov dword [rsp - 0x38], ebp
sub edx, 0x36fbf18f
xor edx, 0x196ea384
sub edx, 0x126e2194
shl cl, 3
mov dword [rsp - 0x28], 0x76344b7a
inc r9
sar edx, cl
movsx eax, dl
mov dword [rsp - 0x18], ebp
xor ax, word [r14 + r8 - 2]
mov word [r8 - 2], ax
cmp r9, r15
mov r8, r8
jb 0x14006a8f5
mov r8, rbx
mov word [rbx + r15*2], di
mov rdx, r12
mov dword [rsp - 0x18], 0x69c4a5b9
mov rcx, rbp
call fcn.1400745b0
mov rcx, rbx
call fcn.140073d00
mov rdi, rdi
nop
movabs r9, 0xffffffff2f0a0dda
xor r9, 0x72074124
sub r9, 0x5b14fdda
xchg r15, r15
add r9, 0x21c27470
add r9, 0x564b975a
sub r9, 0x1e4003cb
mov dword [rsp - 0x14], ecx
add r9, 0x7fffffff
add r9, 0x2439a8dd
mov word [rbp + r12*2 - 4], r13w
mov dword [rsp - 0x34], 0x299e020c
mov word [rbp + r12*2 - 2], di
mov rcx, r9
mov qword [rsi], rdi
nop
mov dword [rsp - 0x24], ebp
inc rcx
cmp word [rbp + rcx*2], di
jne 0x14006a9e2
mov dword [rsp - 0x38], 0x561192e6
mov qword [rsi + 8], rcx
mov r8, rsi
cmp rcx, 4
mov dword [rsp - 0xc], 0x48008c64
jbe 0x14006aa52
mov eax, 0x4b6cd51c
add eax, 0x1d6e144
mov dword [rsp - 0x38], 0x3d4a876
sub eax, 0xc1f7d71
sub eax, 0x1d73f4ca
add eax, 0xe2eccb6
xchg r10, r10
xor eax, 0x4c46e30d
sub eax, 0x7d99f3d4
mul rcx
xchg rdx, rdx
cmovo rax, r9
mov rcx, rax
call fcn.140073cf0
mov r8, rax
xchg rbp, rbp
mov qword [rsi], rax
cmp qword [rsi + 8], rdi
jbe 0x14006aace
mov dword [rsp - 0x30], esp
mov r9, rbp
sub r9, r8
nop dword [rax]
mov dword [rsp - 0x1c], 0x4f163a4d
movzx ecx, dil
lea r8, [r8 + 2]
and cl, 3
mov edx, 0x56235b66
xchg r13, r13
sub edx, 0x43a07d09
xor edx, 0x38ab30b3
xor edx, 0x74e71581
sub edx, 0x2525ee42
xchg r15, r15
sub edx, 0x725ab55
sub edx, 0x1a300353
shl cl, 3
inc rdi
mov dword [rsp - 0x1c], 0xf50568e
sar edx, cl
movsx eax, dl
xor ax, word [r9 + r8 - 2]
mov word [r8 - 2], ax
mov r14, r14
cmp rdi, qword [rsi + 8]
jb 0x14006aa6d
mov rcx, rbp
mov dword [rsp - 0x1c], edx
call fcn.140073d00
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov r9, r9
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
xchg rsp, rsp
pop r14
pop r13
pop r12
pop rdi
mov dword [rsp - 0x34], 0x6c1653c
ret