Function at 0x140005c70
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 r12, r9
mov r15, r8
mov qword [rsp + 0x50], rdx
mov rsi, qword [rsp + 0xc8]
mov ebx, esi
and ebx, 0xf
mov edi, 0x10
sub rdi, rbx
mov r13, rdi
add r13, rsi
mov qword [rsp + 0x48], rcx
je 0x140005ce3
setns al
js 0x140005fda
movzx ebp, al
mov rax, qword [0x1401595c8]
movzx eax, byte [rax]
mov rcx, r13
mov rdx, rbp
call sym.__rust_alloc
mov r14, rax
test rax, rax
jne 0x140005ce9
mov rcx, rbp
mov rdx, r13
call dbg.handle_alloc_error
ud2
mov r14d, 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], 0
cmp r13, rsi
jae 0x140005d1a
lea rcx, [rsp + 0x28]
mov rdx, rsi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h427957ce6ff1b1e0
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x38]
jmp 0x140005d1d
xor r13d, r13d
mov rdx, qword [rsp + 0xc0]
lea rcx, [r14 + r13]
mov r8, rsi
call sym.memcpy
add r13, rsi
mov qword [rsp + 0x38], r13
or rbx, 0xfffffffffffffff0
lea rsi, [rsp + 0x28]
jmp 0x140005d65
mov rbp, r13
mov byte [r14 + rbp], dil
lea r13, [rbp + 1]
mov qword [rsp + 0x38], r13
inc rbx
je 0x140005d83
cmp r13, qword [rsp + 0x30]
jne 0x140005d50
mov rcx, rsi
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h60ca1acb41b04d76
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x38]
jmp 0x140005d53
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
cmp r13, 0x10
mov rdi, qword [rsp + 0x50]
jb 0x140005f3d
test r12, r12
je 0x140005f5e
movzx eax, byte [r15]
xor byte [r14], al
cmp r12, 1
je 0x140005f62
movzx eax, byte [r15 + 1]
xor byte [r14 + 1], al
cmp r12, 2
je 0x140005f69
movzx eax, byte [r15 + 2]
xor byte [r14 + 2], al
cmp r12, 3
je 0x140005f70
movzx eax, byte [r15 + 3]
xor byte [r14 + 3], al
cmp r12, 4
je 0x140005f77
movzx eax, byte [r15 + 4]
xor byte [r14 + 4], al
cmp r12, 5
je 0x140005f7e
movzx eax, byte [r15 + 5]
xor byte [r14 + 5], al
cmp r12, 6
je 0x140005f85
movzx eax, byte [r15 + 6]
xor byte [r14 + 6], al
cmp r12, 7
je 0x140005f8c
movzx eax, byte [r15 + 7]
xor byte [r14 + 7], al
cmp r12, 8
je 0x140005f93
movzx eax, byte [r15 + 8]
xor byte [r14 + 8], al
cmp r12, 9
je 0x140005f9a
movzx eax, byte [r15 + 9]
xor byte [r14 + 9], al
cmp r12, 0xa
je 0x140005fa1
movzx eax, byte [r15 + 0xa]
xor byte [r14 + 0xa], al
cmp r12, 0xb
je 0x140005fa8
movzx eax, byte [r15 + 0xb]
xor byte [r14 + 0xb], al
cmp r12, 0xc
je 0x140005faf
movzx eax, byte [r15 + 0xc]
xor byte [r14 + 0xc], al
cmp r12, 0xd
je 0x140005fb6
movzx eax, byte [r15 + 0xd]
xor byte [r14 + 0xd], al
cmp r12, 0xe
je 0x140005fbd
movzx eax, byte [r15 + 0xe]
xor byte [r14 + 0xe], al
cmp r12, 0xf
je 0x140005fc4
movzx eax, byte [r15 + 0xf]
xor byte [r14 + 0xf], al
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], 0x10
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x28]
mov rdx, rdi
call sym.libaes::aes_encrypt::h60529fb8aea1342a
add rbp, 0xfffffffffffffff1
cmp rbp, 0x10
jb 0x140005f3d
lea rsi, [r14 + 0x10]
lea r15, [rsp + 0x28]
movups xmm0, xmmword [rsi - 0x10]
movups xmm1, xmmword [rsi]
xorps xmm1, xmm0
movups xmmword [rsi], xmm1
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 0x10
mov qword [rsp + 0x28], 0
mov rcx, r15
mov rdx, rdi
call sym.libaes::aes_encrypt::h60529fb8aea1342a
add rbp, 0xfffffffffffffff0
add rsi, 0x10
cmp rbp, 0xf
ja 0x140005f00
mov rax, qword [rsp + 0x48]
mov qword [rax], r14
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r13
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
jmp 0x140005fc9
mov ecx, 1
jmp 0x140005fc9
mov ecx, 2
jmp 0x140005fc9
mov ecx, 3
jmp 0x140005fc9
mov ecx, 4
jmp 0x140005fc9
mov ecx, 5
jmp 0x140005fc9
mov ecx, 6
jmp 0x140005fc9
mov ecx, 7
jmp 0x140005fc9
mov ecx, 8
jmp 0x140005fc9
mov ecx, 9
jmp 0x140005fc9
mov ecx, 0xa
jmp 0x140005fc9
mov ecx, 0xb
jmp 0x140005fc9
mov ecx, 0xc
jmp 0x140005fc9
mov ecx, 0xd
jmp 0x140005fc9
mov ecx, 0xe
jmp 0x140005fc9
mov ecx, 0xf
lea r8, str._root_.cargo_registry_src_index.crates.io_6f17d22bba15001f_libaes_0.6.5_src_lib.rs
mov rdx, rcx
call dbg.panic_bounds_check
ud2
call dbg.capacity_overflow
ud2