Function at 0x140001300
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x200
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x178], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp + 0x38]
call fcn.140001bb0
lea rdi, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
mov rax, rdi
jb 0x140001342
mov rax, qword [rbp + 0x40]
add rax, qword [rbp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea rcx, [rbp + 0x60]
mov edx, 3
call fcn.140009660
mov rax, qword [rbp + 0x38]
test rax, rax
je 0x14000137c
mov rcx, qword [rax + 8]
mov qword [rbp + 0x28], rcx
lea rcx, [rbp + 0x20]
mov qword [rax + 8], rcx
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x60]
call fcn.1400096c0
cmp qword [rbp + 0x58], 0x10
jb 0x140001390
mov rdi, qword [rbp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x140], rdi
lea rcx, [rbp + 0x60]
mov edx, 3
call fcn.140009660
mov rdi, qword [rbp + 0x38]
mov rax, qword [rbp + 0x130]
cmp rax, rdi
je 0x140001488
test rax, rax
je 0x14000146b
add rax, 8
lea rcx, [rbp + 0x130]
nop word [rax + rax]
mov rbx, rax
mov rdx, qword [rax]
cmp rdx, rcx
sete r8b
test rdx, rdx
je 0x1400013fb
lea rax, [rdx + 8]
test r8b, r8b
je 0x1400013e0
test rdx, rdx
jne 0x140001461
lea rax, str.ITERATOR_LIST_CORRUPTED_
mov qword [rsp + 0x28], rax
lea rax, [0x140370e03]
mov qword [rsp + 0x20], rax
lea rdx, [0x140370d0f]
mov ecx, 2
mov r8d, 0x535
xor r9d, r9d
call fcn.140014830
cmp eax, 1
jne 0x140001438
int3
mov qword [rsp + 0x20], 0
lea rcx, str._ITERATOR_LIST_CORRUPTED__
lea rdx, [0x140371484]
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.41.34120includexmemory
mov r9d, 0x535
call fcn.14002e990
mov rax, qword [rbp + 0x138]
mov qword [rbx], rax
mov rax, qword [rdi + 8]
mov qword [rbp + 0x138], rax
lea rax, [rbp + 0x130]
mov qword [rdi + 8], rax
mov qword [rbp + 0x130], rdi
lea rcx, [rbp + 0x60]
call fcn.1400096c0
lea rcx, [rbp + 0xe8]
lea rdx, [rbp + 0x130]
lea r8, [rbp + 0x20]
lea r9, [rbp + 0x60]
call fcn.140001d70
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x80], 0
lea rdx, str.HChMXkxEFE47A2kQkAoNfT9nCcrkStl0k1_KpP0wFtg
lea rcx, [rbp + 0x60]
mov r8d, 0x2c
call fcn.1400033d0
lea rcx, [rbp + 0x108]
lea rdx, [rbp + 0x60]
call fcn.140001bb0
lea rcx, [rbp + 0x60]
call fcn.140003530
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x60], 0
mov edx, 0x10
call fcn.140009530
xorps xmm0, xmm0
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x80], 0
lea rdx, str.rl6D8uhFz8
lea rcx, [rbp + 0x60]
mov r8d, 0xc
call fcn.1400033d0
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x60]
call fcn.140001bb0
lea rcx, [rbp + 0x60]
call fcn.140003530
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x60], 0
mov edx, 0x10
call fcn.140009530
xorps xmm0, xmm0
movaps xmmword [rbp + 0x160], xmm0
movaps xmmword [rbp + 0x150], xmm0
mov rbx, qword [rbp + 0xf0]
mov rdi, qword [rbp + 0xf8]
mov ecx, 0x10
call fcn.1400094b0
lea rcx, [rbp + 0x150]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov qword [rbp + 0x150], rax
cmp rdi, rbx
je 0x1400015e4
sub rdi, rbx
mov qword [rbp + 0x18], rax
js 0x1400019a9
cmp rdi, 0x1000
jb 0x1400015ed
lea rcx, [rdi + 0x2f]
call fcn.1400094b0
mov rbx, rax
add rbx, 0x2f
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
movabs rax, 0xfafafafafafafafa
mov qword [rbx - 0x10], rax
jmp 0x1400015f8
mov rdi, qword [rbp + 0x160]
jmp 0x140001636
mov rcx, rdi
call fcn.1400094b0
mov rbx, rax
mov qword [rbp + 0x158], rbx
mov qword [rbp + 0x160], rbx
add rdi, rbx
mov qword [rbp + 0x168], rdi
mov rdx, qword [rbp + 0xf0]
mov rdi, qword [rbp + 0xf8]
sub rdi, rdx
mov rcx, rbx
mov r8, rdi
call fcn.140065f50
add rdi, rbx
mov qword [rbp + 0x160], rdi
lea rax, [rbp - 8]
lea rcx, [rbp + 0x110]
lea r8, [rbp + 0x128]
mov r9, qword [rbp + 0x110]
lea rdx, [r9 + 4]
lea r10, [r9 + 8]
lea r11, [r9 + 0xc]
cmp qword [rbp + 0x128], 0x10
cmovae rcx, r9
lea rbx, [r9 + 0x10]
lea r14, [rbp + 0x114]
cmovae r14, rdx
lea r15, [r9 + 0x14]
lea r12, [rbp + 0x118]
cmovae r12, r10
lea rdx, [r9 + 0x18]
lea r10, [rbp + 0x11c]
cmovae r10, r11
lea r11, [rbp + 0x120]
cmovae r11, rbx
lea rbx, [rbp + 0x124]
cmovae rbx, r15
cmovb rdx, r8
lea r8, [r9 + 0x1c]
lea r9, [rbp + 0x12c]
cmovae r9, r8
mov r8, qword [rbp - 8]
lea r15, [r8 + 4]
cmp qword [rbp + 0x10], 0x10
cmovae rax, r8
movaps xmm0, xmmword [str.expand_32_byte_k]
movaps xmmword [rbp + 0x60], xmm0
mov ecx, dword [rcx]
mov dword [rbp + 0x70], ecx
mov ecx, dword [r14]
mov dword [rbp + 0x74], ecx
mov ecx, dword [r12]
mov dword [rbp + 0x78], ecx
mov ecx, dword [r10]
mov dword [rbp + 0x7c], ecx
mov ecx, dword [r11]
mov dword [rbp + 0x80], ecx
mov ecx, dword [rbx]
mov dword [rbp + 0x84], ecx
mov ecx, dword [rdx]
mov dword [rbp + 0x88], ecx
mov ecx, dword [r9]
mov dword [rbp + 0x8c], ecx
mov eax, dword [rax]
lea rcx, [rbp - 4]
cmovae rcx, r15
mov dword [rbp + 0x98], eax
mov eax, dword [rcx]
mov dword [rbp + 0x9c], eax
mov qword [rbp + 0xe0], 0x40
mov qword [rbp + 0x90], 0
mov r14, qword [rbp + 0x158]
mov r15, rdi
sub r15, r14
je 0x1400017e9
mov eax, 0x40
xor r12d, r12d
lea rdi, [rbp + 0x60]
lea rbx, [rbp - 0x50]
jmp 0x1400017a2
mov qword [rbp + 0xe0], 0
xor eax, eax
movzx eax, byte [rbp + rax + 0xa0]
xor byte [r14 + r12], al
mov rax, qword [rbp + 0xe0]
inc rax
mov qword [rbp + 0xe0], rax
inc r12
cmp r12, r15
je 0x1400017d9
cmp rax, 0x40
jb 0x14000177d
mov rcx, rdi
mov rdx, rbx
call fcn.140003630
mov eax, 4
nop dword [rax + rax]
mov rcx, qword [rbp + rax - 0x54]
mov qword [rbp + rax + 0x9c], rcx
add rax, 8
cmp rax, 0x44
jne 0x1400017c0
jmp 0x140001770
mov rdi, qword [rbp + 0x158]
mov r8, qword [rbp + 0x160]
jmp 0x1400017ec
mov r8, rdi
sub r8, rdi
mov rcx, rsi
mov rdx, rdi
call fcn.140001e50
lea rcx, [rbp + 0x60]
mov edx, 3
call fcn.140009660
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140001840
mov rax, qword [rcx + 8]
mov qword [rcx + 8], 0
test rax, rax
je 0x140001840
nop word cs:[rax + rax]
mov qword [rax], 0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140001830
lea rcx, [rbp + 0x60]
call fcn.1400096c0
mov rcx, qword [rbp + 0x158]
test rcx, rcx
je 0x140001879
lea rdi, [rbp + 0x158]
mov rdx, qword [rbp + 0x168]
sub rdx, rcx
call fcn.1400031c0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, qword [rbp + 0x150]
mov qword [rbp + 0x150], 0
mov edx, 0x10
call fcn.140009530
lea rcx, [rbp - 0x10]
call fcn.140003530
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x10], 0
mov edx, 0x10
call fcn.140009530
lea rcx, [rbp + 0x108]
call fcn.140003530
mov rcx, qword [rbp + 0x108]
mov qword [rbp + 0x108], 0
mov edx, 0x10
call fcn.140009530
lea rcx, [rbp + 0x60]
mov edx, 3
call fcn.140009660
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140001920
mov rax, qword [rcx + 8]
mov qword [rcx + 8], 0
test rax, rax
je 0x140001920
nop word [rax + rax]
mov qword [rax], 0
mov rax, qword [rax + 8]
test rax, rax
jne 0x140001910
lea rcx, [rbp + 0x60]
call fcn.1400096c0
mov rcx, qword [rbp + 0xf0]
test rcx, rcx
je 0x140001959
lea rdi, [rbp + 0xf0]
mov rdx, qword [rbp + 0x100]
sub rdx, rcx
call fcn.1400031c0
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, qword [rbp + 0xe8]
mov qword [rbp + 0xe8], 0
mov edx, 0x10
call fcn.140009530
lea rcx, [rbp + 0x38]
call fcn.140003530
mov rcx, qword [rbp + 0x38]
mov qword [rbp + 0x38], 0
mov edx, 0x10
call fcn.140009530
mov rax, rsi
add rsp, 0x200
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
call fcn.1400031a0
int3