Function at 0x1400ce170
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x20], xmm6
mov qword [rbp + 0x18], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rcx
cmp r8, 0xe
jne 0x1400ce2c0
movabs rax, 0x5f6c616d69636544
xor rax, qword [rdx]
movabs rcx, 0x7265626d754e5f6c
xor rcx, qword [rdx + 6]
or rcx, rax
jne 0x1400ce411
movzx eax, byte [0x14018d171]
mov ecx, 0x200
mov edx, 4
call fcn.1400053b0
test rax, rax
je 0x1400ce713
xor ecx, ecx
lea rdx, [0x140127a70]
movdqa xmm0, xmmword [0x1400ff7a0]
nop dword [rax]
movdqu xmm1, xmmword [rcx + rdx]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + rcx], xmm5
add rcx, 0x10
cmp rcx, 0x200
jne 0x1400ce200
mov rcx, rax
add rcx, 0x200
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x40
mov qword [rbp], rax
mov qword [rbp + 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400cf620
mov rax, qword [rbp - 0x20]
test rax, rax
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400d8ac0
movdqa xmm0, xmmword [rbp - 0x10]
movdqa xmm1, xmmword [rbp]
movdqu xmmword [rsi + 0x10], xmm1
movdqu xmmword [rsi], xmm0
jmp 0x1400ce5e3
cmp rdi, 3
je 0x1400ce36d
cmp rdi, 8
je 0x1400ce3fe
cmp rdi, 5
jne 0x1400ce411
mov eax, 0x49435341
xor eax, dword [rdx]
movzx ecx, byte [rdx + 4]
xor ecx, 0x49
or ecx, eax
jne 0x1400ce411
movzx eax, byte [0x14018d171]
mov ecx, 8
mov edx, 4
call fcn.1400053b0
test rax, rax
je 0x1400ce738
movabs rcx, 0x7f00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], rax
mov qword [rbp + 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400cf620
mov rax, qword [rbp - 0x20]
test rax, rax
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400d8ac0
jmp 0x1400ce2a8
movzx eax, word [rdx]
xor eax, 0x6e41
movzx ecx, byte [rdx + 2]
xor ecx, 0x79
or cx, ax
jne 0x1400ce411
movzx eax, byte [0x14018d171]
mov ecx, 8
mov edx, 4
call fcn.1400053b0
test rax, rax
je 0x1400ce738
movabs rcx, 0x10ffff00000000
mov qword [rax], rcx
mov rcx, rax
add rcx, 8
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 1
mov qword [rbp], rax
mov qword [rbp + 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400cf620
mov rax, qword [rbp - 0x20]
test rax, rax
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400d8ac0
jmp 0x1400ce2a8
movabs rax, 0x64656e6769737341
cmp qword [rdx], rax
je 0x1400ce623
mov qword [rbp - 0x40], rsi
mov r14d, 0x25
xor esi, esi
mov r13d, 0x25
jmp 0x1400ce43f
mov r13, r14
sub r14, rsi
mov rdx, r15
jbe 0x1400ce5d8
shr r14, 1
add r14, rsi
mov r12, r14
shl r12, 5
lea rax, [0x1401405a0]
mov rcx, qword [r12 + rax]
mov r8, qword [r12 + rax + 8]
mov rbx, r8
sub rbx, rdi
cmovae r8, rdi
mov r15, rdx
call sub.VCRUNTIME140.dll_memcmp
cdqe
test eax, eax
cmovne rbx, rax
xor eax, eax
test rbx, rbx
setne al
mov ecx, 0xff
cmovs eax, ecx
cmp al, 1
je 0x1400ce430
movzx eax, al
cmp eax, 0xff
jne 0x1400ce4aa
inc r14
mov rsi, r14
mov r14, r13
sub r14, rsi
mov rdx, r15
ja 0x1400ce43f
jmp 0x1400ce5d8
lea rax, [0x1401405a0]
mov r14, qword [r12 + rax + 0x18]
test r14, r14
je 0x1400ce56c
js 0x1400ce724
lea rax, [0x1401405a0]
mov r15, qword [r12 + rax + 0x10]
lea rdi, [r14*8]
mov rbx, r14
shr rbx, 0x3a
not ebx
and ebx, 4
movzx eax, byte [0x14018d171]
mov rcx, rdi
mov rdx, rbx
call fcn.1400053b0
test rax, rax
je 0x1400ce72b
lea rcx, [r15 + r14*8]
lea rdx, [r14 - 1]
movabs r9, 0x1fffffffffffffff
and r9, rdx
cmp r9, 9
jb 0x1400ce531
cmp rax, rcx
jae 0x1400ce652
lea rdx, [rax + r14*8]
cmp r15, rdx
jae 0x1400ce652
xor edx, edx
mov r8, r15
nop word cs:[rax + rax]
mov r9d, dword [r8]
mov r10d, dword [r8 + 4]
cmp r9d, r10d
mov r11d, r10d
cmovb r11d, r9d
cmova r10d, r9d
mov dword [rax + rdx*8], r11d
mov dword [rax + rdx*8 + 4], r10d
inc rdx
add r8, 8
cmp r8, rcx
jne 0x1400ce540
jmp 0x1400ce573
mov eax, 4
xor edx, edx
lea rcx, [rax + rdx*8]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], r14
mov qword [rbp], rax
mov qword [rbp + 8], rcx
lea rcx, [rbp - 0x30]
lea rdx, [rbp - 0x10]
call fcn.1400cf620
mov rax, qword [rbp - 0x20]
test rax, rax
mov qword [rbp], rax
movups xmm0, xmmword [rbp - 0x30]
movaps xmmword [rbp - 0x10], xmm0
sete byte [rbp + 8]
lea rcx, [rbp - 0x10]
call fcn.1400d8ac0
mov rax, qword [rbp]
mov qword [rbp - 0x50], rax
movaps xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x60], xmm0
movzx eax, byte [rbp + 8]
mov ecx, dword [rbp + 9]
mov dword [rbp - 0x38], ecx
mov ecx, dword [rbp + 0xc]
mov dword [rbp - 0x35], ecx
cmp al, 2
jne 0x1400ce5fb
mov rax, qword [rbp - 0x40]
mov byte [rax], 1
mov byte [rax + 0x18], 2
movaps xmm6, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov qword [r8 + 0x10], rcx
movaps xmm0, xmmword [rbp - 0x60]
movups xmmword [r8], xmm0
mov ecx, dword [rbp - 0x38]
mov edx, dword [rbp - 0x35]
mov dword [r8 + 0x19], ecx
mov dword [r8 + 0x1c], edx
mov byte [r8 + 0x18], al
jmp 0x1400ce5e3
lea rdx, [0x14012ae5d]
lea rcx, [rbp - 0x10]
mov r8d, 0xa
call fcn.1400ce170
movzx eax, byte [rbp - 0x10]
movzx ecx, byte [rbp + 8]
cmp cl, 2
jne 0x1400ce6d9
mov byte [rsi], al
mov byte [rsi + 0x18], 2
jmp 0x1400ce5e3
inc r9
mov rdx, r9
and rdx, 0xfffffffffffffffe
lea r8, [r15 + rdx*8]
xor r10d, r10d
movdqa xmm0, xmmword [0x1400ff7a0]
nop dword [rax + rax]
movdqu xmm1, xmmword [r15 + r10*8]
pshufd xmm2, xmm1, 0xe8
pshufd xmm1, xmm1, 0xed
movdqa xmm3, xmm2
pxor xmm3, xmm0
movdqa xmm4, xmm1
pxor xmm4, xmm0
movdqa xmm5, xmm4
pcmpgtd xmm5, xmm3
movdqa xmm6, xmm2
pand xmm6, xmm5
pandn xmm5, xmm1
por xmm5, xmm6
pcmpgtd xmm3, xmm4
pand xmm2, xmm3
pandn xmm3, xmm1
por xmm3, xmm2
punpckldq xmm5, xmm3
movdqu xmmword [rax + r10*8], xmm5
add r10, 2
cmp rdx, r10
jne 0x1400ce670
cmp r9, rdx
jne 0x1400ce540
jmp 0x1400ce573
mov rdx, qword [rbp]
mov qword [rbp - 0x20], rdx
movups xmm0, xmmword [rbp - 0xf]
movups xmmword [rbp - 0x2f], xmm0
mov edx, dword [rbp + 9]
mov dword [rbp - 0x17], edx
mov edx, dword [rbp + 0xc]
mov dword [rbp - 0x14], edx
mov byte [rbp - 0x30], al
mov byte [rbp - 0x18], cl
lea rcx, [rbp - 0x30]
call fcn.1400d85d0
movdqu xmm0, xmmword [rbp - 0x30]
movdqu xmm1, xmmword [rbp - 0x20]
jmp 0x1400ce2b2
mov ecx, 4
mov edx, 0x200
call fcn.1400fc520
ud2
call fcn.1400eef40
ud2
mov rcx, rbx
mov rdx, rdi
call fcn.1400fc520
ud2
mov ecx, 4
mov edx, 8
call fcn.1400fc520
ud2