Function at 0x140291d70
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
push r15
sub rsp, 0xd0
mov rax, qword [0x1403531c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rdx + 8]
mov rsi, rcx
mov rcx, qword [rdx]
mov r15, r8
sub rax, rcx
mov rbp, rdx
cmp rax, r8
jb 0x140291fac
sub rax, r8
mov qword [r11 - 0x30], r12
lea r12, [rcx + r8]
cmp rax, 0x10
jb 0x140291fc7
mov qword [r11 - 0x20], rbx
mov qword [r11 - 0x28], rdi
mov qword [r11 - 0x38], r14
lea r14, [rax - 0x10]
test r14, r14
je 0x140291e1a
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r14
movaps xmm0, xmmword [rsp + 0x30]
mov rax, qword [rcx]
movdqa xmmword [rsp + 0x30], xmm0
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
mov r9, r14
mov r8, r12
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rdx, qword [rsi + 0x38]
add rdx, r14
mov qword [rsi + 0x38], rdx
jmp 0x140291e1e
mov rdx, qword [rsi + 0x38]
mov rax, qword [rsi + 0x30]
cmp rax, 0xc
je 0x140291e2e
cmp rax, 0x18
jne 0x140291e82
and edx, 0xf
je 0x140291e72
mov rcx, qword [rsi + 0x10]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov eax, 0x10
sub rax, rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov rax, qword [rcx]
movdqa xmmword [rsp + 0x30], xmm0
call qword [rax + 0x10]
mov rdx, qword [rsi + 0x20]
mov rcx, rsi
sub rdx, qword [rsi + 0x18]
call fcn.140292630
mov rdx, qword [rsi + 0x38]
mov rcx, rsi
call fcn.140292630
mov rbx, qword [rsi + 0x10]
lea rax, [rsp + 0x90]
mov rcx, rbx
mov qword [rsp + 0x30], rax
mov rdi, qword [rbx]
call qword [rdi]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x30]
mov rcx, rbx
movdqa xmmword [rsp + 0x80], xmm0
call qword [rdi + 0x18]
mov rdi, qword [rsp + 0xc0]
lea r8, [r14 + r12]
mov rbx, qword [rsp + 0xc8]
lea rax, [rsp + 0x90]
xor edx, edx
mov qword [rsi + 0x38], rdx
sub r8, rax
mov qword [rsi + 0x30], rdx
mov byte [rsp + 0x20], dl
nop word [rax + rax]
lea rax, [rsp + 0x90]
add rax, rdx
inc rdx
movzx ecx, byte [rax + r8]
xor cl, byte [rax]
movzx eax, byte [rsp + 0x20]
or cl, al
mov byte [rsp + 0x20], cl
cmp rdx, 0x10
jne 0x140291f00
movzx ecx, byte [rsp + 0x20]
lea eax, [rcx - 1]
not cl
test cl, al
jge 0x140291f6c
lea rdx, [r15 + r14]
mov rcx, rbp
call fcn.140249200
mov r14, qword [rsp + 0xb0]
mov r12, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1402d55d0
add rsp, 0xd0
pop r15
pop rsi
pop rbp
ret
lea rdx, str.ChaCha20Poly1305_tag_check_failed
lea rcx, [rsp + 0x30]
call fcn.140246530
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
call fcn.14024f610
lea rdx, [0x1403515c8]
lea rcx, [rsp + 0x40]
call fcn.1402d6228
int3
lea r8, str.C:_Users_Rosalyn_vcpkg_buildtrees_botan_src_3.5.0_2446fa6972.clean_src_lib_modes_aead_chacha20poly1305_chacha20poly1305.cpp
lea rdx, str.finish_msg
lea rcx, str.Offset_is_out_of_range
call fcn.1402516f0
int3
lea r8, str.C:_Users_Rosalyn_vcpkg_buildtrees_botan_src_3.5.0_2446fa6972.clean_src_lib_modes_aead_chacha20poly1305_chacha20poly1305.cpp
lea rdx, str.finish_msg
lea rcx, str.input_did_not_include_the_tag
call fcn.1402516f0
int3