Function at 0x140180100
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 r14, r9
mov rdi, r8
mov r12, rdx
cmp rdx, 0x21
jb 0x1401806ed
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x50], rax
mov ebp, dword [rsp + 0x120]
lea rax, [rdi - 0x10]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x40], rcx
lea rax, [rcx + 0x10]
mov qword [rsp + 0x70], rax
mov rsi, r12
nop dword [rax]
sub ebp, 1
jb 0x1401806c1
mov dword [rsp + 0x4c], ebp
mov r9, rsi
shr r9, 3
mov r15, r9
shl r15, 6
mov r11, qword [rsp + 0x40]
add r15, r11
imul r8, r9, 0x70
add r8, r11
cmp rsi, 0x40
jae 0x1401801c0
mov rax, qword [r11]
mov rcx, qword [r15]
cmp rax, rcx
setb dl
mov r9, qword [r8]
cmp rax, r9
setb al
xor al, dl
cmp rcx, r9
setb cl
xor cl, dl
cmovne r15, r8
test al, al
cmovne r15, r11
jmp 0x1401801d3
mov rcx, r11
mov rdx, r15
call fcn.1401757d0
mov r11, qword [rsp + 0x40]
mov r15, rax
mov rax, r15
sub rax, r11
shr rax, 4
mov qword [rsp + 0x68], rax
mov rax, qword [r15]
mov ecx, dword [r15 + 8]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x80], ecx
cmp qword [rsp + 0x50], 0
je 0x14018020b
mov rcx, qword [rsp + 0x50]
cmp qword [rcx], rax
jae 0x140180490
cmp rsi, r14
ja 0x14018071d
mov r14, rsi
shl r14, 4
lea rbx, [rdi + r14]
xor r12d, r12d
mov rax, r11
mov rcx, rbx
mov rdx, qword [rsp + 0x68]
nop dword [rax]
mov r9, rdx
sub r9, 3
mov r8d, 0
cmovae r8, r9
shl r8, 4
add r8, r11
cmp rax, r8
jae 0x140180301
nop word cs:[rax + rax]
mov r9, qword [rax]
lea r10, [rcx - 0x10]
xor r11d, r11d
cmp r9, qword [r15]
cmovb r10, rdi
setb r11b
mov r9, r12
shl r9, 4
lea r13, [r12 + r11]
mov rbp, qword [rax + 0x10]
shl r13, 4
cmp rbp, qword [r15]
movups xmm0, xmmword [rax]
lea rbp, [rcx - 0x20]
cmovb rbp, rdi
movups xmmword [r10 + r9], xmm0
movups xmm0, xmmword [rax + 0x10]
adc r12, r11
movups xmmword [rbp + r13], xmm0
mov r9, qword [rax + 0x20]
lea r10, [rcx - 0x30]
xor r11d, r11d
cmp r9, qword [r15]
cmovb r10, rdi
setb r11b
mov r9, r12
shl r9, 4
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r10 + r9], xmm0
lea r9, [r12 + r11]
mov r10, qword [rax + 0x30]
add rcx, 0xffffffffffffffc0
shl r9, 4
cmp r10, qword [r15]
mov r10, rcx
cmovb r10, rdi
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r10 + r9], xmm0
adc r12, r11
add rax, 0x40
cmp rax, r8
jb 0x140180260
mov r8, rdx
shl r8, 4
mov r11, qword [rsp + 0x40]
add r8, r11
cmp rax, r8
jae 0x14018034d
nop word cs:[rax + rax]
mov r9, qword [rax]
add rcx, 0xfffffffffffffff0
mov r10, r12
shl r10, 4
cmp r9, qword [r15]
mov r9, rcx
cmovb r9, rdi
movups xmm0, xmmword [rax]
movups xmmword [r9 + r10], xmm0
adc r12, 0
add rax, 0x10
cmp rax, r8
jb 0x140180320
cmp rdx, rsi
je 0x140180380
mov rdx, r12
shl rdx, 4
movups xmm0, xmmword [rax]
movups xmmword [rcx + rdx - 0x10], xmm0
add rcx, 0xfffffffffffffff0
add rax, 0x10
mov rdx, rsi
jmp 0x140180230
mov r13, r12
shl r13, 4
mov rcx, r11
mov rdx, rdi
mov r8, r13
call sub.VCRUNTIME140.dll_memcpy
mov r11, qword [rsp + 0x40]
mov rdx, rsi
sub rdx, r12
movabs r10, 0xffffffffffffffe
je 0x14018042d
lea rax, [r12 + 1]
cmp rsi, rax
jne 0x1401803c0
xor eax, eax
jmp 0x14018040d
mov rcx, rdx
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x70]
lea r8, [rax + r13]
add r14, qword [rsp + 0x58]
xor r9d, r9d
nop dword [rax + rax]
movups xmm0, xmmword [r14]
movups xmmword [r8 - 0x10], xmm0
lea rax, [r9 + 2]
xor r9, r10
shl r9, 4
movups xmm0, xmmword [rbx + r9]
movups xmmword [r8], xmm0
add r8, 0x20
add r14, 0xffffffffffffffe0
mov r9, rax
cmp rcx, rax
jne 0x1401803e0
test dl, 1
je 0x14018042d
lea rcx, [r11 + r13]
mov r8, rax
not r8
shl r8, 4
shl rax, 4
movups xmm0, xmmword [rbx + r8]
movups xmmword [rcx + rax], xmm0
test r12, r12
mov r14, qword [rsp + 0x60]
je 0x140180490
cmp rsi, r12
jb 0x14018071f
add r13, r11
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov ebp, dword [rsp + 0x4c]
mov dword [rsp + 0x20], ebp
mov rcx, r13
mov r8, rdi
mov r9, r14
call fcn.140180100
mov rsi, r12
cmp r12, 0x21
jae 0x140180160
jmp 0x1401806e8
cmp rsi, r14
ja 0x14018071d
mov r14, rsi
shl r14, 4
lea rbp, [rdi + r14]
xor r13d, r13d
mov rax, r11
mov rcx, rbp
mov r12, qword [rsp + 0x68]
nop word cs:[rax + rax]
mov r8, r12
sub r8, 3
mov edx, 0
cmovae rdx, r8
shl rdx, 4
add rdx, r11
cmp rax, rdx
jae 0x14018057a
mov r8, qword [r15]
lea r9, [rcx - 0x10]
mov r10, r13
shl r10, 4
cmp r8, qword [rax]
cmovae r9, rdi
sbb r13, 0xffffffffffffffff
mov r8, qword [r15]
mov r11, r13
shl r11, 4
cmp r8, qword [rax + 0x10]
movups xmm0, xmmword [rax]
lea r8, [rcx - 0x20]
cmovae r8, rdi
movups xmmword [r9 + r10], xmm0
sbb r13, 0xffffffffffffffff
mov r9, qword [r15]
mov r10, r13
shl r10, 4
cmp r9, qword [rax + 0x20]
movups xmm0, xmmword [rax + 0x10]
lea r9, [rcx - 0x30]
cmovae r9, rdi
movups xmmword [r8 + r11], xmm0
movups xmm0, xmmword [rax + 0x20]
sbb r13, 0xffffffffffffffff
movups xmmword [r9 + r10], xmm0
mov r8, qword [r15]
add rcx, 0xffffffffffffffc0
mov r9, r13
shl r9, 4
cmp r8, qword [rax + 0x30]
mov r8, rcx
cmovae r8, rdi
movups xmm0, xmmword [rax + 0x30]
movups xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x40
cmp rax, rdx
jb 0x1401804e0
mov rdx, r12
shl rdx, 4
mov r11, qword [rsp + 0x40]
add rdx, r11
cmp rax, rdx
jae 0x1401805bd
nop
mov r8, qword [r15]
add rcx, 0xfffffffffffffff0
mov r9, r13
shl r9, 4
cmp r8, qword [rax]
mov r8, rcx
cmovae r8, rdi
movups xmm0, xmmword [rax]
movups xmmword [r8 + r9], xmm0
sbb r13, 0xffffffffffffffff
add rax, 0x10
cmp rax, rdx
jb 0x140180590
cmp r12, rsi
je 0x1401805f0
add rcx, 0xfffffffffffffff0
mov rdx, r13
shl rdx, 4
movups xmm0, xmmword [rax]
movups xmmword [rdi + rdx], xmm0
inc r13
add rax, 0x10
mov r12, rsi
jmp 0x1401804c0
mov r15, r13
shl r15, 4
mov rcx, r11
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
movabs r9, 0xffffffffffffffe
mov r12, rsi
sub r12, r13
je 0x140180691
lea rax, [r13 + 1]
cmp rsi, rax
jne 0x140180624
xor eax, eax
jmp 0x14018066c
mov rcx, r12
and rcx, 0xfffffffffffffffe
mov rax, qword [rsp + 0x40]
lea rdx, [rax + r15]
add rdx, 0x10
add r14, qword [rsp + 0x58]
xor r8d, r8d
movups xmm0, xmmword [r14]
movups xmmword [rdx - 0x10], xmm0
lea rax, [r8 + 2]
xor r8, r9
shl r8, 4
movups xmm0, xmmword [rbp + r8]
movups xmmword [rdx], xmm0
add rdx, 0x20
add r14, 0xffffffffffffffe0
mov r8, rax
cmp rcx, rax
jne 0x140180640
test r12b, 1
je 0x140180691
mov rcx, qword [rsp + 0x40]
add rcx, r15
mov rdx, rax
not rdx
shl rdx, 4
shl rax, 4
movups xmm0, xmmword [rbp + rdx]
movups xmmword [rcx + rax], xmm0
cmp rsi, r13
jb 0x140180765
mov rcx, qword [rsp + 0x40]
add rcx, r15
mov eax, 0
mov qword [rsp + 0x50], rax
cmp r12, 0x21
mov r14, qword [rsp + 0x60]
mov ebp, dword [rsp + 0x4c]
jae 0x140180148
jmp 0x1401806ed
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 1
mov rcx, qword [rsp + 0x40]
mov rdx, rsi
mov r8, rdi
mov r9, r14
call fcn.14017ed70
jmp 0x140180708
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x20], rax
mov rdx, r12
mov r8, rdi
mov r9, r14
call fcn.140180e90
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x1402471b0]
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.C:Userscharl.rustup_toolchains_stable_x86_64_pc_windows_msvclib_rustlib_src_rustlibrarycore_src_slice_sort_stablequicksort.rsmid___len
lea rcx, [rsp + 0x88]
call fcn.1401b7780
lea r8, str._q__
mov rcx, r13
mov rdx, rsi
call fcn.1401b7be0
int3