Function at 0x140009260
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rdx
cmp r8, qword [rsp + 0x1e0]
jne 0x140009672
mov rbx, r8
test r8, r8
je 0x140009628
mov r14, rcx
lea rax, [rcx + 0x40]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x30]
lea rax, [rdx + rbx]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rbx]
mov qword [rsp + 0x68], rax
mov r15, qword [r14 + 0x30]
mov rax, qword [r14 + 0x38]
lea r8, [rcx + 0x10]
mov qword [rsp + 0x48], r8
lea r8, [rdx + 0x10]
mov qword [rsp + 0x40], r8
add rdx, 3
mov qword [rsp + 0x58], rdx
add rcx, 3
mov qword [rsp + 0x50], rcx
xor r12d, r12d
mov qword [rsp + 0x28], rbx
jmp 0x14000930c
add r12, r8
cmp r12, rbx
jae 0x140009628
mov rcx, rax
cmp rax, r15
jne 0x140009400
mov qword [r14 + 0x38], 0
mov rbx, qword [r14 + 0x28]
mov rdi, qword [r14 + 0x18]
mov r13, qword [r14]
mov rbp, qword [r14 + 0x10]
mov qword [r14 + 0x30], rbx
lea rsi, [rsp + 0x78]
mov rcx, rsi
mov rdx, r13
mov r8, rbp
call sym._ZN6crypto7aessafe26bit_slice_1x128_with_u32x417he3e6092da82175e0E.llvm.3478479245751895056
mov r9d, 0xf
lea r15, [rsp + 0xf8]
mov rcx, r15
mov rdx, rsi
mov r8, qword [rsp + 0x60]
call sym._ZN6crypto7aessafe12encrypt_core17he4efa47f4f61836eE.llvm.3478479245751895056
mov rcx, r15
mov r15, rbx
mov rdx, rdi
mov r8, rbx
call sym._ZN6crypto7aessafe29un_bit_slice_1x128_with_u32x417h55e02d108e26e2f2E.llvm.3478479245751895056
test rbp, rbp
je 0x1400093ea
mov rbx, qword [rsp + 0x28]
jmp 0x140009398
add r13, rax
test rbp, rbp
je 0x1400093e0
cmp rbp, 0x10
mov eax, 0x10
cmovb rax, rbp
sub rbp, rax
movzx ecx, byte [r13 + rax - 1]
lea edx, [rcx + 8]
mov byte [r13 + rax - 1], dl
cmp cl, 0xf8
jb 0x140009390
mov rcx, rax
nop
cmp rcx, 1
je 0x140009390
inc byte [r13 + rcx - 2]
lea rcx, [rcx - 1]
je 0x1400093c0
jmp 0x140009390
mov r15, qword [r14 + 0x30]
mov rcx, qword [r14 + 0x38]
jmp 0x140009400
xor ecx, ecx
mov rbx, qword [rsp + 0x28]
nop word cs:[rax + rax]
mov rax, r15
sub rax, rcx
mov r8, rbx
sub r8, r12
cmp rax, r8
cmovb r8, rax
mov rax, r8
add rax, rcx
jb 0x14000963c
mov rdx, qword [r14 + 0x28]
cmp rax, rdx
ja 0x14000964d
mov rdx, qword [r14 + 0x18]
mov qword [r14 + 0x38], rax
cmp r12, rbx
ja 0x14000965e
mov r9, qword [rsp + 0x30]
add r9, r12
mov r10, qword [rsp + 0x38]
add r10, r12
mov r11, qword [rsp + 0x70]
sub r11, r9
cmp r8, r11
cmovb r11, r8
mov rsi, qword [rsp + 0x68]
sub rsi, r10
cmp r11, rsi
cmovb rsi, r11
test rsi, rsi
je 0x140009300
lea r11, [rdx + rcx]
cmp r8, 8
jae 0x1400094d0
xor edi, edi
mov rbp, rdi
not rbp
add rbp, r8
mov rbx, r8
and rbx, 3
je 0x140009500
nop word cs:[rax + rax]
movzx esi, byte [r9 + rdi]
xor sil, byte [r11 + rdi]
lea r13, [rdi + 1]
mov byte [r10 + rdi], sil
mov rdi, r13
dec rbx
jne 0x1400094a0
cmp rbp, 3
mov rbx, qword [rsp + 0x28]
jb 0x140009300
jmp 0x140009512
mov rsi, r10
sub rsi, r11
cmp rsi, 0x20
jb 0x14000947e
mov rsi, r10
sub rsi, r9
mov edi, 0
cmp rsi, 0x20
jb 0x140009480
cmp r8, 0x20
jae 0x14000957e
xor edi, edi
jmp 0x1400095f6
mov r13, rdi
cmp rbp, 3
mov rbx, qword [rsp + 0x28]
jb 0x140009300
mov r9, qword [rsp + 0x58]
add r9, r12
mov r10, qword [rsp + 0x50]
add r10, r12
add rcx, rdx
add rcx, 3
nop dword [rax]
movzx edx, byte [r9 + r13 - 3]
xor dl, byte [rcx + r13 - 3]
mov byte [r10 + r13 - 3], dl
movzx edx, byte [r9 + r13 - 2]
xor dl, byte [rcx + r13 - 2]
mov byte [r10 + r13 - 2], dl
movzx edx, byte [r9 + r13 - 1]
xor dl, byte [rcx + r13 - 1]
mov byte [r10 + r13 - 1], dl
movzx edx, byte [r9 + r13]
xor dl, byte [rcx + r13]
mov byte [r10 + r13], dl
lea rdx, [r13 + 4]
mov r13, rdx
cmp r8, rdx
jne 0x140009530
jmp 0x140009300
mov rdi, r8
and rdi, 0xffffffffffffffe0
lea r13, [rdx + rcx]
add r13, 0x10
mov rsi, qword [rsp + 0x48]
lea rbp, [rsi + r12]
mov rsi, qword [rsp + 0x40]
lea rbx, [rsi + r12]
xor esi, esi
nop word cs:[rax + rax]
movups xmm0, xmmword [r13 + rsi - 0x10]
movups xmm1, xmmword [r13 + rsi]
movups xmm2, xmmword [rbx + rsi - 0x10]
xorps xmm2, xmm0
movups xmm0, xmmword [rbx + rsi]
xorps xmm0, xmm1
movups xmmword [rbp + rsi - 0x10], xmm2
movups xmmword [rbp + rsi], xmm0
add rsi, 0x20
cmp rdi, rsi
jne 0x1400095b0
cmp r8, rdi
mov rbx, qword [rsp + 0x28]
je 0x140009300
test r8b, 0x18
je 0x140009480
mov rsi, rdi
mov rdi, r8
and rdi, 0xfffffffffffffff8
mov rbx, qword [r9 + rsi]
xor rbx, qword [r11 + rsi]
mov qword [r10 + rsi], rbx
add rsi, 8
cmp rdi, rsi
jne 0x140009600
cmp r8, rdi
mov rbx, qword [rsp + 0x28]
je 0x140009300
jmp 0x140009480
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rdx, rax
call dbg.slice_index_order_fail
ud2
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_buffer.rsP
mov rcx, rax
call dbg.slice_end_index_len_fail
ud2
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_blockmodes.rs
mov rcx, r12
mov rdx, rbx
call dbg.slice_start_index_len_fail
ud2
lea rcx, [0x14012b370]
lea r8, str._home_theo_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_blockmodes.rs
mov edx, 0x2d
call dbg.panic
ud2