Function at 0x1800cfbf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r10d, r10d
cmp dword [0x18012a608], 0x11
mov r8d, r10d
jl 0x1800cfe2f
cmp dword [0x180129500], 2
movups xmm0, xmmword [0x1800f5f50]
movups xmm1, xmmword [str.2__3]
movzx eax, word [0x1800f5f90]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1800f5f70]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x1800f5f80]
mov word [rbp + 0x27], ax
movzx eax, byte [0x1800f5f92]
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm1
mov byte [rbp + 0x29], al
jl 0x1800cfda8
movdqa xmm0, xmmword [0x1800f5f30]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmm6, xmmword [str.2222]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x40
jl 0x1800cfca1
cmp r8d, 0x43
jge 0x1800cfdf1
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x43
jl 0x1800cfdc0
xorps xmm0, xmm0
mov qword [rbp - 0x49], r10
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x41], r10
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x1800cfe10
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.180004e30
lea rcx, [rbp - 0x59]
jmp 0x1800d001a
cmp dword [0x180129500], 2
movups xmm0, xmmword [str.efUEQIN]
mov eax, dword [0x1800f5fc8]
movups xmm1, xmmword [0x1800f5fa8]
mov dword [rbp + 0x17], eax
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [str.__77]
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm0
jl 0x1800cff99
movdqa xmm0, xmmword [0x1800f5f30]
lea rcx, [rbp - 0x15]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmm6, xmmword [str.2222]
movdqa xmmword [rbp - 0x59], xmm0
mov edx, dword [rbp - 0x59]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x30
jl 0x1800cfe92
cmp r8d, 0x34
jge 0x1800cffe1
movsxd rax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9 - 1], al
cmp r8d, 0x34
jl 0x1800cffb0
xorps xmm0, xmm0
mov qword [rbp - 0x29], r10
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], r10
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x1800d0000
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.180004e30
lea rcx, [rbp - 0x39]
call fcn.1800cf2d0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d8e20
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbp
ret