Function at 0x18008f290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movsd xmm0, qword [0x18011cd50]
xor ebx, ebx
movsd xmm1, qword [0x180104480]
comisd xmm0, xmm1
mov eax, dword [0x18011cd58]
movaps xmmword [rsp + 0x100], xmm6
jb 0x18008f519
cmp eax, 0x13
jge 0x18008f519
cmp dword [0x18011b018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800fbfa0]
movups xmm1, xmmword [0x1800fbfb0]
movzx eax, word [0x1800fc038]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800fbfc0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800fbfe0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800fc000]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800fbfd0]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1800fc020]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800fbff0]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1800fc030]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800fc010]
mov word [rbp - 8], ax
movzx eax, byte [0x1800fc03a]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x30], xmm1
mov byte [rbp - 6], al
jl 0x18008f4ad
movdqa xmm0, xmmword [0x180104850]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104830]
movdqa xmm6, xmmword [0x180104760]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax + rax]
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, 1
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 [0x180104820]
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, 1
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 [0x180104820]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x18008f3a0
cmp r8d, 0x9b
jge 0x18008f4f3
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x9b
jl 0x18008f4c0
lea rdx, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.18001e960
mov rcx, qword [rax]
mov eax, dword [0x18011cd58]
mov qword [0x18011de88], rcx
jmp 0x18008f754
cmp eax, 0x10
jl 0x18008f800
comisd xmm1, xmm0
jbe 0x18008f74d
cmp dword [0x18011b018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800fbf00]
movups xmm1, xmmword [0x1800fbf10]
mov eax, dword [0x1800fbf90]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800fbf20]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800fbf40]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800fbf30]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800fbf60]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800fbf50]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1800fbf80]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800fbf70]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1800fbf94]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov word [rbp - 0xc], ax
jl 0x18008f6fd
movdqa xmm0, xmmword [0x180104850]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x180104740]
movdqa xmm4, xmmword [0x180104830]
movdqa xmm6, xmmword [0x180104760]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
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, 1
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 [0x180104820]
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, 1
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 [0x180104820]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x90
jl 0x18008f5f0
cmp r8d, 0x96
jge 0x18008f743
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
nop dword [rax + rax]
mov eax, 0x94f2095
lea r9, [r9 + 1]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x35
xor byte [r9 - 1], al
cmp r8d, 0x96
jl 0x18008f710
lea rdx, [rsp + 0x60]
jmp 0x18008f4f8
mov rcx, qword [0x18011de88]
add eax, 0xfffffff0
cmp eax, 2
ja 0x18008f800
xorps xmm0, xmm0
mov qword [rsp + 0x30], rbx
test rcx, rcx
mov qword [rsp + 0x38], rbx
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
jne 0x18008f7c0
mov r8d, 0x43
lea rdx, str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801046e0]
lea rcx, [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], bl
movdqu xmmword [rsp + 0x50], xmm1
call fcn.18001faf0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
xor al, al
jmp 0x18008f802
mov r8d, 0x10
lea rdx, str.Found_UnsafeEnv_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801046e0]
lea rcx, [rsp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], bl
movdqu xmmword [rsp + 0x50], xmm1
call fcn.18001faf0
lea rcx, [rsp + 0x20]
call fcn.18001faf0
mov al, 1
mov rbx, qword [rsp + 0x128]
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbp
ret