Function at 0x1400b1c80
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x138
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
movzx ecx, byte [0x140215c64]
call fcn.1400dc090
cmp al, 2
jne 0x1400b1f25
movzx ecx, byte [0x140215c64]
call fcn.1400dc090
cmp al, 2
jne 0x1400b1f45
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov qword [rsi + 0x40], 0
mov qword [rsi + 0x48], rbx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x60], xmm1
movups xmmword [rsi + 0x70], xmm2
movups xmmword [rsi + 0x80], xmm3
mov qword [rsi + 0x90], 0
mov qword [rsi + 0x98], rbx
mov rdi, qword [rbx + 0x50]
cmp rdi, r14
jae 0x1400b1d5d
lea r12, [rsp + 0xf0]
mov rcx, r12
mov rdx, rbx
mov r8, r15
mov r9, r14
call fcn.1400aeb60
mov rax, qword [rsp + 0x130]
mov r14, qword [rax + 0x40]
cmp r14, 0x41
jae 0x1400b207d
mov r15, r12
movaps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjchunk_size_must_be_non_zero]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
cmp rdi, 0x81
jae 0x1400b2034
cmp rdi, r14
cmovb r14, rdi
test r14, r14
je 0x1400b1e65
cmp r14, 8
jae 0x1400b1dc2
xor eax, eax
jmp 0x1400b1e50
cmp r14, 0x20
jae 0x1400b1dcc
xor eax, eax
jmp 0x1400b1e19
mov rax, r14
and rax, 0xffffffffffffffe0
xor ecx, ecx
nop word cs:[rax + rax]
movups xmm0, xmmword [r15 + rcx]
movups xmm1, xmmword [r15 + rcx + 0x10]
movups xmm2, xmmword [rsp + rcx + 0x40]
xorps xmm2, xmm0
movups xmm0, xmmword [rsp + rcx + 0x50]
xorps xmm0, xmm1
movups xmmword [rsp + rcx + 0x40], xmm2
movups xmmword [rsp + rcx + 0x50], xmm0
add rcx, 0x20
cmp rax, rcx
jne 0x1400b1de0
cmp r14, rax
je 0x1400b1e65
test r14b, 0x18
je 0x1400b1e50
mov rcx, rax
mov rax, r14
and rax, 0xfffffffffffffff8
nop word cs:[rax + rax]
mov rdx, qword [r15 + rcx]
xor qword [rsp + rcx + 0x40], rdx
add rcx, 8
cmp rax, rcx
jne 0x1400b1e30
cmp r14, rax
je 0x1400b1e65
nop word [rax + rax]
movzx ecx, byte [r15 + rax]
xor byte [rsp + rax + 0x40], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r14, rcx
jne 0x1400b1e50
test rdi, rdi
je 0x1400b2000
lea r14, [rsp + 0x40]
mov r8d, 1
mov rcx, rsi
mov rdx, r14
call qword [rbx + 0x60]
mov rax, qword [rsi + 0x40]
inc rax
je 0x1400b201a
mov qword [rsi + 0x40], rax
cmp rdi, 8
jb 0x1400b1f5e
cmp rdi, 0x20
jae 0x1400b1ea7
xor eax, eax
jmp 0x1400b1ef2
mov rax, rdi
and rax, 0xffffffffffffffe0
xor ecx, ecx
movaps xmm0, xmmword [0x1401716d0]
nop word [rax + rax]
movups xmm1, xmmword [rsp + rcx + 0x40]
movups xmm2, xmmword [rsp + rcx + 0x50]
xorps xmm1, xmm0
xorps xmm2, xmm0
movups xmmword [rsp + rcx + 0x40], xmm1
movups xmmword [rsp + rcx + 0x50], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x1400b1ec0
cmp rdi, rax
je 0x1400b1f7c
test dil, 0x18
je 0x1400b1f56
mov rcx, rdi
and rcx, 0xfffffffffffffff8
lea r14, [rsp + rcx]
add r14, 0x40
movabs rdx, 0x6a6a6a6a6a6a6a6a
nop dword [rax + rax]
xor qword [rsp + rax + 0x40], rdx
add rax, 8
cmp rcx, rax
jne 0x1400b1f10
cmp rdi, rcx
jne 0x1400b1f5e
jmp 0x1400b1f7c
lea rcx, [0x140215c64]
call fcn.1401442e0
movzx ecx, byte [0x140215c64]
call fcn.1400dc090
cmp al, 2
je 0x1400b1cc4
lea rcx, [0x140215c64]
call fcn.1401442e0
jmp 0x1400b1cc4
lea r14, [rsp + rax]
add r14, 0x40
lea rax, [rsp + rdi]
add rax, 0x40
nop word cs:[rax + rax]
xor byte [r14], 0x6a
inc r14
cmp r14, rax
jne 0x1400b1f70
mov r9, qword [rsi + 0x98]
mov rcx, qword [r9 + 0x50]
test rcx, rcx
je 0x1400b2000
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x1400b1fa5
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
jmp 0x1400b1fad
mov eax, edi
xor edx, edx
div ecx
mov ebx, eax
mov rax, rbx
imul rax, rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
cmp rax, rdi
jne 0x1400b204a
cmp rcx, rdi
ja 0x1400b1fec
lea rcx, [rsi + 0x50]
lea rdx, [rsp + 0x40]
mov r8, rbx
call qword [r9 + 0x60]
add rbx, qword [rsi + 0x90]
jb 0x1400b201a
mov qword [rsi + 0x90], rbx
mov rax, rsi
add rsp, 0x138
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140171810]
lea r8, [0x1401717f8]
mov edx, 0x19
call fcn.1401469e0
ud2
lea rcx, [0x140171848]
lea r8, [0x140171878]
mov edx, 0x2b
call fcn.1401469e0
ud2
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srchmac.rs
mov edx, 0x80
mov rcx, rdi
call fcn.140146e40
ud2
mov qword [rsp + 0xd0], 0
lea rax, [0x140171830]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0xc0]
xor ecx, ecx
call fcn.140144270
ud2
lea r8, [0x140171ad0]
mov edx, 0x40
mov rcx, r14
call fcn.140146e40
ud2