Function at 0x1800afbf0
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 [0x18011f040]
xor rax, rsp
mov qword [rbp + 0x27], rax
test cl, cl
jne 0x1800afecc
xor ebx, ebx
movsd xmm1, qword [0x180108a40]
movsd xmm0, qword [0x180120d48]
movsd xmm6, qword [0x180108ae0]
ucomisd xmm0, xmm6
jp 0x1800afc4b
je 0x1800afc53
ucomisd xmm0, xmm1
jp 0x1800afcb6
jne 0x1800afcb6
comisd xmm1, xmm0
ja 0x1800afca4
call fcn.1800b4890
mov rdi, rax
test rax, rax
jne 0x1800afc6b
mov rdi, rbx
jmp 0x1800afc76
movsxd rax, dword [0x18011f3d4]
mov rdi, qword [rax + rdi]
mov rcx, rdi
call fcn.1800b3f40
test rax, rax
je 0x1800afc85
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b4190
test rax, rax
je 0x1800afc94
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b43d0
test rax, rax
je 0x1800afca4
mov byte [rax], 1
call fcn.1800ae2d0
call fcn.1800addf0
movsd xmm0, qword [0x180120d48]
comisd xmm0, xmm6
jb 0x1800b00ba
movups xmm0, xmmword [0x180105690]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1801056a0]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x1801056b0]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [0x1801056c0]
movups xmmword [rbp - 0x19], xmm1
movsd xmm0, qword [0x1801056d0]
movsd qword [rbp - 9], xmm0
mov r8d, ebx
cmp dword [0x18011f018], 2
jl 0x1800afe27
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm7, xmmword [str.99999999]
lea rcx, [rbp - 0x49]
nop dword [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 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
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 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 0x1800afd30
cmp r8d, 0x24
jge 0x1800afe77
movsxd rax, r8d
lea r9, [rbp - 0x49]
lea r9, [r9 + rax*2]
nop dword [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
movzx eax, dx
imul ecx, eax, 0x38
movzx eax, r8w
sub ax, cx
add ax, 0x39
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x24
jl 0x1800afe40
cmp word [rbp - 0x49], bx
je 0x1800afe9e
lea rax, [rbp - 0x49]
mov rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800afe90
inc rcx
jmp 0x1800afea1
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.1800bea90
jmp 0x1800b00ba
cmp cl, 1
jne 0x1800afedb
call fcn.1800ae9d0
jmp 0x1800b00ba
cmp cl, 2
jne 0x1800b00ba
xor ebx, ebx
movsd xmm6, qword [0x180120d48]
ucomisd xmm6, qword [0x180108ae0]
jp 0x1800afefa
je 0x1800aff06
ucomisd xmm6, qword [0x180108a40]
jp 0x1800aff70
jne 0x1800aff70
call fcn.1800aee20
xorps xmm0, xmm0
test al, al
je 0x1800aff3d
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.18001d0a0
lea rcx, [rsp + 0x20]
jmp 0x1800aff63
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.18001d0a0
lea rcx, [rbp - 0x69]
call fcn.18008f5d0
movsd xmm6, qword [0x180120d48]
ucomisd xmm6, qword [0x180108af0]
jp 0x1800affe6
jne 0x1800affe6
call fcn.1800af830
xorps xmm0, xmm0
test al, al
je 0x1800affb0
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.18001d0a0
lea rcx, [rbp - 0x69]
jmp 0x1800affd9
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.18001d0a0
lea rcx, [rsp + 0x20]
call fcn.18008f5d0
movsd xmm6, qword [0x180120d48]
movsd xmm7, qword [0x180108b18]
ucomisd xmm6, xmm7
jp 0x1800b00ba
jne 0x1800b00ba
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 7]
call fcn.1800adc30
nop
mov rdi, qword [rbp + 7]
mov rsi, qword [rbp + 0xf]
cmp rdi, rsi
je 0x1800b0080
mov rcx, rdi
call fcn.1800b1c70
test rax, rax
je 0x1800b0080
add rdi, 0x20
cmp rdi, rsi
jne 0x1800b0022
ucomisd xmm6, xmm7
jp 0x1800b0045
jne 0x1800b0045
call fcn.1800b32c0
mov byte [0x180121b42], 1
lea rcx, [rbp + 7]
call fcn.18001ec30
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.18001d0a0
lea rcx, [rbp - 0x69]
jmp 0x1800b00b5
lea rcx, [rbp + 7]
call fcn.18001ec30
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.18001d0a0
lea rcx, [rsp + 0x20]
call fcn.18008f5d0
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800cb0c0
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