Function at 0x1800a71b0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x18011f040]
xor rax, rsp
mov qword [rbp + 0xe0], rax
xor r14d, r14d
movsd xmm0, qword [0x180120d48]
ucomisd xmm0, qword [0x180108a50]
jp 0x1800a7268
jne 0x1800a7268
mov rdi, qword [0x180120d98]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
lea r8d, [r14 + 0x10]
lea rdx, str.bIsDisconnecting
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
nop
test rdi, rdi
je 0x1800a7256
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.1800049d0
test eax, eax
jle 0x1800a7256
movsxd rbx, eax
add rbx, rdi
jmp 0x1800a7259
mov rbx, r14
lea rcx, [rbp + 0xc0]
call fcn.18001f2b0
and byte [rbx], 0xfd
call fcn.180034a30
movsd xmm6, qword [0x1801088f8]
test al, al
je 0x1800a73cb
call fcn.1800aac10
call fcn.180034fe0
mov rcx, qword [0x180120d40]
test rcx, rcx
je 0x1800a72c8
cmp qword [0x1801216c0], 0
je 0x1800a72a6
mov rax, qword [0x180121658]
jmp 0x1800a72b0
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800a72c8
movsxd rax, dword [0x180120ce0]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800a72cb
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, 0xa
lea rdx, str.Match_Set_
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
lea rcx, [rbp + 0xc0]
call fcn.18008f120
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, 0xa
lea rdx, str.StartMatch
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
xor r8d, r8d
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call fcn.180097bb0
mov cl, 5
call fcn.180034e00
call fcn.1800ab7c0
comisd xmm6, xmmword [0x180120d48]
ja 0x1800a7373
cmp dword [0x180120d50], 0x17
jge 0x1800a7373
call fcn.180036770
test al, al
jne 0x1800a73d0
mov rbx, qword [0x180120d98]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.ServerReadyToStartMatch
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
xor r8d, r8d
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call fcn.180097bb0
lea rcx, [0x180120d80]
call fcn.180022240
jmp 0x1800a73d0
call fcn.180035680
call fcn.1800c2c30
mov rdx, rax
lea rcx, [rbp + 0xb0]
call fcn.1800bd590
movsxd rax, dword [rbp + 0xb8]
mov rbx, qword [rbp + 0xb0]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800a743f
nop dword [rax + rax]
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rdx, qword [0x180121e20]
cmp rdx, qword [0x180121e28]
je 0x1800a7425
mov qword [rdx], rax
add qword [0x180121e20], 8
jmp 0x1800a7436
lea r8, [rsp + 0x40]
lea rcx, [0x180121e18]
call fcn.18000f720
add rbx, 8
cmp rbx, rdi
jne 0x1800a7400
cmp dword [0x180120d50], 0x17
jge 0x1800a74e6
call fcn.180036770
test al, al
je 0x1800a74df
mov rdi, qword [0x180121de0]
mov rbx, qword [0x180121dd8]
cmp rbx, rdi
je 0x1800a7481
nop dword [rax]
mov rcx, qword [rbx]
call fcn.180036990
add rbx, 8
cmp rbx, rdi
jne 0x1800a7470
movsd xmm0, qword [0x180120d48]
comisd xmm0, xmm6
jb 0x1800a74e6
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, 0xe
lea rdx, str.CollectGarbage
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
xor r8d, r8d
lea rdx, [rbp + 0xc0]
mov rcx, qword [0x180120d30]
call fcn.180097bb0
mov byte [0x180121e9e], 1
jmp 0x1800a74e6
mov byte [0x180121ec9], 1
call fcn.1800ae9d0
movsd xmm0, qword [0x180120d48]
comisd xmm0, xmmword [0x180108a18]
jb 0x1800a774e
cmp dword [0x180120d50], 0x11
jge 0x1800a774e
mov dword [rbp + 0xb8], 0x20
mov dword [rbp + 0xbc], 0x20
lea rax, str.Athena.UseVolumetricClouds_true
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.1800bea90
mov dword [rbp + 0xb8], 0x1a
mov dword [rbp + 0xbc], 0x1a
lea rax, str.Athena.PostProcessLevel_3
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.1800bea90
mov dword [rbp + 0xb8], reloc.WS2_32.dll_socket
mov dword [rbp + 0xbc], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseJanusFX_true
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.1800bea90
mov dword [rbp + 0xb8], 0x20
mov dword [rbp + 0xbc], 0x20
lea rax, str.Athena.UsePhysicalRimlight_true
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.1800bea90
mov dword [rbp + 0xb8], reloc.WS2_32.dll_socket
mov dword [rbp + 0xbc], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseFluidFX_true
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.1800bea90
lea rax, str.Apollo_Volumetrics
mov qword [rbp + 0xc0], rax
movdqa xmm0, xmmword [0x180108ca0]
movdqu xmmword [rbp + 0xc8], xmm0
mov rdx, qword [0x180120c98]
mov rcx, qword [0x180120d38]
test rcx, rcx
je 0x1800a7682
test rdx, rdx
je 0x1800a7682
lea r8, [rbp + 0xc0]
call qword [0x180121680]
mov rax, qword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
shr rax, 0x20
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x40]
call fcn.1800bd830
test rax, rax
jne 0x1800a774e
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
xorps xmm2, xmm2
mov qword [rbp + 0xb0], r14
cmp word [str._Volumetrics_FN_Levels_Apollo_Volumetrics.Apollo_Volumetrics], ax
je 0x1800a76e9
mov dword [rbp + 0xb8], 0x3d
mov dword [rbp + 0xbc], 0x3d
lea rax, str._Volumetrics_FN_Levels_Apollo_Volumetrics.Apollo_Volumetrics
mov qword [rbp + 0xb0], rax
jmp 0x1800a76f0
mov qword [rbp + 0xb8], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
unpcklps xmm1, xmm2
movsd qword [rsp + 0x40], xmm1
movss dword [rsp + 0x48], xmm2
xorps xmm0, xmm0
unpcklps xmm0, xmm2
movsd qword [rsp + 0x50], xmm0
movss dword [rsp + 0x58], xmm2
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0xb0], xmm0
mov byte [rsp + 0x30], 1
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.1800bf080
mov rcx, qword [0x180120d40]
test rcx, rcx
je 0x1800a7804
cmp qword [0x1801216c0], 0
je 0x1800a7771
mov rax, qword [0x180121658]
jmp 0x1800a777b
movsxd rax, dword [0x180120ce8]
add rax, rcx
mov rcx, qword [rax]
test rcx, rcx
je 0x1800a7804
movsxd rax, dword [0x180120ce0]
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x1800a7804
lea rcx, [rsp + 0x70]
lea rax, str.30lYQ_P__b7e
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800a77b0
jmp 0x1800a7872
mov rdi, r14
lea rcx, [rsp + 0x70]
lea rax, str.30lYQ_P__b7e
mov edx, 2
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1800a7820
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rcx + 0x30], eax
mov r8d, r14d
mov esi, dword [0x18011f018]
cmp esi, 2
jl 0x1800a79cd
movdqa xmm5, xmmword [0x180108e50]
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm7, xmmword [str.99999999]
lea rcx, [rsp + 0x70]
nop word [rax + 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, 0x98
jl 0x1800a78d0
cmp r8d, 0x9a
jge 0x1800a7a1a
movsxd rax, r8d
lea r9, [rsp + 0x70]
lea r9, [r9 + rax*2]
nop dword [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, 0x9a
jl 0x1800a79e0
mov rbx, 0xffffffffffffffff
cmp word [rsp + 0x70], 0
je 0x1800a7a40
lea rax, [rsp + 0x70]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800a7a31
inc rcx
jmp 0x1800a7a43
mov rcx, r14
mov dword [rbp + 0xb8], ecx
mov dword [rbp + 0xbc], ecx
lea rax, [rsp + 0x70]
test ecx, ecx
cmove rax, r14
mov qword [rbp + 0xb0], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rsp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
mov r8d, 3
lea rdx, [0x180106da4]
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0xc0]
mov rcx, rdi
call fcn.180097bb0
movups xmm0, xmmword [str.n_W_RSZ_5_c_a7___k:_xp]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x1801048a0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x1801048b0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1801048c0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x1801048d0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x1801048e0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x1801048f0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [str.MQI_X]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180104910]
movups xmmword [rbp - 0x10], xmm0
movsd xmm0, qword [0x180104920]
movsd qword [rbp], xmm0
cmp esi, 2
jl 0x1800a7c6a
movdqa xmm5, xmmword [0x180108e50]
mov edx, r14d
movdqa xmm4, xmmword [0x180109040]
movdqa xmm6, xmmword [0x180108e80]
movdqa xmm0, xmmword [0x180108f50]
movdqa xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x74]
mov r8d, dword [rsp + 0x60]
movd xmm2, edx
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180108f30]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x98
jl 0x1800a7b60
jmp 0x1800a7cb6
lea r9, [rsp + 0x70]
mov r8d, r14d
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
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800a7c80
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
lea rax, [rsp + 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800a7cd3
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xc0]
call fcn.18001d0a0
lea rcx, [rbp + 0xc0]
call fcn.18008f120
mov cl, 2
call fcn.1800066e0
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1800cb0c0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret