Function at 0x14002a7e0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov r14, rdx
mov qword [rsp + 0x40], rcx
cmp rdx, 0x15
jae 0x14002a831
cmp r14, 1
jbe 0x14002b00a
mov r8d, 1
mov rcx, qword [rsp + 0x40]
mov rdx, r14
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.core::slice::sort::insertion_sort_shift_left::hc35ce9682ce23244
mov rax, r14
shr rax, 1
mov qword [rsp + 0x90], rax
mov rcx, rax
shl rcx, 4
mov rsi, qword [0x1401ac748]
movzx eax, byte [rsi]
mov edx, 8
mov qword [rsp + 0x98], rcx
call sym.__rust_alloc
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002b112
movzx eax, byte [rsi]
mov ecx, 0x100
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002b12c
mov r12, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0x20]
mov qword [rsp + 0x80], rcx
lea rcx, [rax + 0x10]
mov qword [rsp + 0xa0], rcx
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x88], rax
mov eax, 0x10
mov qword [rsp + 0x50], rax
xor esi, esi
lea rax, [0x14016d5c8]
mov qword [rsp + 0x78], rax
xor r13d, r13d
mov qword [rsp + 0x38], r14
jmp 0x14002a8f4
mov r13d, 1
mov rsi, qword [rsp + 0x48]
cmp rsi, r14
jae 0x14002afc8
mov rbp, rsi
mov r15, r14
sub r15, rsi
mov rbx, rsi
shl rbx, 4
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rbx]
cmp r15, 2
jae 0x14002a920
mov rsi, r14
jmp 0x14002ab90
mov rax, qword [rcx]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rcx + 0x10]
mov rdi, qword [rcx]
mov r14, qword [rcx + 0x10]
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
mov rsi, r14
sub rsi, r8
cmovb r8, r14
mov rcx, rdi
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
test rsi, rsi
js 0x14002a978
cmp r15, 2
jne 0x14002a9a5
lea rsi, [rbp + 2]
mov r15d, 2
mov r14, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
jmp 0x14002ab90
cmp r15, 2
jne 0x14002aa0e
lea rsi, [rbp + 2]
mov r15d, 2
mov r14, qword [rsp + 0x38]
movabs r11, 0xffffffffffffffe
mov rcx, qword [rsp + 0x30]
jmp 0x14002aaa8
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x80]
lea r13, [rax + rbx]
mov ebp, 2
nop word cs:[rax + rax]
mov rdx, rdi
mov r8, r14
mov rax, qword [r13]
mov rdi, qword [rax]
mov r14, qword [rax + 0x10]
mov r12, r14
sub r12, r8
cmovb r8, r14
mov rcx, rdi
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
js 0x14002aa6f
inc rbp
add r13, 0x10
cmp r15, rbp
jne 0x14002a9d0
jmp 0x14002aa6c
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x60], r12
mov rax, qword [rsp + 0x80]
lea r13, [rax + rbx]
mov ebp, 2
nop
mov rdx, rdi
mov r8, r14
mov rax, qword [r13]
mov rdi, qword [rax]
mov r14, qword [rax + 0x10]
mov r12, r14
sub r12, r8
cmovb r8, r14
mov rcx, rdi
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
test r12, r12
jns 0x14002aa6f
inc rbp
add r13, 0x10
cmp r15, rbp
jne 0x14002aa30
mov rbp, r15
mov rcx, qword [rsp + 0x68]
lea rax, [rcx + rbp]
mov r15, rbp
mov rbp, rcx
test rsi, rsi
mov rsi, rax
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x38]
movabs r11, 0xffffffffffffffe
mov r13, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
jns 0x14002ab90
cmp rbp, rsi
ja 0x14002b0ec
cmp rsi, r14
ja 0x14002b0fe
cmp r15, 2
jb 0x14002ab90
mov rax, r15
shr rax, 1
mov rdi, r15
shl rdi, 4
add rdi, rcx
mov rdx, rax
shl rdx, 4
sub rdi, rdx
cmp rax, 1
jne 0x14002aae8
xor edx, edx
jmp 0x14002ab4e
mov r8, rax
and r8, 0xfffffffffffffffe
add rbx, qword [rsp + 0xa0]
lea r9, [r15 + rbp]
shl r9, 4
add r9, qword [rsp + 0x88]
xor edx, edx
nop dword [rax]
movups xmm0, xmmword [rbx - 0x10]
movups xmm1, xmmword [r9]
movups xmmword [rbx - 0x10], xmm1
movups xmmword [r9], xmm0
mov r10, rdx
xor r10, r11
add r10, rax
shl r10, 4
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rdi + r10]
movups xmmword [rbx], xmm1
movups xmmword [rdi + r10], xmm0
add rdx, 2
add rbx, 0x20
add r9, 0xffffffffffffffe0
cmp r8, rdx
jne 0x14002ab10
test r15b, 2
jne 0x14002ab5b
mov rcx, qword [rsp + 0x30]
jmp 0x14002ab90
mov r8, rdx
not r8
add rax, r8
shl rdx, 4
shl rax, 4
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rcx + rdx]
movups xmm1, xmmword [rdi + rax]
movups xmmword [rcx + rdx], xmm1
movups xmmword [rdi + rax], xmm0
nop word cs:[rax + rax]
mov rdi, rsi
sub rdi, rbp
jb 0x14002b0a4
cmp rsi, r14
ja 0x14002b0a4
jae 0x14002abd7
cmp r15, 0xa
jae 0x14002abd7
lea rsi, [rbp + 0xa]
cmp rsi, r14
cmovae rsi, r14
mov rdi, rsi
sub rdi, rbp
jb 0x14002b0c1
cmp r15, 1
adc r15, 0
mov rdx, rdi
mov r8, r15
call sym.core::slice::sort::insertion_sort_shift_left::hc35ce9682ce23244
cmp r13, qword [rsp + 0x50]
jne 0x14002ac40
lea rax, [r13*2]
mov qword [rsp + 0x50], rax
mov rcx, r13
shl rcx, 5
mov rax, qword [0x1401ac748]
movzx eax, byte [rax]
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x14002b0d2
mov r14, rax
mov r15, r13
shl r15, 4
mov rcx, rax
mov rdx, r12
mov r8, r15
call sym.memcpy
mov r8d, 8
mov rcx, r12
mov rdx, r15
call sym.__rust_dealloc
mov r12, r14
mov r14, qword [rsp + 0x38]
mov rax, r13
shl rax, 4
mov qword [r12 + rax], rdi
mov qword [r12 + rax + 8], rbp
inc r13
cmp r13, 2
jb 0x14002a8eb
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x60], r12
jmp 0x14002aced
mov r12, r15
mov rdx, qword [rsp + 0x28]
mov r13, qword [rsp + 0x58]
sub r14, rdx
mov rcx, r12
mov r8, r14
call sym.memcpy
mov rax, qword [rsp + 0xb8]
add rax, r13
mov rcx, qword [rsp + 0xb0]
mov qword [rcx], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
mov qword [rcx], rax
mov rcx, qword [rsp + 0xc0]
lea rdx, [rcx + 0x10]
mov rax, qword [rsp + 0x30]
not rax
add rsi, rax
shl rsi, 4
mov r8, rsi
call sub.msvcrt.dll_memmove
mov r13, qword [rsp + 0x70]
cmp r13, 1
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x38]
jbe 0x14002a8e0
mov rsi, r13
lea r10, [r13 - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [r12 + rcx]
mov rcx, qword [r12 + rcx + 8]
add rcx, rax
cmp rcx, r14
je 0x14002ad60
mov rdx, rsi
shl rdx, 4
mov r8, qword [rdx + r12 - 0x20]
cmp r8, rax
jbe 0x14002ad60
cmp rsi, 2
jbe 0x14002afaa
lea r11, [rsi - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r12 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x14002ad75
cmp rsi, 3
jbe 0x14002afb5
add r8, rcx
cmp qword [rdx + r12 - 0x40], r8
jbe 0x14002ad75
jmp 0x14002afc0
cmp rsi, 3
jb 0x14002ad7a
lea r11, [rsi - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r12 + rcx]
cmp rcx, rax
jb 0x14002ad7e
lea r11, [rsi - 2]
cmp rsi, r11
jbe 0x14002b037
lea rax, [r11 + 1]
cmp rsi, rax
jbe 0x14002b01f
mov qword [rsp + 0x70], r10
mov rdx, r11
shl rdx, 4
mov rcx, qword [r12 + rdx + 8]
shl rax, 4
mov r8, qword [r12 + rax]
mov rbp, qword [r12 + rax + 8]
add rbp, r8
mov rdi, rbp
sub rdi, rcx
jb 0x14002b079
cmp rbp, r14
ja 0x14002b08d
mov qword [rsp + 0xb8], r8
mov qword [rsp + 0x30], r11
lea r8, [r12 + rdx]
mov qword [rsp + 0xc0], r8
mov r13, qword [r12 + rdx]
lea rdx, [r12 + rax]
mov qword [rsp + 0xb0], rdx
lea rax, [r12 + rax + 8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x68], rcx
mov r12, rcx
shl r12, 4
add r12, qword [rsp + 0x40]
mov r14, r13
shl r14, 4
lea r15, [r12 + r14]
shl rbp, 4
mov rbx, rdi
sub rbx, r13
cmp rbx, r13
jae 0x14002aef0
mov r14, rbx
shl r14, 4
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rdx, r15
mov r8, r14
call sym.memcpy
add r14, rdi
mov qword [rsp + 0x58], r13
test r13, r13
jle 0x14002ac70
test rbx, rbx
jle 0x14002ac70
add rbp, qword [rsp + 0x88]
nop dword [rax + rax]
mov rdi, r15
mov rax, qword [r14 - 0x10]
mov r8, qword [r15 - 0x10]
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rbx, rax
sub rbx, r8
cmovb r8, rax
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
xor eax, eax
test rbx, rbx
setns al
mov r15, rbx
sar r15, 0x3f
shl r15, 4
add r15, rdi
shl rax, 4
sub r14, rax
test rbx, rbx
mov rax, r15
cmovns rax, r14
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
cmp r15, r12
jbe 0x14002ac70
add rbp, 0xfffffffffffffff0
cmp r14, qword [rsp + 0x28]
ja 0x14002ae70
jmp 0x14002ac70
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, r12
mov r8, r14
call sym.memcpy
add r14, rbx
test r13, r13
jle 0x14002afa0
cmp rdi, r13
jle 0x14002afa0
add rbp, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
nop word cs:[rax + rax]
mov rdi, rdx
mov rax, qword [r15]
mov r8, qword [rdx]
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rbx, rax
sub rbx, r8
cmovb r8, rax
call sub.msvcrt.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
xor edx, edx
test rbx, rbx
setns dl
mov rax, r15
cmovns rax, rdi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
add r12, 0x10
shl rdx, 4
add rdx, rdi
cmp rdx, r14
jae 0x14002ac7d
shr rbx, 0x3b
and ebx, 0xfffffff0
add r15, rbx
cmp r15, rbp
jb 0x14002af30
jmp 0x14002ac7d
mov rdx, qword [rsp + 0x28]
jmp 0x14002ac7d
mov r13d, 2
jmp 0x14002a8e6
mov r13d, 3
jmp 0x14002a8e6
mov r13, rsi
jmp 0x14002a8e6
mov rdx, qword [rsp + 0x50]
shl rdx, 4
mov r8d, 8
mov rcx, r12
call sym.__rust_dealloc
mov r8d, 8
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x98]
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.__rust_dealloc
nop
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x14016d568]
mov qword [rsp + 0xc8], rax
lea rdx, [0x14016d5f8]
jmp 0x14002b04d
lea rax, [0x14016d568]
mov qword [rsp + 0xc8], rax
lea rdx, [0x14016d5e0]
lea rcx, [rsp + 0xc8]
mov qword [rcx + 8], 1
lea rax, [0x14016d578]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call dbg.panic_fmt
jmp 0x14002b144
lea r8, [0x14016d610]
mov rdx, rbp
call dbg.slice_index_order_fail
jmp 0x14002b144
lea r8, [0x14016d610]
mov rcx, rbp
mov rdx, r14
call dbg.slice_end_index_len_fail
jmp 0x14002b144
lea rcx, [0x14016d6a0]
lea r8, [0x14016d6d0]
mov edx, 0x2c
call dbg.panic
jmp 0x14002b144
mov rcx, rbp
lea rax, [0x14016d6e8]
mov qword [rsp + 0x78], rax
jmp 0x14002b0ef
lea rcx, [0x14016d628]
lea r8, [0x14016d688]
mov edx, 0x2b
call dbg.panic
jmp 0x14002b144
mov rcx, rbp
mov rdx, rsi
mov r8, qword [rsp + 0x78]
call dbg.slice_index_order_fail
jmp 0x14002b144
lea r8, [0x14016d5c8]
mov rcx, rsi
mov rdx, r14
call dbg.slice_end_index_len_fail
jmp 0x14002b144
lea rcx, [0x14016d628]
lea r8, [0x14016d658]
mov edx, 0x2b
call dbg.panic
ud2
lea rcx, [0x14016d628]
lea r8, [0x14016d670]
mov edx, 0x2b
call dbg.panic
ud2