Function at 0x140046090
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 r12, r9
mov rdi, r8
mov r13, rdx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rsp + 0x150]
cmp rdx, 0x21
jae 0x1400460dc
mov qword [rsp + 0x20], rsi
mov rcx, qword [rsp + 0x38]
mov rdx, r13
mov r8, rdi
mov r9, r12
call fcn.140040630
jmp 0x140046693
mov rbp, qword [rsp + 0x148]
mov ebx, dword [rsp + 0x140]
lea rax, [rdi - 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], r12
mov r14, r13
mov qword [rsp + 0x70], rbp
nop word cs:[rax + rax]
sub ebx, 1
jb 0x140046676
mov dword [rsp + 0x44], ebx
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call fcn.140052710
mov r15, rax
lea rax, [rax + rax*4]
lea rsi, [rbx + rax*8]
mov rcx, qword [rbx + rax*8 + 0x20]
mov qword [rsp + 0xd0], rcx
movups xmm0, xmmword [rbx + rax*8]
movups xmm1, xmmword [rbx + rax*8 + 0x10]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
test rbp, rbp
mov qword [rsp + 0x68], r14
je 0x1400461b6
mov rax, qword [rsi + 0x18]
cmp qword [rbp + 0x18], rax
jne 0x1400461b0
mov rcx, qword [rbp + 8]
mov rax, qword [rbp + 0x10]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 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
js 0x1400461b6
jmp 0x140046420
jae 0x140046420
cmp r14, r12
ja 0x1400466a8
lea rax, [r14 + r14*4]
mov qword [rsp + 0x78], rax
lea rbp, [rdi + rax*8]
mov qword [rsp + 0x48], rbp
xor r13d, r13d
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x58], r15
nop
lea rax, [r15 + r15*4]
mov rcx, qword [rsp + 0x38]
lea r14, [rcx + rax*8]
jmp 0x140046227
add rbp, 0xffffffffffffffd8
test r12b, r12b
mov rax, rbp
cmovne rax, rdi
lea rcx, [r13 + r13*4]
mov rdx, qword [rbx + 0x20]
mov qword [rax + rcx*8 + 0x20], rdx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8], xmm0
movzx eax, r12b
add r13, rax
add rbx, 0x28
cmp rbx, r14
jae 0x140046270
mov rax, qword [rbx + 0x18]
cmp rax, qword [rsi + 0x18]
setb r12b
jne 0x1400461f0
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
mov r12, rax
sub r12, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r12, rax
shr r12, 0x3f
jmp 0x1400461f0
mov r14, qword [rsp + 0x68]
cmp r15, r14
je 0x1400462b0
lea rax, [r13*4]
add rax, r13
mov rcx, qword [rbx + 0x20]
mov qword [rbp + rax*8 - 8], rcx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + rax*8 - 0x18], xmm1
movups xmmword [rbp + rax*8 - 0x28], xmm0
add rbp, 0xffffffffffffffd8
add rbx, 0x28
mov r15, r14
jmp 0x1400461e0
lea rax, [r13*8]
lea r8, [rax + rax*4]
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, r14
sub rdx, r13
mov r12, qword [rsp + 0x50]
movabs rbx, 0x1ffffffffffffffe
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x70]
je 0x1400463bb
lea rax, [r13*4]
add rax, r13
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*8]
lea rcx, [r13 + 1]
cmp r14, rcx
jne 0x140046310
xor r10d, r10d
jmp 0x140046383
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
lea r8, [r8 + r9*8]
mov r9, rax
xor r11d, r11d
mov r12, qword [rsp + 0x48]
mov r10, qword [r8 + 0x20]
mov qword [r9 + 0x20], r10
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [r9 + 0x10], xmm1
movups xmmword [r9], xmm0
lea r10, [r11 + 2]
xor r11, rbx
lea r11, [r11 + r11*4]
movups xmm0, xmmword [r12 + r11*8]
movups xmm1, xmmword [r12 + r11*8 + 0x10]
movups xmmword [r9 + 0x28], xmm0
movups xmmword [r9 + 0x38], xmm1
mov r11, qword [r12 + r11*8 + 0x20]
mov qword [r9 + 0x48], r11
add r9, 0x50
add r8, 0xffffffffffffffb0
mov r11, r10
cmp rcx, r10
jne 0x140046330
test dl, 1
mov r12, qword [rsp + 0x50]
je 0x1400463bb
lea rcx, [r10 + r10*4]
not r10
lea r8, [r10 + r10*4]
mov r10, qword [rsp + 0x48]
mov r9, qword [r10 + r8*8 + 0x20]
mov qword [rax + rcx*8 + 0x20], r9
movups xmm0, xmmword [r10 + r8*8]
movups xmm1, xmmword [r10 + r8*8 + 0x10]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8], xmm0
test r13, r13
je 0x140046420
cmp r14, r13
jb 0x1400466aa
lea rax, [r13*4]
add rax, r13
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rax*8]
mov rsi, qword [rsp + 0x150]
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov ebx, dword [rsp + 0x44]
mov dword [rsp + 0x20], ebx
mov r8, rdi
mov r9, r12
call fcn.140046090
mov r14, r13
cmp r13, 0x21
jae 0x140046110
jmp 0x1400460bf
cmp r14, r12
ja 0x1400466a8
lea rax, [r14 + r14*4]
mov qword [rsp + 0x48], rax
lea r13, [rdi + rax*8]
xor ebp, ebp
mov r14, qword [rsp + 0x38]
mov qword [rsp + 0x58], r13
nop word cs:[rax + rax]
mov r12, r15
lea rax, [r15 + r15*4]
mov rcx, qword [rsp + 0x38]
lea rbx, [rcx + rax*8]
jmp 0x1400464ad
mov eax, r15d
xor al, 1
add r13, 0xffffffffffffffd8
test r15b, r15b
mov rcx, rdi
cmovne rcx, r13
lea rdx, [rbp + rbp*4]
mov r8, qword [r14 + 0x20]
mov qword [rcx + rdx*8 + 0x20], r8
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rcx + rdx*8 + 0x10], xmm1
movups xmmword [rcx + rdx*8], xmm0
movzx eax, al
add rbp, rax
add r14, 0x28
cmp r14, rbx
jae 0x1400464f0
mov rax, qword [rsi + 0x18]
cmp rax, qword [r14 + 0x18]
setb r15b
jne 0x140046470
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x10]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
mov r15, rax
sub r15, r8
cmovb r8, rax
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r15, rax
shr r15, 0x3f
jmp 0x140046470
mov r15, qword [rsp + 0x68]
cmp r12, r15
je 0x140046530
add r13, 0xffffffffffffffd8
lea rax, [rbp*4]
add rax, rbp
mov rcx, qword [r14 + 0x20]
mov qword [rdi + rax*8 + 0x20], rcx
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rdi + rax*8 + 0x10], xmm1
movups xmmword [rdi + rax*8], xmm0
inc rbp
add r14, 0x28
jmp 0x140046450
lea rax, [rbp*8]
lea r8, [rax + rax*4]
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r13, r15
sub r13, rbp
mov rsi, qword [rsp + 0x150]
mov ebx, dword [rsp + 0x44]
movabs r11, 0x1ffffffffffffffe
mov r12, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
je 0x140046640
lea rax, [rbp*4]
add rax, rbp
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax*8]
lea rcx, [rbp + 1]
cmp r15, rcx
jne 0x140046597
xor r9d, r9d
jmp 0x140046611
mov rcx, r13
and rcx, 0xfffffffffffffffe
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x48]
lea rdx, [rdx + r8*8]
mov r8, rax
xor r10d, r10d
nop word cs:[rax + rax]
mov r9, qword [rdx + 0x20]
mov qword [r8 + 0x20], r9
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8 + 0x10], xmm1
movups xmmword [r8], xmm0
lea r9, [r10 + 2]
xor r10, r11
lea r10, [r10 + r10*4]
movups xmm0, xmmword [r14 + r10*8]
movups xmm1, xmmword [r14 + r10*8 + 0x10]
movups xmmword [r8 + 0x28], xmm0
movups xmmword [r8 + 0x38], xmm1
mov r10, qword [r14 + r10*8 + 0x20]
mov qword [r8 + 0x48], r10
add r8, 0x50
add rdx, 0xffffffffffffffb0
mov r10, r9
cmp rcx, r9
jne 0x1400465c0
test r13b, 1
je 0x140046640
lea rcx, [r9 + r9*4]
not r9
lea rdx, [r9 + r9*4]
mov r8, qword [r14 + rdx*8 + 0x20]
mov qword [rax + rcx*8 + 0x20], r8
movups xmm0, xmmword [r14 + rdx*8]
movups xmm1, xmmword [r14 + rdx*8 + 0x10]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8], xmm0
cmp r15, rbp
jb 0x1400466f0
lea rax, [rbp*4]
add rax, rbp
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rax*8]
mov qword [rsp + 0x38], rcx
mov ebp, 0
cmp r13, 0x21
jae 0x1400460f9
jmp 0x1400460bf
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x38]
mov rdx, r14
mov r8, rdi
mov r9, r12
call fcn.140042890
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, str.e_v_
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
mov qword [rsp + 0x90], 8
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rdx, str._rustc_100fde5246bf56f22fb5cc85374dd841296fce0elibrarycore_src_slice_sort_stablequicksort.rsmid___len
lea rcx, [rsp + 0x80]
call fcn.1400ac6d0
lea r8, str._rustc_100fde5246bf56f22fb5cc85374dd841296fce0elibrarycore_src_slice_sort_stablequicksort.rsmid___len
mov rcx, rbp
mov rdx, r15
call fcn.1400acaf0
int3