Function at 0x180002070
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [str._XVVMU_]
xor ebx, ebx
cmp byte [0x1800394bf], bl
mov rsi, rcx
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x180039720]
mov byte [rcx + 0x230], 1
mov r14d, dword [0x18003f0d8]
mov qword [rbp + 0x20], rax
je 0x1800021cb
mov r8d, ebx
cmp r14d, 2
jl 0x18000219d
movdqa xmm2, xmmword [0x1800396f0]
movdqa xmm3, xmmword [0x180039700]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180039740]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmmword [0x180039710]
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp + 0x20]
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180039730]
xorps xmm2, xmm0
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
movd dword [rbp + 0x20], xmm2
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180039710]
psubd xmm3, xmm0
movd xmm0, dword [rbp + 0x24]
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [0x180039730]
xorps xmm3, xmm0
movd dword [rbp + 0x24], xmm3
jmp 0x1800021cb
lea r9, [rbp + 0x20]
mov eax, 0x5397829d
lea r9, [r9 + 1]
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 8
jl 0x1800021a1
mov rdi, 0xffffffffffffffff
lea rax, [rbp + 0x20]
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x1800021e0
lea rcx, [rsi + 0xc0]
lea rdx, [rbp + 0x20]
call fcn.180006560
mov eax, dword [0x180039378]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x18003937c]
mov byte [rbp - 0x1c], al
movups xmm0, xmmword [0x180039358]
movups xmm1, xmmword [0x180039368]
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm1
cmp r14d, 2
jl 0x180002344
movdqa xmm0, xmmword [0x180039730]
lea rcx, [rbp - 0x3c]
movdqa xmm4, xmmword [0x1800396f0]
movdqa xmm3, xmmword [0x180039740]
movdqa xmm5, xmmword [0x180039710]
movdqa xmmword [rbp - 0x50], xmm0
mov edx, dword [rbp - 0x50]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x20
jl 0x180002260
cmp ebx, 0x25
jge 0x18000237d
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x35
xor byte [r8 - 1], al
cmp ebx, 0x25
jl 0x180002350
lea rax, [rbp - 0x40]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x180002384
lea rcx, [rsi + 0x100]
lea rdx, [rbp - 0x40]
call fcn.180006560
cmp byte [0x180039151], 0
mov r8, rdi
movzx eax, word [0x180039150]
movsd xmm0, qword [0x180039148]
mov word [rbp - 0x48], ax
lea rax, [rbp - 0x50]
movsd qword [rbp - 0x50], xmm0
je 0x180002400
xor byte [rbp - 0x4f], 0x36
xor byte [rbp - 0x4e], 0x37
xor byte [rbp - 0x4d], 0x38
xor byte [rbp - 0x4c], 0x39
xor byte [rbp - 0x4b], 0x3a
xor byte [rbp - 0x4a], 0x3b
xor byte [rbp - 0x49], 0x3c
xor byte [rbp - 0x48], 0x3d
xor byte [rbp - 0x47], 0x3e
mov byte [rbp - 0x50], 0x31
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1800023f0
jmp 0x18000240a
inc r8
cmp byte [rax + r8], 0
jne 0x180002400
lea rdx, [rbp - 0x50]
lea rcx, [rsi + 0xe0]
call fcn.180006560
movzx eax, byte [0x180039570]
movsd xmm0, qword [str._SA_Ke]
movsd qword [rbp - 0x50], xmm0
xor byte [rbp - 0x4f], 0x36
xor byte [rbp - 0x4e], 0x37
xor byte [rbp - 0x4d], 0x38
xor byte [rbp - 0x4c], 0x39
xor byte [rbp - 0x4b], 0x3a
xor byte [rbp - 0x4a], 0x3b
xor byte [rbp - 0x49], 0x3c
xor al, 0x3d
mov byte [rbp - 0x50], 0x6e
mov byte [rbp - 0x48], al
lea rax, [rbp - 0x50]
inc rdi
cmp byte [rax + rdi], 0
jne 0x180002457
mov r8, rdi
lea rcx, [rsi + 0x120]
lea rdx, [rbp - 0x50]
call fcn.180006560
movaps xmm7, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret