Function at 0x180099390
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 [0x18012dd68]
movsd xmm1, qword [0x1801145e0]
comisd xmm0, xmm1
jb 0x1800995ec
cmp dword [0x18012dd70], 0x13
jge 0x1800995ec
movups xmm0, xmmword [0x18010b510]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [str._fi_v_tlrnppnrltanw_hz]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x18010b530]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x18010b540]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x18010b550]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010b560]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010b570]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010b580]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010b590]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x18010b5a0]
movsd qword [rbp - 0x20], xmm0
movzx eax, word [0x18010b5a8]
mov word [rbp - 0x18], ax
movzx eax, byte [0x18010b5aa]
mov byte [rbp - 0x16], al
xor r8d, r8d
cmp dword [0x18012c090], 2
jl 0x18009958d
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114da0]
movdqa xmm5, xmmword [0x180114910]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x180114990]
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 0x1800994a0
cmp r8d, 0x9b
jge 0x1800995d3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x9b
jl 0x1800995a0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.180026720
mov rcx, qword [rax]
jmp 0x1800998c1
cmp dword [0x18012dd70], 0x10
jl 0x18009981c
comisd xmm1, xmm0
jbe 0x18009981c
movups xmm0, xmmword [0x18010b470]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x18010b480]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x18010b490]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x18010b4a0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x18010b4b0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010b4c0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010b4d0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010b4e0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010b4f0]
movups xmmword [rbp - 0x30], xmm0
mov eax, dword [0x18010b500]
mov dword [rbp - 0x20], eax
movzx eax, word [0x18010b504]
mov word [rbp - 0x1c], ax
xor r8d, r8d
cmp dword [0x18012c090], 2
jl 0x1800997bd
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114da0]
movdqa xmm5, xmmword [0x180114910]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x54]
movdqa xmm6, xmmword [0x180114990]
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 0x1800996d0
cmp r8d, 0x96
jge 0x180099803
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop dword [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x96
jl 0x1800997d0
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.180026720
mov rcx, qword [rax]
jmp 0x1800998c1
comisd xmm0, xmmword [0x1801146c8]
jb 0x1800998c8
lea rdx, [0x18012f718]
lea rcx, [rbp - 0x10]
call fcn.18003e7d0
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.18009a290
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.180039ff0
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 + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x58]
mov rcx, rdi
call fcn.18009adc0
mov rcx, qword [rax]
test rcx, rcx
je 0x1800998c8
mov qword [0x18012e6f0], rcx
mov eax, dword [0x18012dd70]
add eax, 0xfffffff0
cmp eax, 2
ja 0x1800999a4
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movdqu xmmword [rsp + 0x40], xmm1
cmp qword [0x18012e6f0], 0
jne 0x180099951
mov r8d, 0x43
lea rdx, str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_
call fcn.180013310
nop
mov byte [rbp + 0x40], 0
mov dword [rbp + 0x48], 1
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18012f3e8]
mov qword [rsp + 0x20], rax
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x48]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x30]
call fcn.180027960
xor al, al
jmp 0x1800999a6
mov r8d, 0x10
lea rdx, str.Found_UnsafeEnv_
call fcn.180013310
nop
mov byte [rbp + 0x40], 0
mov dword [rbp + 0x48], 0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18012f3e8]
mov qword [rsp + 0x20], rax
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x48]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x30]
call fcn.180027960
mov al, 1
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rdi
pop rbx
pop rbp
ret