Function at 0x180005ef0
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180121040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
movzx esi, cl
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xd
lea rdx, str.BuildingActor
lea rcx, [rbp + 0x30]
call fcn.18001ae00
nop
lea rcx, [rbp + 0x30]
call fcn.18000c0c0
mov rbx, rax
lea rcx, [rbp + 0x30]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
mov r8d, socket
lea rdx, str.FortPlayerController
lea rcx, [rbp + 0x50]
call fcn.18001ae00
nop
lea rcx, [rbp + 0x50]
call fcn.18000c0c0
mov rdi, rax
lea rcx, [rbp + 0x50]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0xe
lea rdx, str.FortPlayerPawn
lea rcx, [rbp - 0x10]
call fcn.18001ae00
nop
lea rcx, [rbp - 0x10]
call fcn.18000c0c0
mov r14, rax
lea rcx, [rbp - 0x10]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, socket
lea rdx, str.FortProjectileBase
lea rcx, [rbp - 0x50]
call fcn.18001ae00
nop
lea rcx, [rbp - 0x50]
call fcn.18000c0c0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x50]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov r8d, 0xa
lea rdx, str.FortWeapon
lea rcx, [rbp + 0x70]
call fcn.18001ae00
nop
lea rcx, [rbp + 0x70]
call fcn.18000c0c0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x70]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1a
lea rdx, str.OnBuildingActorInitialized
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.180097d90
mov qword [0x180122bf0], rax
lea rcx, [rsp + 0x40]
call fcn.18001ce20
test sil, sil
jne 0x180006dd5
xor ebx, ebx
mov esi, dword [0x180121018]
movsd xmm1, qword [0x180122c90]
comisd xmm1, xmmword [0x18010a838]
jb 0x1800062cc
movsd xmm0, qword [0x18010a908]
comisd xmm0, xmm1
jbe 0x1800062cc
movups xmm0, xmmword [0x1800f78a8]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f78b8]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [str.wnaz]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1800f78d8]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1800f78e0]
mov dword [rsp + 0x78], eax
movzx eax, word [0x1800f78e4]
mov word [rsp + 0x7c], ax
mov r8d, ebx
cmp esi, 2
jl 0x180006275
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
nop dword [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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x180006170
cmp r8d, 0x3e
jge 0x1800062b0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, 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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3e
jl 0x180006280
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001c7b0
movsd xmm1, qword [0x180122c90]
mov eax, dword [0x180122c98]
add eax, 0xffffffed
cmp eax, 3
ja 0x1800068dc
mov rdi, rbx
movsd xmm0, qword [0x18010a9d8]
mov r8d, ebx
comisd xmm0, xmm1
jbe 0x1800066e3
movups xmm0, xmmword [0x1800f7868]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.gp_fjtlrnppnrglunbx]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1800f7888]
movups xmmword [rsp + 0x60], xmm0
movsd xmm0, qword [0x1800f7898]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1800f78a0]
mov dword [rsp + 0x78], eax
cmp esi, 2
jl 0x180006475
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
nop
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x180006370
cmp r8d, 0x3c
jge 0x1800064b0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, 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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x180006480
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001c7b0
mov rdx, qword [rax]
test rdx, rdx
je 0x1800064da
movsxd rcx, dword [rdx + 1]
add rdx, 5
add rdx, rcx
mov qword [rax], rdx
cmp dword [0x180122c98], 0x13
jne 0x1800068cd
movups xmm0, xmmword [0x1800f7830]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f7840]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1800f7850]
movups xmmword [rsp + 0x60], xmm0
movzx eax, word [0x1800f7860]
mov word [rsp + 0x70], ax
movzx eax, byte [0x1800f7862]
mov byte [rsp + 0x72], al
mov r8d, ebx
cmp esi, 2
jl 0x180006666
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x180006561
cmp r8d, 0x33
jge 0x1800066b0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
nop word [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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x33
jl 0x180006680
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001c7b0
mov rdx, qword [rax]
test rdx, rdx
je 0x1800068cd
movsxd rcx, dword [rdx + 1]
add rdx, 5
add rdx, rcx
mov qword [rax], rdx
jmp 0x1800068cd
movups xmm0, xmmword [0x1800f7800]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x1800f7810]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x1800f7820]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x1800f7828]
mov dword [rsp + 0x68], eax
movzx eax, word [0x1800f782c]
mov word [rsp + 0x6c], ax
cmp esi, 2
jl 0x180006865
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x180006760
cmp r8d, 0x2e
jge 0x1800068a0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, 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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2e
jl 0x180006870
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x90]
call fcn.18001c7b0
mov rcx, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x1800068cd
movsxd rax, dword [rdi + 1]
add rdi, 5
add rdi, rax
mov qword [rcx], rdi
mov qword [0x180122c80], rdi
movsd xmm1, qword [0x180122c90]
comisd xmm1, xmmword [0x18010a858]
jb 0x180006caa
mov eax, dword [0x180122c98]
cmp eax, 0x17
jge 0x180006caa
mov r8d, ebx
cmp eax, 0x14
jge 0x180006aba
movups xmm0, xmmword [0x1800f77d8]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.gxjtlrnppnrglun]
movups xmmword [rsp + 0x50], xmm1
mov eax, dword [0x1800f77f8]
mov dword [rsp + 0x60], eax
movzx eax, byte [0x1800f77fc]
mov byte [rsp + 0x64], al
cmp esi, 2
jl 0x180006a75
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
nop
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x180006970
cmp r8d, 0x25
jge 0x180006ab0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, 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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x25
jl 0x180006a80
lea rdx, [rsp + 0x40]
jmp 0x180006c85
movups xmm0, xmmword [0x1800f7790]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [str.gxjtlrnppnrdbuiw]
movups xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [0x1800f77b0]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [0x1800f77c0]
movups xmmword [rsp + 0x70], xmm1
movzx eax, word [0x1800f77d0]
mov word [rbp - 0x80], ax
movzx eax, byte [0x1800f77d2]
mov byte [rbp - 0x7e], al
cmp esi, 2
jl 0x180006c45
movdqa xmm5, xmmword [0x18010ac80]
movdqa xmm4, xmmword [0x18010ae60]
movdqa xmm6, xmmword [0x18010aca0]
movdqa xmm0, xmmword [str.7777777777777777]
movdqa xmmword [rbp + 0x90], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp + 0x90]
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 xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x18010ad80]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x180006b40
cmp r8d, 0x43
jge 0x180006c80
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, 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, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x43
jl 0x180006c50
lea rdx, [rsp + 0x40]
xor r8d, r8d
lea rcx, [rbp + 0x90]
call fcn.18001c7b0
mov rdx, qword [rax]
test rdx, rdx
je 0x180006caa
movsxd rcx, dword [rdx + 1]
add rdx, 5
add rdx, rcx
mov qword [rax], rdx
call fcn.1800ba500
call fcn.1800c3520
mov rsi, rax
mov r14, qword [0x180121480]
mov rdx, qword [0x180123da8]
test rdx, rdx
jne 0x180006d4c
mov rdi, qword [0x180123da0]
test rdi, rdi
jne 0x180006cfe
call fcn.1800c6b30
mov rdi, rax
test rax, rax
jne 0x180006cec
mov rdi, rbx
jmp 0x180006cf7
movsxd rax, dword [0x1801213bc]
mov rdi, qword [rax + rdi]
mov qword [0x180123da0], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xa
lea rdx, str.GetContext
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov qword [0x180123da8], rax
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov rdx, qword [0x180123da8]
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], rsi
xor eax, eax
mov qword [rbp + 0xa0], rax
mov rcx, qword [0x180123da0]
test rcx, rcx
jne 0x180006d9f
call fcn.1800c6b30
mov rcx, rax
test rax, rax
jne 0x180006d81
mov rcx, rbx
jmp 0x180006d8c
movsxd rax, dword [0x1801213bc]
mov rcx, qword [rax + rcx]
mov qword [0x180123da0], rcx
mov rdx, qword [0x180123da8]
test rcx, rcx
je 0x180006db1
test rdx, rdx
je 0x180006db1
lea r8, [rbp + 0x90]
call qword [0x1801235f0]
mov dl, 1
mov rcx, qword [rbp + 0xa0]
call fcn.18000a500
mov qword [0x180122d28], rax
call fcn.1800c3080
call fcn.1800ac550
jmp 0x1800077c0
cmp sil, 1
jne 0x180007508
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x19
lea rdx, str.ServerCreateBuildingActor
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
xor ebx, ebx
mov qword [rbp - 0x68], rbx
test rax, rax
je 0x180006e2f
movsxd rcx, dword [0x1801213ac]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x68], rcx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1f
lea rdx, str.ServerBeginEditingBuildingActor
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov qword [rbp - 0x60], rbx
test rax, rax
je 0x180006e87
movsxd rcx, dword [0x1801213ac]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x60], rcx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, reloc.WS2_32.dll_socket
lea rdx, str.ServerEditBuildingActor
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov qword [rbp - 0x58], rbx
test rax, rax
je 0x180006edf
movsxd rcx, dword [0x1801213ac]
mov rcx, qword [rcx + rax]
mov qword [rbp - 0x58], rcx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1d
lea rdx, str.ServerEndEditingBuildingActor
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov qword [rbp + 0xb0], rbx
test rax, rax
je 0x180006f3d
movsxd rcx, dword [0x1801213ac]
mov rcx, qword [rcx + rax]
mov qword [rbp + 0xb0], rcx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1a
lea rdx, str.ServerExecuteInventoryItem
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov r13, rbx
test rax, rax
je 0x180006f90
movsxd rcx, dword [0x1801213ac]
mov r13, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1c
lea rdx, str.ServerExecuteInventoryWeapon
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov r12, rbx
test rax, rax
je 0x180006fe3
movsxd rcx, dword [0x1801213ac]
mov r12, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, socket
lea rdx, str.ServerHandlePickup
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.180097d90
mov r15, rbx
test rax, rax
je 0x180007036
movsxd rcx, dword [0x1801213ac]
mov r15, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, socket
lea rdx, str.ServerHandlePickupInfo
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.180097d90
mov r14, rbx
test rax, rax
je 0x180007089
movsxd rcx, dword [0x1801213ac]
mov r14, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.18001ce20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x10
lea rdx, str.OnBounceCallback
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp - 0x70]
call fcn.180097d90
mov rsi, rbx
test rax, rax
je 0x1800070dd
movsxd rcx, dword [0x1801213ac]
mov rsi, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.18001ce20
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___class_UObject____ptr64__class_UObject____ptr64__void____ptr64___void__class_UObject____ptr64__class_UObject____ptr64__void____ptr64_.0
mov qword [rbp - 0x50], rax
lea rax, [0x180021a30]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, socket
lea rdx, str.ServerPlayEmoteItem
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.180004690
nop
lea rcx, [rsp + 0x40]
call fcn.18001ce20
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___class_UObject____ptr64__class_UObject____ptr64__void____ptr64___void__class_UObject____ptr64__class_UObject____ptr64__void____ptr64_.0
mov qword [rbp - 0x50], rax
lea rax, [0x180021a50]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x18
lea rdx, str.ServerSpawnInventoryDrop
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.180004690
nop
lea rcx, [rsp + 0x40]
call fcn.18001ce20
lea rax, [rbp - 0x50]
mov qword [rbp - 0x70], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___class_UObject____ptr64__class_UObject____ptr64__void____ptr64___void__class_UObject____ptr64__class_UObject____ptr64__void____ptr64_.0
mov qword [rbp - 0x50], rax
lea rax, [0x180021a50]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1a
lea rdx, str.ServerAttemptInventoryDrop
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.180004690
nop
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x18000726a
lea r8, [0x180122c78]
lea rdx, [0x180021fe0]
mov rcx, rdi
call fcn.1800c7370
mov rcx, rdi
call fcn.1800c7608
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x180007291
lea r8, [0x180122c70]
lea rdx, [0x1800221c0]
mov rcx, rdi
call fcn.1800c7370
mov rcx, rdi
call fcn.1800c7608
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x1800072b8
lea r8, [0x180122c68]
lea rdx, [0x180022320]
mov rcx, rdi
call fcn.1800c7370
mov rcx, rdi
call fcn.1800c7608
mov rdi, qword [rbp + 0xb0]
test rdi, rdi
je 0x1800072e2
lea r8, [0x180122c60]
lea rdx, [0x180022e00]
mov rcx, rdi
call fcn.1800c7370
mov rcx, rdi
call fcn.1800c7608
test r12, r12
je 0x180007305
lea r8, [0x180122c50]
lea rdx, [0x180021d60]
mov rcx, r12
call fcn.1800c7370
mov rcx, r12
call fcn.1800c7608
test r13, r13
je 0x180007328
lea r8, [0x180122c58]
lea rdx, [0x180022e10]
mov rcx, r13
call fcn.1800c7370
mov rcx, r13
call fcn.1800c7608
test r15, r15
je 0x18000734b
lea r8, [0x180122c48]
lea rdx, [0x180023650]
mov rcx, r15
call fcn.1800c7370
mov rcx, r15
call fcn.1800c7608
test r14, r14
je 0x18000736e
lea r8, [0x180122c40]
lea rdx, [0x180023890]
mov rcx, r14
call fcn.1800c7370
mov rcx, r14
call fcn.1800c7608
test rsi, rsi
je 0x180007391
lea r8, [0x180123e28]
lea rdx, [0x1800bad70]
mov rcx, rsi
call fcn.1800c7370
mov rcx, rsi
call fcn.1800c7608
movsd xmm0, qword [0x180122c90]
comisd xmm0, xmmword [0x18010a8d8]
jb 0x18000741b
lea rax, [rbp - 0x10]
mov qword [rbp - 0x70], rax
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___class_UObject____ptr64__class_UObject____ptr64__void____ptr64___void__class_UObject____ptr64__class_UObject____ptr64__void____ptr64_.0
mov qword [rbp - 0x10], rax
lea rax, [0x1800b2380]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x1e
lea rdx, str.GameplayCue_Weapons_Activation
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 0x90]
call fcn.180097d90
nop
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.180004690
nop
lea rcx, [rsp + 0x40]
call fcn.18001ce20
cmp dword [0x180122c98], 9
jl 0x1800074b2
mov rdx, qword [0x180123a88]
test rdx, rdx
jne 0x180007484
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rdx + 0x11]
lea rdx, str.GetClientSettings
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [0x180121480]
call fcn.180097d90
mov qword [0x180123a88], rax
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov rdx, qword [0x180123a88]
mov qword [rbp + 0xb0], rbx
mov rcx, qword [0x180121480]
test rcx, rcx
je 0x1800074f2
test rdx, rdx
je 0x1800074f2
lea r8, [rbp + 0xb0]
call qword [0x1801235f0]
mov rbx, qword [rbp + 0xb0]
jmp 0x1800074f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0x19
lea rdx, str.FortClientSettingsRecord_
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rcx, [rsp + 0x40]
call fcn.18009d750
mov rbx, rax
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov dl, 1
mov rcx, rbx
call fcn.18000a500
mov qword [0x1801247d8], rax
jmp 0x1800077c0
cmp sil, 2
jne 0x1800077c2
xor ebx, ebx
mov eax, dword [0x180122c98]
cmp eax, 0x17
jl 0x180007611
mov rax, qword [0x180122c88]
test rax, rax
je 0x180007553
cmp qword [0x180123628], rbx
je 0x180007541
mov rdi, qword [0x1801235c8]
jmp 0x18000754b
movsxd rdi, dword [0x180122c34]
add rdi, rax
mov rdi, qword [rdi]
test rdi, rdi
jne 0x180007556
mov rdi, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xf
lea rdx, str.PersistentLevel
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
test rdi, rdi
je 0x18000759d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18004d020
test eax, eax
jle 0x18000759d
movsxd rsi, eax
add rsi, rdi
jmp 0x1800075a0
mov rsi, rbx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov rsi, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 0xf
lea rdx, str.WorldDataLayers
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
test rsi, rsi
je 0x1800075f4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18004d020
test eax, eax
jle 0x1800075f4
movsxd rdi, eax
add rdi, rsi
jmp 0x1800075f7
mov rdi, rbx
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov dl, 1
mov rcx, qword [rdi]
call fcn.18000a500
mov eax, dword [0x180122c98]
cmp eax, 0x18
jl 0x1800076e4
mov rax, qword [0x180122c88]
test rax, rax
je 0x18000764b
cmp qword [0x180123628], 0
je 0x180007639
mov rdi, qword [0x1801235c8]
jmp 0x180007643
movsxd rdi, dword [0x180122c34]
add rdi, rax
mov rdi, qword [rdi]
test rdi, rdi
jne 0x18000764e
mov rdi, rbx
mov rdx, qword [0x180123a68]
test rdx, rdx
jne 0x1800076a6
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea r8d, [rdx + 0x13]
lea rdx, str.GetDataLayerManager
lea rcx, [rsp + 0x40]
call fcn.18001ae00
nop
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180097d90
mov qword [0x180123a68], rax
lea rcx, [rsp + 0x40]
call fcn.18001ce20
mov rdx, qword [0x180123a68]
mov qword [rbp + 0xb0], rbx
test rdi, rdi
je 0x1800076ce
test rdx, rdx
je 0x1800076ce
lea r8, [rbp + 0xb0]
mov rcx, rdi
call qword [0x1801235f0]
mov rbx, qword [rbp + 0xb0]
mov dl, 1
mov rcx, rbx
call fcn.18000a500
mov qword [0x1801247c8], rax
jmp 0x1800077c0
cmp eax, 0x17
jl 0x1800077c0
cmp eax, 0x1c
jge 0x1800077c0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rax
call fcn.1800bc650
lea rdx, [rbp + 0x90]
mov rcx, rax
call fcn.1800abd10
nop
mov edi, 1
mov rcx, qword [rbp + 0x98]
mov r8, qword [rbp + 0x90]
sub rcx, r8
sar rcx, 3
cmp rcx, rdi
jbe 0x18000777d
mov ebx, edi
nop
cmp rcx, rbx
jbe 0x1800077f7
mov dl, 1
mov rcx, qword [r8 + rbx*8]
call fcn.18000a500
mov qword [0x1801247d0], rax
inc edi
inc rbx
mov rcx, qword [rbp + 0x98]
mov r8, qword [rbp + 0x90]
sub rcx, r8
sar rcx, 3
movsxd rax, edi
cmp rax, rcx
jb 0x180007740
test r8, r8
je 0x1800077c0
mov rdx, qword [rbp + 0xa0]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x1800077b8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800077b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.1800cc948
mov al, 1
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1800cc550
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18000bae0
nop
int3