Function at 0x140006b90
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 0x140006c1b
setns al
js 0x140006e6b
movzx r12d, al
mov rax, qword [0x141511d08]
movzx eax, byte [rax]
mov rcx, rsi
mov rdx, r12
call sym.__rust_alloc
test rax, rax
je 0x140006e72
mov rdi, rax
mov r12, qword [rsp + 0xc0]
mov rcx, rax
mov rdx, r12
mov r8, rsi
call sym.memcpy
cmp rsi, 0x10
jae 0x140006c33
xor ebp, ebp
mov rbx, rsi
sub rsi, rbp
ja 0x140006d1c
jmp 0x140006e1f
mov edi, 1
xor ebp, ebp
mov rbx, rsi
sub rsi, rbp
ja 0x140006d1c
jmp 0x140006e1f
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::h049d027b4c5c4928
movups xmm0, xmmword [r12]
movups xmm1, xmmword [rdi]
xorps xmm1, xmm0
movups xmmword [rdi], xmm1
mov ebp, 0x10
cmp rsi, 0x20
jae 0x140006c8b
mov r14d, 0x10
mov r13, r12
mov rbx, rsi
sub rsi, rbp
ja 0x140006d1c
jmp 0x140006e1f
mov rbx, rsi
mov esi, 0x10
lea r14, [rsp + 0x28]
nop dword [rax + rax]
cmp rsi, 0xfffffffffffffff0
je 0x140006e54
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::h049d027b4c5c4928
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 0x140006ca0
lea r13, [r12 + rbp]
add r13, 0xfffffffffffffff0
mov r14d, 0x10
mov rsi, rbx
mov rbx, rsi
sub rsi, rbp
jbe 0x140006e1f
test r14, r14
je 0x140006d5e
setns al
js 0x140006e7f
movzx edx, al
mov rax, qword [0x141511d08]
movzx eax, byte [rax]
mov rcx, r14
mov qword [rsp + 0x48], rdx
call sym.__rust_alloc
mov r12, rax
test rax, rax
jne 0x140006d64
mov rcx, qword [rsp + 0x48]
mov rdx, r14
call dbg.handle_alloc_error
jmp 0x140006e84
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::h049d027b4c5c4928
lea rax, [rdi + rbp]
not rbp
add rbp, rbx
cmp r14, rbp
cmovb rbp, r14
inc rbp
cmp rbp, 0x11
jae 0x140006db1
xor ebp, ebp
jmp 0x140006df0
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 0x140006dd0
nop dword [rax]
cmp r14, rbp
je 0x140006e40
movzx ecx, byte [r12 + rbp]
xor byte [rax + rbp], cl
lea rcx, [rbp + 1]
mov rbp, rcx
cmp rsi, rcx
jne 0x140006df0
test r14, r14
je 0x140006e1f
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, [0x1414da900]
mov rcx, r14
mov rdx, r14
call dbg.panic_bounds_check
jmp 0x140006e84
lea r8, [0x1414da8e8]
mov rcx, 0xfffffffffffffff0
xor edx, edx
call dbg.slice_index_order_fail
jmp 0x140006e84
call dbg.capacity_overflow
ud2
mov rcx, r12
mov rdx, rsi
call dbg.handle_alloc_error
ud2
call dbg.capacity_overflow
ud2