Function at 0x1800ac820
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 [0x180148040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r15d, r15d
call fcn.18004fbb0
mov rsi, rax
mov edi, 2
lea r12, [0x18014aff8]
movsd xmm0, qword [0x180149dd8]
ucomisd xmm0, qword [0x18012ddf8]
jp 0x1800ac94a
jne 0x1800ac94a
mov r14, qword [0x18014b098]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov r8d, 0x10
lea rdx, str.bIsDisconnecting
lea rcx, [rbp + 0xd0]
call fcn.180016750
nop
test r14, r14
jne 0x1800acb9c
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], r14b
je 0x1800ac92e
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
mov rbx, r15
lea rcx, [rbp + 0xd0]
call fcn.18002d710
and byte [rbx], 0xfd
call fcn.180049e10
movsd xmm6, qword [0x18012dca8]
test al, al
je 0x1800acbe0
call fcn.18004bbd0
call fcn.18004b150
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.180016750
nop
test rsi, rsi
jne 0x1800acbbe
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], sil
je 0x1800ac9fe
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
mov rbx, r15
lea rcx, [rbp + 0xd0]
call fcn.18002d710
mov byte [rbx], 1
cmp qword [0x18014aa48], 0
jne 0x1800aca6a
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.180016750
nop
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.180062810
mov qword [0x18014aa48], rax
lea rcx, [rsp + 0x70]
call fcn.18002d710
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.180016750
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
test rsi, rsi
je 0x1800acb50
mov rdx, qword [0x18014aa48]
test rdx, rdx
je 0x1800acb50
xor r8d, r8d
mov rcx, rsi
call qword [0x18014a738]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800acb46
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
mov cl, 5
call fcn.18004a420
call fcn.18004c9b0
call fcn.18004be90
comisd xmm6, xmmword [0x180149dd8]
ja 0x1800acb82
cmp dword [0x180149de0], 0x17
jge 0x1800acb82
call fcn.18004f9d0
call fcn.18004ece0
test al, al
jne 0x1800acbe5
mov rcx, qword [0x18014b098]
call fcn.1800de3e0
lea rcx, [0x18014b080]
call fcn.18003d1c0
jmp 0x1800acbe5
lea rdx, [rbp + 0xd0]
mov rcx, r14
call fcn.1800623c0
test eax, eax
jle 0x1800ac938
movsxd rbx, eax
add rbx, r14
jmp 0x1800ac93b
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.1800623c0
test eax, eax
jle 0x1800aca08
movsxd rbx, eax
add rbx, rsi
jmp 0x1800aca0b
call fcn.18004ce50
call fcn.1800dbd30
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1800d2c70
movsxd rax, dword [rbp + 0xd8]
mov rbx, qword [rbp + 0xd0]
lea rsi, [rbx + rax*8]
cmp rbx, rsi
je 0x1800acc4f
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov rdx, qword [0x18014b450]
cmp rdx, qword [0x18014b458]
je 0x1800acc35
mov qword [rdx], rax
add qword [0x18014b450], 8
jmp 0x1800acc46
lea r8, [rsp + 0x60]
lea rcx, [0x18014b448]
call fcn.18000d390
add rbx, 8
cmp rbx, rsi
jne 0x1800acc10
cmp dword [0x180149de0], 0x17
jge 0x1800acd1b
call fcn.18004f9d0
call fcn.18004ece0
test al, al
je 0x1800accad
mov rsi, qword [0x18014b410]
mov rbx, qword [0x18014b408]
cmp rbx, rsi
je 0x1800acc91
nop dword [rax]
mov rcx, qword [rbx]
call fcn.18004ee50
add rbx, 8
cmp rbx, rsi
jne 0x1800acc80
movsd xmm0, qword [0x180149dd8]
comisd xmm0, xmm6
jb 0x1800acd1b
call fcn.1800d5b90
mov byte [0x18014b4ef], 1
jmp 0x1800acd1b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
xor r8d, r8d
lea rdx, [0x18011e4f0]
lea rcx, [rsp + 0x70]
call fcn.180016750
nop
cmp byte [0x180149df8], 0
je 0x1800acd0a
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
mov byte [0x18014b521], 1
mov rbx, 0xffffffffffffffff
movsd xmm0, qword [0x180149dd8]
comisd xmm0, xmmword [0x18012ddc0]
jb 0x1800acf3c
cmp dword [0x180149de0], 0x11
jge 0x1800acf3c
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.1800d5c90
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.1800d5c90
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.1800d5c90
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.1800d5c90
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.1800d5c90
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.1800d5430
mov rcx, qword [rsp + 0x60]
call fcn.1800d32e0
test rax, rax
jne 0x1800acf3c
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 0x1800acebf
mov rcx, rbx
nop dword [rax + rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800aceb0
inc rcx
jmp 0x1800acec2
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.1800d67f0
call fcn.18004fbb0
mov r10, rax
lea rcx, [rbp - 0x70]
lea rax, str.:_eVXVYZ_
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 0x1800acf50
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 [0x180148090]
cmp edi, 2
jl 0x1800ad0f5
movdqa xmm5, xmmword [0x18012e100]
movdqa xmm4, xmmword [0x18012e5e0]
movdqa xmm6, xmmword [0x18012e170]
movdqa xmm7, xmmword [str.00000000]
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
pshufhw xmm0, xmm2, 0xd8
pshuflw 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
pshufhw xmm0, xmm2, 0xd8
pshuflw 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 0x1800ad000
cmp r8d, 0x9a
jge 0x1800ad137
movsxd rax, r8d
lea r9, [rbp - 0x70]
lea r9, [r9 + rax*2]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
sub ax, cx
add ax, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800ad100
cmp word [rbp - 0x70], 0
je 0x1800ad154
lea rax, [rbp - 0x70]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800ad145
inc rcx
jmp 0x1800ad157
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.1800d2840
movups xmm0, xmmword [str.gTP_XS]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1801271e0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x1801271f0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180127200]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x180127210]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x180127220]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x180127230]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x180127240]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x180127250]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x180127260]
movsd qword [rbp + 0x20], xmm0
mov r8d, r15d
cmp edi, 2
jl 0x1800ad334
movdqa xmm4, xmmword [0x18012e100]
mov edx, r15d
movdqa xmm3, xmmword [0x18012e5e0]
movdqa xmm5, xmmword [0x18012e170]
movdqa xmm0, xmmword [0x18012e230]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
mov r8d, dword [rsp + 0x70]
movdqa xmm6, xmmword [0x18012e1e0]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
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 0x1800ad250
jmp 0x1800ad375
lea r9, [rbp - 0x70]
nop dword [rax + rax]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800ad340
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ad390
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180016750
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, [0x18014afe8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.1800288e0
nop
lea rcx, [rsp + 0x70]
call fcn.18002d710
mov cl, 2
call fcn.18002f860
call fcn.1800c3fb0
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800ec360
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