Function at 0x18009ac10
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r14
push rbp
lea rbp, [r11 - 0x28]
sub rsp, 0x120
mov rax, qword [0x180129540]
xor rax, rsp
mov qword [rbp], rax
mov eax, dword [0x18012a608]
cmp eax, 0x10
jl 0x18009b063
cmp eax, 0x13
jge 0x18009af81
movups xmm0, xmmword [0x1800f14c0]
xor r8d, r8d
cmp dword [0x180129500], 2
movups xmm1, xmmword [0x1800f14d0]
movzx eax, word [0x1800f1558]
movups xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x1800f14e0]
movups xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [0x1800f1500]
movups xmmword [rbp - 0x60], xmm0
movups xmm0, xmmword [0x1800f1520]
movups xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [0x1800f14f0]
movups xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [0x1800f1540]
movups xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [0x1800f1510]
mov qword [r11 + 8], rbx
movups xmmword [rbp - 0x20], xmm0
movsd xmm0, qword [0x1800f1550]
movups xmmword [rbp - 0x50], xmm1
movups xmm1, xmmword [0x1800f1530]
mov word [rbp - 8], ax
movzx eax, byte [0x1800f155a]
mov qword [r11 + 0x10], rsi
movsd qword [rbp - 0x10], xmm0
mov qword [r11 + 0x18], rdi
movups xmmword [rbp - 0x30], xmm1
mov byte [rbp - 6], al
jl 0x18009ae35
movdqa xmm0, xmmword [0x1800f1680]
lea rcx, [rsp + 0x64]
movdqa xmm5, xmmword [0x1800e4760]
movdqa xmm4, xmmword [0x1800f1690]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [str.2222]
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, 4
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 [0x1800e4780]
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, 4
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 [0x1800e4780]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x98
jl 0x18009ad20
movaps xmm6, xmmword [rsp + 0x110]
cmp r8d, 0x9b
jge 0x18009ae74
movsxd rax, r8d
lea r9, [rsp + 0x60]
add r9, rax
mov eax, 0x51eb851f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x33
xor byte [r9 - 1], al
cmp r8d, 0x9b
jl 0x18009ae40
mov rcx, qword [0x18012abd0]
xor esi, esi
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x18012abd0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rsp + 0x60]
movsxd rcx, dword [rax + 0x3c]
mov ebx, dword [rcx + rbx + 0x50]
lea rcx, [rsp + 0x40]
call fcn.18004f0d0
mov rcx, qword [0x18012abd0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r10, qword [rsp + 0x48]
xor r9d, r9d
mov r11, qword [rsp + 0x40]
mov rdi, rax
sub r10, r11
sar r10, 2
sub rbx, r10
je 0x18009af19
xor eax, eax
test r10, r10
je 0x18009af00
xor ecx, ecx
nop
mov r8d, dword [r11 + rcx*4]
lea ecx, [rax + r9]
movzx ecx, byte [rcx + rdi]
cmp ecx, r8d
je 0x18009aef7
cmp r8d, 0xffffffff
jne 0x18009af06
inc eax
mov ecx, eax
cmp rcx, r10
jb 0x18009aee0
test esi, esi
jle 0x18009af13
dec esi
inc r9d
mov eax, r9d
cmp rax, rbx
jb 0x18009aed6
jmp 0x18009af19
mov r14d, r9d
add r14, rdi
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov rbx, qword [rsp + 0x130]
test r11, r11
je 0x18009af72
mov rdx, qword [rsp + 0x50]
mov rax, r11
sub rdx, r11
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x18009af6a
mov r11, qword [r11 - 8]
add rdx, 0x27
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009af6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r11
call fcn.1800d8994
mov eax, dword [0x18012a608]
mov qword [0x18012ac38], r14
jmp 0x18009af88
mov r14, qword [0x18012ac38]
add eax, 0xfffffff0
cmp eax, 2
ja 0x18009b063
mov qword [rsp + 0x30], 0
xorps xmm0, xmm0
mov qword [rsp + 0x38], socket
movups xmmword [rsp + 0x20], xmm0
test r14, r14
jne 0x18009b02a
lea ecx, [r14 + 0x50]
call fcn.1800d8958
movups xmm0, xmmword [str.Couldnt_find_UnsafeEnv__Game_will_close_out_when_entering_In_Game_]
mov rcx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rsp + 0x30], 0x43
mov qword [rsp + 0x38], 0x4f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1800f1570]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1800f1580]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [0x1800f1590]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x1800f15a0]
mov word [rcx + 0x40], ax
movzx eax, byte [0x1800f15a2]
mov byte [rcx + 0x42], al
mov byte [rcx + 0x43], r14b
lea rcx, [rsp + 0x20]
call fcn.180093170
xor al, al
jmp 0x18009b065
mov ecx, 0x20
call fcn.1800d8958
movups xmm0, xmmword [str.Found_UnsafeEnv_]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], socket
mov qword [rsp + 0x38], 0x1f
movups xmmword [rax], xmm0
mov byte [rax + 0x10], 0
call fcn.1800935c0
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d8e20
mov r14, qword [rsp + 0x148]
add rsp, 0x120
pop rbp
ret