Function at 0x1800af810
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
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x180121040]
xor rax, rsp
mov qword [rbp + 0x27], rax
test cl, cl
jne 0x1800afae1
xor ebx, ebx
movsd xmm1, qword [0x18010a998]
movsd xmm0, qword [0x180122c90]
movsd xmm6, qword [0x18010aa38]
ucomisd xmm0, xmm6
jp 0x1800af86b
je 0x1800af873
ucomisd xmm0, xmm1
jp 0x1800af8e9
jne 0x1800af8e9
comisd xmm1, xmm0
ja 0x1800af8d7
mov rdi, qword [0x180123798]
test rdi, rdi
jne 0x1800af8a9
call fcn.1800b4660
mov rdi, rax
test rax, rax
jne 0x1800af897
mov rdi, rbx
jmp 0x1800af8a2
movsxd rax, dword [0x1801213bc]
mov rdi, qword [rax + rdi]
mov qword [0x180123798], rdi
mov rcx, rdi
call fcn.1800b3d50
test rax, rax
je 0x1800af8b8
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b3f90
test rax, rax
je 0x1800af8c7
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b41c0
test rax, rax
je 0x1800af8d7
mov byte [rax], 1
call fcn.1800ade60
call fcn.1800ad990
movsd xmm0, qword [0x180122c90]
comisd xmm0, xmm6
jb 0x1800afd85
movups xmm0, xmmword [0x1801073c0]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1801073d0]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x1801073e0]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [0x1801073f0]
movups xmmword [rbp - 0x19], xmm1
movsd xmm0, qword [0x180107400]
movsd qword [rbp - 9], xmm0
mov r8d, ebx
cmp dword [0x180121018], 2
jl 0x1800afa4f
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae50]
movdqa xmm6, xmmword [0x18010acc0]
movdqa xmm7, xmmword [str.77777777]
lea rcx, [rbp - 0x49]
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
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 xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x20
jl 0x1800af960
cmp r8d, 0x24
jge 0x1800afa94
movsxd rax, r8d
lea r9, [rbp - 0x49]
lea r9, [r9 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x24
jl 0x1800afa60
cmp word [rbp - 0x49], bx
je 0x1800afab3
lea rax, [rbp - 0x49]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800afaa5
inc rcx
jmp 0x1800afab6
mov rcx, rbx
mov dword [rbp + 0xf], ecx
mov dword [rbp + 0x13], ecx
lea rax, [rbp - 0x49]
test ecx, ecx
cmove rax, rbx
mov qword [rbp + 7], rax
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
lea rcx, [rbp + 7]
call fcn.1800be940
jmp 0x1800afd85
cmp cl, 1
jne 0x1800afaf0
call fcn.1800ae4f0
jmp 0x1800afd85
cmp cl, 2
jne 0x1800afd85
xor ebx, ebx
movsd xmm6, qword [0x180122c90]
ucomisd xmm6, qword [0x18010aa38]
jp 0x1800afb0f
je 0x1800afb1b
ucomisd xmm6, qword [0x18010a998]
jp 0x1800afb85
jne 0x1800afb85
call fcn.1800ae8c0
xorps xmm0, xmm0
test al, al
je 0x1800afb52
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], rbx
mov r8d, 0x1e
lea rdx, str.Successfully_setup_main_Event_
lea rcx, [rsp + 0x20]
call fcn.18001ae00
lea rcx, [rsp + 0x20]
jmp 0x1800afb78
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_main_event__MatchedAsset_couldnt_be_found
lea rcx, [rbp - 0x69]
call fcn.18001ae00
lea rcx, [rbp - 0x69]
call fcn.18008f4a0
movsd xmm6, qword [0x180122c90]
ucomisd xmm6, qword [0x18010aa48]
jp 0x1800afbfb
jne 0x1800afbfb
call fcn.1800af400
xorps xmm0, xmm0
test al, al
je 0x1800afbc5
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
mov r8d, 0x1e
lea rdx, str.Successfully_setup_mini_Event_
lea rcx, [rbp - 0x69]
call fcn.18001ae00
lea rcx, [rbp - 0x69]
jmp 0x1800afbee
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], rbx
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_mini_event__MatchedAsset_couldnt_be_found
lea rcx, [rsp + 0x20]
call fcn.18001ae00
lea rcx, [rsp + 0x20]
call fcn.18008f4a0
movsd xmm6, qword [0x180122c90]
movsd xmm7, qword [0x18010aa70]
ucomisd xmm6, xmm7
jp 0x1800afd85
jne 0x1800afd85
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 7]
call fcn.1800ad790
nop
mov rdi, qword [rbp + 7]
mov rsi, qword [rbp + 0xf]
cmp rdi, rsi
je 0x1800afd4b
nop dword [rax + rax]
mov rcx, rdi
call fcn.1800b19c0
mov r8, rax
test rax, rax
je 0x1800afd4b
add rdi, 0x20
cmp rdi, rsi
jne 0x1800afc40
cmp qword [rax + 0x10], 0
je 0x1800afd4b
mov edx, dword [0x180122c98]
lea ecx, [rdx - 5]
cmp ecx, 1
jbe 0x1800afd03
movsxd rax, dword [rax + 0xc]
cmp edx, 5
jge 0x1800afca9
cmp eax, 0xffffffff
jne 0x1800afc8c
xor eax, eax
jmp 0x1800afcff
mov rdx, qword [0x180122ca0]
cmp eax, dword [rdx + 0xc]
jge 0x1800afcfd
test eax, eax
js 0x1800afcfd
lea rcx, [rax + rax*2]
mov rax, qword [rdx]
lea rax, [rax + rcx*8]
jmp 0x1800afce8
cmp eax, 0xffffffff
je 0x1800afcfd
mov r9, qword [0x180122ca8]
cmp eax, dword [r9 + 0x14]
jge 0x1800afcfd
test eax, eax
js 0x1800afcfd
cdq
movzx edx, dx
add eax, edx
mov ecx, eax
movzx eax, ax
sub eax, edx
sar ecx, 0x10
movsxd rdx, ecx
mov rcx, qword [r9]
mov r9, qword [rcx + rdx*8]
test r9, r9
je 0x1800afcfd
cdqe
lea rcx, [rax + rax*2]
lea rax, [r9 + rcx*8]
test rax, rax
je 0x1800afcfd
mov rax, qword [rax]
test rax, rax
je 0x1800afcfd
cmp rax, r8
sete al
jmp 0x1800afcff
xor al, al
test al, al
je 0x1800afd4b
ucomisd xmm6, xmm7
jp 0x1800afd10
jne 0x1800afd10
call fcn.1800b30b0
mov byte [0x180123f72], 1
lea rcx, [rbp + 7]
call fcn.18001c990
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x51], rbx
mov r8d, 0x1f
lea rdx, str.Successfully_setup_world_Event_
lea rcx, [rbp - 0x69]
call fcn.18001ae00
lea rcx, [rbp - 0x69]
jmp 0x1800afd80
lea rcx, [rbp + 7]
call fcn.18001c990
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x71], rbx
mov r8d, 0x3b
lea rdx, str.Failed_to_setup_world_event__MatchedAsset_couldnt_be_found
lea rcx, [rsp + 0x20]
call fcn.18001ae00
lea rcx, [rsp + 0x20]
call fcn.18008f4a0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800cc550
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret