Function at 0x1800aee20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r14d, r14d
movsd xmm7, qword [0x180120d48]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x68]
call fcn.1800ad230
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x50]
call fcn.1800ad550
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
xor r8d, r8d
lea rdx, [0x1800f5c56]
lea rcx, [rbp + 0x30]
call fcn.18001d0a0
nop
mov r15d, r14d
mov rdi, qword [rbp + 0x50]
mov r13, qword [rbp + 0x58]
lea r12, [0x180121d70]
cmp rdi, r13
je 0x1800aef81
nop word [rax + rax]
mov r9, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0xf
jbe 0x1800aeef0
mov r9, qword [rdi]
mov rsi, qword [rdi + 0x10]
mov rcx, r12
cmp qword [0x180121d88], 0xf
cmova rcx, qword [0x180121d70]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, qword [0x180121d80]
call fcn.18001c750
cmp rax, 0xffffffffffffffff
je 0x1800af7cb
lea rax, [rbp + 0x30]
cmp rax, rdi
je 0x1800aef74
mov r9, rdi
cmp rbx, 0xf
jbe 0x1800aef3a
mov r9, qword [rdi]
mov rax, qword [rbp + 0x48]
cmp rsi, rax
ja 0x1800aef68
lea rbx, [rbp + 0x30]
cmp rax, 0xf
cmova rbx, qword [rbp + 0x30]
mov qword [rbp + 0x40], rsi
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], r15b
jmp 0x1800aef74
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.18000e980
add rdi, 0x20
cmp rdi, r13
jne 0x1800aeee0
mov rbx, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x70]
cmp rbx, rdi
je 0x1800aefad
nop
mov rcx, rbx
call fcn.1800b1c70
mov r15, rax
test rax, rax
je 0x1800af7cb
add rbx, 0x20
cmp rbx, rdi
jne 0x1800aef90
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1800af7cb
test r15, r15
je 0x1800af7cb
cvttsd2si eax, xmm7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov rbx, 0xffffffffffffffff
movsd xmm6, qword [0x180108ae0]
comisd xmm0, xmmword [0x180108a40]
jb 0x1800af1bf
mov cl, 3
call fcn.180034e00
call fcn.1800b4af0
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1800bd590
mov rcx, qword [rax]
cmp qword [rcx], 0
je 0x1800af012
call fcn.1800b4af0
mov rcx, qword [0x180120d40]
test rcx, rcx
je 0x1800af043
cmp qword [0x1801216c0], 0
je 0x1800af031
mov rax, qword [0x180121658]
jmp 0x1800af03b
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800af046
mov rcx, r14
mov qword [rbp + 0x10], rcx
xor eax, eax
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea r8d, [rax + 0x15]
lea rdx, str.GetSpecialEventScript
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1801222c0]
call fcn.180097bb0
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x1800af0ca
call fcn.1800b4890
test rax, rax
je 0x1800af0ca
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800af0c3
movsxd r8, dword [0x18011f0a8]
nop
test rcx, rcx
je 0x1800af0ca
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800af0ca
cmp rcx, rax
jne 0x1800af0b0
mov qword [0x1801222b8], rdi
movsd xmm0, qword [0x180120d48]
ucomisd xmm0, xmm6
jp 0x1800af0e9
jne 0x1800af0e9
mov r8d, 6
lea rdx, str.Durian
jmp 0x1800af0f3
xor r8d, r8d
lea rdx, [0x1800f5c58]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x40]
call fcn.18001f4f0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmovbe rdx, rax
cmp word [rdx], 0
je 0x1800af13f
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800af130
inc rcx
jmp 0x1800af142
mov rcx, r14
mov rax, r14
test ecx, ecx
cmovne rax, rdx
mov qword [rbp + 0x10], rax
mov dword [rbp + 0x18], ecx
mov dword [rbp + 0x1c], ecx
xor eax, eax
mov qword [rbp + 0x20], rax
mov rdx, qword [0x180120c98]
mov rcx, qword [0x180120d38]
test rcx, rcx
je 0x1800af181
test rdx, rdx
je 0x1800af181
lea r8, [rbp + 0x10]
call qword [0x180121680]
mov rax, qword [rbp + 0x20]
mov ecx, dword [rbp + 0x20]
mov dword [rsp + 0x60], ecx
shr rax, 0x20
mov dword [rsp + 0x64], eax
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x180121d68]
call fcn.180036d80
nop
lea rcx, [rsp + 0x40]
call fcn.18001f320
mov word [0x180121b4b], 0x101
mov rcx, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
cmp qword [0x180121d88], 0xf
cmova r12, qword [0x180121d70]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, qword [0x180121d80]
mov rcx, r12
call fcn.18001c750
cmp rax, 0xffffffffffffffff
je 0x1800af7c2
ucomisd xmm7, xmm6
jp 0x1800af7b8
jne 0x1800af7b8
mov byte [0x180121b4e], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 0x19
lea rdx, str.4KBGQ0CCL99I5HVTOJJZDTKHJ
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
call fcn.1800c3da0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180037460
test rax, rax
je 0x1800af314
movsxd rcx, dword [0x180120cd0]
mov rdx, qword [rcx + rax]
movsxd rax, dword [0x180120cc8]
cmp dword [0x180120d50], 0x14
jl 0x1800af2a7
movsd xmm1, qword [rax + rdx + 0x10]
cvtpd2ps xmm1, xmm1
movsd xmm2, qword [rax + rdx + 8]
cvtpd2ps xmm2, xmm2
movsd xmm0, qword [rax + rdx]
cvtpd2ps xmm3, xmm0
movd r8d, xmm1
unpcklps xmm3, xmm2
jmp 0x1800af2b1
movsd xmm3, qword [rax + rdx]
mov r8d, dword [rax + rdx + 8]
movsxd rax, dword [0x180120ccc]
jl 0x1800af2e3
movsd xmm1, qword [rax + rdx + 0x10]
cvtpd2ps xmm1, xmm1
movsd xmm2, qword [rax + rdx + 8]
cvtpd2ps xmm2, xmm2
movsd xmm0, qword [rax + rdx]
cvtpd2ps xmm0, xmm0
movd eax, xmm1
movaps xmm1, xmm0
unpcklps xmm1, xmm2
jmp 0x1800af2ec
movsd xmm1, qword [rax + rdx]
mov eax, dword [rax + rdx + 8]
movsd qword [rsp + 0x60], xmm3
mov dword [rsp + 0x68], r8d
movsd qword [rbp + 0x10], xmm1
mov dword [rbp + 0x18], eax
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x10]
mov rcx, qword [0x180120d80]
call fcn.1800bc9f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x50
lea rdx, str._DurianPlaylist_Blueprints_BP_Durian_PreEventManager.BP_Durian_PreEventManager_C
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x1800f5c56]
lea rcx, [rbp + 0x80]
call fcn.18001d0a0
nop
cmp byte [0x180120d70], 0
jne 0x1800af38b
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001e7f0
mov rcx, rax
call fcn.180004810
jmp 0x1800af395
lea rcx, [rsp + 0x40]
call fcn.18000edb0
mov rdi, rax
lea rcx, [rbp + 0x80]
call fcn.18001f2b0
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1800bd590
mov rcx, qword [rax]
xor edx, edx
mov rcx, qword [rcx]
call fcn.18000c0c0
nop
lea rcx, [rsp + 0x40]
call fcn.18001f2b0
mov rcx, qword [0x180120d40]
test rcx, rcx
je 0x1800af409
cmp qword [0x1801216c0], 0
je 0x1800af3e7
mov rax, qword [0x180121658]
jmp 0x1800af3f1
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rdi, qword [rax]
test rdi, rdi
je 0x1800af409
movsxd rax, dword [0x180120cdc]
mov rdi, qword [rax + rdi]
test rdi, rdi
jne 0x1800af40c
mov rdi, r14
movups xmm0, xmmword [0x1801056e0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1801056f0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180105700]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180105710]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180105720]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180105730]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180105740]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180105750]
movsd qword [rbp], xmm0
mov eax, dword [0x180105758]
mov dword [rbp + 8], eax
movzx eax, byte [0x18010575c]
mov byte [rbp + 0xc], al
mov r8d, r14d
cmp dword [0x18011f018], 2
jl 0x1800af5cd
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm0, xmmword [0x180108f50]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rbp + 0x10]
nop word [rax + 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
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 [0x180108f30]
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
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 [0x180108f30]
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, 0x78
jl 0x1800af4c0
cmp r8d, 0x7d
jge 0x1800af613
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop word [rax + rax]
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, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x7d
jl 0x1800af5e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x70]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800af630
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
xor r8d, r8d
lea rdx, [0x1800f5c56]
lea rcx, [rbp + 0x10]
call fcn.18001d0a0
nop
cmp byte [0x180120d70], 0
jne 0x1800af690
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001e7f0
mov rcx, rax
call fcn.180004810
jmp 0x1800af69a
lea rcx, [rsp + 0x40]
call fcn.18000edb0
mov rsi, rax
lea rcx, [rbp + 0x10]
call fcn.18001f2b0
nop
lea rcx, [rsp + 0x40]
call fcn.18001f2b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xf
lea rdx, str.FocalPointActor
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
test rdi, rdi
je 0x1800af6f8
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049d0
test eax, eax
jle 0x1800af6f8
movsxd rbx, eax
add rbx, rdi
jmp 0x1800af6fb
mov rbx, r14
lea rcx, [rsp + 0x40]
call fcn.18001f2b0
mov qword [rbx], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xd
lea rdx, str.FocalPointFOV
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
test rdi, rdi
je 0x1800af74f
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049d0
test eax, eax
jle 0x1800af74f
movsxd rbx, eax
add rbx, rdi
jmp 0x1800af752
mov rbx, r14
lea rcx, [rsp + 0x40]
call fcn.18001f2b0
mov dword [rbx], 0x42b40000
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1d
lea rdx, str.FocalPointRotationInterpSpeed
lea rcx, [rsp + 0x40]
call fcn.18001d0a0
nop
test rdi, rdi
je 0x1800af7a7
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049d0
test eax, eax
jle 0x1800af7a7
movsxd r14, eax
add r14, rdi
lea rcx, [rsp + 0x40]
call fcn.18001f2b0
mov dword [r14], 0x3f59999a
mov bl, 1
mov byte [0x180121b40], bl
jmp 0x1800af7cd
movzx ebx, byte [0x180121b40]
jmp 0x1800af7cd
xor bl, bl
lea rcx, [rbp + 0x30]
call fcn.18001f2b0
nop
lea rcx, [rbp + 0x50]
call fcn.18001ec30
nop
lea rcx, [rbp + 0x68]
call fcn.18001ec30
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800cb0c0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret