Function at 0x18008c9c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movsd xmm0, qword [0x180118dc0]
xor ebx, ebx
movsd xmm1, qword [0x180101368]
comisd xmm0, xmm1
mov eax, dword [0x180118dc8]
movaps xmmword [rsp + 0x100], xmm6
jb 0x18008cc49
cmp eax, 0x13
jge 0x18008cc49
cmp dword [0x180117018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800f8e80]
movups xmm1, xmmword [0x1800f8e90]
movzx eax, word [0x1800f8f18]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800f8ea0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800f8ec0]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800f8ee0]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800f8eb0]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1800f8f00]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800f8ed0]
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1800f8f10]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800f8ef0]
mov word [rbp - 8], ax
movzx eax, byte [0x1800f8f1a]
movsd qword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x30], xmm1
mov byte [rbp - 6], al
jl 0x18008cbdd
movdqa xmm0, xmmword [0x180101740]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101730]
movdqa xmm6, xmmword [0x180101660]
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 [0x180101720]
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 [0x180101720]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x18008cad0
cmp r8d, 0x9b
jge 0x18008cc23
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 0x18008cbf0
lea rdx, [rsp + 0x60]
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.18001e960
mov rcx, qword [rax]
mov eax, dword [0x180118dc8]
mov qword [0x180119ec8], rcx
jmp 0x18008ce84
cmp eax, 0x10
jl 0x18008cf30
comisd xmm1, xmm0
jbe 0x18008ce7d
cmp dword [0x180117018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800f8de0]
movups xmm1, xmmword [0x1800f8df0]
mov eax, dword [0x1800f8e70]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800f8e00]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800f8e20]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800f8e10]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800f8e40]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800f8e30]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1800f8e60]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800f8e50]
mov dword [rbp - 0x10], eax
movzx eax, word [0x1800f8e74]
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
mov word [rbp - 0xc], ax
jl 0x18008ce2d
movdqa xmm0, xmmword [0x180101740]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101730]
movdqa xmm6, xmmword [0x180101660]
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 [0x180101720]
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 [0x180101720]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x90
jl 0x18008cd20
cmp r8d, 0x96
jge 0x18008ce73
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 0x18008ce40
lea rdx, [rsp + 0x60]
jmp 0x18008cc28
mov rcx, qword [0x180119ec8]
add eax, 0xfffffff0
cmp eax, 2
ja 0x18008cf30
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 0x18008cef0
mov r8d, 0x43
lea rdx, str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801015c0]
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 0x18008cf32
mov r8d, 0x10
lea rdx, str.Found_UnsafeEnv_
call fcn.18001d5d0
movdqa xmm1, xmmword [0x1801015c0]
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