Function at 0x140096b90
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 0x140096efd
mov rbp, qword [rsp + 0x310]
test rbp, rbp
je 0x140096e8a
mov rsi, r9
mov r14, rcx
xor r15d, r15d
xorps xmm6, xmm6
lea r8, [rsp + 0xe0]
lea rbx, [rsp + 0x1b8]
jmp 0x140096c0f
add rsi, r13
inc r15
test rbp, rbp
je 0x140096e8a
mov r12, r8
mov r13, qword [rsp + 0x30]
cmp rbp, r13
cmovb r13, rbp
movzx ecx, byte [0x1401fd288]
call fcn.1400bd640
cmp al, 2
jne 0x140096e79
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.14009ae00
movabs rax, 0x100000000
cmp r15, rax
je 0x140096ea6
mov eax, r15d
bswap eax
mov dword [rsp + 0x1b8], eax
mov r8d, 4
mov rcx, rdi
mov rdx, rbx
call fcn.14009ae00
mov r8d, 0xd8
mov rcx, rbx
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
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 0x140096ed4
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x90]
mov r8, rbx
call fcn.14009ab00
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x40]
cmp rcx, 0x40
ja 0x140096eea
sub rbp, r13
cmp r13, rcx
cmovb rcx, r13
test rcx, rcx
mov r8, r12
je 0x140096c00
cmp rcx, 8
jae 0x140096dd0
xor eax, eax
jmp 0x140096e60
cmp rcx, 0x20
jae 0x140096dda
xor eax, eax
jmp 0x140096e29
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 0x140096df0
cmp rcx, rax
je 0x140096c00
test cl, 0x18
je 0x140096e60
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 0x140096e40
cmp rcx, rax
mov r8, r12
je 0x140096c00
nop
movzx edx, byte [rsp + rax + 0x48]
xor byte [rsi + rax], dl
lea rdx, [rax + 1]
mov rax, rdx
cmp rcx, rdx
jne 0x140096e60
jmp 0x140096c00
lea rcx, [0x1401fd288]
call fcn.1401350f0
jmp 0x140096c32
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.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.5_src_rsapadding.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x14015efd8]
lea r9, fcn.1400015b0
lea r8, [rsp + 0x1b8]
mov edx, 0x2b
call fcn.14013ac20
ud2
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.5_srcdigest.rs
mov edx, 0x80
mov rcx, r9
call fcn.14013acd0
ud2
lea r8, [0x14015f1f8]
mov edx, 0x40
call fcn.14013acd0
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.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.5_src_rsapadding.rs
lea rcx, [rsp + 0x1b8]
call fcn.14013a7d0
ud2