Function at 0x140061b10
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov r15, rdx
mov qword [rsp + 0x40], rcx
cmp rdx, 0x15
jae 0x140061b61
cmp r15, 1
jbe 0x1400621e0
mov r8d, 1
mov rcx, qword [rsp + 0x40]
mov rdx, r15
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140062770
movabs rax, 0x7ffffffffffffff8
lea rdx, [r15*4]
and rdx, rax
movzx eax, byte [0x1402792e0]
xor ecx, ecx
call fcn.1401685e0
test rax, rax
je 0x1400622f9
mov rsi, rax
movzx eax, byte [0x1402792e0]
mov edx, 0x100
xor ecx, ecx
call fcn.1401685e0
test rax, rax
je 0x140062305
mov rdi, rax
mov rax, qword [rsp + 0x40]
lea rcx, [rax + 0xc]
mov qword [rsp + 0x58], rcx
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x50], rax
mov eax, 0x10
mov qword [rsp + 0x48], rax
xor r13d, r13d
movabs rbp, 0x1ffffffffffffffe
xor r14d, r14d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], r15
jmp 0x140061c04
mov r14d, 1
mov r13, qword [rsp + 0x30]
cmp r13, r15
jae 0x1400621ab
mov rax, r15
sub rax, r13
mov rcx, qword [rsp + 0x40]
lea rcx, [rcx + r13*8]
cmp rax, 2
jae 0x140061c90
mov r8, rax
mov r12, rdi
lea rdx, [r8 + r13]
mov rdi, rdx
sub rdi, r13
jb 0x1400622a2
cmp rdx, r15
ja 0x1400622a2
jae 0x140061d00
cmp r8, 0xa
jae 0x140061d00
lea rdi, [r13 + 0xa]
cmp rdi, r15
cmovae rdi, r15
cmp r13, 0xfffffffffffffff6
jae 0x1400622ba
cmp r8, 1
adc r8, 0
mov qword [rsp + 0x30], rdi
sub rdi, r13
mov rdx, rdi
call 0x140062770
cmp r14, qword [rsp + 0x48]
je 0x140061d0c
jmp 0x140061d64
movzx edx, byte [rcx + 8]
cmp dl, byte [rcx]
jae 0x140062070
mov r8d, 2
cmp rax, 2
je 0x140061cc8
nop dword [rax + rax]
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jae 0x140061cc8
inc r8
cmp rax, r8
jne 0x140061cb0
mov r8, rax
mov rdx, r8
add rdx, r13
jb 0x1400622ea
cmp rdx, r15
ja 0x1400622d8
mov r12, rdi
cmp r8, 2
jae 0x14006209e
mov r8d, 1
jmp 0x140061c23
mov qword [rsp + 0x30], rdx
cmp r14, qword [rsp + 0x48]
jne 0x140061d64
mov rdx, r14
shl rdx, 5
movzx eax, byte [0x1402792e0]
xor ecx, ecx
call fcn.1401685e0
test rax, rax
je 0x1400622cc
mov rsi, rax
lea rax, [r14 + r14]
mov qword [rsp + 0x48], rax
mov r8, r14
shl r8, 4
mov rcx, rsi
mov rbx, r12
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, r12
call fcn.1401abdbc
mov r12, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r14
shl rax, 4
mov qword [r12 + rax], rdi
mov qword [r12 + rax + 8], r13
inc r14
mov rax, r14
cmp r14, 2
mov rdi, r12
mov qword [rsp + 0x60], r12
jae 0x140061dfe
jmp 0x140061bf6
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r14, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
add r13, rdi
add rbx, rdi
sub r8, rdx
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x68]
add rax, rbp
mov qword [rbx], rax
mov rax, qword [rsp + 0x70]
mov qword [rbx + 8], rax
lea rdx, [r13 + 0x10]
mov rax, qword [rsp + 0x78]
not rax
add r14, rax
shl r14, 4
mov rcx, r13
mov r8, r14
call sub.msvcrt.dll_memmove
mov rax, qword [rsp + 0x80]
cmp rax, 1
movabs rbp, 0x1ffffffffffffffe
jbe 0x140061bf0
mov r14, rax
lea r10, [rax - 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 0x140061e70
mov rdx, r14
shl rdx, 4
mov r8, qword [rdx + rdi - 0x20]
cmp r8, rax
jbe 0x140061e70
cmp r14, 2
je 0x1400620cb
lea r11, [r14 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rdi + rcx]
lea r9, [r8 + rax]
cmp rcx, r9
jbe 0x140061e85
cmp r14, 3
jbe 0x1400621a0
add r8, rcx
cmp qword [rdx + rdi - 0x40], r8
jbe 0x140061e85
jmp 0x140061bf6
cmp r14, 2
je 0x140061e8a
lea r11, [r14 - 3]
mov rcx, r11
shl rcx, 4
mov rcx, qword [rdi + rcx]
cmp rcx, rax
jb 0x140061e8e
lea r11, [r14 - 2]
cmp r14, r11
jbe 0x14006223b
lea rbx, [r11 + 1]
cmp r14, rbx
jbe 0x1400621f5
mov qword [rsp + 0x20], r14
mov r13, r11
shl r13, 4
mov rcx, qword [rdi + r13 + 8]
shl rbx, 4
mov rax, qword [rdi + rbx]
mov r14, qword [rdi + rbx + 8]
add r14, rax
mov rsi, r14
sub rsi, rcx
jb 0x140062281
cmp r14, r15
ja 0x140062290
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], r10
mov rbp, qword [rdi + r13]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rcx
lea r12, [rax + rcx*8]
lea rdi, [r12 + rbp*8]
mov r15, rsi
sub r15, rbp
cmp r15, rbp
jae 0x140061fb0
lea r8, [r15*8]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
lea r8, [rsi + r15*8]
test rbp, rbp
jle 0x140062050
test r15, r15
jle 0x140062050
mov rax, qword [rsp + 0x50]
lea rax, [rax + r14*8]
mov r15, qword [rsp + 0x38]
mov r14, qword [rsp + 0x20]
nop word cs:[rax + rax]
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, r12
jbe 0x140061fa5
add rax, 0xfffffffffffffff8
cmp r8, rsi
ja 0x140061f60
mov r12, rdi
mov rdx, rsi
jmp 0x140061d9a
lea r8, [rbp*8]
mov r15, qword [rsp + 0x28]
mov rcx, r15
mov rdx, r12
call sub.msvcrt.dll_memcpy
lea r8, [r15 + rbp*8]
test rbp, rbp
jle 0x140062055
cmp rsi, rbp
mov r15, qword [rsp + 0x38]
jle 0x140061d8d
mov rax, qword [rsp + 0x40]
lea rax, [rax + r14*8]
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r14, qword [rsp + 0x20]
nop dword [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 [r12], r11
add r12, 8
lea rdx, [rdx + r10*8]
cmp rdx, r8
jae 0x140061d9a
mov cl, r9b
lea rdi, [rdi + rcx*8]
cmp rdi, rax
jb 0x140062000
jmp 0x140061d9a
mov r12, rdi
jmp 0x14006205a
mov rsi, qword [rsp + 0x28]
mov rdx, rsi
mov r15, qword [rsp + 0x38]
jmp 0x140061d95
mov r8d, 2
cmp rax, 2
je 0x140061c1c
mov r9d, edx
movzx edx, byte [rcx + r8*8]
cmp dl, r9b
jb 0x140061c1c
inc r8
cmp rax, r8
jne 0x140062080
jmp 0x140061c19
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], r14
mov rax, r8
shr rax, 1
lea rdx, [rcx + r8*8]
lea r9, [rax*8]
sub rdx, r9
cmp rax, 1
jne 0x1400620d6
xor r9d, r9d
jmp 0x140062162
mov r14d, 2
jmp 0x140061bf6
movabs r9, 0x7ffffffffffffff8
lea r10, [r9 + 6]
and r10, rax
mov r9, qword [rsp + 0x58]
lea r11, [r9 + r13*8]
mov r9, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x30]
lea rsi, [r9 + rsi*8]
xor r9d, r9d
nop word cs:[rax + rax]
movzx ebx, byte [r11 + r9*8 - 0xc]
mov edi, dword [r11 + r9*8 - 8]
mov r14, qword [rsi]
mov qword [r11 + r9*8 - 0xc], r14
mov byte [rsi], bl
mov dword [rsi + 4], edi
mov rdi, r9
xor rdi, rbp
add rdi, rax
movzx ebx, byte [r11 + r9*8 - 4]
mov ebp, dword [r11 + r9*8]
mov r14, qword [rdx + rdi*8]
mov qword [r11 + r9*8 - 4], r14
mov byte [rdx + rdi*8], bl
mov dword [rdx + rdi*8 + 4], ebp
movabs rbp, 0x1ffffffffffffffe
add r9, 2
add rsi, 0xfffffffffffffff0
cmp r10, r9
jne 0x140062110
test r8b, 2
je 0x14006218c
mov r10, r9
not r10
add rax, r10
movzx r10d, byte [rcx + r9*8]
mov r11d, dword [rcx + r9*8 + 4]
mov rsi, qword [rdx + rax*8]
mov qword [rcx + r9*8], rsi
mov byte [rdx + rax*8], r10b
mov dword [rdx + rax*8 + 4], r11d
mov rsi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x30]
jmp 0x140061c23
mov r14d, 3
jmp 0x140061bf6
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rdi
call fcn.1401abdbc
mov rcx, qword [0x140279280]
xor edx, edx
mov r8, rsi
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1401abdbc
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [0x140209fd0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x98], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rdx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
lea rcx, [rsp + 0x88]
call fcn.140046220
lea rax, [0x140209fd0]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 1
mov qword [rsp + 0x98], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
lea rdx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
lea rcx, [rsp + 0x88]
call fcn.140046220
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov rdx, r14
call fcn.1400479c0
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov rcx, r14
mov rdx, r15
call fcn.140046bf0
lea rcx, str.assertion_failed:_end___start__end___len
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov edx, 0x2c
call fcn.140046f60
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov rcx, r13
mov rdx, rdi
call fcn.1400479c0
lea rcx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
call fcn.140049c70
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov rcx, rdx
mov rdx, r15
call fcn.140046bf0
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov rcx, r13
call fcn.1400479c0
lea rcx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
call fcn.140049c70
lea rcx, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
call fcn.140049c70
int3
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rax, [r8 - 1]
cmp rax, rdx
jae 0x140062803
cmp r8, rdx
jae 0x1400627fb
lea rax, [rcx - 0x10]
lea r9, [rcx + r8*8]
add r9, 0xfffffffffffffff8
jmp 0x1400627b0
mov rsi, rcx
shl r11, 0x20
or r11, r10
mov qword [rsi], r11
inc r8
add r9, 8
cmp r8, rdx
je 0x1400627fb
movzx r10d, byte [rcx + r8*8]
cmp r10b, byte [rcx + r8*8 - 8]
jae 0x1400627a4
lea rsi, [rax + r8*8]
add rsi, 8
mov r11d, dword [rcx + r8*8 + 4]
mov rdi, qword [rsi]
mov qword [rcx + r8*8], rdi
cmp r8, 1
je 0x14006279a
mov edi, 1
mov rsi, r9
nop
cmp r10b, byte [rsi - 8]
jae 0x14006279a
mov rbx, qword [rsi - 8]
mov qword [rsi], rbx
add rsi, 0xfffffffffffffff8
inc rdi
cmp r8, rdi
jne 0x1400627e0
jmp 0x140062797
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, str.assertion_failed:_offset___0__offset___len
lea r8, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_slice_sort.rs
mov edx, 0x2e
call fcn.140046f60
int3