Function at 0x1400240a0
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 0x1400240f1
cmp r14, 1
jbe 0x1400248ca
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 [0x140129088]
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 0x1400249d2
movzx eax, byte [rsi]
mov ecx, 0x100
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400249ec
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, [0x1400f52b8]
mov qword [rsp + 0x78], rax
xor r13d, r13d
mov qword [rsp + 0x38], r14
jmp 0x1400241b4
mov r13d, 1
mov rsi, qword [rsp + 0x48]
cmp rsi, r14
jae 0x140024888
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 0x1400241e0
mov rsi, r14
jmp 0x140024450
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 0x140024238
cmp r15, 2
jne 0x140024265
lea rsi, [rbp + 2]
mov r15d, 2
mov r14, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
jmp 0x140024450
cmp r15, 2
jne 0x1400242ce
lea rsi, [rbp + 2]
mov r15d, 2
mov r14, qword [rsp + 0x38]
movabs r11, 0xffffffffffffffe
mov rcx, qword [rsp + 0x30]
jmp 0x140024368
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 0x14002432f
inc rbp
add r13, 0x10
cmp r15, rbp
jne 0x140024290
jmp 0x14002432c
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 0x14002432f
inc rbp
add r13, 0x10
cmp r15, rbp
jne 0x1400242f0
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 0x140024450
cmp rbp, rsi
ja 0x1400249ac
cmp rsi, r14
ja 0x1400249be
cmp r15, 2
jb 0x140024450
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 0x1400243a8
xor edx, edx
jmp 0x14002440e
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 0x1400243d0
test r15b, 2
jne 0x14002441b
mov rcx, qword [rsp + 0x30]
jmp 0x140024450
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 0x140024964
cmp rsi, r14
ja 0x140024964
jae 0x140024497
cmp r15, 0xa
jae 0x140024497
lea rsi, [rbp + 0xa]
cmp rsi, r14
cmovae rsi, r14
mov rdi, rsi
sub rdi, rbp
jb 0x140024981
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 0x140024500
lea rax, [r13*2]
mov qword [rsp + 0x50], rax
mov rcx, r13
shl rcx, 5
mov rax, qword [0x140129088]
movzx eax, byte [rax]
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x140024992
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 0x1400241ab
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x60], r12
jmp 0x1400245ad
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 0x1400241a0
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 0x140024620
mov rdx, rsi
shl rdx, 4
mov r8, qword [rdx + r12 - 0x20]
cmp r8, rax
jbe 0x140024620
cmp rsi, 2
jbe 0x14002486a
lea r11, [rsi - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r12 + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140024635
cmp rsi, 3
jbe 0x140024875
add r8, rcx
cmp qword [rdx + r12 - 0x40], r8
jbe 0x140024635
jmp 0x140024880
cmp rsi, 3
jb 0x14002463a
lea r11, [rsi - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [r12 + rcx]
cmp rcx, rax
jb 0x14002463e
lea r11, [rsi - 2]
cmp rsi, r11
jbe 0x1400248f7
lea rax, [r11 + 1]
cmp rsi, rax
jbe 0x1400248df
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 0x140024939
cmp rbp, r14
ja 0x14002494d
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 0x1400247b0
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 0x140024530
test rbx, rbx
jle 0x140024530
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 0x140024530
add rbp, 0xfffffffffffffff0
cmp r14, qword [rsp + 0x28]
ja 0x140024730
jmp 0x140024530
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
mov rdx, r12
mov r8, r14
call sym.memcpy
add r14, rbx
test r13, r13
jle 0x140024860
cmp rdi, r13
jle 0x140024860
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 0x14002453d
shr rbx, 0x3b
and ebx, 0xfffffff0
add r15, rbx
cmp r15, rbp
jb 0x1400247f0
jmp 0x14002453d
mov rdx, qword [rsp + 0x28]
jmp 0x14002453d
mov r13d, 2
jmp 0x1400241a6
mov r13d, 3
jmp 0x1400241a6
mov r13, rsi
jmp 0x1400241a6
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, [0x1400f5258]
mov qword [rsp + 0xc8], rax
lea rdx, [0x1400f52e8]
jmp 0x14002490d
lea rax, [0x1400f5258]
mov qword [rsp + 0xc8], rax
lea rdx, [0x1400f52d0]
lea rcx, [rsp + 0xc8]
mov qword [rcx + 8], 1
lea rax, [0x1400f5268]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
call dbg.panic_fmt
jmp 0x140024a04
lea r8, [0x1400f5300]
mov rdx, rbp
call dbg.slice_index_order_fail
jmp 0x140024a04
lea r8, [0x1400f5300]
mov rcx, rbp
mov rdx, r14
call dbg.slice_end_index_len_fail
jmp 0x140024a04
lea rcx, [0x1400f5390]
lea r8, [0x1400f53c0]
mov edx, 0x2c
call dbg.panic
jmp 0x140024a04
mov rcx, rbp
lea rax, [0x1400f53d8]
mov qword [rsp + 0x78], rax
jmp 0x1400249af
lea rcx, [0x1400f5318]
lea r8, [0x1400f5378]
mov edx, 0x2b
call dbg.panic
jmp 0x140024a04
mov rcx, rbp
mov rdx, rsi
mov r8, qword [rsp + 0x78]
call dbg.slice_index_order_fail
jmp 0x140024a04
lea r8, [0x1400f52b8]
mov rcx, rsi
mov rdx, r14
call dbg.slice_end_index_len_fail
jmp 0x140024a04
lea rcx, [0x1400f5318]
lea r8, [0x1400f5348]
mov edx, 0x2b
call dbg.panic
ud2
lea rcx, [0x1400f5318]
lea r8, [0x1400f5360]
mov edx, 0x2b
call dbg.panic
ud2