Function at 0x1400a4130
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 0x1400a447c
mov rbp, qword [rsp + 0x310]
test rbp, rbp
je 0x1400a4409
mov rsi, r9
mov r14, rcx
xor r15d, r15d
xorps xmm6, xmm6
lea rcx, [rsp + 0xe0]
lea r12, [rsp + 0x1b8]
jmp 0x1400a41b5
add rsi, r13
inc r15
test rbp, rbp
mov rcx, rbx
mov r12, rdi
je 0x1400a4409
mov r13, qword [rsp + 0x30]
cmp rbp, r13
cmovb r13, rbp
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 rdx, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
mov rdi, rcx
call fcn.14009d860
movabs rax, 0x100000000
cmp r15, rax
je 0x1400a4425
mov eax, r15d
bswap eax
mov dword [rsp + 0x1b8], eax
mov r8d, 4
mov rcx, rdi
mov rdx, r12
call fcn.14009d860
mov r8d, 0xd8
mov rcx, r12
mov rbx, rdi
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 0x1400a4453
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x90]
mov rdi, r12
mov r8, r12
call fcn.14009d550
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x40]
cmp rcx, 0x40
ja 0x1400a4469
sub rbp, r13
cmp r13, rcx
cmovb rcx, r13
test rcx, rcx
je 0x1400a41a0
cmp rcx, 8
jae 0x1400a4360
xor eax, eax
jmp 0x1400a43f0
cmp rcx, 0x20
jae 0x1400a436a
xor eax, eax
jmp 0x1400a43b9
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 0x1400a4380
cmp rcx, rax
je 0x1400a41a0
test cl, 0x18
je 0x1400a43f0
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 0x1400a43d0
cmp rcx, rax
je 0x1400a41a0
nop dword [rax + rax]
movzx edx, byte [rsp + rax + 0x48]
xor byte [rsi + rax], dl
lea rdx, [rax + 1]
mov rax, rdx
cmp rcx, rdx
jne 0x1400a43f0
jmp 0x1400a41a0
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.8_src_rsapadding.rs
mov qword [rsp + 0x20], rax
lea rcx, [0x1401596c0]
lea r9, [0x1401596f0]
lea r8, [rsp + 0x1b8]
mov edx, 0x2b
call fcn.14012f060
ud2
lea r8, [0x140158320]
mov edx, 0x80
mov rcx, r9
call fcn.14012f110
ud2
lea r8, [0x140159c78]
mov edx, 0x40
call fcn.14012f110
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.8_src_rsapadding.rs
lea rcx, [rsp + 0x1b8]
call fcn.14012ec10
ud2