Function at 0x180012070
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x30], rcx
lea rbp, [0x180088f68]
cmp qword [0x180088f78], 0
mov rdi, rcx
jne 0x180012387
movups xmm0, xmmword [str.VCET]
mov eax, dword [0x180079ef8]
xor ecx, ecx
cmp dword [0x180088068], 2
movups xmm1, xmmword [0x180079ed8]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x180079ee8]
movups xmmword [rsp + 0x60], xmm1
movups xmmword [rsp + 0x70], xmm0
mov dword [r11 - 0x48], eax
movzx eax, word [0x180079efc]
mov word [r11 - 0x44], ax
movzx eax, byte [0x180079efe]
mov byte [r11 - 0x42], al
jl 0x18001226f
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [r11 - 0x74]
movdqa xmm5, xmmword [0x18007c070]
mov eax, 4
movdqa xmm4, xmmword [0x18007c150]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x18007c090]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x38], xmm8
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, dword [rsp + 0x30]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x18007c100]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x18007c100]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x30
jl 0x180012150
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp ecx, 0x37
jge 0x1800122ad
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x37
jl 0x180012280
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180011c00
mov rbx, rax
cmp rbp, rax
je 0x18001234e
mov rdx, qword [0x180088f80]
cmp rdx, 0x10
jb 0x180012309
mov rcx, qword [0x180088f68]
inc rdx
cmp rdx, 0x1000
jb 0x180012304
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800123aa
mov rcx, r8
call fcn.18003b800
mov qword [0x180088f78], 0
mov qword [0x180088f80], 0xf
mov byte [0x180088f68], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x180088f68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x180088f78], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180012387
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180012382
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800123aa
call fcn.18003b800
mov rdx, rbp
mov rcx, rdi
call fcn.18001fda0
lea r11, [rsp + 0xc0]
mov rax, rdi
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18004d68c
int3