Function at 0x1800add80
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x220
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180149040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r15d, r15d
call fcn.18004f800
mov rsi, rax
lea edi, [r15 + 2]
lea r12, [0x18014bfd8]
movsd xmm0, qword [0x18014adb8]
ucomisd xmm0, qword [0x18012ec98]
jp 0x1800adea7
jne 0x1800adea7
mov r14, qword [0x18014c078]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea r8d, [r15 + 0x10]
lea rdx, str.bIsDisconnecting
lea rcx, [rbp + 0xd0]
call fcn.180016150
nop
test r14, r14
jne 0x1800ae0f9
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], r14b
je 0x1800ade8b
mov byte [rsp + 0x40], r14b
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
mov rbx, r15
lea rcx, [rbp + 0xd0]
call fcn.18002d3d0
and byte [rbx], 0xfd
call fcn.180049b10
movsd xmm6, qword [0x18012eb48]
test al, al
je 0x1800ae13d
call fcn.18004b8d0
call fcn.18004ae40
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov r8d, socket
lea rdx, str.bPlayersInvincible
lea rcx, [rbp + 0xd0]
call fcn.180016150
nop
test rsi, rsi
jne 0x1800ae11b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], sil
je 0x1800adf5b
mov byte [rsp + 0x40], sil
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
mov rbx, r15
lea rcx, [rbp + 0xd0]
call fcn.18002d3d0
mov byte [rbx], 1
cmp qword [0x18014ba28], 0
jne 0x1800adfc7
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0xa
lea rdx, str.StartMatch
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.180062ff0
mov qword [0x18014ba28], rax
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0xa
lea rdx, str.Match_Set_
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
test rsi, rsi
je 0x1800ae0ad
mov rdx, qword [0x18014ba28]
test rdx, rdx
je 0x1800ae0ad
xor r8d, r8d
mov rcx, rsi
call qword [0x18014b718]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800ae0a3
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
mov cl, 5
call fcn.18004a120
call fcn.18004c680
call fcn.18004bb90
comisd xmm6, xmmword [0x18014adb8]
ja 0x1800ae0df
cmp dword [0x18014adc0], 0x17
jge 0x1800ae0df
call fcn.18004f620
call fcn.18004e9f0
test al, al
jne 0x1800ae142
mov rcx, qword [0x18014c078]
call fcn.1800df6c0
lea rcx, [0x18014c060]
call fcn.18003cf10
jmp 0x1800ae142
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.180062b90
test eax, eax
jle 0x1800ade95
movsxd rbx, eax
add rbx, r14
jmp 0x1800ade98
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.180062b90
test eax, eax
jle 0x1800adf65
movsxd rbx, eax
add rbx, rsi
jmp 0x1800adf68
call fcn.18004cb20
call fcn.1800dcff0
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1800d3cf0
movsxd rax, dword [rbp + 0xd8]
mov rbx, qword [rbp + 0xd0]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x1800ae1af
nop dword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov rdx, qword [0x18014c430]
cmp rdx, qword [0x18014c438]
je 0x1800ae195
mov qword [rdx], rax
add qword [0x18014c430], 8
jmp 0x1800ae1a6
lea r8, [rsp + 0x60]
lea rcx, [0x18014c428]
call fcn.18000d0c0
add rbx, 8
cmp rbx, rsi
jne 0x1800ae170
cmp dword [0x18014adc0], 0x17
jge 0x1800ae27b
call fcn.18004f620
call fcn.18004e9f0
test al, al
je 0x1800ae20d
mov rsi, qword [0x18014c3f0]
mov rbx, qword [0x18014c3e8]
cmp rbx, rsi
je 0x1800ae1f1
nop dword [rax]
mov rcx, qword [rbx]
call fcn.18004eb60
add rbx, 8
cmp rbx, rsi
jne 0x1800ae1e0
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmm6
jb 0x1800ae27b
call fcn.1800d6e00
mov byte [0x18014c4cf], 1
jmp 0x1800ae27b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011f470]
lea rcx, [rsp + 0x70]
call fcn.180016150
nop
cmp byte [0x18014add8], 0
je 0x1800ae26a
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], edi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rsp + 0x70]
call fcn.18002d3d0
mov byte [0x18014c501], 1
mov rbx, 0xffffffffffffffff
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmmword [0x18012ec60]
jb 0x1800ae49c
cmp dword [0x18014adc0], 0x11
jge 0x1800ae49c
mov dword [rsp + 0x58], 0x20
mov dword [rsp + 0x5c], 0x20
lea rax, str.Athena.UseVolumetricClouds_true
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1800d6f00
mov dword [rsp + 0x58], 0x1a
mov dword [rsp + 0x5c], 0x1a
lea rax, str.Athena.PostProcessLevel_3
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1800d6f00
mov dword [rsp + 0x58], reloc.WS2_32.dll_socket
mov dword [rsp + 0x5c], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseJanusFX_true
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1800d6f00
mov dword [rsp + 0x58], 0x20
mov dword [rsp + 0x5c], 0x20
lea rax, str.Athena.UsePhysicalRimlight_true
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1800d6f00
mov dword [rsp + 0x58], reloc.WS2_32.dll_socket
mov dword [rsp + 0x5c], reloc.WS2_32.dll_socket
lea rax, str.Athena.UseFluidFX_true
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xd0], xmm0
lea rcx, [rbp + 0xd0]
call fcn.1800d6f00
lea rax, str.Apollo_Volumetrics
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], socket
mov dword [rsp + 0x5c], socket
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800d6680
mov rcx, qword [rsp + 0x60]
call fcn.1800d4360
test rax, rax
jne 0x1800ae49c
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
xorps xmm2, xmm2
mov rdx, qword [str._Volumetrics_FN_Levels_Apollo_Volumetrics.Apollo_Volumetrics]
cmp word [rdx], ax
je 0x1800ae41f
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800ae410
inc rcx
jmp 0x1800ae422
mov rcx, r15
mov dword [rbp + 0xd8], ecx
mov dword [rbp + 0xdc], ecx
mov rax, r15
test ecx, ecx
cmovne rax, rdx
mov qword [rbp + 0xd0], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
movaps xmm1, xmm2
unpcklps xmm1, xmm2
movsd qword [rsp + 0x60], xmm1
movss dword [rsp + 0x68], xmm2
movaps xmm0, xmm2
unpcklps xmm0, xmm2
movsd qword [rsp + 0x50], xmm0
movss dword [rsp + 0x58], xmm2
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0xd0], xmm0
mov byte [rsp + 0x30], 1
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xd0]
call fcn.1800d7a60
call fcn.18004f800
mov r10, rax
lea rcx, [rbp - 0x70]
lea rax, str.__aRTZUVY
nop
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 rdi, 1
jne 0x1800ae4b0
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, r15d
mov edi, dword [0x180149018]
cmp edi, 2
jl 0x1800ae655
movdqa xmm5, xmmword [0x18012ef90]
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm7, xmmword [str.44444444]
lea rcx, [rbp - 0x70]
nop dword [rax]
nop dword [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
psrad xmm1, 1
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
psrad xmm1, 1
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 0x1800ae560
cmp r8d, 0x9a
jge 0x1800ae696
movsxd rax, r8d
lea r9, [rbp - 0x70]
lea r9, [r9 + rax*2]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
sub ax, cx
add ax, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800ae660
cmp word [rbp - 0x70], 0
je 0x1800ae6b3
lea rax, [rbp - 0x70]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800ae6a4
inc rcx
jmp 0x1800ae6b6
mov rcx, r15
mov dword [rbp + 0xd8], ecx
mov dword [rbp + 0xdc], ecx
lea rax, [rbp - 0x70]
test ecx, ecx
cmove rax, r15
mov qword [rbp + 0xd0], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r10
call fcn.1800d38c0
movups xmm0, xmmword [str.cPZTWT_eHR]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180128030]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180128040]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180128050]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180128060]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180128070]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180128080]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x180128090]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x1801280a0]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x1801280b0]
movsd qword [rbp + 0x20], xmm0
cmp edi, 2
jl 0x1800ae8a2
movdqa xmm5, xmmword [0x18012ef90]
mov edx, r15d
movdqa xmm4, xmmword [0x18012f080]
movdqa xmm6, xmmword [0x18012efd0]
movdqa xmm0, xmmword [0x18012f090]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov r8d, dword [rsp + 0x70]
nop dword [rax + rax]
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
psrad xmm1, 1
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 [0x18012f070]
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
psrad xmm1, 1
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 [0x18012f070]
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 0x1800ae7a0
jmp 0x1800ae8e2
lea r9, [rbp - 0x70]
mov r8d, r15d
nop dword [rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800ae8b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea rax, [rbp - 0x70]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ae900
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd0]
call fcn.180016150
nop
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], r15d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [0x18014bfc8]
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x60]
call fcn.180028480
nop
lea rcx, [rbp + 0xd0]
call fcn.18002d3d0
mov cl, 2
call fcn.18002f490
call fcn.1800c5330
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800ed360
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret