Function at 0x180170720
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, [0x18024dd70]
mov r8, rdi
cmp qword [0x18024dd88], 0xf
cmova r8, qword [0x18024dd70]
mov ebx, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180170764
xor edx, edx
test rcx, rcx
je 0x180170795
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180170780
mov edx, 0xc10bf213
lea rcx, [0x18020a7d9]
call fcn.1800e91b0
cmp ebx, eax
je 0x180170b42
mov ecx, 0x40
call fcn.180190644
mov r15, rax
mov qword [rsp + 0xe0], rax
lea r8, str.LightmappedGeneric
mov edx, 0x80
lea rcx, [rsp + 0x30]
call fcn.1800ddd90
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [0x180240760]
nop
mov edx, 0xc10bf213
lea rcx, [0x18021096d]
call fcn.1800e91b0
cmp ebx, eax
jne 0x180170806
lea r8, str.dev_dev_measuregeneric01b
jmp 0x180170873
mov edx, 0xc60bf9f2
lea rcx, [0x1802109c9]
call fcn.1800e91b0
cmp ebx, eax
jne 0x180170824
lea r8, str.patterns_paint_strokes
jmp 0x180170873
mov edx, 0xc70bfb85
lea rcx, [0x1802109c1]
call fcn.1800e91b0
cmp ebx, eax
jne 0x180170842
lea r8, str.patterns_combat_black
jmp 0x180170873
mov edx, 0xd20c0cd6
lea rcx, [0x180210509]
call fcn.1800e91b0
cmp ebx, eax
jne 0x180170860
lea r8, str.patterns_combat_white
jmp 0x180170873
cmp qword [0x18024dd88], 0xf
cmova rdi, qword [0x18024dd70]
mov r8, rdi
lea rdx, str._basetexture
mov rcx, r15
call fcn.1801865b0
mov rcx, qword [0x180243eb8]
mov rax, qword [rcx]
call qword [rax + 0x258]
movzx r12d, ax
mov rcx, qword [0x180243eb8]
mov rdx, qword [rcx]
call qword [rdx + 0x268]
cmp r12w, ax
je 0x180170b42
mov rcx, qword [0x180243eb8]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x270]
mov r14, rax
test rax, rax
je 0x180170b10
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x150]
test al, al
jne 0x180170b10
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x1c0]
test al, al
je 0x180170b10
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x88]
test al, al
jne 0x180170b10
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x198]
test al, al
jne 0x180170b10
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 0x180170933
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 0x180170950
cmp rsi, 5
jb 0x180170b10
cmp dword [rbp], 0x6c726f57
jne 0x180170b10
cmp byte [rbp + 4], 0x64
jne 0x180170b10
mov qword [rsp + 0x20], 5
lea r9, str.water
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 5
lea r9, str.glass
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 4
lea r9, str.door
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 5
lea r9, str.tools
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 6
lea r9, str.player
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 7
lea r9, str.chicken
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 6
lea r9, str.wall28
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 6
lea r9, str.wall26
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 5
lea r9, str.decal
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 7
lea r9, str.overlay
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov qword [rsp + 0x20], 3
lea r9, [0x1802142bc]
mov rdx, rbx
mov rcx, rdi
call fcn.1800afed0
cmp rax, 0xffffffffffffffff
jne 0x180170b10
mov rax, qword [r14]
mov rdx, r15
mov rcx, r14
call qword [rax + 0x180]
mov rcx, qword [0x180243eb8]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x260]
movzx r12d, ax
mov rcx, qword [0x180243eb8]
mov rax, qword [rcx]
call qword [rax + 0x268]
cmp r12w, ax
jne 0x1801708b0
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