Function at 0x1400053d0
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 qword [rsp + 0x30], rdx
mov rbp, rcx
mov r15, qword [rsp + 0xc8]
mov rbx, qword [rsp + 0xc0]
test r15, r15
je 0x1400054e1
setns al
js 0x14000564c
mov rdi, r9
mov rsi, r8
movzx r14d, al
mov rcx, r15
mov rdx, r14
call sym.__rust_alloc
test rax, rax
je 0x140005653
mov r13, rax
mov qword [rbp], rax
mov qword [rbp + 8], r15
mov rcx, rax
mov rdx, rbx
mov r8, r15
call sym.memcpy
mov qword [rbp + 0x10], r15
cmp r15, 0x10
mov qword [rsp + 0x28], rbp
jb 0x140005506
xor r14d, r14d
lea rbp, [rsp + 0x38]
mov r12, r15
nop
mov qword [rsp + 0x38], rsi
lea rsi, [r14 + r13]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0x10
mov rcx, rbp
mov rdx, qword [rsp + 0x30]
call sym.libaes::aes_encrypt::hf91c32962557680b
cmp r14, 0xfffffffffffffff0
je 0x14000561d
lea rax, [r14 + 0x10]
cmp rax, r15
ja 0x140005634
add r12, 0xfffffffffffffff0
movups xmm0, xmmword [rbx + r14]
movups xmm1, xmmword [rsi]
xorps xmm1, xmm0
movups xmmword [rsi], xmm1
mov edi, 0x10
mov r14, rax
cmp r12, 0xf
ja 0x140005460
cmp r15, rax
mov rbp, qword [rsp + 0x28]
je 0x1400055f5
lea r14, [rax + r13]
lea rsi, [rax + r13]
add rsi, 0xfffffffffffffff0
mov edi, 0x10
jmp 0x140005517
mov qword [rbp], 1
mov qword [rbp + 8], r15
mov ecx, 1
mov rdx, rbx
mov r8, r15
call sym.memcpy
mov qword [rbp + 0x10], r15
jmp 0x1400055f5
test rdi, rdi
je 0x14000553a
mov r14, r13
mov r12, r15
js 0x14000566f
mov edx, 1
mov rcx, rdi
call sym.__rust_alloc
test rax, rax
je 0x140005660
mov rbx, rax
xor ebp, ebp
mov r15, r12
mov r13, r14
jmp 0x140005544
mov ebx, 1
mov bpl, 1
xor edi, edi
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call sym.memcpy
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
lea rcx, [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
call sym.libaes::aes_encrypt::hf91c32962557680b
lea rax, [r15 - 1]
cmp rdi, rax
cmovb rax, rdi
inc rax
cmp rax, 0x11
jae 0x14000558d
xor eax, eax
jmp 0x1400055c0
mov ecx, eax
and ecx, 0xf
mov edx, 0x10
cmovne rdx, rcx
sub rax, rdx
xor ecx, ecx
movups xmm0, xmmword [rbx + rcx]
movups xmm1, xmmword [r13 + rcx]
xorps xmm1, xmm0
movups xmmword [r13 + rcx], xmm1
add rcx, 0x10
cmp rax, rcx
jne 0x1400055a0
nop dword [rax]
cmp rdi, rax
je 0x140005609
movzx ecx, byte [rbx + rax]
xor byte [r13 + rax], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x1400055c0
test bpl, bpl
mov rbp, qword [rsp + 0x28]
jne 0x1400055f5
mov r8d, 1
mov rcx, rbx
mov rdx, rdi
call sym.__rust_dealloc
mov rax, rbp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
mov rcx, rdi
mov rdx, rdi
call dbg.panic_bounds_check
jmp 0x140005674
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
mov rcx, 0xfffffffffffffff0
xor edx, edx
call dbg.slice_index_order_fail
jmp 0x140005674
add r14, 0x10
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
mov rcx, r14
mov rdx, r15
call dbg.slice_end_index_len_fail
jmp 0x140005674
call dbg.capacity_overflow
ud2
mov rcx, r15
mov rdx, r14
call dbg.handle_alloc_error
ud2
mov edx, 1
mov rcx, rdi
call dbg.handle_alloc_error
jmp 0x140005674
call dbg.capacity_overflow
ud2