Function at 0x180035a20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
movups xmm0, xmmword [str.z__YPBdAJNQqW_2_0:D]
mov eax, dword [0x1800e90d8]
xor edi, edi
cmp byte [0x1800e90db], dil
mov r14d, dword [0x18010c088]
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], eax
movaps xmmword [rsp + 0x60], xmm6
je 0x180035bff
mov ecx, edi
cmp r14d, 2
jl 0x180035bbc
movdqa xmm0, xmmword [0x1800fac90]
lea rdx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1800fab00]
movdqa xmm4, xmmword [0x1800fada0]
movdqa xmm6, xmmword [0x1800faba0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop dword [rax]
nop dword [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1800fac70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180035ab0
cmp ecx, 0x14
jge 0x180035bff
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x31
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x180035bd0
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp - 0x50], xmm0
mov r8, rbx
movdqu xmmword [rbp - 0x40], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x180035c20
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1800140a0
lea rcx, [rbp - 0x50]
call fcn.18004e430
mov rcx, rax
mov rsi, rax
call fcn.18004dfe0
test al, al
jne 0x180035c53
mov rsi, rdi
jmp 0x180035c5d
mov eax, dword [0x18020b758]
mov rsi, qword [rax + rsi]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180035c98
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035c93
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180035efc
call fcn.1800b4d3c
cmp byte [0x1800ea59b], dil
movups xmm0, xmmword [str.z__YPBdLKSU_qW_2_0:D]
mov eax, dword [0x1800ea598]
mov dword [rbp - 0x20], eax
movups xmmword [rbp - 0x30], xmm0
je 0x180035e44
mov r8d, edi
cmp r14d, 2
jl 0x180035e01
movdqa xmm0, xmmword [0x1800fac90]
lea rcx, [rbp - 0x2c]
movdqa xmm5, xmmword [0x1800fab00]
movdqa xmm4, xmmword [0x1800fada0]
movdqa xmm6, xmmword [0x1800faba0]
movdqa xmmword [rbp - 0x50], xmm0
mov edx, dword [rbp - 0x50]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1800fac70]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1800fac70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x180035cf2
cmp r8d, 0x14
jge 0x180035e44
movsxd rax, r8d
lea r9, [rbp - 0x30]
add r9, rax
nop dword [rax + rax]
mov eax, 0x92492493
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0x14
jl 0x180035e10
xorps xmm0, xmm0
lea rax, [rbp - 0x30]
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm0
movdqu xmmword [rbp - 0x40], xmm1
inc rbx
cmp byte [rax + rbx], dil
jne 0x180035e57
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.1800140a0
lea rcx, [rbp - 0x50]
call fcn.18004e430
mov rcx, rax
mov rbx, rax
call fcn.18004dfe0
test al, al
je 0x180035e92
mov eax, dword [0x18020b758]
mov rdi, qword [rax + rbx]
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x180035ec9
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035ec4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180035efc
call fcn.1800b4d3c
mov r9d, 0x48
mov rdx, rdi
mov rcx, rsi
lea r8d, [r9 - 0x20]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
jmp 0x18004e6e0
call fcn.1800bbacc
int3