Function at 0x18006c4a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
test cl, cl
jne 0x18006c790
movsd xmm0, qword [0x1800d5c20]
xor ebx, ebx
movsd xmm1, qword [0x1800c2b18]
movaps xmmword [rsp + 0xc0], xmm6
movsd xmm6, qword [0x1800c2ba8]
ucomisd xmm0, xmm6
jp 0x18006c4e4
je 0x18006c4ec
ucomisd xmm0, xmm1
jp 0x18006c55f
jne 0x18006c55f
comisd xmm1, xmm0
ja 0x18006c54d
mov qword [rsp + 0xe0], rdi
call fcn.18006ffe0
mov rdi, rax
test rax, rax
jne 0x18006c50c
mov rdi, rbx
jmp 0x18006c517
movsxd rax, dword [0x1800d40f4]
mov rdi, qword [rax + rdi]
mov rcx, rdi
call fcn.18006f690
test rax, rax
je 0x18006c526
mov dword [rax], ebx
mov rcx, rdi
call fcn.18006f8e0
test rax, rax
je 0x18006c535
mov dword [rax], ebx
mov rcx, rdi
call fcn.18006fb20
mov rdi, qword [rsp + 0xe0]
test rax, rax
je 0x18006c54d
mov byte [rax], 1
call fcn.18006b050
call fcn.18006ab70
movsd xmm0, qword [0x1800d5c20]
comisd xmm0, xmm6
jb 0x18006c777
cmp dword [0x1800d4018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800bfc50]
movups xmm1, xmmword [0x1800bfc60]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1800bfc70]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800bfc90]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x1800bfc80]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x18006c6e1
movdqa xmm5, xmmword [0x1800c2cc0]
lea rcx, [rbp - 0x19]
movdqa xmm4, xmmword [0x1800c2e00]
movdqa xmm6, xmmword [0x1800c2cf0]
movaps xmmword [rsp + 0xb0], xmm7
movdqa xmm7, xmmword [str.55555555]
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
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
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, 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
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 0x18006c5e0
movaps xmm7, xmmword [rsp + 0xb0]
cmp r8d, 0x24
jge 0x18006c728
movsxd rax, r8d
lea r9, [rbp - 0x19]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x92492493
lea r9, [r9 + 2]
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
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9 - 2], ax
cmp r8d, 0x24
jl 0x18006c6f0
cmp word [rbp - 0x19], bx
je 0x18006c74e
lea rax, [rbp - 0x19]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x18006c740
inc rcx
jmp 0x18006c751
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.18007ab40
movaps xmm6, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
cmp cl, 1
jne 0x18006c77f
movsd xmm0, qword [0x1800d5c20]
xor ebx, ebx
ucomisd xmm0, qword [0x1800c2ba8]
jp 0x18006c7ab
je 0x18006c7b7
ucomisd xmm0, qword [0x1800c2b18]
jp 0x18006c82d
jne 0x18006c82d
call fcn.18006b740
mov qword [rbp - 0x49], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
test al, al
je 0x18006c7e2
mov r8d, 0x1e
lea rdx, str.Successfully_setup_main_Event_
jmp 0x18006c7ef
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_main_event__MatchedAsset_couldnt_be_found
call fcn.18001d5d0
cmp byte [0x1800d5db8], bl
je 0x18006c81c
movdqa xmm1, xmmword [0x1800c2ca0]
lea rcx, [rbp - 0x39]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x39], bl
movdqu xmmword [rbp - 0x29], xmm1
call fcn.18001faf0
lea rcx, [rbp - 0x59]
call fcn.18001faf0
movsd xmm0, qword [0x1800d5c20]
ucomisd xmm0, qword [0x1800c2bb0]
jp 0x18006c77f
jne 0x18006c77f
call fcn.18006c0b0
mov qword [rbp - 0x49], rbx
xorps xmm0, xmm0
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x59]
movups xmmword [rbp - 0x59], xmm0
test al, al
je 0x18006c8b1
mov r8d, 0x1e
lea rdx, str.Successfully_setup_mini_Event_
call fcn.18001d5d0
cmp byte [0x1800d5db8], bl
je 0x18006c897
movdqa xmm1, xmmword [0x1800c2ca0]
lea rcx, [rbp - 0x39]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x39], bl
movdqu xmmword [rbp - 0x29], xmm1
call fcn.18001faf0
lea rcx, [rbp - 0x59]
call fcn.18001faf0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_mini_event__MatchedAsset_couldnt_be_found
call fcn.18001d5d0
cmp byte [0x1800d5db8], bl
je 0x18006c8eb
movdqa xmm1, xmmword [0x1800c2ca0]
lea rcx, [rbp - 0x39]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x39], bl
movdqu xmmword [rbp - 0x29], xmm1
call fcn.18001faf0
lea rcx, [rbp - 0x59]
call fcn.18001faf0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret