Function at 0x1800a9f40
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
xor edi, edi
cmp dword [0x18014adc0], 0x1a
jge 0x1800a9f6f
lea rdx, [0x18014c670]
jmp 0x1800aa369
movsd xmm1, qword [0x18014adb8]
ucomisd xmm1, qword [0x18012ecd8]
jp 0x1800aa168
jne 0x1800aa168
mov rcx, qword [0x18014b738]
test rcx, rcx
jne 0x1800aa3f2
movups xmm0, xmmword [0x180126200]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x180126210]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x180126220]
movups xmmword [rbp + 0x17], xmm0
mov eax, dword [0x180126230]
mov dword [rbp + 0x27], eax
movzx eax, word [0x180126234]
mov word [rbp + 0x2b], ax
mov r8d, edi
cmp dword [0x180149018], 2
jl 0x1800aa115
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
mov edx, dword [rbp - 0x29]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x18012f030]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
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, 0x30
jl 0x1800aa010
cmp r8d, 0x36
jge 0x1800aa150
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x36
jl 0x1800aa120
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.1800387f0
mov rcx, qword [rax]
jmp 0x1800aa3eb
movsd xmm0, qword [0x18012ed10]
comisd xmm0, xmm1
ja 0x1800aa362
ucomisd xmm1, qword [0x18012ed18]
jp 0x1800aa362
jne 0x1800aa362
movups xmm0, xmmword [0x1801261c0]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [str.gpzjtlrnppnrglun]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x1801261e0]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [0x1801261f0]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x1801261f8]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x1801261fc]
mov word [rbp + 0x33], ax
mov r8d, edi
cmp dword [0x180149018], 2
jl 0x1800aa315
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
mov edx, dword [rbp - 0x29]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
andps xmm2, xmmword [0x18012f030]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18012f030]
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, 0x38
jl 0x1800aa210
cmp r8d, 0x3e
jge 0x1800aa350
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3e
jl 0x1800aa320
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.1800387f0
jmp 0x1800aa3d2
lea rdx, [0x18014c690]
lea rcx, [rbp - 9]
call fcn.18002d010
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x67]
call fcn.1800ac090
xorps xmm0, xmm0
mov rbx, rax
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov edx, 1
lea rcx, [rbp - 0x29]
call fcn.18000f200
mov rcx, qword [rbp - 0x29]
mov byte [rcx], 0xe8
inc rcx
mov dword [rsp + 0x28], 0x800
mov qword [rbp - 0x21], rcx
mov dword [rsp + 0x20], 1
mov r9b, 1
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x77]
mov rcx, rbx
call fcn.1800acbf0
mov rcx, qword [rax]
test rcx, rcx
mov rdx, rax
je 0x1800aa3eb
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014b738], rcx
cmp dword [0x18014adc0], 0x10
jl 0x1800aa4b9
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
test rcx, rcx
lea rcx, [rbp - 0x29]
jne 0x1800aa46c
mov r8d, 0x45
lea rdx, str.Couldnt_find_RequestExit__Game_will_close_out_when_entering_In_Game_
call fcn.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
xor al, al
jmp 0x1800aa4bb
mov r8d, socket
lea rdx, str.Found_RequestExit_
call fcn.180016150
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], edi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x29]
call fcn.18002d3d0
mov al, 1
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret