Function at 0x1800a8990
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 [0x180149de0], 0x1a
jge 0x1800a89bf
lea rdx, [0x18014b690]
jmp 0x1800a8db9
movsd xmm1, qword [0x180149dd8]
ucomisd xmm1, qword [0x18012de78]
jp 0x1800a8bb8
jne 0x1800a8bb8
mov rcx, qword [0x18014a758]
test rcx, rcx
jne 0x1800a8e4a
movups xmm0, xmmword [0x1801253c0]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x1801253d0]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x1801253e0]
movups xmmword [rbp + 0x17], xmm0
mov eax, dword [str.X_BP_e]
mov dword [rbp + 0x27], eax
movzx eax, word [0x1801253f4]
mov word [rbp + 0x2b], ax
mov r8d, edi
cmp dword [0x180148090], 2
jl 0x1800a8b57
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x29]
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, 0x30
jl 0x1800a8a70
cmp r8d, 0x36
jge 0x1800a8ba0
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [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, 0x36
jl 0x1800a8b70
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180038a30
mov rcx, qword [rax]
jmp 0x1800a8e43
movsd xmm0, qword [0x18012deb0]
comisd xmm0, xmm1
ja 0x1800a8db2
ucomisd xmm1, qword [0x18012deb8]
jp 0x1800a8db2
jne 0x1800a8db2
movups xmm0, xmmword [0x180125380]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [0x180125390]
movups xmmword [rbp + 7], xmm1
movups xmm0, xmmword [0x1801253a0]
movups xmmword [rbp + 0x17], xmm0
movsd xmm0, qword [str.YRBDZ]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x1801253b8]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x1801253bc]
mov word [rbp + 0x33], ax
mov r8d, edi
cmp dword [0x180148090], 2
jl 0x1800a8d57
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 5]
movdqa xmm6, xmmword [0x18012e1e0]
mov edx, dword [rbp - 0x29]
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, 0x38
jl 0x1800a8c70
cmp r8d, 0x3e
jge 0x1800a8da0
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop dword [rax]
nop word [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, 0x3e
jl 0x1800a8d70
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x67]
call fcn.180038a30
jmp 0x1800a8e2a
lea rdx, [0x18014b6b0]
lea rcx, [rbp - 9]
call fcn.18002d350
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x6f]
call fcn.1800aaa60
xorps xmm0, xmm0
mov rbx, rax
mov byte [rbp + 0x67], 0xe8
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rdi
mov edx, 1
lea rcx, [rbp - 0x29]
call fcn.18000f4e0
mov rdx, qword [rbp - 0x29]
movzx ecx, byte [rbp + 0x67]
mov byte [rdx], cl
lea rcx, [rdx + 1]
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.1800ab590
mov rcx, qword [rax]
test rcx, rcx
mov rdx, rax
je 0x1800a8e43
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
mov qword [rdx], rcx
mov qword [0x18014a758], rcx
cmp dword [0x180149de0], 0x10
jl 0x1800a8f11
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x29], xmm0
movdqu xmmword [rbp - 0x19], xmm1
test rcx, rcx
lea rcx, [rbp - 0x29]
jne 0x1800a8ec4
mov r8d, 0x45
lea rdx, str.Couldnt_find_RequestExit__Game_will_close_out_when_entering_In_Game_
call fcn.180016750
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 1
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
xor al, al
jmp 0x1800a8f13
mov r8d, socket
lea rdx, str.Found_RequestExit_
call fcn.180016750
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], edi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 0x29]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 0x29]
call fcn.18002d710
mov al, 1
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret