Function at 0x1800d4620
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r8
mov rbx, rdx
mov qword [rsp + 0x28], rcx
mov r12d, 0xd
xor r15d, r15d
lea r14, [0x1801a0f18]
mov r13d, 0xd
nop word cs:[rax + rax]
shr r12, 1
add r12, r15
mov rbp, r12
shl rbp, 5
mov rcx, qword [rbp + r14]
mov r8, qword [rbp + r14 + 8]
mov rsi, r8
sub rsi, rdi
cmovae r8, rdi
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rsi, rax
test rsi, rsi
je 0x1800d46c9
lea rax, [r12 + 1]
test rsi, rsi
cmovg r13, r12
cmovs r15, rax
mov r12, r13
sub r12, r15
ja 0x1800d4660
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 8], 1
movabs rax, 0x8000000000000000
mov qword [rcx], rax
jmp 0x1800d4805
mov rbx, qword [rbp + r14 + 0x18]
test rbx, rbx
je 0x1800d479d
mov r14, qword [rbp + r14 + 0x10]
lea rdi, [rbx*8]
movzx eax, byte [0x1801bb181]
mov edx, 4
mov rcx, rdi
call fcn.1800098a0
test rax, rax
je 0x1800d48e4
cmp rbx, 0x13
ja 0x1800d4816
xor ecx, ecx
mov rdx, rcx
or rdx, 1
test bl, 1
je 0x1800d473c
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 0x1800d47a2
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 0x1800d4750
jmp 0x1800d47a2
mov eax, 4
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.1800cc950
mov rax, qword [rsp + 0x60]
test rax, rax
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm0
sete byte [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1800d1c60
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rax + rbx*8]
add rdx, 0xfffffffffffffff8
xor ecx, ecx
cmp rdx, rax
jb 0x1800d470d
lea rdx, [rax + 4]
lea r8, [rax + rbx*8]
add r8, 0xfffffffffffffffc
cmp r8, rdx
jb 0x1800d470d
lea rdx, [rbx - 1]
shr rdx, 0x3d
jne 0x1800d470d
lea rcx, [rax + rbx*8]
lea rdx, [r14 + rbx*8]
cmp rax, rdx
setb dl
cmp r14, rcx
setb cl
test dl, cl
jne 0x1800d470b
movabs rcx, 0x3ffffffffffffffe
and rcx, rbx
xor edx, edx
movdqa xmm0, xmmword [0x180131920]
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 0x1800d4880
cmp rbx, rcx
jne 0x1800d470d
jmp 0x1800d47a2
mov ecx, 4
mov rdx, rdi
call fcn.18010e680
int3