Function at 0x14009e1c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x318
mov rbx, rdx
mov rsi, rcx
lea r14, [rdx + 0x30]
movzx eax, byte [0x140214be4]
cmp al, 2
jne 0x14009e635
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmm3, xmmword [r14 + 0x30]
movups xmmword [rsp + 0x140], xmm3
movups xmmword [rsp + 0x130], xmm2
movups xmmword [rsp + 0x120], xmm1
movups xmmword [rsp + 0x110], xmm0
movzx eax, byte [0x140214be4]
cmp al, 2
jne 0x14009e652
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmm3, xmmword [r14 + 0x30]
movups xmmword [rsp + 0x190], xmm3
movups xmmword [rsp + 0x180], xmm2
movups xmmword [rsp + 0x170], xmm1
movups xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x150], 0
mov qword [rsp + 0x158], rbx
mov qword [rsp + 0x1a0], 0
mov rdi, qword [rbx + 0x20]
cmp rdi, r9
jae 0x14009e3ff
movzx eax, byte [0x140214be4]
cmp al, 2
jne 0x14009e733
mov qword [rsp + 0x1a8], rbx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmm2, xmmword [r14 + 0x20]
movups xmm3, xmmword [r14 + 0x30]
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm1
movups xmmword [rsp + 0x1d0], xmm2
movups xmmword [rsp + 0x1e0], xmm3
xorps xmm0, xmm0
movups xmmword [rsp + 0x1f0], xmm0
movups xmmword [rsp + 0x200], xmm0
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x220], xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x240], xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x260], xmm0
movups xmmword [rsp + 0x270], xmm0
lea r14, [rsp + 0x1a8]
mov rcx, r14
mov rdx, r8
mov r8, r9
call fcn.14009dd70
lea rcx, [rsp + 0x30]
mov r8d, 0xd8
mov rdx, r14
call fcn.140145bd0
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x1e8]
movaps xmmword [rsp + 0x2c0], xmm0
movups xmm0, xmmword [rsp + 0x1a8]
movups xmm1, xmmword [rsp + 0x1b8]
movups xmm2, xmmword [rsp + 0x1c8]
movups xmm3, xmmword [rsp + 0x1d8]
movaps xmmword [rsp + 0x2b0], xmm3
movaps xmmword [rsp + 0x2a0], xmm2
movaps xmmword [rsp + 0x290], xmm1
movaps xmmword [rsp + 0x280], xmm0
cmp r9, 0x81
jae 0x14009e7bc
lea r8, [rsp + 0x80]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x2d0]
lea rdx, [rsp + 0x280]
call fcn.14009dab0
mov rax, qword [rsp + 0x2d0]
mov r9, qword [rax + 0x10]
cmp r9, 0x41
jae 0x14009e7d0
lea r8, [rsp + 0x2d8]
movaps xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjjattempt_to_divide_by_zero.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srcdigest.rs]
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 0x14009e774
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x14009e565
cmp r9, 8
jae 0x14009e461
xor eax, eax
jmp 0x14009e550
cmp r9, 0x20
jae 0x14009e46e
xor eax, eax
jmp 0x14009e51a
mov eax, r9d
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
xorps xmm0, xmmword [rsp + 0x30]
xorps xmm1, xmmword [rsp + 0x40]
and eax, 0xe0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
cmp rax, 0x20
je 0x14009e50f
movups xmm0, xmmword [r8 + 0x20]
movups xmm1, xmmword [r8 + 0x30]
xorps xmm0, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
cmp eax, 0x40
je 0x14009e50f
movups xmm0, xmmword [r8 + 0x40]
movups xmm1, xmmword [r8 + 0x50]
xorps xmm0, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
cmp eax, 0x60
je 0x14009e50f
movups xmm0, xmmword [r8 + 0x60]
movups xmm1, xmmword [r8 + 0x70]
xorps xmm0, xmmword [rsp + 0x90]
xorps xmm1, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xa0], xmm1
cmp r9, rax
je 0x14009e565
test r9b, 0x18
je 0x14009e550
mov rcx, rax
mov eax, r9d
and eax, 0xf8
nop word cs:[rax + rax]
mov rdx, qword [r8 + rcx]
xor qword [rsp + rcx + 0x30], rdx
add rcx, 8
cmp rax, rcx
jne 0x14009e530
cmp r9, rax
je 0x14009e565
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r9, rcx
jne 0x14009e550
test rdi, rdi
je 0x14009e750
lea rcx, [rsp + 0x110]
lea r14, [rsp + 0x30]
mov r8d, 1
mov rdx, r14
call qword [rbx]
mov rax, qword [rsp + 0x150]
inc rax
je 0x14009e768
mov qword [rsp + 0x150], rax
cmp rdi, 8
jb 0x14009e677
cmp rdi, 0x20
jae 0x14009e5b3
xor eax, eax
jmp 0x14009e602
mov eax, edi
and eax, 0xe0
xor ecx, ecx
movaps xmm0, xmmword [0x140182170]
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 0x14009e5d0
cmp rdi, rax
je 0x14009e68c
test dil, 0x18
je 0x14009e66f
mov ecx, edi
and ecx, 0xf8
lea r14, [rsp + rcx]
add r14, 0x30
movabs rdx, 0x6a6a6a6a6a6a6a6a
nop dword [rax]
xor qword [rsp + rax + 0x30], rdx
add rax, 8
cmp rcx, rax
jne 0x14009e620
cmp rdi, rcx
jne 0x14009e677
jmp 0x14009e68c
lea rcx, [0x140214be4]
mov rdi, r9
mov r15, r8
call fcn.140148c10
mov r8, r15
mov r9, rdi
jmp 0x14009e1e9
lea rcx, [0x140214be4]
mov rdi, r9
mov r15, r8
call fcn.140148c10
mov r8, r15
mov r9, rdi
jmp 0x14009e22b
lea r14, [rsp + rax]
add r14, 0x30
lea rax, [rsp + rdi]
add rax, 0x30
nop
xor byte [r14], 0x6a
inc r14
cmp r14, rax
jne 0x14009e680
mov r9, qword [rsp + 0x158]
mov rcx, qword [r9 + 0x20]
test rcx, rcx
je 0x14009e750
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x14009e6ba
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14009e6c2
mov eax, edi
xor edx, edx
div ecx
mov ebx, eax
mov rax, rbx
imul rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x280], rdi
cmp rax, rdi
jne 0x14009e788
cmp rcx, rdi
ja 0x14009e709
lea rcx, [rsp + 0x160]
lea rdx, [rsp + 0x30]
mov r8, rbx
call qword [r9]
add rbx, qword [rsp + 0x1a0]
jb 0x14009e768
mov qword [rsp + 0x1a0], rbx
lea rdx, [rsp + 0x108]
mov r8d, 0xa0
mov rcx, rsi
call fcn.140145bd0
mov rax, rsi
add rsp, 0x318
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140214be4]
mov r15, r9
mov r12, r8
call fcn.140148c10
mov r8, r12
mov r9, r15
jmp 0x14009e2a2
lea rcx, [0x140182180]
lea r8, [0x1401821e8]
mov edx, 0x19
call fcn.14014af80
lea rcx, [0x140182218]
call fcn.14014ae70
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srchmac.rs
mov edx, 0x80
mov rcx, rdi
call fcn.14014b3e0
mov qword [rsp + 0x1a8], 0
lea rax, [0x140182200]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x280]
lea r9, [rsp + 0x1a8]
xor ecx, ecx
call fcn.140148ca0
lea r8, [0x140182380]
mov edx, 0x80
mov rcx, r9
call fcn.14014b3e0
lea r8, [0x140182398]
mov edx, 0x40
mov rcx, r9
call fcn.14014b3e0
int3