Function at 0x1400979a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2a8
movaps xmmword [rsp + 0x290], xmm6
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140097d0d
mov rbp, qword [rsp + 0x310]
test rbp, rbp
je 0x140097c9a
mov rsi, r9
mov r14, rcx
xor r15d, r15d
xorps xmm6, xmm6
lea r8, [rsp + 0xe0]
lea rbx, [rsp + 0x1b8]
jmp 0x140097a1f
add rsi, r13
inc r15
test rbp, rbp
je 0x140097c9a
mov r12, r8
mov r13, qword [rsp + 0x30]
cmp rbp, r13
cmovb r13, rbp
movzx ecx, byte [0x14020cc24]
call fcn.1400c1d70
cmp al, 2
jne 0x140097c89
movaps xmmword [rsp + 0x150], xmm6
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm6
movaps xmmword [rsp + 0x110], xmm6
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmm3, xmmword [r14 + 0x30]
lea rax, [rsp + 0x160]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov qword [rsp + 0x1a0], 0
mov qword [rsp + 0x1a8], r14
mov qword [rsp + 0x1b0], 0
mov rdi, r12
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
call fcn.1400959a0
movabs rax, 0x100000000
cmp r15, rax
je 0x140097cb6
mov eax, r15d
bswap eax
mov dword [rsp + 0x1b8], eax
mov r8d, 4
mov rcx, rdi
mov rdx, rbx
call fcn.1400959a0
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call fcn.1401497e0
mov rax, qword [rsp + 0x280]
mov r9, qword [rax + 0x50]
lea rax, [rsp + 0x238]
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0xd0], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
cmp r9, 0x81
jae 0x140097ce4
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x90]
mov r8, rbx
call fcn.1400956d0
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x40]
cmp rcx, 0x40
ja 0x140097cfa
sub rbp, r13
cmp r13, rcx
cmovb rcx, r13
test rcx, rcx
mov r8, r12
je 0x140097a10
cmp rcx, 8
jae 0x140097be0
xor eax, eax
jmp 0x140097c70
cmp rcx, 0x20
jae 0x140097bea
xor eax, eax
jmp 0x140097c39
mov rax, rcx
and rax, 0xffffffffffffffe0
xor edx, edx
nop word cs:[rax + rax]
movups xmm0, xmmword [rsp + rdx + 0x48]
movups xmm1, xmmword [rsp + rdx + 0x58]
movups xmm2, xmmword [rsi + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [rsi + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [rsi + rdx], xmm2
movups xmmword [rsi + rdx + 0x10], xmm0
add rdx, 0x20
cmp rax, rdx
jne 0x140097c00
cmp rcx, rax
je 0x140097a10
test cl, 0x18
je 0x140097c70
mov rdx, rax
mov rax, rcx
and rax, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov r8, qword [rsp + rdx + 0x48]
xor qword [rsi + rdx], r8
add rdx, 8
cmp rax, rdx
jne 0x140097c50
cmp rcx, rax
mov r8, r12
je 0x140097a10
nop
movzx edx, byte [rsp + rax + 0x48]
xor byte [rsi + rax], dl
lea rdx, [rax + 1]
mov rax, rdx
cmp rcx, rdx
jne 0x140097c70
jmp 0x140097a10
lea rcx, [0x14020cc24]
call fcn.14014c4e0
jmp 0x140097a42
movaps xmm6, xmmword [rsp + 0x290]
add rsp, 0x2a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_src_rsapadding.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14017aafb]
lea r9, fcn.140001d50
lea r8, [rsp + 0x1b8]
mov edx, 0x2b
call fcn.14014ec90
ud2
lea r8, [0x14017a6f0]
mov edx, 0x80
mov rcx, r9
call fcn.14014ed40
ud2
lea r8, [0x14017b068]
mov edx, 0x40
call fcn.14014ed40
ud2
lea rax, str.chunk_size_must_be_non_zero
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], 1
mov qword [rsp + 0x1b8], 0
lea rax, str.chunk_size_must_be_non_zero
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], 0
lea rdx, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_src_rsapadding.rs
lea rcx, [rsp + 0x1b8]
call fcn.14014e7d0
ud2