Function at 0x1400d9db0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
movdqa xmmword [rbp - 0x10], xmm8
movdqa xmmword [rbp - 0x20], xmm7
movdqa xmmword [rbp - 0x30], xmm6
mov r9, r8
mov r8, rdx
mov r15, rcx
mov eax, dword [0x141dd8ea0]
xor edx, edx
div dword [0x141dd8ea4]
add eax, 0xb7238762
and eax, 0xd18a1443
imul eax, eax, 0xc2f47eec
cmp eax, 0x59cfb831
jb 0x1400d9e33
mov ecx, dword [0x141dd8ea8]
sub ecx, dword [0x141dd8eac]
add ecx, 0x9096fa79
or ecx, 0xffe39bf9
mov eax, 0x10
call fcn.1400ef3b0
sub rsp, rax
mov rbx, rsp
cmp ecx, 0x5ee3a332
jne 0x1400d9e42
mov eax, 0x10
call fcn.1400ef3b0
sub rsp, rax
jmp 0x1400d9e03
mov rax, qword [r15 + 0x18]
nop word cs:[rax + rax]
mov ecx, dword [0x141dd8eb0]
sub ecx, dword [0x141dd8eb4]
add ecx, 0xdda14aeb
and ecx, 0x88040aaa
cmp ecx, 0x5647d24a
je 0x1400d9e50
test rax, rax
je 0x1400da0d6
mov rcx, qword [r15 + 0x20]
mov rdx, qword [r15 + 0x28]
sub rsp, 0x20
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x38], r9
call fcn.1400c11a0
add rsp, 0x20
mov rdi, rax
mov rcx, rax
shr rcx, 0x39
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm6, xmm0, 0
xor ecx, ecx
nop word cs:[rax + rax]
test cl, cl
jne 0x1400d9ec0
mov qword [rbp - 0x48], rbx
mov r14, qword [r15]
mov r13, qword [r15 + 8]
xor ecx, ecx
mov qword [rbp - 0x40], rcx
pcmpeqd xmm7, xmm7
mov r8, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x50]
and rdi, r13
movdqu xmm8, xmmword [r14 + rdi]
movdqa xmm0, xmm8
pcmpeqb xmm0, xmm6
pmovmskb ebx, xmm0
test ebx, ebx
jne 0x1400da006
mov r10d, 0xa929b571
mov r11d, 0x8a61db7f
nop dword [rax + rax]
mov ecx, dword [0x141dd8ec8]
sub ecx, dword [0x141dd8ecc]
xor ecx, 0x348f182
add ecx, 0x35aa45c0
and ecx, 0x1f103c9d
cmp ecx, 0x1fa462f
jb 0x1400d9f10
pcmpeqb xmm8, xmm7
pmovmskb r9d, xmm8
mov ecx, dword [0x141dd8ed0]
or ecx, dword [0x141dd8ed4]
shr ecx, 1
imul rcx, r10
shr rcx, 0x3d
and ecx, 0xfffffffe
xor ecx, 0x131584fa
cmp ecx, 0x3a4f9d0a
ja 0x1400d9f40
nop word [rax + rax]
mov ecx, dword [0x141dd8ed8]
xor ecx, dword [0x141dd8edc]
xor ecx, 0x31778333
add ecx, 0x1939f8a6
and ecx, 0x3e690758
cmp ecx, 0xddcf687f
ja 0x1400d9f70
test r9w, r9w
jne 0x1400da0d6
mov rcx, qword [rbp - 0x40]
add rdi, rcx
add rdi, 0x10
add rcx, 0x10
mov qword [rbp - 0x40], rcx
nop word cs:[rax + rax]
mov ecx, dword [0x141dd8ee0]
and ecx, dword [0x141dd8ee4]
xor ecx, 0xdee0ebb6
add ecx, 0x145f4bc5
imul rcx, r11
shr rcx, 0x38
cmp ecx, 0xfd6a77d5
ja 0x1400d9fc0
jmp 0x1400d9ee1
test eax, eax
je 0x1400da0aa
lea ecx, [rbx - 1]
and cx, bx
mov ebx, ecx
je 0x1400d9eff
tzcnt ecx, ebx
add rcx, rdi
and rcx, r13
shl rcx, 5
mov r12, r14
sub r12, rcx
cmp qword [r12 - 0x10], r8
jne 0x1400d9ff8
mov eax, dword [0x141dd8eb8]
or eax, dword [0x141dd8ebc]
or eax, 0xfd37e6d5
add eax, 0xf6d6dcbf
cmp eax, 0x68fccf9b
jb 0x1400da08f
nop
mov r15d, dword [0x141dd8ec0]
xor r15d, dword [0x141dd8ec4]
or r15d, 0x2b33f1f3
mov eax, 0xafa342af
imul r15, rax
shr r15, 0x3c
add r15d, 0x6a7fc45
mov rdx, qword [r12 - 0x18]
sub rsp, 0x20
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
mov r8, qword [rbp - 0x38]
add rsp, 0x20
cmp r15d, 0xaa7bb54e
jbe 0x1400d9ff0
mov rdx, qword [r12 - 0x18]
sub rsp, 0x20
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
mov r8, qword [rbp - 0x38]
add rsp, 0x20
jmp 0x1400da040
mov rcx, qword [r12 - 8]
sub rsp, 0x20
mov edx, 0x200
xor r8d, r8d
mov rsi, qword [rbp - 0x48]
mov r9, rsi
call qword [sym.imp.pdh.dll_PdhGetFormattedCounterValue]
add rsp, 0x20
test eax, eax
je 0x1400da0da
pxor xmm0, xmm0
jmp 0x1400da0e3
xor eax, eax
jmp 0x1400da0e8
movsd xmm0, qword [rsi + 8]
cvtsd2ss xmm0, xmm0
mov eax, 1
movaps xmm6, xmmword [rbp - 0x30]
movaps xmm7, xmmword [rbp - 0x20]
movaps xmm8, xmmword [rbp - 0x10]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret