Function at 0x18018dda0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xb0
lea rdi, [0x180270ee0]
mov r8, rdi
cmp qword [0x180270ef8], 0xf
cmova r8, qword [0x180270ee0]
mov ebx, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18018dde4
xor esi, esi
mov edx, esi
test rcx, rcx
je 0x18018de15
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x18018de00
mov edx, 0xc10bf213
lea rcx, [0x18022ccc9]
call fcn.1800f5960
cmp ebx, eax
je 0x18018e4c2
mov ecx, 0x40
call fcn.1801b3ce4
mov r15, rax
mov qword [rsp + 0xe0], rax
lea r8, str.LightmappedGeneric
mov edx, 0x80
lea rcx, [rsp + 0x30]
call fcn.1800e63d0
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [0x180264060]
nop
mov edx, 0xc10bf213
lea rcx, [0x180232119]
call fcn.1800f5960
cmp ebx, eax
jne 0x18018df0b
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18018e202
cmp byte [rax + 0x20], 1
jne 0x18018deba
lea rax, str.dev_dev_measuregeneric01b
cmp qword [rbx + 8], rax
je 0x18018e202
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x1a
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str.dev_dev_measuregeneric01b]
vmovups xmmword [rax], xmm0
vmovsd xmm0, qword [0x1802357f0]
vmovsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1802357f8]
mov word [rax + 0x18], cx
mov byte [rbx + 0x20], 1
jmp 0x18018e202
mov edx, 0xc60bf9f2
lea rcx, [0x180232111]
call fcn.1800f5960
cmp ebx, eax
jne 0x18018dfb4
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18018e202
cmp byte [rax + 0x20], 1
jne 0x18018df5d
lea rax, str.patterns_paint_strokes
cmp qword [rbx + 8], rax
je 0x18018e202
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x17
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str.patterns_paint_strokes]
vmovups xmmword [rax], xmm0
mov ecx, dword [0x1802357d8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1802357dc]
mov word [rax + 0x14], cx
movzx ecx, byte [0x1802357de]
mov byte [rax + 0x16], cl
mov byte [rbx + 0x20], 1
jmp 0x18018e202
mov edx, 0xc70bfb85
lea rcx, [0x180232161]
call fcn.1800f5960
cmp ebx, eax
jne 0x18018e053
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18018e202
cmp byte [rax + 0x20], 1
jne 0x18018e006
lea rax, str.patterns_combat_black
cmp qword [rbx + 8], rax
je 0x18018e202
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x16
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str.patterns_combat_black]
vmovups xmmword [rax], xmm0
mov ecx, dword [0x1802357c0]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1802357c4]
mov word [rax + 0x14], cx
mov byte [rbx + 0x20], 1
jmp 0x18018e202
mov edx, 0xd20c0cd6
lea rcx, [0x180231a91]
call fcn.1800f5960
cmp ebx, eax
jne 0x18018e0f2
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._basetexture
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18018e202
cmp byte [rax + 0x20], 1
jne 0x18018e0a5
lea rax, str.patterns_combat_white
cmp qword [rbx + 8], rax
je 0x18018e202
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x16
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str.patterns_combat_white]
vmovups xmmword [rax], xmm0
mov ecx, dword [0x1802357a8]
mov dword [rax + 0x10], ecx
movzx ecx, word [0x1802357ac]
mov word [rax + 0x14], cx
mov byte [rbx + 0x20], 1
jmp 0x18018e202
mov edx, 0xc30bf539
lea rcx, [0x180232159]
call fcn.1800f5960
lea rdx, str._basetexture
mov rcx, r15
cmp ebx, eax
jne 0x18018e1ea
mov rax, qword [0x180264038]
mov r8b, 1
call rax
mov rbx, rax
test rax, rax
je 0x18018e179
cmp byte [rax + 0x20], 1
jne 0x18018e13c
lea rax, str.vgui_white_additive
cmp qword [rbx + 8], rax
je 0x18018e179
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x14
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str.vgui_white_additive]
vmovups xmmword [rax], xmm0
mov ecx, dword [0x180235790]
mov dword [rax + 0x10], ecx
mov byte [rbx + 0x20], 1
mov rax, qword [0x180264038]
mov r8b, 1
lea rdx, str._color2
mov rcx, r15
call rax
mov rbx, rax
test rax, rax
je 0x18018e202
cmp byte [rax + 0x20], 1
jne 0x18018e1aa
lea rax, str._0.12_0.12_0.15_
cmp qword [rbx + 8], rax
je 0x18018e202
mov rcx, qword [rbx + 8]
call fcn.1801b3bbc
mov rcx, qword [rbx + 0x10]
call fcn.1801b3bbc
mov qword [rbx + 0x10], rsi
mov ecx, 0x11
call fcn.1801b4194
mov qword [rbx + 8], rax
vmovups xmm0, xmmword [str._0.12_0.12_0.15_]
vmovups xmmword [rax], xmm0
movzx ecx, byte [0x180235778]
mov byte [rax + 0x10], cl
mov byte [rbx + 0x20], 1
jmp 0x18018e202
cmp qword [0x180270ef8], 0xf
cmova rdi, qword [0x180270ee0]
mov r8, rdi
call fcn.1801a5390
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
call qword [rax + 0x258]
movzx r12d, ax
mov rcx, qword [0x180267708]
mov rdx, qword [rcx]
call qword [rdx + 0x268]
cmp r12w, ax
je 0x18018e4c2
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x270]
mov r14, rax
test rax, rax
je 0x18018e490
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x150]
test al, al
jne 0x18018e490
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x1c0]
test al, al
je 0x18018e490
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x88]
test al, al
jne 0x18018e490
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x198]
test al, al
jne 0x18018e490
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
mov rbp, rax
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rsi + rax], 0
jne 0x18018e2b3
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov rdi, rax
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x18018e2d0
cmp rsi, 5
jb 0x18018e490
cmp dword [rbp], 0x6c726f57
jne 0x18018e490
cmp byte [rbp + 4], 0x64
jne 0x18018e490
mov qword [rsp + 0x20], 5
lea r9, str.water
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 5
lea r9, str.glass
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 4
lea r9, str.door
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 5
lea r9, str.tools
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 6
lea r9, str.player
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 7
lea r9, str.chicken
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 6
lea r9, str.wall28
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 6
lea r9, str.wall26
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 5
lea r9, str.decal
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 7
lea r9, str.overlay
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov qword [rsp + 0x20], 3
lea r9, [0x180235868]
mov rdx, rbx
mov rcx, rdi
call fcn.180146a60
cmp rax, 0xffffffffffffffff
jne 0x18018e490
mov rax, qword [r14]
mov rdx, r15
mov rcx, r14
call qword [rax + 0x180]
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x260]
movzx r12d, ax
mov rcx, qword [0x180267708]
mov rax, qword [rcx]
call qword [rax + 0x268]
cmp r12w, ax
jne 0x18018e230
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret