Function at 0x140006dc0
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 + 0x10], rcx
cmp rdx, 0x15
jae 0x140006e1f
cmp r15, 1
jbe 0x140007476
mov r8d, 1
mov rcx, qword [rbp + 0x10]
mov rdx, r15
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp 0x1400076a0
lea rax, [r15 + r15]
movabs rsi, 0x7ffffffffffffffc
and rsi, rax
movzx eax, byte [0x140069b41]
mov edx, 2
mov rcx, rsi
call fcn.1400062c0
test rax, rax
je 0x1400075d8
mov qword [rbp + 0x28], rax
mov qword [rbp - 8], rsi
movzx eax, byte [0x140069b41]
mov ecx, pe_nt_image_headers64
mov edx, 8
call fcn.1400062c0
test rax, rax
je 0x1400075e4
mov rdi, rax
mov rax, qword [rbp + 0x10]
lea rcx, [rax + 6]
mov qword [rbp - 0x18], rcx
add rax, 0xfffffffffffffffc
mov qword [rbp - 0x10], rax
mov eax, 0x10
mov qword [rbp + 0x58], rax
xor esi, esi
xor r14d, r14d
mov qword [rbp], r15
jmp 0x140006ea9
mov esi, 1
mov r14, qword [rbp + 8]
mov rax, r15
sub rax, r14
jbe 0x14000743a
mov rcx, qword [rbp + 0x10]
lea rcx, [rcx + r14*4]
cmp rax, 2
mov qword [rbp + 0x38], rdi
jae 0x140006fa0
mov r8, rax
lea rbx, [r8 + r14]
mov r13, qword [rbp + 0x58]
mov rdi, rbx
sub rdi, r14
jb 0x140007554
cmp rbx, r15
ja 0x140007554
jae 0x140006f24
cmp r8, 0xa
jae 0x140006f24
lea rbx, [r14 + 0xa]
cmp rbx, r15
cmovae rbx, r15
cmp r8, 1
adc r8, 0
mov rdi, rbx
sub rdi, r14
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
mov rdx, rdi
call 0x1400076a0
mov r13, qword [rbp + 0x58]
cmp rsi, r13
jne 0x140007010
mov qword [rbp + 0x30], r14
mov r12, rsi
lea rax, [r13*2]
mov qword [rbp + 0x50], rax
mov rcx, r13
shl rcx, 5
movzx eax, byte [0x140069b41]
mov edx, 8
call fcn.1400062c0
test rax, rax
je 0x14000757a
mov rsi, rax
shl r13, 4
mov rcx, rax
mov r14, qword [rbp + 0x38]
mov rdx, r14
mov r8, r13
call fcn.1400353d0
mov r8d, 8
mov rcx, r14
mov rdx, r13
call fcn.1400062d0
mov r13, rsi
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x58], rax
mov rsi, r12
mov r14, qword [rbp + 0x30]
jmp 0x140007014
movzx edx, byte [rcx + 6]
cmp dl, byte [rcx + 2]
jae 0x140007300
mov r8d, 2
cmp rax, 2
je 0x140006fd9
nop dword [rax]
mov r9d, edx
movzx edx, byte [rcx + r8*4 + 2]
cmp dl, r9b
jae 0x140006fd9
inc r8
cmp rax, r8
jne 0x140006fc0
mov r8, rax
mov rbx, r8
add rbx, r14
jb 0x140007598
cmp rbx, r15
mov r13, qword [rbp + 0x58]
ja 0x1400075b8
cmp r8, 2
jae 0x14000732f
mov r8d, 1
jmp 0x140006ed6
mov r13, qword [rbp + 0x38]
mov rax, rsi
shl rax, 4
mov qword [r13 + rax], rdi
mov qword [r13 + rax + 8], r14
inc rsi
mov r14, rbx
cmp rsi, 2
mov rdi, r13
jb 0x140006ea9
mov qword [rbp + 8], rbx
mov qword [rbp + 0x38], rdi
jmp 0x1400070a0
mov r15, rdi
mov rdx, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x18]
mov r12, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x38]
add r13, rdi
add r14, rdi
sub r8, rdx
mov rcx, r15
call fcn.1400353d0
mov rax, qword [rbp - 0x20]
add rax, qword [rbp + 0x30]
mov qword [r14], rax
mov rax, qword [rbp - 0x28]
mov qword [r14 + 8], rax
lea rdx, [r13 + 0x10]
not r12
add rbx, r12
shl rbx, 4
mov rcx, r13
mov r8, rbx
call fcn.1400353d0
cmp rsi, 1
mov r15, qword [rbp]
jbe 0x140006ea0
mov r11, rsi
lea r10, [rsi - 1]
mov rcx, r10
shl rcx, 4
mov rax, qword [rdi + rcx]
mov rcx, qword [rdi + rcx + 8]
add rcx, rax
cmp rcx, r15
je 0x140007110
mov rdx, r11
shl rdx, 4
mov r8, qword [rdx + rdi - 0x20]
cmp r8, rax
jbe 0x140007110
cmp r11, 2
je 0x14000735d
lea r12, [r11 - 3]
mov rcx, r12
shl rcx, 4
mov rcx, qword [rdi + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140007125
cmp r11, 3
jbe 0x140007420
add r8, rcx
cmp qword [rdx + rdi - 0x40], r8
jbe 0x140007125
jmp 0x14000742e
cmp r11, 2
je 0x14000712a
lea r12, [r11 - 3]
mov rcx, r12
shl rcx, 4
mov rcx, qword [rdi + rcx]
cmp rcx, rax
jb 0x14000712e
lea r12, [r11 - 2]
cmp r11, r12
jbe 0x1400074ce
lea r14, [r12 + 1]
cmp r11, r14
jbe 0x14000748b
mov qword [rbp + 0x50], r10
mov r13, r12
shl r13, 4
mov rcx, qword [rdi + r13 + 8]
shl r14, 4
mov rax, qword [rdi + r14]
mov rbx, qword [rdi + r14 + 8]
add rbx, rax
mov rsi, rbx
sub rsi, rcx
jb 0x140007511
cmp rbx, r15
ja 0x140007531
mov qword [rbp - 0x20], rax
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x18], r11
mov rdx, qword [rdi + r13]
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x28], rcx
lea r15, [rax + rcx*4]
lea rdi, [r15 + rdx*4]
mov r12, rsi
sub r12, rdx
cmp r12, rdx
mov qword [rbp + 0x30], rdx
jae 0x140007250
lea r8, [r12*4]
mov rsi, qword [rbp + 0x28]
mov rcx, rsi
mov rdx, rdi
call fcn.1400353d0
lea r8, [rsi + r12*4]
cmp qword [rbp + 0x30], 0
jle 0x1400072e5
test r12, r12
mov rsi, qword [rbp + 0x50]
jle 0x140007042
mov rax, qword [rbp - 0x10]
lea rax, [rax + rbx*4]
mov r11, qword [rbp + 0x28]
mov rbx, qword [rbp + 0x18]
mov r12, qword [rbp + 0x20]
nop word cs:[rax + rax]
movzx ecx, byte [r8 - 2]
movzx edx, byte [rdi - 2]
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*4]
lea r8, [r8 + r10*4]
mov rcx, r8
cmovb rcx, rdi
mov ecx, dword [rcx]
mov dword [rax], ecx
cmp rdi, r15
jbe 0x140007243
add rax, 0xfffffffffffffffc
cmp r8, r11
ja 0x140007200
mov r15, rdi
mov rdx, r11
jmp 0x140007051
lea r8, [rdx*4]
mov r12, qword [rbp + 0x28]
mov rcx, r12
mov rdx, r15
call fcn.1400353d0
mov rax, qword [rbp + 0x30]
lea r8, [r12 + rax*4]
test rax, rax
jle 0x1400072e0
cmp rsi, rax
jle 0x1400072e0
mov rax, qword [rbp + 0x10]
lea rax, [rax + rbx*4]
mov rdx, r12
mov rsi, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x18]
mov r12, qword [rbp + 0x20]
movzx r9d, byte [rdi + 2]
xor r10d, r10d
xor ecx, ecx
cmp r9b, byte [rdx + 2]
setae r10b
setb r9b
mov r11, rdx
cmovb r11, rdi
mov r11d, dword [r11]
mov dword [r15], r11d
add r15, 4
lea rdx, [rdx + r10*4]
cmp rdx, r8
jae 0x140007051
mov cl, r9b
lea rdi, [rdi + rcx*4]
cmp rdi, rax
jb 0x140007290
jmp 0x140007051
mov rdx, r12
jmp 0x1400072ec
mov r15, rdi
mov rdx, qword [rbp + 0x28]
mov rsi, qword [rbp + 0x50]
jmp 0x140007049
mov r8d, 2
cmp rax, 2
je 0x140006ece
mov r9d, edx
movzx edx, byte [rcx + r8*4 + 2]
cmp dl, r9b
jb 0x140006ece
inc r8
cmp rax, r8
jne 0x140007310
jmp 0x140006ecb
mov r12, rbx
mov qword [rbp + 0x50], rsi
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*4]
lea r9, [rax*4]
sub rdx, r9
cmp rax, 1
mov qword [rbp + 0x30], r14
jne 0x14000736b
xor r9d, r9d
jmp 0x1400073dd
mov esi, 2
mov r14, qword [rbp + 8]
jmp 0x140006ea9
mov r10, rax
and r10, 0xfffffffffffffffe
mov r9, qword [rbp - 0x18]
lea r11, [r9 + r14*4]
mov r9, qword [rbp - 0x10]
lea rsi, [r9 + r12*4]
xor r9d, r9d
movabs r13, 0x3ffffffffffffffe
nop
movzx edi, word [r11 + r9*4 - 6]
movzx ebx, byte [r11 + r9*4 - 4]
mov r14d, dword [rsi]
mov dword [r11 + r9*4 - 6], r14d
mov word [rsi], di
mov byte [rsi + 2], bl
mov rdi, r9
xor rdi, r13
add rdi, rax
movzx ebx, word [r11 + r9*4 - 2]
movzx r14d, byte [r11 + r9*4]
mov r15d, dword [rdx + rdi*4]
mov dword [r11 + r9*4 - 2], r15d
mov word [rdx + rdi*4], bx
mov byte [rdx + rdi*4 + 2], r14b
add r9, 2
add rsi, 0xfffffffffffffff8
cmp r10, r9
jne 0x140007390
test r8b, 2
je 0x140007408
mov r10, r9
not r10
add rax, r10
movzx r10d, word [rcx + r9*4]
movzx r11d, byte [rcx + r9*4 + 2]
mov esi, dword [rdx + rax*4]
mov dword [rcx + r9*4], esi
mov word [rdx + rax*4], r10w
mov byte [rdx + rax*4 + 2], r11b
mov r15, qword [rbp]
mov r13, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rbx, r12
mov r14, qword [rbp + 0x30]
jmp 0x140006ed6
mov esi, 3
mov r14, qword [rbp + 8]
jmp 0x140006ea9
mov rsi, r11
mov r14, qword [rbp + 8]
jmp 0x140006ea9
mov rdx, qword [rbp + 0x58]
shl rdx, 4
mov r8d, 8
mov rcx, rdi
call fcn.1400062d0
mov r8d, 2
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp - 8]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1400062d0
nop
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rax, str.Index_out_of_bounds
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea rdx, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
lea rcx, [rbp - 0x58]
call fcn.140037a70
jmp 0x1400075f0
lea rax, str.Index_out_of_bounds
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea rdx, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
lea rcx, [rbp - 0x58]
call fcn.140037a70
jmp 0x1400075f0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov rdx, rbx
call fcn.140037e90
jmp 0x1400075f0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov rcx, rbx
mov rdx, r15
call fcn.140037e80
jmp 0x1400075f0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.140037b30
jmp 0x1400075f0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x40], rax
lea rcx, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
call fcn.140037a30
jmp 0x1400075f0
mov qword [rbp + 0x48], rdi
mov rax, qword [rbp + 0x58]
mov qword [rbp + 0x40], rax
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov rcx, r14
mov rdx, rbx
call fcn.140037e90
jmp 0x1400075f0
mov rax, qword [rbp + 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], r13
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov rcx, rbx
mov rdx, r15
call fcn.140037e80
jmp 0x1400075f0
lea rcx, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
call fcn.140037a30
lea rcx, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
call fcn.140037a30
ud2
push rsi
push rdi
sub rsp, 0x28
lea rax, [r8 - 1]
cmp rax, rdx
jae 0x140007735
cmp r8, rdx
jae 0x14000772e
lea rax, [rcx + r8*4]
add rax, 0xfffffffffffffffc
jmp 0x1400076e0
add r11, 0xfffffffffffffff8
movzx r9d, r9b
shl r9d, 0x10
or r9d, r10d
mov dword [r11], r9d
inc r8
add rax, 4
cmp r8, rdx
je 0x14000772e
movzx r9d, byte [rcx + r8*4 + 2]
cmp r9b, byte [rcx + r8*4 - 2]
jae 0x1400076d4
lea r11, [rcx + r8*4]
add r11, 4
movzx r10d, word [rcx + r8*4]
mov esi, dword [r11 - 8]
mov dword [rcx + r8*4], esi
cmp r8, 1
je 0x1400076c2
mov esi, 1
mov r11, rax
cmp r9b, byte [r11 - 2]
jae 0x1400076c6
mov edi, dword [r11 - 4]
mov dword [r11], edi
add r11, 0xfffffffffffffffc
inc rsi
cmp r8, rsi
jne 0x140007710
mov r11, rcx
jmp 0x1400076c6
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_offset___0__offset___len
lea r8, str._rustc_8679004993f08807289911d9f400f4ac4391d2bclibrarycore_src_slice_sort.rs
mov edx, 0x2e
call fcn.140037b30
int3