Function at 0x1800af020
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
test cl, cl
jne 0x1800af306
movsd xmm0, qword [0x18011dd30]
xor ebx, ebx
movsd xmm1, qword [0x180105fb0]
movaps xmmword [rsp + 0xc0], xmm6
movsd xmm6, qword [0x180106050]
ucomisd xmm0, xmm6
jp 0x1800af064
je 0x1800af06c
ucomisd xmm0, xmm1
jp 0x1800af0df
jne 0x1800af0df
comisd xmm1, xmm0
ja 0x1800af0cd
mov qword [rsp + 0xe0], rdi
call fcn.1800b2980
mov rdi, rax
test rax, rax
jne 0x1800af08c
mov rdi, rbx
jmp 0x1800af097
movsxd rax, dword [0x18011c3c8]
mov rdi, qword [rax + rdi]
mov rcx, rdi
call fcn.1800b2070
test rax, rax
je 0x1800af0a6
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b22b0
test rax, rax
je 0x1800af0b5
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800b24e0
mov rdi, qword [rsp + 0xe0]
test rax, rax
je 0x1800af0cd
mov byte [rax], 1
call fcn.1800adb70
call fcn.1800ad6a0
movsd xmm0, qword [0x18011dd30]
comisd xmm0, xmm6
jb 0x1800af2ed
cmp dword [0x18011c018], 2
mov r8d, ebx
movups xmm0, xmmword [0x180102ed0]
movups xmm1, xmmword [0x180102ee0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x180102ef0]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x180102f10]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x180102f00]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x1800af259
movdqa xmm5, xmmword [0x1801063b0]
lea rcx, [rbp - 0x19]
movdqa xmm4, xmmword [0x180106550]
movdqa xmm6, xmmword [0x1801063d0]
movaps xmmword [rsp + 0xb0], xmm7
movdqa xmm7, xmmword [str.99999999]
nop
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, 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
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp r8d, 0x20
jl 0x1800af160
movaps xmm7, xmmword [rsp + 0xb0]
cmp r8d, 0x24
jge 0x1800af2a5
movsxd rax, r8d
lea r9, [rbp - 0x19]
lea r9, [r9 + rax*2]
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x39
xor word [r9 - 2], ax
cmp r8d, 0x24
jl 0x1800af270
cmp word [rbp - 0x19], bx
je 0x1800af2c4
lea rax, [rbp - 0x19]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800af2b6
inc rcx
jmp 0x1800af2c7
mov rcx, rbx
mov dword [rbp - 0x51], ecx
lea rax, [rbp - 0x19]
mov dword [rbp - 0x4d], ecx
test ecx, ecx
lea rcx, [rbp - 0x59]
cmove rax, rbx
mov qword [rbp - 0x59], rax
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
call fcn.1800bc950
movaps xmm6, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
cmp cl, 1
jne 0x1800af2f5
movsd xmm0, qword [0x18011dd30]
xor ebx, ebx
ucomisd xmm0, qword [0x180106050]
jp 0x1800af321
je 0x1800af32d
ucomisd xmm0, qword [0x180105fb0]
jp 0x1800af394
jne 0x1800af394
call fcn.1800ae270
xorps xmm0, xmm0
test al, al
je 0x1800af361
mov r8d, 0x1e
mov qword [rbp - 0x49], rbx
lea rdx, str.Successfully_setup_main_Event_
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
call fcn.18001d4b0
lea rcx, [rbp - 0x59]
jmp 0x1800af387
mov r8d, 0x3a
mov qword [rbp - 0x29], rbx
lea rdx, str.Failed_to_setup_main_event__MatchedAsset_couldnt_be_found
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
call fcn.18001d4b0
lea rcx, [rbp - 0x39]
call fcn.18008e170
movsd xmm0, qword [0x18011dd30]
ucomisd xmm0, qword [0x180106060]
jp 0x1800af2f5
jne 0x1800af2f5
call fcn.1800aec60
xorps xmm0, xmm0
test al, al
je 0x1800af3f0
mov r8d, 0x1e
mov qword [rbp - 0x29], rbx
lea rdx, str.Successfully_setup_mini_Event_
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
call fcn.18001d4b0
lea rcx, [rbp - 0x39]
call fcn.18008e170
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
mov r8d, 0x3a
mov qword [rbp - 0x49], rbx
lea rdx, str.Failed_to_setup_mini_event__MatchedAsset_couldnt_be_found
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
call fcn.18001d4b0
lea rcx, [rbp - 0x59]
call fcn.18008e170
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret