Function at 0x1800a8c00
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
cmp dword [0x18014adc0], 0x1d
jl 0x1800a8ee1
movups xmm0, xmmword [0x180126360]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [0x180126370]
movups xmmword [rbp - 9], xmm1
movups xmm0, xmmword [0x180126380]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [0x180126390]
movups xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [0x1801263a0]
movups xmmword [rbp + 0x27], xmm0
mov eax, dword [0x1801263b0]
mov dword [rbp + 0x37], eax
movzx eax, word [0x1801263b4]
mov word [rbp + 0x3b], ax
xor ecx, ecx
cmp dword [0x180149018], 2
jl 0x1800a8db2
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x15]
mov r8d, dword [rbp - 0x39]
nop word [rax + rax]
movd xmm2, ecx
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, 1
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 [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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, 1
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 [0x18012f070]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x50
jl 0x1800a8cb0
cmp ecx, 0x56
jge 0x1800a8deb
movsxd rax, ecx
lea r8, [rbp - 0x19]
add r8, rax
nop dword [rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x56
jl 0x1800a8dc0
xor r8d, r8d
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x67]
call fcn.1800387f0
mov rcx, qword [rax]
mov qword [0x18014b768], rcx
cmp dword [0x18014adc0], 0x1d
jl 0x1800a8ee1
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
movups xmmword [rbp - 0x39], xmm0
movdqu xmmword [rbp - 0x29], xmm1
test rcx, rcx
lea rcx, [rbp - 0x39]
jne 0x1800a8e94
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800a8e78
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x39]
call fcn.18002d3d0
xor al, al
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbp
ret
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800a8ed8
mov byte [rbp + 0x67], 0
mov dword [rbp + 0x6f], 2
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
lea rax, [0x18014bfd8]
mov qword [rsp + 0x20], rax
lea r9, [0x18014bfc8]
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x6f]
call fcn.180028480
nop
lea rcx, [rbp - 0x39]
call fcn.18002d3d0
mov al, 1
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbp
ret