Function at 0x1800a8220
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm7
movsd xmm0, qword [0x180149dd8]
ucomisd xmm0, qword [0x18012dcd0]
jp 0x1800a84e9
jne 0x1800a84e9
movups xmm0, xmmword [0x180125458]
movups xmmword [rbp + 0x17], xmm0
movups xmm1, xmmword [0x180125468]
movups xmmword [rbp + 0x27], xmm1
movsd xmm0, qword [0x180125478]
movsd qword [rbp + 0x37], xmm0
movzx eax, byte [0x180125480]
mov byte [rbp + 0x3f], al
xor r8d, r8d
cmp dword [0x180148090], 2
jl 0x1800a83b7
movdqa xmm4, xmmword [0x18012e100]
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rbp - 9], xmm0
lea rcx, [rbp + 0x1b]
movdqa xmm7, xmmword [0x18012e1e0]
mov edx, dword [rbp - 9]
nop dword [rax]
nop word [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, xmm7
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, xmm7
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, 0x28
jl 0x1800a82d0
cmp r8d, 0x29
jge 0x1800a8400
movsxd rax, r8d
lea r9, [rbp + 0x17]
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, 0x29
jl 0x1800a83d0
xor r8d, r8d
lea rdx, [rbp + 0x17]
lea rcx, [rbp + 0x67]
call fcn.180038a30
mov rcx, qword [rax]
mov qword [0x18014b5e8], rcx
movsd xmm0, qword [0x180149dd8]
ucomisd xmm0, qword [0x18012dcd0]
jp 0x1800a84e9
jne 0x1800a84e9
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
test rcx, rcx
lea rcx, [rbp - 9]
jne 0x1800a8498
mov r8d, 0x1b
lea rdx, str.Couldnt_find_AbilityPatch_
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 - 9]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
jmp 0x1800a84e0
mov r8d, socket
lea rdx, str.Found_AbilityPatch_
call fcn.180016750
nop
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 0
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014aff8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014afe8]
lea r8, [rbp - 9]
lea rdx, [rbp + 0x6f]
call fcn.1800288e0
nop
lea rcx, [rbp - 9]
call fcn.18002d710
mov al, 1
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbp
ret