Function at 0x1800ac010
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
test cl, cl
jne 0x1800ac300
movsd xmm0, qword [0x18011cd50]
xor ebx, ebx
movsd xmm1, qword [0x180104490]
movaps xmmword [rsp + 0xc0], xmm6
movsd xmm6, qword [0x180104520]
ucomisd xmm0, xmm6
jp 0x1800ac054
je 0x1800ac05c
ucomisd xmm0, xmm1
jp 0x1800ac0cf
jne 0x1800ac0cf
comisd xmm1, xmm0
ja 0x1800ac0bd
mov qword [rsp + 0xe0], rdi
call fcn.1800afab0
mov rdi, rax
test rax, rax
jne 0x1800ac07c
mov rdi, rbx
jmp 0x1800ac087
movsxd rax, dword [0x18011b21c]
mov rdi, qword [rax + rdi]
mov rcx, rdi
call fcn.1800af160
test rax, rax
je 0x1800ac096
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800af3b0
test rax, rax
je 0x1800ac0a5
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800af5f0
mov rdi, qword [rsp + 0xe0]
test rax, rax
je 0x1800ac0bd
mov byte [rax], 1
call fcn.1800aabc0
call fcn.1800aa6e0
movsd xmm0, qword [0x18011cd50]
comisd xmm0, xmm6
jb 0x1800ac2e7
cmp dword [0x18011b018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1801014d0]
movups xmm1, xmmword [0x1801014e0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1801014f0]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x180101510]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x180101500]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x1800ac251
movdqa xmm5, xmmword [0x180104740]
lea rcx, [rbp - 0x19]
movdqa xmm4, xmmword [0x180104940]
movdqa xmm6, xmmword [0x180104770]
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 0x1800ac150
movaps xmm7, xmmword [rsp + 0xb0]
cmp r8d, 0x24
jge 0x1800ac298
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 0x1800ac260
cmp word [rbp - 0x19], bx
je 0x1800ac2be
lea rax, [rbp - 0x19]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800ac2b0
inc rcx
jmp 0x1800ac2c1
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.1800ba610
movaps xmm6, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
cmp cl, 1
jne 0x1800ac2ef
movsd xmm0, qword [0x18011cd50]
xor ebx, ebx
ucomisd xmm0, qword [0x180104520]
jp 0x1800ac31b
je 0x1800ac327
ucomisd xmm0, qword [0x180104490]
jp 0x1800ac39d
jne 0x1800ac39d
call fcn.1800ab2b0
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 0x1800ac352
mov r8d, 0x1e
lea rdx, str.Successfully_setup_main_Event_
jmp 0x1800ac35f
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_main_event__MatchedAsset_couldnt_be_found
call fcn.18001d5d0
cmp byte [0x18011cf78], bl
je 0x1800ac38c
movdqa xmm1, xmmword [0x1801046e0]
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 [0x18011cd50]
ucomisd xmm0, qword [0x180104528]
jp 0x1800ac2ef
jne 0x1800ac2ef
call fcn.1800abc20
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 0x1800ac421
mov r8d, 0x1e
lea rdx, str.Successfully_setup_mini_Event_
call fcn.18001d5d0
cmp byte [0x18011cf78], bl
je 0x1800ac407
movdqa xmm1, xmmword [0x1801046e0]
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 [0x18011cf78], bl
je 0x1800ac45b
movdqa xmm1, xmmword [0x1801046e0]
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