Function at 0x1401c2880
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov r15, rdx
mov qword [rbp + 0x28], rcx
cmp rdx, 0x15
jae 0x1401c28df
cmp r15, 1
jbe 0x1401c2fa5
mov r8d, 1
mov rcx, qword [rbp + 0x28]
mov rdx, r15
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1401c3b50
lea rax, [r15*4]
movabs rsi, 0x7ffffffffffffff8
and rsi, rax
movzx eax, byte [0x140327401]
mov edx, 4
mov rcx, rsi
call fcn.1400401d0
test rax, rax
je 0x1401c312d
mov rbx, rax
mov qword [rbp], rsi
movzx eax, byte [0x140327401]
mov ecx, 0x100
mov edx, 8
call fcn.1400401d0
test rax, rax
mov qword [rbp + 0x38], rbx
je 0x1401c3139
mov rcx, qword [rbp + 0x28]
lea rdx, [rcx + 0xc]
mov qword [rbp - 0x10], rdx
lea rdx, [rcx - 4]
mov qword [rbp - 8], rdx
add rcx, 0xfffffffffffffff8
mov qword [rbp - 0x18], rcx
mov ecx, 0x10
mov qword [rbp + 0x58], rcx
xor r11d, r11d
movabs r13, 0x1ffffffffffffffe
xor esi, esi
mov qword [rbp + 8], r15
jmp 0x1401c298a
mov r11d, 1
mov rsi, qword [rbp + 0x18]
mov r10, r15
sub r10, rsi
jbe 0x1401c2f6a
mov rcx, qword [rbp + 0x28]
lea rcx, [rcx + rsi*8]
cmp r10, 2
mov qword [rbp + 0x40], rsi
jae 0x1401c2aa0
mov r8, r10
lea r12, [r8 + rsi]
mov rdi, r12
sub rdi, rsi
jb 0x1401c3089
cmp r12, r15
ja 0x1401c3089
jae 0x1401c2b30
cmp r8, 0xa
jae 0x1401c2b30
lea r12, [rsi + 0xa]
cmp r12, r15
cmovae r12, r15
mov rdi, r12
sub rdi, rsi
jb 0x1401c30b2
mov rbx, r11
cmp r8, 1
adc r8, 0
mov r14, rax
mov qword [rbp + 0x50], rax
mov rsi, qword [rbp + 0x58]
mov qword [rbp + 0x48], rsi
mov rdx, rdi
call fcn.1401c3b50
mov r11, rbx
cmp r11, rsi
jne 0x1401c2b40
mov rbx, r12
mov r12, r11
lea rax, [rsi + rsi]
mov qword [rbp + 0x30], rax
mov rcx, rsi
shl rcx, 5
mov r13, rsi
movzx eax, byte [0x140327401]
mov edx, 8
call fcn.1400401d0
test rax, rax
je 0x1401c30d3
mov rsi, rax
shl r13, 4
mov rcx, rax
mov rdx, r14
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 8
mov rcx, r14
mov rdx, r13
call fcn.1400401e0
mov rax, rsi
mov rcx, qword [rbp + 0x30]
mov qword [rbp + 0x58], rcx
movabs r13, 0x1ffffffffffffffe
mov r11, r12
mov r12, rbx
jmp 0x1401c2b43
movzx edx, byte [rcx + 8]
cmp dl, byte [rcx]
jae 0x1401c2e40
mov r8d, 2
cmp r10, 2
je 0x1401c2ad8
nop dword [rax + rax]
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jae 0x1401c2ad8
inc r8
cmp r10, r8
jne 0x1401c2ac0
mov r8, r10
mov r12, r8
add r12, rsi
jb 0x1401c310d
cmp r12, r15
ja 0x1401c30ed
cmp r8, 2
jb 0x1401c29b3
mov qword [rbp + 0x30], r11
mov qword [rbp + 0x10], rax
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*8]
lea r9, [rax*8]
sub rdx, r9
cmp rax, 1
jne 0x1401c2e7d
xor r9d, r9d
jmp 0x1401c2f07
mov r14, rax
mov rsi, qword [rbp + 0x58]
cmp r11, rsi
je 0x1401c2a1d
mov rax, r14
mov rcx, r11
shl rcx, 4
mov qword [rax + rcx], rdi
mov rdx, qword [rbp + 0x40]
mov qword [rax + rcx + 8], rdx
inc r11
mov rsi, r12
cmp r11, 2
mov rbx, qword [rbp + 0x38]
jb 0x1401c298a
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x10], rax
jmp 0x1401c2bde
mov r15, rdi
mov rbx, qword [rbp + 0x38]
mov rdx, rbx
movabs r13, 0x1ffffffffffffffe
mov rsi, qword [rbp + 0x20]
sub r8, rdx
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x20]
add rax, qword [rbp + 0x40]
mov qword [r14], rax
mov rax, qword [rbp - 0x28]
mov qword [r14 + 8], rax
lea rdx, [rsi + 0x10]
mov rax, qword [rbp - 0x30]
not rax
add r12, rax
shl r12, 4
mov rcx, rsi
mov r8, r12
call sub.VCRUNTIME140.dll_memmove
mov r11, qword [rbp + 0x30]
cmp r11, 1
mov r15, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
jbe 0x1401c2980
mov r12, r11
dec r11
mov rcx, r11
shl rcx, 4
mov r10, qword [rax + rcx]
mov rcx, qword [rax + rcx + 8]
add rcx, r10
cmp rcx, r15
je 0x1401c2c50
mov rdx, r12
shl rdx, 4
mov r8, qword [rdx + rax - 0x20]
cmp r8, r10
jbe 0x1401c2c50
cmp r12, 2
jbe 0x1401c2e6e
lea rdi, [r12 - 3]
mov rcx, rdi
shl rcx, 4
mov rcx, qword [rax + rcx]
lea r9, [r8 + r10]
cmp rcx, r9
jbe 0x1401c2c66
cmp r12, 3
jbe 0x1401c2f4f
add r8, rcx
cmp qword [rdx + rax - 0x40], r8
jbe 0x1401c2c66
jmp 0x1401c2f5e
cmp r12, 3
jb 0x1401c2c6b
lea rdi, [r12 - 3]
mov rcx, rdi
shl rcx, 4
mov rcx, qword [rax + rcx]
cmp rcx, r10
jb 0x1401c2c70
lea rdi, [r12 - 2]
cmp r12, rdi
jbe 0x1401c2fba
lea r14, [rdi + 1]
cmp r12, r14
jbe 0x1401c3000
mov rdx, rdi
shl rdx, 4
mov rcx, qword [rax + rdx + 8]
shl r14, 4
mov r8, qword [rax + r14]
mov r13, qword [rax + r14 + 8]
add r13, r8
mov rsi, r13
sub rsi, rcx
jb 0x1401c3069
cmp r13, r15
ja 0x1401c3046
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x30], rdi
mov qword [rbp + 0x30], r11
lea r8, [rax + rdx]
mov qword [rbp + 0x20], r8
mov rdx, qword [rax + rdx]
add r14, rax
mov rax, qword [rbp + 0x28]
mov qword [rbp - 0x28], rcx
lea r15, [rax + rcx*8]
lea rdi, [r15 + rdx*8]
mov rbx, rsi
sub rbx, rdx
cmp rbx, rdx
mov qword [rbp + 0x40], rdx
jae 0x1401c2d90
lea r8, [rbx*8]
mov rsi, qword [rbp + 0x38]
mov rcx, rsi
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea r8, [rsi + rbx*8]
cmp qword [rbp + 0x40], 0
jle 0x1401c2b75
test rbx, rbx
mov rsi, qword [rbp + 0x20]
jle 0x1401c2e23
mov rax, qword [rbp - 0x18]
lea rax, [rax + r13*8]
mov rbx, qword [rbp + 0x38]
movabs r13, 0x1ffffffffffffffe
nop
movzx ecx, byte [r8 - 8]
movzx edx, byte [rdi - 8]
cmp cl, dl
mov r9d, 0
sbb r9, r9
cmp cl, dl
mov r10d, 0
adc r10, 0xffffffffffffffff
cmp cl, dl
lea rdi, [rdi + r9*8]
lea r8, [r8 + r10*8]
mov rcx, r8
cmovb rcx, rdi
mov rcx, qword [rcx]
mov qword [rax], rcx
cmp rdi, r15
jbe 0x1401c2d85
add rax, 0xfffffffffffffff8
cmp r8, rbx
ja 0x1401c2d40
mov r15, rdi
mov rdx, rbx
jmp 0x1401c2b8d
lea r8, [rdx*8]
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp + 0x40]
lea r8, [rbx + rax*8]
test rax, rax
jle 0x1401c2b7c
cmp rsi, rax
jle 0x1401c2b7c
mov rax, qword [rbp + 0x28]
lea rax, [rax + r13*8]
mov rdx, rbx
movabs r13, 0x1ffffffffffffffe
mov rsi, qword [rbp + 0x20]
nop word [rax + rax]
movzx r9d, byte [rdi]
xor r10d, r10d
xor ecx, ecx
cmp r9b, byte [rdx]
setae r10b
setb r9b
mov r11, rdx
cmovb r11, rdi
mov r11, qword [r11]
mov qword [r15], r11
add r15, 8
lea rdx, [rdx + r10*8]
cmp rdx, r8
jae 0x1401c2b8d
mov cl, r9b
lea rdi, [rdi + rcx*8]
cmp rdi, rax
jb 0x1401c2de0
jmp 0x1401c2b8d
mov r15, rdi
mov rbx, qword [rbp + 0x38]
mov rdx, rbx
movabs r13, 0x1ffffffffffffffe
jmp 0x1401c2b8d
mov r8d, 2
cmp r10, 2
je 0x1401c29af
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jb 0x1401c29af
inc r8
cmp r10, r8
jne 0x1401c2e50
jmp 0x1401c29ac
mov r11d, 2
mov rsi, qword [rbp + 0x18]
jmp 0x1401c298a
mov r10, rax
and r10, 0xfffffffffffffffe
mov r9, qword [rbp - 0x10]
lea r11, [r9 + rsi*8]
mov r9, qword [rbp - 8]
lea rsi, [r9 + r12*8]
xor r9d, r9d
nop word [rax + 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, r13
add rdi, rax
movzx ebx, byte [r11 + r9*8 - 4]
mov r14d, dword [r11 + r9*8]
movzx r15d, byte [rdx + rdi*8]
mov r13d, dword [rdx + rdi*8 + 4]
mov byte [r11 + r9*8 - 4], r15b
mov dword [r11 + r9*8], r13d
movabs r13, 0x1ffffffffffffffe
mov byte [rdx + rdi*8], bl
mov dword [rdx + rdi*8 + 4], r14d
add r9, 2
add rsi, 0xfffffffffffffff0
cmp r10, r9
jne 0x1401c2ea0
test r8b, 2
je 0x1401c2f3a
mov r10, r9
not r10
add rax, r10
movzx r10d, byte [rcx + r9*8]
mov r11d, dword [rcx + r9*8 + 4]
movzx ebx, byte [rdx + rax*8]
mov esi, dword [rdx + rax*8 + 4]
mov byte [rcx + r9*8], bl
mov dword [rcx + r9*8 + 4], esi
mov byte [rdx + rax*8], r10b
mov dword [rdx + rax*8 + 4], r11d
mov r15, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov r11, qword [rbp + 0x30]
mov rsi, qword [rbp + 0x40]
jmp 0x1401c29b3
mov r11d, 3
mov rsi, qword [rbp + 0x18]
jmp 0x1401c298a
mov r11, r12
mov rsi, qword [rbp + 0x18]
jmp 0x1401c298a
mov rdx, qword [rbp + 0x58]
shl rdx, 4
mov r8d, 8
mov rcx, rax
call fcn.1400401e0
mov r8d, 4
mov rcx, rbx
mov rdx, qword [rbp]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1400401e0
nop
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.Index_out_of_bounds
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 1
lea rcx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov qword [rbp - 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea rdx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
lea rcx, [rbp - 0x60]
call fcn.140213ef0
jmp 0x1401c3145
lea rcx, str.Index_out_of_bounds
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 1
lea rcx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov qword [rbp - 0x50], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea rdx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
lea rcx, [rbp - 0x60]
call fcn.140213ef0
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov rcx, r13
mov rdx, r15
call fcn.1402144f0
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov rdx, r13
call fcn.140214570
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.140213fc0
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov rcx, qword [rbp + 0x40]
mov rdx, r12
call fcn.140214570
jmp 0x1401c3145
mov qword [rbp + 0x50], r14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x48], rax
lea rcx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
call fcn.140213e60
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov rcx, r12
mov rdx, r15
call fcn.1402144f0
jmp 0x1401c3145
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x48], rax
lea r8, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
mov rcx, rsi
mov rdx, r12
call fcn.140214570
jmp 0x1401c3145
lea rcx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
call fcn.140213e60
lea rcx, str._rustc_bf3c6c5bed498f41ad815641319a1ad9bcecb8e8librarycore_src_slice_sort.rs
call fcn.140213e60
ud2