Function at 0x1400098d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov rdi, rcx
mov r12, qword [rsp + 0xa8]
mov r15, qword [rsp + 0xa0]
mov rax, qword [rdx]
lea rcx, [rax + r9]
mov qword [rdx], rcx
movdqu xmm0, xmmword [r15 + 1]
test byte [r15], 1
mov byte [r15], 0
jne 0x14000991f
mov rax, rsi
and rax, 0xfffffffffffffff0
mov rbx, r8
jmp 0x140009a22
and eax, 0xf
movdqa xmmword [rsp + 0x20], xmm0
mov r14d, 0x10
sub r14, rax
cmp r14, rsi
jbe 0x140009946
lea rcx, [rsp + rax]
add rcx, 0x20
mov rdx, r8
jmp 0x140009b4e
lea rbx, [r8 + r14]
lea rcx, [rsp + rax]
add rcx, 0x20
mov rdx, r8
mov r8, r14
call sym.memcpy
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
bswap eax
bswap ecx
mov edx, dword [rsp + 0x28]
bswap edx
mov r9d, dword [rsp + 0x2c]
bswap r9d
xor r9d, dword [rdi]
xor edx, dword [rdi + 4]
xor ecx, dword [rdi + 8]
xor eax, dword [rdi + 0xc]
pxor xmm0, xmm0
mov r8d, 0x800
nop dword [rax]
mov r10d, eax
shld r10d, ecx, 0x1f
shld ecx, edx, 0x1f
shld edx, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [r12 + r8 - 0x20]
movdqu xmm2, xmmword [r12 + r8 - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov r11d, eax
shr r11d, 1
shld r11d, r10d, 0x1f
pxor xmm3, xmm0
shld r10d, ecx, 0x1f
mov r9d, ecx
shld r9d, edx, 0x1f
and edx, 1
neg edx
movd xmm0, edx
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr eax, 2
mov ecx, r11d
mov edx, r10d
add r8, 0xffffffffffffffe0
jne 0x140009990
mov rcx, rsi
sub rcx, r14
movdqu xmmword [rdi], xmm0
and rsi, 0xfffffffffffffff0
mov rax, rsi
cmp rcx, rsi
mov rsi, rcx
jb 0x140009b91
test rax, rax
je 0x140009b2b
movdqu xmm0, xmmword [rdi]
mov rcx, rax
mov rdx, rbx
nop word cs:[rax + rax]
add rcx, 0xfffffffffffffff0
mov r10d, dword [rdx]
mov r8d, dword [rdx + 4]
bswap r10d
bswap r8d
mov ebp, dword [rdx + 8]
bswap ebp
mov r11d, dword [rdx + 0xc]
bswap r11d
movd r9d, xmm0
xor r9d, r11d
pshufd xmm1, xmm0, 0x55
movd r11d, xmm1
xor r11d, ebp
pshufd xmm1, xmm0, 0xee
movd ebp, xmm1
xor ebp, r8d
pshufd xmm0, xmm0, 0xff
movd r8d, xmm0
xor r8d, r10d
pxor xmm0, xmm0
mov r10d, 0x800
nop word cs:[rax + rax]
mov r14d, r8d
shld r14d, ebp, 0x1f
shld ebp, r11d, 0x1f
shld r11d, r9d, 0x1f
and r9d, 1
neg r9d
movdqu xmm1, xmmword [r12 + r10 - 0x20]
movdqu xmm2, xmmword [r12 + r10 - 0x10]
movd xmm3, r9d
pshufd xmm3, xmm3, 0
pand xmm3, xmm2
mov r13d, r8d
shr r13d, 1
shld r13d, r14d, 0x1f
pxor xmm3, xmm0
shld r14d, ebp, 0x1f
mov r9d, ebp
shld r9d, r11d, 0x1f
and r11d, 1
neg r11d
movd xmm0, r11d
pshufd xmm0, xmm0, 0
pand xmm0, xmm1
pxor xmm0, xmm3
shr r8d, 2
mov ebp, r13d
mov r11d, r14d
add r10, 0xffffffffffffffe0
jne 0x140009aa0
add rdx, 0x10
test rcx, rcx
jne 0x140009a40
movdqu xmmword [rdi], xmm0
cmp rsi, rax
je 0x140009b66
sub rsi, rax
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x20], xmm0
cmp rsi, 0x10
ja 0x140009b77
add rbx, rax
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8, rsi
call sym.memcpy
movdqa xmm0, xmmword [rsp + 0x20]
mov byte [r15], 1
movdqu xmmword [r15 + 1], xmm0
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.assertion_failed:_dst.len_____src.len___home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_cryptoutil.rs
lea r8, [0x14012b328]
mov edx, 0x28
call dbg.panic
ud2
lea rcx, [0x14012b1b0]
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_ghash.rsassertion_failed:_bytes.len____16
mov edx, 0x23
call dbg.panic
ud2