Function at 0x1400056b0
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 rbp, rcx
mov r14, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
test r14, r14
je 0x140005750
setns al
js 0x140005943
mov rbx, r9
mov rdi, r8
mov r13, rdx
movzx esi, al
mov rcx, r14
mov rdx, rsi
call sym.__rust_alloc
test rax, rax
je 0x14000594a
mov r15, rax
mov qword [rbp], rax
mov qword [rbp + 8], r14
mov rcx, rax
mov rdx, r12
mov r8, r14
call sym.memcpy
mov qword [rbp + 0x10], r14
cmp r14, 0x10
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], r15
jae 0x140005775
test rbx, rbx
je 0x14000582e
js 0x140005966
xor r14d, r14d
mov rbp, r15
mov r15, qword [rsp + 0xc8]
jmp 0x140005810
mov qword [rbp], 1
mov qword [rbp + 8], r14
mov ecx, 1
mov rdx, r12
mov r8, r14
call sym.memcpy
mov qword [rbp + 0x10], r14
jmp 0x140005904
xor ebp, ebp
lea r15, [rsp + 0x38]
nop dword [rax]
cmp rbp, 0xfffffffffffffff0
je 0x14000592c
mov rax, qword [rsp + 0x30]
lea rsi, [rax + rbp]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 0x10
mov rcx, r15
mov rdx, r13
call sym.libaes::aes_encrypt::hf91c32962557680b
lea rdi, [r12 + rbp]
movups xmm0, xmmword [r12 + rbp]
movups xmm1, xmmword [rsi]
xorps xmm1, xmm0
movups xmmword [rsi], xmm1
lea r14, [rbp + 0x10]
add rbp, 0x20
mov ebx, 0x10
cmp rbp, qword [rsp + 0xc8]
mov rbp, r14
jbe 0x140005780
mov r15, qword [rsp + 0xc8]
cmp r14, r15
mov rbp, qword [rsp + 0x28]
jae 0x140005904
lea rdi, [r12 + r14]
add rdi, 0xfffffffffffffff0
mov rbp, qword [rsp + 0x30]
add rbp, r14
sub r15, r14
mov ebx, 0x10
mov edx, 1
mov rcx, rbx
call sym.__rust_alloc
test rax, rax
je 0x140005957
mov rsi, rax
xor r12d, r12d
jmp 0x140005844
mov esi, 1
mov r12b, 1
mov rax, r14
xor r14d, r14d
mov rbp, r15
mov r15, rax
xor ebx, ebx
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call sym.memcpy
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbx
lea rcx, [rsp + 0x38]
mov rdx, r13
call sym.libaes::aes_encrypt::hf91c32962557680b
cmp r14, qword [rsp + 0xc8]
je 0x1400058e9
lea rax, [r15 - 1]
cmp rbx, rax
cmovb rax, rbx
inc rax
cmp rax, 0x11
jae 0x140005895
xor eax, eax
jmp 0x1400058d0
mov ecx, eax
and ecx, 0xf
mov edx, 0x10
cmovne rdx, rcx
sub rax, rdx
xor ecx, ecx
nop dword [rax + rax]
movups xmm0, xmmword [rsi + rcx]
movups xmm1, xmmword [rbp + rcx]
xorps xmm1, xmm0
movups xmmword [rbp + rcx], xmm1
add rcx, 0x10
cmp rax, rcx
jne 0x1400058b0
nop word [rax + rax]
cmp rbx, rax
je 0x140005918
movzx ecx, byte [rsi + rax]
xor byte [rbp + rax], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x1400058d0
test r12b, r12b
mov rbp, qword [rsp + 0x28]
jne 0x140005904
mov r8d, 1
mov rcx, rsi
mov rdx, rbx
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, rbx
mov rdx, rbx
call dbg.panic_bounds_check
jmp 0x14000596b
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 0x14000596b
call dbg.capacity_overflow
ud2
mov rcx, r14
mov rdx, rsi
call dbg.handle_alloc_error
ud2
mov edx, 1
mov rcx, rbx
call dbg.handle_alloc_error
jmp 0x14000596b
call dbg.capacity_overflow
ud2