Function at 0x1800afb20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180117040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
movups xmm0, xmmword [0x1800ff320]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x1800ff330]
movups xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [0x1800ff340]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1800ff350]
movsd qword [rbp - 9], xmm0
mov r15d, dword [0x180117018]
cmp r15d, 2
jl 0x1800afcd7
movdqa xmm5, xmmword [0x180101630]
mov edx, ebx
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm0, xmmword [0x180101740]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x35]
mov r8d, dword [rbp - 0x69]
nop dword [rax + rax]
movd xmm2, edx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x38
jl 0x1800afbd0
jmp 0x1800afd13
lea r9, [rbp - 0x39]
mov r8d, ebx
nop
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x38
jl 0x1800afce0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x39]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x1800afd30
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.18001d5d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
xor r8d, r8d
lea rdx, [0x1800eea76]
lea rcx, [rbp + 7]
call fcn.18001d5d0
nop
cmp byte [0x180118de8], 0
jne 0x1800afd8a
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.18001ed20
mov rcx, rax
call fcn.180004560
jmp 0x1800afd93
lea rcx, [rbp - 0x59]
call fcn.18000f2f0
mov r14, rax
lea rcx, [rbp + 7]
call fcn.18001faf0
mov rax, qword [0x180118e50]
movsxd rdx, dword [rdi + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rdi]
call rax
mov qword [rdi], rax
movsxd rcx, dword [rdi + 8]
mov qword [rax + rcx*8], r14
inc dword [rdi + 8]
mov eax, dword [rdi + 8]
mov dword [rdi + 0xc], eax
lea rcx, [rbp - 0x59]
call fcn.18001faf0
movups xmm0, xmmword [0x1800ff2e0]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [0x1800ff2f0]
movups xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [0x1800ff300]
movups xmmword [rbp - 0x19], xmm0
movsd xmm0, qword [0x1800ff310]
movsd qword [rbp - 9], xmm0
mov eax, dword [0x1800ff318]
mov dword [rbp - 1], eax
cmp r15d, 2
jl 0x1800aff5a
movdqa xmm5, xmmword [0x180101630]
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
movdqa xmm0, xmmword [0x180101740]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x35]
mov edx, dword [rbp - 0x69]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ebx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180101720]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x38
jl 0x1800afe50
cmp eax, 0x3c
jge 0x1800aff9e
movsxd rax, ebx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
sub al, cl
add al, 0x35
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x3c
jl 0x1800aff70
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
lea rax, [rbp - 0x39]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800affb1
mov r8, rsi
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.18001d5d0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
xor r8d, r8d
lea rdx, [0x1800eea76]
lea rcx, [rbp + 7]
call fcn.18001d5d0
nop
cmp byte [0x180118de8], 0
jne 0x1800b000e
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.18001ed20
mov rcx, rax
call fcn.180004560
jmp 0x1800b0017
lea rcx, [rbp - 0x59]
call fcn.18000f2f0
mov rbx, rax
lea rcx, [rbp + 7]
call fcn.18001faf0
mov r9, qword [0x180118e50]
movsxd rdx, dword [rdi + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rdi]
call r9
mov qword [rdi], rax
movsxd rcx, dword [rdi + 8]
mov qword [rax + rcx*8], rbx
inc dword [rdi + 8]
mov ecx, dword [rdi + 8]
mov dword [rdi + 0xc], ecx
lea rcx, [rbp - 0x59]
call fcn.18001faf0
mov rax, rdi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800c4020
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret