Function at 0x14009bd30
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rsi, rcx
movzx ecx, byte [0x1401e132c]
call fcn.1400c4c80
cmp al, 2
jne 0x14009c095
lea rdi, [rbx + 0x30]
movups xmm0, xmmword [rbx + 0x30]
movups xmm1, xmmword [rbx + 0x40]
movups xmm2, xmmword [rbx + 0x50]
movups xmm3, xmmword [rbx + 0x60]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
movzx ecx, byte [0x1401e132c]
call fcn.1400c4c80
cmp al, 2
jne 0x14009c0a6
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmmword [rsp + 0x150], xmm3
movups xmmword [rsp + 0x140], xmm2
movups xmmword [rsp + 0x130], xmm1
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x118], rbx
mov qword [rsp + 0xc8], rbx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm1
movups xmmword [rsp + 0xf0], xmm2
movups xmmword [rsp + 0x100], xmm3
mov qword [rsp + 0x110], 0
mov rdi, qword [rbx + 0x20]
cmp rdi, r14
jae 0x14009be62
lea rcx, [rsp + 0x168]
mov rdx, rbx
mov r8, r15
mov r9, r14
call fcn.140099dc0
mov rax, qword [rsp + 0x168]
mov r14, qword [rax + 0x10]
cmp r14, 0x41
jae 0x14009c207
lea r15, [rsp + 0x170]
movaps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjcalled__Result::unwrap____on_an__Err__value]
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
movaps xmmword [rsp + 0x30], xmm0
cmp rdi, 0x81
jae 0x14009c1b8
cmp rdi, r14
cmovb r14, rdi
test r14, r14
je 0x14009bfc5
cmp r14, 8
jae 0x14009bec4
xor eax, eax
jmp 0x14009bfb0
cmp r14, 0x20
jae 0x14009bed1
xor eax, eax
jmp 0x14009bf7e
mov rax, r14
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
xorps xmm1, xmmword [rsp + 0x40]
and rax, 0xffffffffffffffe0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
cmp rax, 0x20
je 0x14009bf73
movups xmm0, xmmword [r15 + 0x20]
movups xmm1, xmmword [r15 + 0x30]
xorps xmm0, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
cmp rax, 0x40
je 0x14009bf73
movups xmm0, xmmword [r15 + 0x40]
movups xmm1, xmmword [r15 + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
cmp rax, 0x60
je 0x14009bf73
movups xmm0, xmmword [r15 + 0x60]
movups xmm1, xmmword [r15 + 0x70]
xorps xmm0, xmmword [rsp + 0x90]
xorps xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
cmp r14, rax
je 0x14009bfc5
test r14b, 0x18
je 0x14009bfb0
mov rcx, rax
mov rax, r14
and rax, 0xfffffffffffffff8
nop dword [rax + rax]
mov rdx, qword [r15 + rcx]
xor qword [rsp + rcx + 0x30], rdx
add rcx, 8
cmp rax, rcx
jne 0x14009bf90
cmp r14, rax
je 0x14009bfc5
nop word [rax + rax]
movzx ecx, byte [r15 + rax]
xor byte [rsp + rax + 0x30], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r14, rcx
jne 0x14009bfb0
test rdi, rdi
je 0x14009c184
lea rcx, [rsp + 0xd0]
lea r14, [rsp + 0x30]
mov r8d, 1
mov rdx, r14
call qword [rbx]
mov rax, qword [rsp + 0x110]
inc rax
je 0x14009c19e
mov qword [rsp + 0x110], rax
cmp rdi, 8
jb 0x14009c0bf
cmp rdi, 0x20
jae 0x14009c013
xor eax, eax
jmp 0x14009c062
mov rax, rdi
and rax, 0xffffffffffffffe0
xor ecx, ecx
movaps xmm0, xmmword [0x14014c710]
nop word cs:[rax + rax]
movaps xmm1, xmmword [rsp + rcx + 0x30]
xorps xmm1, xmm0
movaps xmm2, xmmword [rsp + rcx + 0x40]
xorps xmm2, xmm0
movaps xmmword [rsp + rcx + 0x30], xmm1
movaps xmmword [rsp + rcx + 0x40], xmm2
add rcx, 0x20
cmp rax, rcx
jne 0x14009c030
cmp rdi, rax
je 0x14009c0dc
test dil, 0x18
je 0x14009c0b7
mov rcx, rdi
and rcx, 0xfffffffffffffff8
lea r14, [rsp + rcx]
add r14, 0x30
movabs rdx, 0x6a6a6a6a6a6a6a6a
nop dword [rax + rax]
xor qword [rsp + rax + 0x30], rdx
add rax, 8
cmp rcx, rax
jne 0x14009c080
cmp rdi, rcx
jne 0x14009c0bf
jmp 0x14009c0dc
lea rcx, [0x1401e132c]
call fcn.14011b360
jmp 0x14009bd5e
lea rcx, [0x1401e132c]
call fcn.14011b360
jmp 0x14009bd9a
lea r14, [rsp + rax]
add r14, 0x30
lea rax, [rsp + rdi]
add rax, 0x30
nop word [rax + rax]
xor byte [r14], 0x6a
inc r14
cmp r14, rax
jne 0x14009c0d0
mov r9, qword [rsp + 0x118]
mov rcx, qword [r9 + 0x20]
test rcx, rcx
je 0x14009c184
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x14009c10a
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14009c112
mov eax, edi
xor edx, edx
div ecx
mov ebx, eax
mov rax, rbx
imul rax, rcx
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rdi
cmp rax, rdi
jne 0x14009c1ce
cmp rcx, rdi
ja 0x14009c15c
lea rcx, [rsp + 0x120]
lea rdx, [rsp + 0x30]
mov r8, rbx
call qword [r9]
add rbx, qword [rsp + 0x160]
jb 0x14009c19e
mov qword [rsp + 0x160], rbx
lea rdx, [rsp + 0xc8]
mov r8d, 0xa0
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.attempt_to_divide_by_zerocalled__Option::unwrap____on_a__None__value
lea r8, [0x14014c7f0]
mov edx, 0x19
call fcn.14011ce20
ud2
lea rcx, [0x14014c829]
lea r8, [0x14014c858]
mov edx, 0x2b
call fcn.14011ce20
ud2
lea r8, str.C:Users_noctu.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.5_srchmac.rs
mov edx, 0x80
mov rcx, rdi
call fcn.14011d290
ud2
mov qword [rsp + 0x1b0], 0
lea rax, [0x14014c870]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0xb8]
lea r8, [rsp + 0xc0]
lea r9, [rsp + 0x1b0]
xor ecx, ecx
call fcn.14011b320
ud2
lea r8, [0x14014c8a8]
mov edx, 0x40
mov rcx, r14
call fcn.14011d290
ud2