Function at 0x1800a8f30
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
movsd xmm0, qword [0x180149dd8]
movsd xmm1, qword [0x18012ddd8]
comisd xmm0, xmm1
jb 0x1800a918c
cmp dword [0x180149de0], 0x13
jge 0x1800a918c
movups xmm0, xmmword [0x1801252e0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x1801252f0]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180125300]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180125310]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125320]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125330]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180125340]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180125350]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180125360]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x180125370]
movsd qword [rbp - 0x20], xmm0
movzx eax, word [0x180125378]
mov word [rbp - 0x18], ax
movzx eax, byte [0x18012537a]
mov byte [rbp - 0x16], al
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a912d
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x98
jl 0x1800a9040
cmp r8d, 0x9b
jge 0x1800a9173
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x9b
jl 0x1800a9140
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a9469
cmp dword [0x180149de0], 0x10
jl 0x1800a93bc
comisd xmm1, xmm0
jbe 0x1800a93bc
movups xmm0, xmmword [0x180125240]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180125250]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180125260]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180125270]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x180125280]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180125290]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x1801252a0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x1801252b0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x1801252c0]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [0x1801252d0]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1801252d4]
mov word [rbp - 0x1c], ax
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a935d
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x90
jl 0x1800a9270
cmp r8d, 0x96
jge 0x1800a93a3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x96
jl 0x1800a9370
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a9469
comisd xmm0, xmmword [0x18012ded0]
jb 0x1800a9470
lea rdx, [0x18014b890]
lea rcx, [rbp - 0x10]
call fcn.18002d350
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1800aaa60
mov rdi, rax
mov dword [rbp + 0x40], 0x24ffffff
mov word [rbp + 0x44], 0x55ff
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov edx, 6
lea rcx, [rsp + 0x30]
call fcn.18000f4e0
mov rbx, qword [rsp + 0x30]
mov r8d, 6
lea rdx, [rbp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + 6]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x28], 0x800
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.1800ab590
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a9470
mov qword [0x18014a750], rcx
mov eax, dword [0x180149de0]
add eax, 0xfffffff0
cmp eax, 2
ja 0x1800a954c
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp qword [0x18014a750], 0
jne 0x1800a94f9
mov r8d, 0x43
lea rdx, str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_
call fcn.180016750
nop
mov byte [rbp + 0x40], 0
mov dword [rbp + 0x48], 1
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x30]
call fcn.18002d710
xor al, al
jmp 0x1800a954e
mov r8d, 0x10
lea rdx, str.Found_UnsafeEnv_
call fcn.180016750
nop
mov byte [rbp + 0x40], 0
mov dword [rbp + 0x48], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x48]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x30]
call fcn.18002d710
mov al, 1
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rdi
pop rbx
pop rbp
ret