Function at 0x18009df10
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x180119040]
xor rax, rsp
mov qword [rbp - 0x10], rax
movsd xmm0, qword [0x18011ac10]
movsd xmm1, qword [0x180104130]
comisd xmm0, xmm1
mov eax, dword [0x18011abec]
jb 0x18009e1ab
cmp eax, 0x13
jge 0x18009e1ab
movups xmm0, xmmword [0x1800ffb40]
xor r8d, r8d
cmp dword [0x180119010], 2
movups xmm1, xmmword [0x1800ffb50]
movzx eax, word [0x1800ffbd8]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1800ffb60]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x1800ffb80]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x1800ffba0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1800ffb70]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1800ffbc0]
movups xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [0x1800ffb90]
movups xmmword [rbp - 0x30], xmm0
movsd xmm0, qword [0x1800ffbd0]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x1800ffbb0]
mov word [rbp - 0x18], ax
movzx eax, byte [0x1800ffbda]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x16], al
jl 0x18009e145
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1801045a0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x18009e030
cmp r8d, 0x9b
jge 0x18009e187
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x9b
jl 0x18009e150
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180009330
mov rcx, qword [rax]
mov eax, dword [0x18011abec]
mov qword [0x18011b790], rcx
jmp 0x18009e3e8
cmp eax, 0x10
jl 0x18009e4c4
comisd xmm1, xmm0
jbe 0x18009e3e1
movups xmm0, xmmword [0x1800ff6b0]
xor r8d, r8d
cmp dword [0x180119010], 2
movups xmm1, xmmword [0x1800ff6c0]
mov eax, dword [0x1800ff740]
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1800ff6d0]
movups xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x1800ff6f0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1800ff6e0]
movups xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [0x1800ff710]
movups xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [0x1800ff700]
movups xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [0x1800ff730]
movups xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [0x1800ff720]
mov dword [rbp - 0x20], eax
movzx eax, word [0x1800ff744]
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x40], xmm1
mov word [rbp - 0x1c], ax
jl 0x18009e395
movdqa xmm0, xmmword [str.2222222222222222]
lea rcx, [rsp + 0x54]
movdqa xmm5, xmmword [0x1801044a0]
movdqa xmm4, xmmword [0x1801046b0]
movdqa xmm6, xmmword [0x180104500]
movdqa xmmword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x20]
nop word [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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1801045a0]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1801045a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x90
jl 0x18009e280
cmp r8d, 0x96
jge 0x18009e3d7
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x96
jl 0x18009e3a0
lea rdx, [rsp + 0x50]
jmp 0x18009e18c
mov rcx, qword [0x18011b790]
add eax, 0xfffffff0
cmp eax, 2
ja 0x18009e4c4
mov qword [rsp + 0x40], 0
xorps xmm0, xmm0
mov qword [rsp + 0x48], socket
movups xmmword [rsp + 0x30], xmm0
test rcx, rcx
jne 0x18009e48b
mov ecx, 0x50
call fcn.1800c8160
movups xmm0, xmmword [str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_]
mov rcx, rax
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x40], 0x43
mov qword [rsp + 0x48], 0x4f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800fe7f0]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1800fe800]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1800fe810]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x1800fe820]
mov word [rcx + 0x40], ax
movzx eax, byte [0x1800fe822]
mov byte [rcx + 0x42], al
mov byte [rcx + 0x43], 0
lea rcx, [rsp + 0x30]
call fcn.180097a80
xor al, al
jmp 0x18009e4c6
mov ecx, 0x20
call fcn.1800c8160
movups xmm0, xmmword [str.Found_UnsafeEnv_]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], socket
mov qword [rsp + 0x48], 0x1f
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
call fcn.180097780
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800c8140
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbp
ret