Function at 0x140054b90
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r13, r9
mov rdi, r8
mov r12, rdx
mov rbp, rcx
cmp rdx, 0x21
jae 0x140054bd8
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rcx, rbp
mov rdx, r12
mov r8, rdi
mov r9, r13
call fcn.140050cb0
jmp 0x1400551d9
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x48], rax
mov esi, dword [rsp + 0x140]
lea rax, [rdi - 0x18]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x70], r13
mov r14, r12
mov qword [rsp + 0x60], rbp
nop word cs:[rax + rax]
sub esi, 1
jb 0x1400551b6
mov dword [rsp + 0x5c], esi
mov r9, r14
shr r9, 3
lea r12, [r9 + r9*2]
shl r12, 5
add r12, rbp
imul r13, r9, 0xa8
add r13, rbp
cmp r14, 0x40
mov qword [rsp + 0x78], r14
jae 0x140054d00
mov rcx, qword [rbp + 8]
mov qword [rsp + 0x40], rcx
mov r14, qword [rbp + 0x10]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov r15, r14
sub r15, r8
mov qword [rsp + 0x68], r8
cmovb r8, r14
mov qword [rsp + 0x50], rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r15, rax
mov rdx, qword [r13 + 8]
mov rsi, rbp
mov rbp, qword [r13 + 0x10]
mov rbx, r14
sub rbx, rbp
cmovae r14, rbp
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x88], rdx
mov r8, r14
mov r14, qword [rsp + 0x78]
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
mov qword [rsp + 0x40], r15
xor rbx, r15
mov r15, rsi
js 0x140054d14
mov rax, qword [rsp + 0x68]
mov rbx, rax
sub rbx, rbp
cmovb rbp, rax
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x88]
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
xor rbx, qword [rsp + 0x40]
cmovs r12, r13
mov r15, r12
jmp 0x140054d14
mov rcx, rbp
mov rdx, r12
mov r8, r13
call fcn.140053120
mov r15, rax
mov rsi, rbp
mov rcx, r15
sub rcx, rsi
shr rcx, 3
movabs rax, 0xaaaaaaaaaaaaaaab
imul rcx, rax
mov qword [rsp + 0x40], rcx
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x90], xmm0
cmp qword [rsp + 0x48], 0
mov rbp, rsi
mov r13, qword [rsp + 0x70]
je 0x140054d8e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
mov rbx, rax
sub rbx, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
test rbx, rbx
jns 0x140054fa0
cmp r14, r13
ja 0x1400551ee
lea rax, [r14 + r14*2]
mov qword [rsp + 0x68], rax
lea r13, [rdi + rax*8]
xor r12d, r12d
mov rbx, rbp
mov qword [rsp + 0x50], r13
mov r14, qword [rsp + 0x40]
nop word cs:[rax + rax]
lea rax, [r14 + r14*2]
lea rbp, [rbp + rax*8]
cmp rbx, rbp
jae 0x140054e29
nop
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [r15 + 8]
mov r8, qword [r15 + 0x10]
mov rsi, rax
sub rsi, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
add r13, 0xffffffffffffffe8
test rsi, rsi
mov rax, r13
cmovs rax, rdi
lea rcx, [r12 + r12*2]
movups xmm0, xmmword [rbx]
movups xmmword [rax + rcx*8], xmm0
mov rdx, qword [rbx + 0x10]
mov qword [rax + rcx*8 + 0x10], rdx
shr rsi, 0x3f
add r12, rsi
add rbx, 0x18
cmp rbx, rbp
jb 0x140054dd0
mov rax, qword [rsp + 0x78]
cmp r14, rax
mov r14, rax
je 0x140054e60
lea rax, [r12 + r12*2]
mov rcx, qword [rbx + 0x10]
mov qword [r13 + rax*8 - 8], rcx
movups xmm0, xmmword [rbx]
movups xmmword [r13 + rax*8 - 0x18], xmm0
add r13, 0xffffffffffffffe8
add rbx, 0x18
mov rbp, qword [rsp + 0x60]
jmp 0x140054dc0
lea rax, [r12*8]
lea r8, [rax + rax*2]
mov rbp, qword [rsp + 0x60]
mov rcx, rbp
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, r14
sub rdx, r12
mov r13, qword [rsp + 0x70]
movabs rsi, 0x1ffffffffffffffe
mov rbx, qword [rsp + 0x50]
je 0x140054f41
lea rax, [r12 + r12*2]
lea rax, [rax*8]
add rax, rbp
lea rcx, [r12 + 1]
cmp r14, rcx
jne 0x140054ec0
xor r9d, r9d
jmp 0x140054f1e
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov r8, qword [rsp + 0x80]
mov r9, qword [rsp + 0x68]
lea r8, [r8 + r9*8]
mov r10, rax
xor r11d, r11d
nop
mov r9, qword [r8 + 0x10]
mov qword [r10 + 0x10], r9
movups xmm0, xmmword [r8]
movups xmmword [r10], xmm0
lea r9, [r11 + 2]
xor r11, rsi
lea r11, [r11 + r11*2]
movups xmm0, xmmword [rbx + r11*8]
movups xmmword [r10 + 0x18], xmm0
mov r11, qword [rbx + r11*8 + 0x10]
mov qword [r10 + 0x28], r11
add r10, 0x30
add r8, 0xffffffffffffffd0
mov r11, r9
cmp rcx, r9
jne 0x140054ee0
test dl, 1
je 0x140054f41
lea rcx, [r9 + r9*2]
not r9
lea r8, [r9 + r9*2]
mov r9, qword [rbx + r8*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r9
movups xmm0, xmmword [rbx + r8*8]
movups xmmword [rax + rcx*8], xmm0
test r12, r12
je 0x140054fa0
cmp r14, r12
jb 0x1400551f0
lea rax, [r12 + r12*2]
lea rcx, [rax*8]
add rcx, rbp
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov esi, dword [rsp + 0x5c]
mov dword [rsp + 0x20], esi
mov r8, rdi
mov r9, r13
call fcn.140054b90
mov r14, r12
cmp r12, 0x21
jae 0x140054c10
jmp 0x140054bb5
cmp r14, r13
ja 0x1400551ee
lea rax, [r14 + r14*2]
mov qword [rsp + 0x48], rax
lea rax, [rdi + rax*8]
xor r13d, r13d
mov r12, rbp
mov qword [rsp + 0x50], rax
mov rbp, rax
mov rbx, qword [rsp + 0x40]
nop dword [rax]
mov r14, rbx
lea rax, [rbx + rbx*2]
mov rcx, qword [rsp + 0x60]
lea rbx, [rcx + rax*8]
cmp r12, rbx
jae 0x140055050
nop word cs:[rax + rax]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x10]
mov rcx, qword [r15 + 8]
mov rax, qword [r15 + 0x10]
mov rsi, rax
sub rsi, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
add rbp, 0xffffffffffffffe8
xor eax, eax
test rsi, rsi
setns al
mov rcx, rbp
cmovns rcx, rdi
lea rdx, [r13 + r13*2]
movups xmm0, xmmword [r12]
movups xmmword [rcx + rdx*8], xmm0
mov r8, qword [r12 + 0x10]
mov qword [rcx + rdx*8 + 0x10], r8
add r13, rax
add r12, 0x18
cmp r12, rbx
jb 0x140054ff0
mov rbx, qword [rsp + 0x78]
cmp r14, rbx
je 0x140055090
add rbp, 0xffffffffffffffe8
lea rax, [r13*2]
add rax, r13
mov rcx, qword [r12 + 0x10]
mov qword [rdi + rax*8 + 0x10], rcx
movups xmm0, xmmword [r12]
movups xmmword [rdi + rax*8], xmm0
inc r13
add r12, 0x18
jmp 0x140054fd0
lea rax, [r13*8]
lea r8, [rax + rax*2]
mov rbp, qword [rsp + 0x60]
mov rcx, rbp
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r12, rbx
sub r12, r13
mov r14, qword [rsp + 0x70]
mov esi, dword [rsp + 0x5c]
movabs r11, 0x1ffffffffffffffe
mov r15, qword [rsp + 0x50]
je 0x140055181
lea rax, [r13*2]
add rax, r13
lea rax, [rax*8]
add rax, rbp
lea rcx, [r13 + 1]
cmp rbx, rcx
jne 0x1400550f4
xor r8d, r8d
jmp 0x14005515d
mov rcx, r12
and rcx, 0xfffffffffffffffe
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x48]
lea rdx, [rdx + r8*8]
mov r9, rax
xor r10d, r10d
nop word cs:[rax + rax]
mov r8, qword [rdx + 0x10]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [rdx]
movups xmmword [r9], xmm0
lea r8, [r10 + 2]
xor r10, r11
lea r10, [r10 + r10*2]
movups xmm0, xmmword [r15 + r10*8]
movups xmmword [r9 + 0x18], xmm0
mov r10, qword [r15 + r10*8 + 0x10]
mov qword [r9 + 0x28], r10
add r9, 0x30
add rdx, 0xffffffffffffffd0
mov r10, r8
cmp rcx, r8
jne 0x140055120
test r12b, 1
je 0x140055181
lea rcx, [r8 + r8*2]
not r8
lea rdx, [r8 + r8*2]
mov r8, qword [r15 + rdx*8 + 0x10]
mov qword [rax + rcx*8 + 0x10], r8
movups xmm0, xmmword [r15 + rdx*8]
movups xmmword [rax + rcx*8], xmm0
cmp rbx, r13
jb 0x140055236
lea rax, [r13*2]
add rax, r13
lea rbp, [rbp + rax*8]
mov eax, 0
mov qword [rsp + 0x48], rax
cmp r12, 0x21
mov r13, r14
jae 0x140054bfd
jmp 0x140054bb5
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
mov rcx, rbp
mov rdx, r14
mov r8, rdi
mov r9, r13
call fcn.1400536b0
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x140087000]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
lea rdx, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
lea rcx, [rsp + 0xa8]
call fcn.1400815e0
lea r8, str._rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14librarycore_src_slice_sort_stablequicksort.rs
mov rcx, r13
mov rdx, rbx
call fcn.140081a00
int3