Function at 0x14009c5a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x328
mov rsi, rcx
movzx eax, byte [0x140b65278]
cmp al, 2
jne 0x14009ca75
lea rbx, [rdx + 0x30]
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
movzx eax, byte [0x140b65278]
cmp al, 2
jne 0x14009ca98
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsp + 0x198], xmm3
movups xmmword [rsp + 0x188], xmm2
movups xmmword [rsp + 0x178], xmm1
movups xmmword [rsp + 0x168], xmm0
mov qword [rsp + 0x1a8], 0
mov qword [rsp + 0x160], rdx
mov qword [rsp + 0x110], rdx
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x128], xmm1
movups xmmword [rsp + 0x138], xmm2
movups xmmword [rsp + 0x148], xmm3
mov qword [rsp + 0x158], 0
mov rdi, qword [rdx + 0x20]
cmp rdi, r9
jae 0x14009c7f9
movzx eax, byte [0x140b65278]
cmp al, 2
jne 0x14009cb86
mov qword [rsp + 0x208], rdx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsp + 0x210], xmm0
movups xmmword [rsp + 0x220], xmm1
movups xmmword [rsp + 0x230], xmm2
movups xmmword [rsp + 0x240], xmm3
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x260], xmm0
movups xmmword [rsp + 0x270], xmm0
movups xmmword [rsp + 0x280], xmm0
movups xmmword [rsp + 0x290], xmm0
movups xmmword [rsp + 0x2a0], xmm0
movups xmmword [rsp + 0x2b0], xmm0
movups xmmword [rsp + 0x2c0], xmm0
movups xmmword [rsp + 0x2d0], xmm0
lea rbx, [rsp + 0x208]
mov rcx, rbx
mov rdx, r8
mov r8, r9
call fcn.14009dc80
lea rcx, [rsp + 0x30]
mov r8d, 0xd8
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
mov r9, qword [rax + 0x20]
movups xmm0, xmmword [rsp + 0x248]
movaps xmmword [rsp + 0x1f0], xmm0
movups xmm0, xmmword [rsp + 0x208]
movups xmm1, xmmword [rsp + 0x218]
movups xmm2, xmmword [rsp + 0x228]
movups xmm3, xmmword [rsp + 0x238]
movaps xmmword [rsp + 0x1e0], xmm3
movaps xmmword [rsp + 0x1d0], xmm2
movaps xmmword [rsp + 0x1c0], xmm1
movaps xmmword [rsp + 0x1b0], xmm0
cmp r9, 0x81
jae 0x14009cc15
lea r8, [rsp + 0x80]
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x2e0]
lea rdx, [rsp + 0x1b0]
call fcn.14009d9c0
mov rax, qword [rsp + 0x2e0]
mov r9, qword [rax + 0x10]
cmp r9, 0x41
jae 0x14009cc29
lea r8, [rsp + 0x2e8]
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 0x14009cbf5
cmp rdi, r9
cmovb r9, rdi
test r9, r9
je 0x14009c955
cmp r9, 8
jae 0x14009c85b
xor eax, eax
jmp 0x14009c940
cmp r9, 0x20
jae 0x14009c868
xor eax, eax
jmp 0x14009c914
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 0x14009c909
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 0x14009c909
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 0x14009c909
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 0x14009c955
test r9b, 0x18
je 0x14009c940
mov rcx, rax
mov eax, r9d
and eax, 0xf8
nop
mov rdx, qword [r8 + rcx]
xor qword [rsp + rcx + 0x30], rdx
add rcx, 8
cmp rax, rcx
jne 0x14009c920
cmp r9, rax
je 0x14009c955
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 0x14009c940
mov r9, qword [rsp + 0x110]
mov rcx, qword [r9 + 0x20]
test rcx, rcx
je 0x14009cba9
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x14009c983
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14009c98b
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 + 0x1b0], rdi
cmp rax, rdi
jne 0x14009cbc1
cmp rcx, rdi
jbe 0x14009c9c6
test rdi, rdi
je 0x14009cadb
cmp rdi, 8
jae 0x14009c9f5
lea rcx, [rsp + 0x30]
jmp 0x14009cac3
lea rcx, [rsp + 0x118]
lea rdx, [rsp + 0x30]
mov r8, rbx
call qword [r9]
add rbx, qword [rsp + 0x158]
jb 0x14009cc09
mov qword [rsp + 0x158], rbx
cmp rdi, 8
jb 0x14009c9bc
cmp rdi, 0x20
jae 0x14009c9ff
xor eax, eax
jmp 0x14009ca42
mov eax, edi
and eax, 0xe0
xor ecx, ecx
movaps xmm0, xmmword [0x140a2be70]
nop
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 0x14009ca10
cmp rdi, rax
je 0x14009cadb
test dil, 0x18
je 0x14009cabb
mov edx, edi
and edx, 0xf8
lea rcx, [rsp + rdx]
add rcx, 0x30
movabs r8, 0x6a6a6a6a6a6a6a6a
nop dword [rax]
xor qword [rsp + rax + 0x30], r8
add rax, 8
cmp rdx, rax
jne 0x14009ca60
cmp rdi, rdx
jne 0x14009cac3
jmp 0x14009cadb
lea rcx, [0x140b65278]
mov rdi, r9
mov r14, r8
mov rbx, rdx
call fcn.1402137c0
mov rdx, rbx
mov r8, r14
mov r9, rdi
jmp 0x14009c5c2
lea rcx, [0x140b65278]
mov rdi, r9
mov r15, r8
mov r14, rdx
call fcn.1402137c0
mov rdx, r14
mov r8, r15
mov r9, rdi
jmp 0x14009c5f9
lea rcx, [rsp + rax]
add rcx, 0x30
lea rax, [rsp + rdi]
add rax, 0x30
nop dword [rax + rax]
xor byte [rcx], 0x6a
inc rcx
cmp rcx, rax
jne 0x14009cad0
mov r9, qword [rsp + 0x160]
mov rcx, qword [r9 + 0x20]
test rcx, rcx
je 0x14009cba9
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x14009cb09
mov rax, rdi
xor edx, edx
div rcx
mov rbx, rax
jmp 0x14009cb11
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 + 0x1b0], rdi
cmp rax, rdi
jne 0x14009cbc1
cmp rcx, rdi
ja 0x14009cb5c
lea rcx, [rsp + 0x168]
lea rdx, [rsp + 0x30]
mov r8, rbx
call qword [r9]
add rbx, qword [rsp + 0x1a8]
jb 0x14009cc09
mov qword [rsp + 0x1a8], rbx
lea rdx, [rsp + 0x110]
mov r8d, 0xa0
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, rsi
add rsp, 0x328
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140b65278]
mov r14, r9
mov r12, r8
mov r15, rdx
call fcn.1402137c0
mov rdx, r15
mov r8, r12
mov r9, r14
jmp 0x14009c6a0
lea rcx, [0x140a2bf50]
lea r8, [0x140a2bf30]
mov edx, 0x19
call fcn.14021d260
mov qword [rsp + 0x208], 0
lea rax, [0x140a2bf70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
lea r8, [rsp + 0x1b0]
lea r9, [rsp + 0x208]
xor ecx, ecx
call fcn.140213890
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.5_srchmac.rs
mov edx, 0x80
mov rcx, rdi
call fcn.14021d680
lea rcx, [0x140a2bf88]
call fcn.14021d150
lea r8, [0x140a2c490]
mov edx, 0x80
mov rcx, r9
call fcn.14021d680
lea r8, [0x140a2c018]
mov edx, 0x40
mov rcx, r9
call fcn.14021d680
int3