Function at 0x1800ade90
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 [0x18012ec58]
jp 0x1800adfb7
jne 0x1800adfb7
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 0x1800ae209
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 0x1800adf9b
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 [0x18012eb08]
test al, al
je 0x1800ae24d
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 0x1800ae22b
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 0x1800ae06b
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 0x1800ae0d7
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.180063000
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 0x1800ae1bd
mov rdx, qword [0x18014ba28]
test rdx, rdx
je 0x1800ae1bd
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 0x1800ae1b3
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 0x1800ae1ef
cmp dword [0x18014adc0], 0x17
jge 0x1800ae1ef
call fcn.18004f620
call fcn.18004e9f0
test al, al
jne 0x1800ae252
mov rcx, qword [0x18014c078]
call fcn.1800df6e0
lea rcx, [0x18014c060]
call fcn.18003cf10
jmp 0x1800ae252
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.180062ba0
test eax, eax
jle 0x1800adfa5
movsxd rbx, eax
add rbx, r14
jmp 0x1800adfa8
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.180062ba0
test eax, eax
jle 0x1800ae075
movsxd rbx, eax
add rbx, rsi
jmp 0x1800ae078
call fcn.18004cb20
call fcn.1800dd010
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1800d3d10
movsxd rax, dword [rbp + 0xd8]
mov rbx, qword [rbp + 0xd0]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x1800ae2bf
nop dword [rax]
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov rdx, qword [0x18014c430]
cmp rdx, qword [0x18014c438]
je 0x1800ae2a5
mov qword [rdx], rax
add qword [0x18014c430], 8
jmp 0x1800ae2b6
lea r8, [rsp + 0x60]
lea rcx, [0x18014c428]
call fcn.18000d0c0
add rbx, 8
cmp rbx, rsi
jne 0x1800ae280
cmp dword [0x18014adc0], 0x17
jge 0x1800ae38b
call fcn.18004f620
call fcn.18004e9f0
test al, al
je 0x1800ae31d
mov rsi, qword [0x18014c3f0]
mov rbx, qword [0x18014c3e8]
cmp rbx, rsi
je 0x1800ae301
nop dword [rax]
mov rcx, qword [rbx]
call fcn.18004eb60
add rbx, 8
cmp rbx, rsi
jne 0x1800ae2f0
movsd xmm0, qword [0x18014adb8]
comisd xmm0, xmm6
jb 0x1800ae38b
call fcn.1800d6e20
mov byte [0x18014c4cf], 1
jmp 0x1800ae38b
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 0x1800ae37a
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 [0x18012ec20]
jb 0x1800ae5ac
cmp dword [0x18014adc0], 0x11
jge 0x1800ae5ac
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.1800d6f20
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.1800d6f20
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.1800d6f20
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.1800d6f20
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.1800d6f20
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.1800d66a0
mov rcx, qword [rsp + 0x60]
call fcn.1800d4380
test rax, rax
jne 0x1800ae5ac
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 0x1800ae52f
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800ae520
inc rcx
jmp 0x1800ae532
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.1800d7a80
call fcn.18004f800
mov r10, rax
lea rcx, [rbp - 0x70]
lea rax, str.2n_W_RSZ_5_c_a7___k:_xp
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 0x1800ae5c0
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 0x1800ae765
movdqa xmm5, xmmword [0x18012ef50]
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm7, xmmword [str.77777777]
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, 4
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, 4
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 0x1800ae670
cmp r8d, 0x9a
jge 0x1800ae7a7
movsxd rax, r8d
lea r9, [rbp - 0x70]
lea r9, [r9 + rax*2]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, r8w
sub ax, cx
add ax, 0x37
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800ae770
cmp word [rbp - 0x70], 0
je 0x1800ae7c4
lea rax, [rbp - 0x70]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800ae7b5
inc rcx
jmp 0x1800ae7c7
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.1800d38e0
movups xmm0, xmmword [str.__UYTQX]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180127fb0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180127fc0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180127fd0]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180127fe0]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180127ff0]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180128000]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x180128010]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x180128020]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x180128030]
movsd qword [rbp + 0x20], xmm0
cmp edi, 2
jl 0x1800ae9b2
movdqa xmm5, xmmword [0x18012ef50]
mov edx, r15d
movdqa xmm4, xmmword [0x18012f100]
movdqa xmm6, xmmword [0x18012ef70]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov r8d, dword [rsp + 0x70]
nop dword [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, 4
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 [0x18012f030]
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, 4
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 [0x18012f030]
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 0x1800ae8b0
jmp 0x1800ae9f3
lea r9, [rbp - 0x70]
mov r8d, r15d
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800ae9c0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea rax, [rbp - 0x70]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800aea10
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.1800c5380
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800ed380
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