Function at 0x1400e5fa0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13, rdx
mov qword [rsp + 0x40], rcx
cmp rdx, 0x15
jae 0x1400e5ff1
cmp r13, 1
jbe 0x1400e66ab
mov r8d, 1
mov rcx, qword [rsp + 0x40]
mov rdx, r13
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400e67f0
lea rax, [r13*4]
movabs rcx, 0x7ffffffffffffff8
and rcx, rax
movzx eax, byte [0x140214be1]
mov edx, 4
mov qword [rsp + 0x58], rcx
call fcn.14000f6f0
test rax, rax
je 0x1400e67ca
mov rsi, rax
movzx eax, byte [0x140214be1]
mov ecx, 0x100
mov edx, 8
call fcn.14000f6f0
test rax, rax
je 0x1400e67d6
mov rbx, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0xc]
mov qword [rsp + 0x68], rcx
lea rcx, [rax - 4]
mov qword [rsp + 0x60], rcx
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x70], rax
mov eax, 0x10
mov qword [rsp + 0x50], rax
xor ebp, ebp
movabs r12, 0x1ffffffffffffffe
xor r15d, r15d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], r13
jmp 0x1400e60a4
mov r15d, 1
mov rbp, qword [rsp + 0x30]
cmp rbp, r13
jae 0x1400e666e
mov rax, r13
sub rax, rbp
mov rcx, qword [rsp + 0x40]
lea rcx, [rcx + rbp*8]
cmp rax, 2
jae 0x1400e6130
mov r8, rax
lea rdx, [r8 + rbp]
mov rdi, rdx
sub rdi, rbp
jb 0x1400e6773
cmp rdx, r13
ja 0x1400e6773
jae 0x1400e61a0
cmp r8, 0xa
jae 0x1400e61a0
lea rdi, [rbp + 0xa]
cmp rdi, r13
cmovae rdi, r13
cmp rbp, 0xfffffffffffffff6
jae 0x1400e678b
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x30], rdi
sub rdi, rbp
mov rdx, rdi
call fcn.1400e67f0
cmp r15, qword [rsp + 0x50]
je 0x1400e61ac
jmp 0x1400e620a
movzx edx, byte [rcx + 8]
cmp dl, byte [rcx]
jae 0x1400e6520
mov r8d, 2
cmp rax, 2
je 0x1400e6168
nop dword [rax + rax]
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jae 0x1400e6168
inc r8
cmp rax, r8
jne 0x1400e6150
mov r8, rax
mov rdx, r8
add rdx, rbp
jb 0x1400e67bb
cmp rdx, r13
ja 0x1400e67a9
cmp r8, 2
jae 0x1400e654e
mov r8d, 1
jmp 0x1400e60c0
mov qword [rsp + 0x30], rdx
cmp r15, qword [rsp + 0x50]
jne 0x1400e620a
mov r14, rbx
mov rcx, r15
shl rcx, 5
movzx eax, byte [0x140214be1]
mov edx, 8
call fcn.14000f6f0
test rax, rax
je 0x1400e679d
mov rsi, rax
lea rax, [r15 + r15]
mov qword [rsp + 0x50], rax
mov rbx, r15
shl rbx, 4
mov rcx, rsi
mov rdx, r14
mov r8, rbx
call fcn.140145bd0
mov r8d, 8
mov rcx, r14
mov rdx, rbx
call fcn.14000f700
mov rbx, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
shl rax, 4
mov qword [rbx + rax], rdi
mov qword [rbx + rax + 8], rbp
inc r15
mov rax, r15
cmp r15, 2
mov qword [rsp + 0x48], rbx
jae 0x1400e62a7
jmp 0x1400e6096
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r15, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x48]
add rbp, rbx
add r14, rbx
sub r8, rdx
mov rcx, rdi
call fcn.140145bd0
mov rax, qword [rsp + 0x78]
add rax, r12
mov qword [r14], rax
mov rax, qword [rsp + 0x80]
mov qword [r14 + 8], rax
lea rdx, [rbp + 0x10]
mov rax, qword [rsp + 0x88]
not rax
add r15, rax
shl r15, 4
mov rcx, rbp
mov r8, r15
call fcn.140145bd0
mov rax, qword [rsp + 0x90]
cmp rax, 1
movabs r12, 0x1ffffffffffffffe
jbe 0x1400e6090
mov r15, rax
lea r10, [rax - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rbx + rcx]
mov rcx, qword [rbx + rcx + 8]
add rcx, rax
cmp rcx, r13
je 0x1400e6320
mov rdx, r15
shl rdx, 4
mov r8, qword [rdx + rbx - 0x20]
cmp r8, rax
jbe 0x1400e6320
cmp r15, 2
je 0x1400e6580
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x1400e6335
cmp r15, 3
jbe 0x1400e6663
add r8, rcx
cmp qword [rdx + rbx - 0x40], r8
jbe 0x1400e6335
jmp 0x1400e6096
cmp r15, 2
je 0x1400e633a
lea r11, [r15 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rbx + rcx]
cmp rcx, rax
jb 0x1400e633e
lea r11, [r15 - 2]
cmp r15, r11
jbe 0x1400e6709
lea r14, [r11 + 1]
cmp r15, r14
jbe 0x1400e66c0
mov qword [rsp + 0x20], r15
mov rbp, r11
shl rbp, 4
mov rcx, qword [rbx + rbp + 8]
shl r14, 4
mov rax, qword [rbx + r14]
mov r15, qword [rbx + r14 + 8]
add r15, rax
mov rsi, r15
sub rsi, rcx
jb 0x1400e6752
cmp r15, r13
ja 0x1400e6761
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], r11
mov qword [rsp + 0x90], r10
mov r12, qword [rbx + rbp]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x80], rcx
lea rdi, [rax + rcx*8]
lea rbx, [rdi + r12*8]
mov r13, rsi
sub r13, r12
cmp r13, r12
jae 0x1400e6460
lea r8, [r13*8]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
mov rdx, rbx
call fcn.140145bd0
lea r8, [rsi + r13*8]
test r12, r12
jle 0x1400e6500
test r13, r13
jle 0x1400e6500
mov rax, qword [rsp + 0x70]
lea rax, [rax + r15*8]
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
nop dword [rax + rax]
movzx ecx, byte [r8 - 8]
movzx edx, byte [rbx - 8]
cmp cl, dl
mov r9d, 0
sbb r9, r9
cmp cl, dl
mov r10d, 0
adc r10, 0xffffffffffffffff
cmp cl, dl
lea rbx, [rbx + r9*8]
lea r8, [r8 + r10*8]
mov rcx, r8
cmovb rcx, rbx
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp rbx, rdi
jbe 0x1400e6455
add rax, 0xfffffffffffffff8
cmp r8, rsi
ja 0x1400e6410
mov rdi, rbx
mov rdx, rsi
jmp 0x1400e623d
lea r8, [r12*8]
mov r13, qword [rsp + 0x28]
mov rcx, r13
mov rdx, rdi
call fcn.140145bd0
lea r8, [r12*8]
add r8, r13
test r12, r12
jle 0x1400e6505
cmp rsi, r12
mov r13, qword [rsp + 0x38]
jle 0x1400e6230
mov rax, qword [rsp + 0x40]
lea rax, [rax + r15*8]
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r15, qword [rsp + 0x20]
nop dword [rax]
movzx r9d, byte [rbx]
xor r10d, r10d
xor ecx, ecx
cmp r9b, byte [rdx]
setae r10b
setb r9b
mov r11, rdx
cmovb r11, rbx
mov r11, qword [r11]
mov qword [rdi], r11
add rdi, 8
lea rdx, [rdx + r10*8]
cmp rdx, r8
jae 0x1400e623d
mov cl, r9b
lea rbx, [rbx + rcx*8]
cmp rbx, rax
jb 0x1400e64b0
jmp 0x1400e623d
mov rdi, rbx
jmp 0x1400e650a
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r13, qword [rsp + 0x38]
jmp 0x1400e6238
mov r8d, 2
cmp rax, 2
je 0x1400e60bc
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jb 0x1400e60bc
inc r8
cmp rax, r8
jne 0x1400e6530
jmp 0x1400e60b9
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x48], rbx
lea rax, [rcx + r8*8]
mov rdx, r8
shr rdx, 1
lea r9, [rdx*8]
sub rax, r9
cmp rdx, 1
jne 0x1400e658b
xor r9d, r9d
jmp 0x1400e6617
mov r15d, 2
jmp 0x1400e6096
mov r10, rdx
and r10, 0xfffffffffffffffe
mov r9, qword [rsp + 0x68]
lea r11, [r9 + rbp*8]
mov r9, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x30]
lea rsi, [r9 + rsi*8]
xor r9d, r9d
nop dword [rax]
movzx ebx, byte [r11 + r9*8 - 0xc]
mov edi, dword [r11 + r9*8 - 8]
movzx r14d, byte [rsi - 4]
mov r15d, dword [rsi]
mov byte [r11 + r9*8 - 0xc], r14b
mov dword [r11 + r9*8 - 8], r15d
mov byte [rsi - 4], bl
mov dword [rsi], edi
mov rdi, r9
xor rdi, r12
add rdi, rdx
movzx ebx, byte [r11 + r9*8 - 4]
mov r14d, dword [r11 + r9*8]
movzx r15d, byte [rax + rdi*8]
mov r12d, dword [rax + rdi*8 + 4]
mov byte [r11 + r9*8 - 4], r15b
mov dword [r11 + r9*8], r12d
movabs r12, 0x1ffffffffffffffe
mov byte [rax + rdi*8], bl
mov dword [rax + rdi*8 + 4], r14d
add r9, 2
add rsi, 0xfffffffffffffff0
cmp r10, r9
jne 0x1400e65b0
test r8b, 2
je 0x1400e664a
mov r10, r9
not r10
add rdx, r10
movzx r10d, byte [rcx + r9*8]
mov r11d, dword [rcx + r9*8 + 4]
movzx ebx, byte [rax + rdx*8]
mov esi, dword [rax + rdx*8 + 4]
mov byte [rcx + r9*8], bl
mov dword [rcx + r9*8 + 4], esi
mov byte [rax + rdx*8], r10b
mov dword [rax + rdx*8 + 4], r11d
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
jmp 0x1400e60c0
mov r15d, 3
jmp 0x1400e6096
mov rdx, qword [rsp + 0x50]
shl rdx, 4
mov r8d, 8
mov rcx, rbx
call fcn.14000f700
mov r8d, 4
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14000f700
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rax, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rdx, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
lea rcx, [rsp + 0x98]
call fcn.14014aeb0
lea rax, str.Index_out_of_bounds
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
lea rax, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
lea rdx, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
lea rcx, [rsp + 0x98]
call fcn.14014aeb0
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov rdx, r15
call fcn.14014b3f0
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov rcx, r15
mov rdx, r13
call fcn.14014b3e0
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.14014af80
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov rcx, rbp
mov rdx, rdi
call fcn.14014b3f0
lea rcx, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
call fcn.14014ae70
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov rcx, rdx
mov rdx, r13
call fcn.14014b3e0
lea r8, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
mov rcx, rbp
call fcn.14014b3f0
lea rcx, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
call fcn.14014ae70
lea rcx, str._rustc_fc3800f65777a365b5125706d60f97e4d0675efelibrarycore_src_slice_sort.rs
call fcn.14014ae70
int3