Function at 0x140006b00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14, r9
mov r13, r8
mov r15, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0xc8]
test rsi, rsi
mov qword [rsp + 0x50], rcx
je 0x140006b8b
setns al
js 0x140006ddb
movzx r12d, al
mov rax, qword [0x14017f268]
movzx eax, byte [rax]
mov rcx, rsi
mov rdx, r12
call sym.__rust_alloc
test rax, rax
je 0x140006de2
mov rdi, rax
mov r12, qword [rsp + 0xc0]
mov rcx, rax
mov rdx, r12
mov r8, rsi
call sym.memcpy
cmp rsi, 0x10
jae 0x140006ba3
xor ebp, ebp
mov rbx, rsi
sub rsi, rbp
ja 0x140006c8c
jmp 0x140006d8f
mov edi, 1
xor ebp, ebp
mov rbx, rsi
sub rsi, rbp
ja 0x140006c8c
jmp 0x140006d8f
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
mov rdx, r15
call sym.libaes::aes_encrypt::hc1b31e6afa34f92e
movups xmm0, xmmword [r12]
movups xmm1, xmmword [rdi]
xorps xmm1, xmm0
movups xmmword [rdi], xmm1
mov ebp, 0x10
cmp rsi, 0x20
jae 0x140006bfb
mov r14d, 0x10
mov r13, r12
mov rbx, rsi
sub rsi, rbp
ja 0x140006c8c
jmp 0x140006d8f
mov rbx, rsi
mov esi, 0x10
lea r14, [rsp + 0x28]
nop dword [rax + rax]
cmp rsi, 0xfffffffffffffff0
je 0x140006dc4
lea rax, [r12 + rsi]
add rax, 0xfffffffffffffff0
lea r13, [rdi + rsi]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x10
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], 0x10
mov rcx, r14
mov rdx, r15
call sym.libaes::aes_encrypt::hc1b31e6afa34f92e
movups xmm0, xmmword [r12 + rsi]
movups xmm1, xmmword [r13]
xorps xmm1, xmm0
movups xmmword [r13], xmm1
lea rbp, [rsi + 0x10]
add rsi, 0x20
cmp rsi, rbx
mov rsi, rbp
jbe 0x140006c10
lea r13, [r12 + rbp]
add r13, 0xfffffffffffffff0
mov r14d, 0x10
mov rsi, rbx
mov rbx, rsi
sub rsi, rbp
jbe 0x140006d8f
test r14, r14
je 0x140006cce
setns al
js 0x140006def
movzx edx, al
mov rax, qword [0x14017f268]
movzx eax, byte [rax]
mov rcx, r14
mov qword [rsp + 0x48], rdx
call sym.__rust_alloc
mov r12, rax
test rax, rax
jne 0x140006cd4
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call dbg.handle_alloc_error
jmp 0x140006df4
mov r12d, 1
mov rcx, r12
mov rdx, r13
mov r8, r14
call sym.memcpy
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r14
lea rcx, [rsp + 0x28]
mov rdx, r15
call sym.libaes::aes_encrypt::hc1b31e6afa34f92e
lea rax, [rdi + rbp]
not rbp
add rbp, rbx
cmp r14, rbp
cmovb rbp, r14
inc rbp
cmp rbp, 0x11
jae 0x140006d21
xor ebp, ebp
jmp 0x140006d60
mov ecx, ebp
and ecx, 0xf
mov edx, 0x10
cmovne rdx, rcx
sub rbp, rdx
xor ecx, ecx
nop word cs:[rax + rax]
movups xmm0, xmmword [r12 + rcx]
movups xmm1, xmmword [rax + rcx]
xorps xmm1, xmm0
movups xmmword [rax + rcx], xmm1
add rcx, 0x10
cmp rbp, rcx
jne 0x140006d40
nop dword [rax]
cmp r14, rbp
je 0x140006db0
movzx ecx, byte [r12 + rbp]
xor byte [rax + rbp], cl
lea rcx, [rbp + 1]
mov rbp, rcx
cmp rsi, rcx
jne 0x140006d60
test r14, r14
je 0x140006d8f
mov r8d, 1
mov rcx, r12
mov rdx, r14
call sym.__rust_dealloc
mov rax, qword [rsp + 0x50]
mov qword [rax], rdi
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._Users_mrx_.cargo_registry_src_index.crates.io_6f17d22bba15001f_libaes_0.6.5_src_lib.rs
mov rcx, r14
mov rdx, r14
call dbg.panic_bounds_check
jmp 0x140006df4
lea r8, str._Users_mrx_.cargo_registry_src_index.crates.io_6f17d22bba15001f_libaes_0.6.5_src_lib.rs
mov rcx, 0xfffffffffffffff0
xor edx, edx
call dbg.slice_index_order_fail
jmp 0x140006df4
call dbg.capacity_overflow
ud2
mov rcx, r12
mov rdx, rsi
call dbg.handle_alloc_error
ud2
call dbg.capacity_overflow
ud2