Function at 0x140043360
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 0x1400433ac
mov qword [rsp + 0x20], rsi
mov rcx, qword [rsp + 0x38]
mov rdx, r13
mov r8, rdi
mov r9, r12
call fcn.140025560
jmp 0x140043963
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 0x140043946
mov dword [rsp + 0x44], ebx
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call fcn.14004efb0
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 0x140043486
mov rax, qword [rsi]
cmp qword [rbp], rax
jne 0x140043480
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
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 0x140043486
jmp 0x1400436f0
jae 0x1400436f0
cmp r14, r12
ja 0x140043978
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 0x1400434f7
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 0x140043540
mov rax, qword [rbx]
cmp rax, qword [rsi]
setb r12b
jne 0x1400434c0
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
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 0x1400434c0
mov r14, qword [rsp + 0x68]
cmp r15, r14
je 0x140043580
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 0x1400434b0
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 0x14004368b
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 0x1400435e0
xor r10d, r10d
jmp 0x140043653
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 0x140043600
test dl, 1
mov r12, qword [rsp + 0x50]
je 0x14004368b
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 0x1400436f0
cmp r14, r13
jb 0x14004397a
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.140043360
mov r14, r13
cmp r13, 0x21
jae 0x1400433e0
jmp 0x14004338f
cmp r14, r12
ja 0x140043978
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 0x14004377d
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 0x1400437c0
mov rax, qword [rsi]
cmp rax, qword [r14]
setb r15b
jne 0x140043740
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
mov rdx, qword [r14 + 0x10]
mov r8, qword [r14 + 0x18]
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 0x140043740
mov r15, qword [rsp + 0x68]
cmp r12, r15
je 0x140043800
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 0x140043720
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 0x140043910
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 0x140043867
xor r9d, r9d
jmp 0x1400438e1
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 0x140043890
test r13b, 1
je 0x140043910
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 0x1400439c0
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 0x1400433c9
jmp 0x14004338f
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.14003a930
nop
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
lea rax, [0x1400b37d8]
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.C:UsersHarrison.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrarycore_src_slice_sort_stablequicksort.rsmid___len
lea rcx, [rsp + 0x80]
call fcn.1400a7a40
lea r8, str.D7_v_
mov rcx, rbp
mov rdx, r15
call fcn.1400a7e00
int3