Function at 0x14002ac20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x38
cmp byte [rcx + 0x1d], 0
je 0x14002af90
mov qword [rax + 0x20], rbx
lea r9, [rcx + 2]
mov qword [rax - 8], rbp
mov ebx, 1
mov qword [rax - 0x10], rsi
mov ebp, 4
mov qword [rax - 0x18], rdi
mov esi, 3
mov qword [rax - 0x20], r12
mov edi, 2
mov qword [rax - 0x28], r13
mov r12d, 7
mov qword [rax - 0x30], r14
mov r13d, 8
mov qword [rsp], r15
mov eax, 9
sub rax, rcx
mov r14d, 5
mov qword [rsp + 0x40], rax
mov r15d, 6
mov eax, 0xa
mov r11, rcx
sub rax, rcx
sub rbx, rcx
mov qword [rsp + 0x48], rax
sub rdi, rcx
mov eax, 0xb
sub rsi, rcx
sub rax, rcx
sub rbp, rcx
sub r14, rcx
mov qword [rsp + 0x50], rax
sub r15, rcx
sub r12, rcx
sub r13, rcx
mov r10, 0xfffffffffffffffe
sub r10, rcx
not r11
cmp qword [0x140040cc8], 0x10
lea r8, [0x140040cb0]
lea rax, [r9 + r10]
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 - 2], al
lea rax, [r9 + r11]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 - 1], al
mov rax, r9
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
sub rax, rcx
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9], al
lea rax, [r9 + rbx]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 1], al
lea rax, [r9 + rdi]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 2], al
lea rax, [r9 + rsi]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 3], al
lea rax, [r9 + rbp]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 4], al
lea rax, [r9 + r14]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 5], al
lea rax, [r9 + r15]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 6], al
lea rax, [r9 + r12]
cmp qword [0x140040cc8], 0x10
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
xor byte [r9 + 7], al
cmp qword [0x140040cc8], 0x10
lea rax, [r9 + r13]
lea r8, [0x140040cb0]
cmovae r8, qword [0x140040cb0]
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 8], al
cmp qword [0x140040cc8], 0x10
mov rax, qword [rsp + 0x40]
cmovae r8, qword [0x140040cb0]
add rax, r9
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 9], al
cmp qword [0x140040cc8], 0x10
mov rax, qword [rsp + 0x48]
cmovae r8, qword [0x140040cb0]
add rax, r9
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
lea r8, [0x140040cb0]
xor byte [r9 + 0xa], al
cmp qword [0x140040cc8], 0x10
mov rax, qword [rsp + 0x50]
cmovae r8, qword [0x140040cb0]
add rax, r9
xor edx, edx
div qword [0x140040cc0]
movzx eax, byte [rdx + r8]
xor byte [r9 + 0xb], al
add r9, 0xe
lea rax, [r9 + r10]
cmp rax, 0x1c
jb 0x14002acd0
mov r15, qword [rsp]
mov r14, qword [rsp + 8]
mov r13, qword [rsp + 0x10]
mov r12, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
mov byte [rcx + 0x1d], 0
add rsp, 0x38
ret