Function at 0x1800a9740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
test cl, cl
jne 0x1800a9a30
movsd xmm0, qword [0x180118dc0]
xor ebx, ebx
movsd xmm1, qword [0x180101378]
movaps xmmword [rsp + 0xc0], xmm6
movsd xmm6, qword [0x180101408]
ucomisd xmm0, xmm6
jp 0x1800a9784
je 0x1800a978c
ucomisd xmm0, xmm1
jp 0x1800a97ff
jne 0x1800a97ff
comisd xmm1, xmm0
ja 0x1800a97ed
mov qword [rsp + 0xe0], rdi
call fcn.1800ad1e0
mov rdi, rax
test rax, rax
jne 0x1800a97ac
mov rdi, rbx
jmp 0x1800a97b7
movsxd rax, dword [0x18011744c]
mov rdi, qword [rax + rdi]
mov rcx, rdi
call fcn.1800ac890
test rax, rax
je 0x1800a97c6
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800acae0
test rax, rax
je 0x1800a97d5
mov dword [rax], ebx
mov rcx, rdi
call fcn.1800acd20
mov rdi, qword [rsp + 0xe0]
test rax, rax
je 0x1800a97ed
mov byte [rax], 1
call fcn.1800a82f0
call fcn.1800a7e10
movsd xmm0, qword [0x180118dc0]
comisd xmm0, xmm6
jb 0x1800a9a17
cmp dword [0x180117018], 2
mov r8d, ebx
movups xmm0, xmmword [0x1800fe3b0]
movups xmm1, xmmword [0x1800fe3c0]
movups xmmword [rbp - 0x19], xmm0
movups xmm0, xmmword [0x1800fe3d0]
movups xmmword [rbp + 7], xmm0
movsd xmm0, qword [0x1800fe3f0]
movups xmmword [rbp - 9], xmm1
movups xmm1, xmmword [0x1800fe3e0]
movsd qword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x17], xmm1
jl 0x1800a9981
movdqa xmm5, xmmword [0x180101630]
lea rcx, [rbp - 0x19]
movdqa xmm4, xmmword [0x180101850]
movdqa xmm6, xmmword [0x180101670]
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 0x1800a9880
movaps xmm7, xmmword [rsp + 0xb0]
cmp r8d, 0x24
jge 0x1800a99c8
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 0x1800a9990
cmp word [rbp - 0x19], bx
je 0x1800a99ee
lea rax, [rbp - 0x19]
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], bx
jne 0x1800a99e0
inc rcx
jmp 0x1800a99f1
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.1800b7d40
movaps xmm6, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rbp
ret
cmp cl, 1
jne 0x1800a9a1f
movsd xmm0, qword [0x180118dc0]
xor ebx, ebx
ucomisd xmm0, qword [0x180101408]
jp 0x1800a9a4b
je 0x1800a9a57
ucomisd xmm0, qword [0x180101378]
jp 0x1800a9acd
jne 0x1800a9acd
call fcn.1800a89e0
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 0x1800a9a82
mov r8d, 0x1e
lea rdx, str.Successfully_setup_main_Event_
jmp 0x1800a9a8f
mov r8d, 0x3a
lea rdx, str.Failed_to_setup_main_event__MatchedAsset_couldnt_be_found
call fcn.18001d5d0
cmp byte [0x180118fb8], bl
je 0x1800a9abc
movdqa xmm1, xmmword [0x1801015c0]
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 [0x180118dc0]
ucomisd xmm0, qword [0x180101410]
jp 0x1800a9a1f
jne 0x1800a9a1f
call fcn.1800a9350
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 0x1800a9b51
mov r8d, 0x1e
lea rdx, str.Successfully_setup_mini_Event_
call fcn.18001d5d0
cmp byte [0x180118fb8], bl
je 0x1800a9b37
movdqa xmm1, xmmword [0x1801015c0]
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 [0x180118fb8], bl
je 0x1800a9b8b
movdqa xmm1, xmmword [0x1801015c0]
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