Function at 0x1400db050
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r8
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], rcx
mov r15d, 0xd
xor esi, esi
lea rax, [0x14016f1f8]
mov r13d, 0xd
jmp 0x1400db0af
mov r13, r15
mov rax, rbx
sub r15, rsi
jbe 0x1400db297
shr r15, 1
add r15, rsi
mov r12, r15
shl r12, 5
mov rcx, qword [r12 + rax]
mov rbx, rax
mov r8, qword [r12 + rax + 8]
mov r14, r8
sub r14, rdi
cmovae r8, rdi
mov rdx, qword [rbp - 0x20]
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne r14, rax
xor eax, eax
test r14, r14
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x1400db0a0
movzx eax, al
cmp eax, 0xff
jne 0x1400db117
inc r15
mov rsi, r15
mov r15, r13
mov rax, rbx
sub r15, rsi
ja 0x1400db0af
jmp 0x1400db297
mov rax, rbx
mov rbx, qword [r12 + rbx + 0x18]
test rbx, rbx
je 0x1400db22d
mov r14, qword [r12 + rax + 0x10]
lea rdi, [rbx*8]
movzx eax, byte [0x14019d171]
mov edx, 4
mov rcx, rdi
call fcn.140007cc0
test rax, rax
je 0x1400db354
cmp rbx, 0x14
jb 0x1400db19c
lea rdx, [rax + rbx*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1400db19e
lea rdx, [rax + 4]
lea r8, [rax + rbx*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x1400db19e
lea rdx, [rbx - 1]
shr rdx, 0x3d
jne 0x1400db19e
lea rcx, [r14 + rbx*8]
cmp rax, rcx
jae 0x1400db2de
lea rcx, [rax + rbx*8]
cmp r14, rcx
jae 0x1400db2de
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 1
je 0x1400db1cd
mov r8d, dword [r14 + rcx*8]
mov r9d, dword [r14 + rcx*8 + 4]
cmp r8d, r9d
mov r10d, r9d
cmovb r10d, r8d
cmova r9d, r8d
mov dword [rax + rcx*8], r10d
mov dword [rax + rcx*8 + 4], r9d
mov rcx, rdx
cmp rbx, rdx
je 0x1400db232
nop word cs:[rax + rax]
mov edx, dword [r14 + rcx*8]
mov r8d, dword [r14 + rcx*8 + 4]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8], r9d
mov dword [rax + rcx*8 + 4], r8d
mov edx, dword [r14 + rcx*8 + 8]
mov r8d, dword [r14 + rcx*8 + 0xc]
cmp edx, r8d
mov r9d, r8d
cmovb r9d, edx
cmova r8d, edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
add rcx, 2
cmp rbx, rcx
jne 0x1400db1e0
jmp 0x1400db232
mov eax, 4
lea rcx, [rax + rbx*8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rbx
mov qword [rbp], rax
mov qword [rbp + 8], rcx
lea rcx, [rbp - 0x58]
lea rdx, [rbp - 0x10]
call fcn.1400dc4a0
mov rax, qword [rbp - 0x48]
test rax, rax
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp - 0x10], xmm0
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400e3a10
mov rax, qword [rbp]
mov qword [rbp - 0x30], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x40], xmm0
movzx eax, byte [rbp + 8]
mov ecx, dword [rbp + 9]
mov dword [rbp + 0x18], ecx
mov ecx, dword [rbp + 0xc]
mov dword [rbp + 0x1b], ecx
cmp al, 2
jne 0x1400db2b6
mov rax, qword [rbp - 0x18]
mov byte [rax], 1
mov byte [rax + 0x18], 2
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x18]
mov qword [r8 + 0x10], rcx
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [r8], xmm0
mov ecx, dword [rbp + 0x18]
mov edx, dword [rbp + 0x1b]
mov dword [r8 + 0x19], ecx
mov dword [r8 + 0x1c], edx
mov byte [r8 + 0x18], al
jmp 0x1400db2a2
mov rcx, rbx
and rcx, 0xfffffffffffffffe
xor edx, edx
movdqa xmm0, xmmword [0x140110520]
nop
movdqu xmm1, xmmword [r14 + rdx*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
pcmpgtd xmm4, xmm3
movdqa xmm3, xmm4
pandn xmm3, xmm1
movdqa xmm5, xmm4
pandn xmm5, xmm2
pand xmm2, xmm4
por xmm2, xmm3
pand xmm4, xmm1
por xmm4, xmm5
punpckldq xmm2, xmm4
movdqu xmmword [rax + rdx*8], xmm2
add rdx, 2
cmp rcx, rdx
jne 0x1400db2f0
cmp rbx, rcx
je 0x1400db232
jmp 0x1400db19e
mov ecx, 4
mov rdx, rdi
call fcn.1401090d0
ud2