Function at 0x1800aec60
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.1800ad080
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x50]
call fcn.1800ad3a0
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 0x1800aedc1
nop word [rax + rax]
mov r9, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0xf
jbe 0x1800aed30
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 0x1800af5f0
lea rax, [rbp + 0x30]
cmp rax, rdi
je 0x1800aedb4
mov r9, rdi
cmp rbx, 0xf
jbe 0x1800aed7a
mov r9, qword [rdi]
mov rax, qword [rbp + 0x48]
cmp rsi, rax
ja 0x1800aeda8
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 0x1800aedb4
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.18000e980
add rdi, 0x20
cmp rdi, r13
jne 0x1800aed20
mov rbx, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x70]
cmp rbx, rdi
je 0x1800aeded
nop
mov rcx, rbx
call fcn.1800b1a60
mov r15, rax
test rax, rax
je 0x1800af5f0
add rbx, 0x20
cmp rbx, rdi
jne 0x1800aedd0
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1800af5f0
test r15, r15
je 0x1800af5f0
cvttsd2si eax, xmm7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov rbx, 0xffffffffffffffff
movsd xmm6, qword [0x180108af0]
comisd xmm0, xmmword [0x180108a50]
jb 0x1800aefff
mov cl, 3
call fcn.180034e00
call fcn.1800b4850
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1800bd1a0
mov rcx, qword [rax]
cmp qword [rcx], 0
je 0x1800aee52
call fcn.1800b4850
mov rcx, qword [0x180120d40]
test rcx, rcx
je 0x1800aee83
cmp qword [0x1801216c0], 0
je 0x1800aee71
mov rax, qword [0x180121658]
jmp 0x1800aee7b
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800aee86
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.1800977f0
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x1800aef0a
call fcn.1800b4600
test rax, rax
je 0x1800aef0a
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800aef03
movsxd r8, dword [0x18011f0a8]
nop
test rcx, rcx
je 0x1800aef0a
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800aef0a
cmp rcx, rax
jne 0x1800aeef0
mov qword [0x1801222b8], rdi
movsd xmm0, qword [0x180120d48]
ucomisd xmm0, xmm6
jp 0x1800aef29
jne 0x1800aef29
mov r8d, 6
lea rdx, str.Durian
jmp 0x1800aef33
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 0x1800aef7f
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800aef70
inc rcx
jmp 0x1800aef82
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 0x1800aefc1
test rdx, rdx
je 0x1800aefc1
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 0x1800af5e7
ucomisd xmm7, xmm6
jp 0x1800af5dd
jne 0x1800af5dd
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.1800c3970
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.180037460
test rax, rax
je 0x1800af154
movsxd rcx, dword [0x180120cd0]
mov rdx, qword [rcx + rax]
movsxd rax, dword [0x180120cc8]
cmp dword [0x180120d50], 0x14
jl 0x1800af0e7
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 0x1800af0f1
movsd xmm3, qword [rax + rdx]
mov r8d, dword [rax + rdx + 8]
movsxd rax, dword [0x180120ccc]
jl 0x1800af123
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 0x1800af12c
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.1800bc600
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 0x1800af1cb
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001e7f0
mov rcx, rax
call fcn.180004800
jmp 0x1800af1d5
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.1800bd1a0
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 0x1800af249
cmp qword [0x1801216c0], 0
je 0x1800af227
mov rax, qword [0x180121658]
jmp 0x1800af231
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rdi, qword [rax]
test rdi, rdi
je 0x1800af249
movsxd rax, dword [0x180120cdc]
mov rdi, qword [rax + rdi]
test rdi, rdi
jne 0x1800af24c
mov rdi, r14
movups xmm0, xmmword [0x1801056f0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180105700]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180105710]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180105720]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180105730]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180105740]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180105750]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180105760]
movsd qword [rbp], xmm0
mov eax, dword [0x180105768]
mov dword [rbp + 8], eax
movzx eax, byte [0x18010576c]
mov byte [rbp + 0xc], al
mov r8d, r14d
cmp dword [0x18011f018], 2
jl 0x1800af405
movdqa xmm5, xmmword [0x180108e60]
movdqa xmm4, xmmword [0x180109000]
movdqa xmm6, xmmword [0x180108e90]
movdqa xmm0, xmmword [0x180108f60]
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
psrad xmm1, 4
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 [0x180108f40]
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
psrad xmm1, 4
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 [0x180108f40]
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 0x1800af300
cmp r8d, 0x7d
jge 0x1800af440
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
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, 0x7d
jl 0x1800af410
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800af455
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 0x1800af4b5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001e7f0
mov rcx, rax
call fcn.180004800
jmp 0x1800af4bf
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 0x1800af51d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049c0
test eax, eax
jle 0x1800af51d
movsxd rbx, eax
add rbx, rdi
jmp 0x1800af520
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 0x1800af574
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049c0
test eax, eax
jle 0x1800af574
movsxd rbx, eax
add rbx, rdi
jmp 0x1800af577
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 0x1800af5cc
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1800049c0
test eax, eax
jle 0x1800af5cc
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 0x1800af5f2
movzx ebx, byte [0x180121b40]
jmp 0x1800af5f2
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.1800cac90
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