Function at 0x1800ac650
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
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 [0x18012c040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
xor r14d, r14d
movsd xmm0, qword [0x18012dd68]
ucomisd xmm0, qword [0x180114600]
jp 0x1800ac6ff
jne 0x1800ac6ff
mov rdi, qword [0x18012ddb8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 0x10
lea rdx, str.bIsDisconnecting
lea rcx, [rsp + 0x70]
call fcn.180013310
nop
test rdi, rdi
je 0x1800ac6ef
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180052b90
test eax, eax
jle 0x1800ac6ef
movsxd rbx, eax
add rbx, rdi
jmp 0x1800ac6f2
mov rbx, r14
lea rcx, [rsp + 0x70]
call fcn.180027960
and byte [rbx], 0xfd
call fcn.18003f530
lea r15, [0x18012f3e8]
movsd xmm6, qword [0x1801144a0]
test al, al
je 0x1800ac8e8
call fcn.1800b02a0
call fcn.18003fc50
mov rcx, qword [0x18012dd60]
test rcx, rcx
je 0x1800ac766
cmp qword [0x18012e710], 0
je 0x1800ac744
mov rax, qword [0x18012e6b0]
jmp 0x1800ac74e
movsxd rax, dword [0x18012c4d0]
add rax, rcx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800ac766
movsxd rax, dword [0x18012c4d8]
mov rbx, qword [rax + rbx]
test rbx, rbx
jne 0x1800ac769
mov rbx, r14
cmp qword [0x18012e9c0], 0
jne 0x1800ac7b9
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.180013310
nop
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18009d1a0
mov qword [0x18012e9c0], rax
lea rcx, [rsp + 0x70]
call fcn.180027960
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.180013310
nop
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x70]
call fcn.180027960
test rbx, rbx
je 0x1800ac838
mov rdx, qword [0x18012e9c0]
test rdx, rdx
je 0x1800ac838
xor r8d, r8d
mov rcx, rbx
call qword [0x18012e6d8]
mov cl, 5
call fcn.18003f9c0
call fcn.1800b0eb0
comisd xmm6, xmmword [0x18012dd68]
ja 0x1800ac864
cmp dword [0x18012dd70], 0x17
jge 0x1800ac864
call fcn.180041640
test al, al
jne 0x1800ac8ed
mov rbx, qword [0x18012ddb8]
mov rdx, qword [0x18012ed60]
test rdx, rdx
jne 0x1800ac8c4
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.ServerReadyToStartMatch
lea rcx, [rsp + 0x70]
call fcn.180013310
nop
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.18009d1a0
mov qword [0x18012ed60], rax
lea rcx, [rsp + 0x70]
call fcn.180027960
mov rdx, qword [0x18012ed60]
test rbx, rbx
je 0x1800ac8da
test rdx, rdx
je 0x1800ac8da
xor r8d, r8d
mov rcx, rbx
call qword [0x18012e6d8]
lea rcx, [0x18012dda0]
call fcn.18002bc90
jmp 0x1800ac8ed
call fcn.180040500
call fcn.1800ca200
mov rdx, rax
lea rcx, [rbp + 0xd0]
call fcn.1800c3100
movsxd rax, dword [rbp + 0xd8]
mov rbx, qword [rbp + 0xd0]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800ac95f
nop dword [rax + rax]
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov rdx, qword [0x18012f2f8]
cmp rdx, qword [0x18012f300]
je 0x1800ac945
mov qword [rdx], rax
add qword [0x18012f2f8], 8
jmp 0x1800ac956
lea r8, [rsp + 0x60]
lea rcx, [0x18012f2f0]
call fcn.18000e110
add rbx, 8
cmp rbx, rdi
jne 0x1800ac920
cmp dword [0x18012dd70], 0x17
jge 0x1800ac9b8
call fcn.180041640
test al, al
je 0x1800ac9b1
mov rdi, qword [0x18012f2b8]
mov rbx, qword [0x18012f2b0]
cmp rbx, rdi
je 0x1800ac995
mov rcx, qword [rbx]
call fcn.1800417e0
add rbx, 8
cmp rbx, rdi
jne 0x1800ac984
movsd xmm0, qword [0x18012dd68]
comisd xmm0, xmm6
jb 0x1800ac9b8
call fcn.1800c4eb0
mov byte [0x18012f39e], 1
jmp 0x1800ac9b8
mov byte [0x18012f3c9], 1
mov rbx, 0xffffffffffffffff
movsd xmm0, qword [0x18012dd68]
comisd xmm0, xmmword [0x1801145c8]
jb 0x1800acbd1
cmp dword [0x18012dd70], 0x11
jge 0x1800acbd1
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.1800c4f40
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.1800c4f40
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.1800c4f40
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.1800c4f40
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.1800c4f40
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.1800c4940
mov rcx, qword [rsp + 0x60]
call fcn.1800c3550
test rax, rax
jne 0x1800acbd1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
xorps xmm2, xmm2
mov rdx, qword [str._Volumetrics_FN_Levels_Apollo_Volumetrics.Apollo_Volumetrics]
cmp word [rdx], ax
je 0x1800acb54
mov rcx, rbx
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1800acb45
inc rcx
jmp 0x1800acb57
mov rcx, r14
mov dword [rbp + 0xd8], ecx
mov dword [rbp + 0xdc], ecx
mov rax, r14
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.1800c5680
mov rcx, qword [0x18012dd60]
test rcx, rcx
je 0x1800acc84
cmp qword [0x18012e710], 0
je 0x1800acbf4
mov rax, qword [0x18012e6b0]
jmp 0x1800acbfe
movsxd rax, dword [0x18012c4d0]
add rax, rcx
mov rdi, qword [rax]
test rdi, rdi
je 0x1800acc84
movsxd rax, dword [0x18012c4d8]
mov rdi, qword [rax + rdi]
test rdi, rdi
je 0x1800acc84
lea rcx, [rbp - 0x70]
lea rax, str.23mPQR_a6_d
mov edx, 2
nop word [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 0x1800acc30
jmp 0x1800accf2
mov rdi, r14
lea rcx, [rbp - 0x70]
lea rax, str.23mPQR_a6_d
mov edx, 2
nop word [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 0x1800acca0
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
movdqa xmm5, xmmword [0x180114920]
movdqa xmm4, xmmword [0x180114d90]
movdqa xmm6, xmmword [0x1801148f0]
mov esi, dword [0x18012c090]
cmp esi, 2
jl 0x1800ace45
movdqa xmm7, xmmword [str.88888888]
lea rcx, [rbp - 0x70]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
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, xmm5
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, xmm6
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, xmm5
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 0x1800acd50
cmp r8d, 0x9a
jge 0x1800ace87
movsxd rax, r8d
lea r9, [rbp - 0x70]
lea r9, [r9 + rax*2]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
sub ax, cx
add ax, 0x38
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x9a
jl 0x1800ace50
cmp word [rbp - 0x70], 0
je 0x1800acea4
lea rax, [rbp - 0x70]
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800ace95
inc rcx
jmp 0x1800acea7
mov rcx, r14
mov dword [rbp + 0xd8], ecx
mov dword [rbp + 0xdc], ecx
lea rax, [rbp - 0x70]
test ecx, ecx
cmove rax, r14
mov qword [rbp + 0xd0], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rsp + 0x70], xmm0
mov rdx, qword [0x18012e9b8]
test rdx, rdx
jne 0x1800acf4d
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov r8d, 3
lea rdx, [0x180111c84]
lea rcx, [rbp + 0xd0]
call fcn.180013310
nop
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.18009d1a0
mov qword [0x18012e9b8], rax
lea rcx, [rbp + 0xd0]
call fcn.180027960
mov rdx, qword [0x18012e9b8]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm4, xmmword [0x180114d90]
movdqa xmm6, xmmword [0x1801148f0]
test rdi, rdi
je 0x1800acf7d
test rdx, rdx
je 0x1800acf7d
lea r8, [rsp + 0x70]
mov rcx, rdi
call qword [0x18012e6d8]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm4, xmmword [0x180114d90]
movdqa xmm6, xmmword [0x1801148f0]
movups xmm0, xmmword [str.oVXSP_]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x18010f660]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x18010f670]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x18010f680]
movups xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [0x18010f690]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [0x18010f6a0]
movups xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [0x18010f6b0]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [0x18010f6c0]
movups xmmword [rbp], xmm1
movups xmm0, xmmword [0x18010f6d0]
movups xmmword [rbp + 0x10], xmm0
movsd xmm0, qword [0x18010f6e0]
movsd qword [rbp + 0x20], xmm0
cmp esi, 2
jl 0x1800ad104
mov edx, r14d
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x6c]
movdqa xmm3, xmmword [0x180114990]
mov r8d, dword [rsp + 0x70]
nop dword [rax + rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm6
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm3
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, xmm6
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm3
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 0x1800ad020
jmp 0x1800ad143
lea r9, [rbp - 0x70]
mov r8d, r14d
nop dword [rax + rax]
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x98
jl 0x1800ad110
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ad157
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180013310
nop
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x60], r14d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [0x18012f3d8]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
call fcn.180025bb0
nop
lea rcx, [rsp + 0x70]
call fcn.180027960
mov cl, 2
call fcn.180006930
call fcn.1800b4270
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800d4da0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rbp
ret