Function at 0x1800ae270
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 [0x18011c040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor r14d, r14d
movsd xmm7, qword [0x18011dd30]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x68]
call fcn.1800acca0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rax
lea rcx, [rbp + 0x50]
call fcn.1800acfc0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rbp + 0x30]
call fcn.18001d4b0
nop
mov r15d, r14d
mov rdi, qword [rbp + 0x50]
mov r13, qword [rbp + 0x58]
lea r12, [0x18011ec70]
cmp rdi, r13
je 0x1800ae3d1
nop word [rax + rax]
mov r9, rdi
mov rbx, qword [rdi + 0x18]
cmp rbx, 0xf
jbe 0x1800ae340
mov r9, qword [rdi]
mov rsi, qword [rdi + 0x10]
mov rcx, r12
cmp qword [0x18011ec88], 0xf
cmova rcx, qword [0x18011ec70]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, qword [0x18011ec80]
call fcn.18001cb60
cmp rax, 0xffffffffffffffff
je 0x1800aec00
lea rax, [rbp + 0x30]
cmp rax, rdi
je 0x1800ae3c4
mov r9, rdi
cmp rbx, 0xf
jbe 0x1800ae38a
mov r9, qword [rdi]
mov rax, qword [rbp + 0x48]
cmp rsi, rax
ja 0x1800ae3b8
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 0x1800ae3c4
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.18000ed90
add rdi, 0x20
cmp rdi, r13
jne 0x1800ae330
mov rbx, qword [rbp + 0x68]
mov rdi, qword [rbp + 0x70]
cmp rbx, rdi
je 0x1800ae3fd
nop
mov rcx, rbx
call fcn.1800b02d0
mov r15, rax
test rax, rax
je 0x1800aec00
add rbx, 0x20
cmp rbx, rdi
jne 0x1800ae3e0
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1800aec00
test r15, r15
je 0x1800aec00
cvttsd2si eax, xmm7
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov rbx, 0xffffffffffffffff
movsd xmm6, qword [0x180106050]
comisd xmm0, xmmword [0x180105fb0]
jb 0x1800ae60f
mov cl, 3
call fcn.180035240
call fcn.1800b2bd0
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1800bb520
mov rcx, qword [rax]
cmp qword [rcx], 0
je 0x1800ae462
call fcn.1800b2bd0
mov rcx, qword [0x18011dd28]
test rcx, rcx
je 0x1800ae493
cmp qword [0x18011e690], 0
je 0x1800ae481
mov rax, qword [0x18011e628]
jmp 0x1800ae48b
movsxd rax, dword [0x18011dcd0]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
jne 0x1800ae496
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.18001d4b0
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x18011f1c0]
call fcn.1800973e0
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x1800ae51a
call fcn.1800b2980
test rax, rax
je 0x1800ae51a
mov rcx, qword [rdi + 0x10]
cmp rcx, rax
je 0x1800ae513
movsxd r8, dword [0x18011c0a8]
nop
test rcx, rcx
je 0x1800ae51a
mov rcx, qword [r8 + rcx]
test rcx, rcx
je 0x1800ae51a
cmp rcx, rax
jne 0x1800ae500
mov qword [0x18011f1b8], rdi
movsd xmm0, qword [0x18011dd30]
ucomisd xmm0, xmm6
jp 0x1800ae539
jne 0x1800ae539
mov r8d, 6
lea rdx, str.Durian
jmp 0x1800ae543
xor r8d, r8d
lea rdx, [0x1800f3b18]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
lea rcx, [rsp + 0x40]
call fcn.18001f670
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmovbe rdx, rax
cmp word [rdx], 0
je 0x1800ae58f
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800ae580
inc rcx
jmp 0x1800ae592
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 [0x18011dc80]
mov rcx, qword [0x18011dd20]
test rcx, rcx
je 0x1800ae5d1
test rdx, rdx
je 0x1800ae5d1
lea r8, [rbp + 0x10]
call qword [0x18011e650]
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 [0x18011ec68]
call fcn.1800371c0
nop
lea rcx, [rsp + 0x40]
call fcn.18001f940
mov word [0x18011ea5b], 0x101
mov rcx, qword [rbp + 0x40]
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r9, qword [rbp + 0x30]
cmp qword [0x18011ec88], 0xf
cmova r12, qword [0x18011ec70]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, qword [0x18011ec80]
mov rcx, r12
call fcn.18001cb60
cmp rax, 0xffffffffffffffff
je 0x1800aebf7
ucomisd xmm7, xmm6
jp 0x1800aebed
jne 0x1800aebed
mov byte [0x18011ea5e], 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.18001d4b0
nop
call fcn.1800c17f0
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1800376a0
test rax, rax
je 0x1800ae764
movsxd rcx, dword [0x18011dcb8]
mov rdx, qword [rcx + rax]
movsxd rax, dword [0x18011dcb0]
cmp dword [0x18011dd38], 0x14
jl 0x1800ae6f7
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 0x1800ae701
movsd xmm3, qword [rax + rdx]
mov r8d, dword [rax + rdx + 8]
movsxd rax, dword [0x18011dcb4]
jl 0x1800ae733
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 0x1800ae73c
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 [0x18011dd60]
call fcn.1800ba980
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.18001d4b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rbp + 0x80]
call fcn.18001d4b0
nop
cmp byte [0x18011dd58], 0
jne 0x1800ae7db
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001ec00
mov rcx, rax
call fcn.180004560
jmp 0x1800ae7e5
lea rcx, [rsp + 0x40]
call fcn.18000f1c0
mov rdi, rax
lea rcx, [rbp + 0x80]
call fcn.18001f9d0
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1800bb520
mov rcx, qword [rax]
xor edx, edx
mov rcx, qword [rcx]
call fcn.18000c4d0
nop
lea rcx, [rsp + 0x40]
call fcn.18001f9d0
mov rcx, qword [0x18011dd28]
test rcx, rcx
je 0x1800ae859
cmp qword [0x18011e690], 0
je 0x1800ae837
mov rax, qword [0x18011e628]
jmp 0x1800ae841
movsxd rax, dword [0x18011dcd0]
add rax, rcx
mov rdi, qword [rax]
test rdi, rdi
je 0x1800ae859
movsxd rax, dword [0x18011dcc4]
mov rdi, qword [rax + rdi]
test rdi, rdi
jne 0x1800ae85c
mov rdi, r14
movups xmm0, xmmword [0x180102f20]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180102f30]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180102f40]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180102f50]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180102f60]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180102f70]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180102f80]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180102f90]
movsd qword [rbp], xmm0
mov eax, dword [0x180102f98]
mov dword [rbp + 8], eax
movzx eax, byte [0x180102f9c]
mov byte [rbp + 0xc], al
mov r8d, r14d
cmp dword [0x18011c018], 2
jl 0x1800aea15
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x180106550]
movdqa xmm6, xmmword [0x1801063d0]
movdqa xmm0, xmmword [str.9999999999999999]
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 [0x180106490]
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 [0x180106490]
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 0x1800ae910
cmp r8d, 0x7d
jge 0x1800aea50
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x7d
jl 0x1800aea20
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 0x1800aea65
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.18001d4b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rbp + 0x10]
call fcn.18001d4b0
nop
cmp byte [0x18011dd58], 0
jne 0x1800aeac5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.18001ec00
mov rcx, rax
call fcn.180004560
jmp 0x1800aeacf
lea rcx, [rsp + 0x40]
call fcn.18000f1c0
mov rsi, rax
lea rcx, [rbp + 0x10]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x40]
call fcn.18001f9d0
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.18001d4b0
nop
test rdi, rdi
je 0x1800aeb2d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180004720
test eax, eax
jle 0x1800aeb2d
movsxd rbx, eax
add rbx, rdi
jmp 0x1800aeb30
mov rbx, r14
lea rcx, [rsp + 0x40]
call fcn.18001f9d0
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.18001d4b0
nop
test rdi, rdi
je 0x1800aeb84
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180004720
test eax, eax
jle 0x1800aeb84
movsxd rbx, eax
add rbx, rdi
jmp 0x1800aeb87
mov rbx, r14
lea rcx, [rsp + 0x40]
call fcn.18001f9d0
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.18001d4b0
nop
test rdi, rdi
je 0x1800aebdc
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180004720
test eax, eax
jle 0x1800aebdc
movsxd r14, eax
add r14, rdi
lea rcx, [rsp + 0x40]
call fcn.18001f9d0
mov dword [r14], 0x3f59999a
mov bl, 1
mov byte [0x18011ea50], bl
jmp 0x1800aec02
movzx ebx, byte [0x18011ea50]
jmp 0x1800aec02
xor bl, bl
lea rcx, [rbp + 0x30]
call fcn.18001f9d0
nop
lea rcx, [rbp + 0x50]
call fcn.18001f040
nop
lea rcx, [rbp + 0x68]
call fcn.18001f040
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1800c8b10
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