Function at 0x180166890
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, [0x18023d2e0]
mov r8, rdi
cmp qword [0x18023d2f8], 0xf
cmova r8, qword [0x18023d2e0]
mov ebx, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1801668d4
xor edx, edx
test rcx, rcx
je 0x180166905
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, ebx
imul ebx, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801668f0
mov edx, 0xc10bf213
lea rcx, [0x1801f8c71]
call fcn.1800e05e0
cmp ebx, eax
je 0x180166cb2
mov ecx, 0x40
call fcn.180183b24
mov r15, rax
mov qword [rsp + 0xe0], rax
lea r8, str.LightmappedGeneric
mov edx, 0x80
lea rcx, [rsp + 0x30]
call fcn.1800d5230
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [0x180230480]
nop
mov edx, 0xc10bf213
lea rcx, [0x180201f05]
call fcn.1800e05e0
cmp ebx, eax
jne 0x180166976
lea r8, str.dev_dev_measuregeneric01b
jmp 0x1801669e3
mov edx, 0xc60bf9f2
lea rcx, [0x180201f09]
call fcn.1800e05e0
cmp ebx, eax
jne 0x180166994
lea r8, str.patterns_paint_strokes
jmp 0x1801669e3
mov edx, 0xc70bfb85
lea rcx, [0x180201f11]
call fcn.1800e05e0
cmp ebx, eax
jne 0x1801669b2
lea r8, str.patterns_combat_black
jmp 0x1801669e3
mov edx, 0xd20c0cd6
lea rcx, [0x180201f19]
call fcn.1800e05e0
cmp ebx, eax
jne 0x1801669d0
lea r8, str.patterns_combat_white
jmp 0x1801669e3
cmp qword [0x18023d2f8], 0xf
cmova rdi, qword [0x18023d2e0]
mov r8, rdi
lea rdx, str._basetexture
mov rcx, r15
call fcn.180179d40
mov rcx, qword [0x180233ba0]
mov rax, qword [rcx]
call qword [rax + 0x258]
movzx r12d, ax
mov rcx, qword [0x180233ba0]
mov rdx, qword [rcx]
call qword [rdx + 0x268]
cmp r12w, ax
je 0x180166cb2
mov rcx, qword [0x180233ba0]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x270]
mov r14, rax
test rax, rax
je 0x180166c80
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x150]
test al, al
jne 0x180166c80
mov rdx, qword [r14]
mov rcx, r14
call qword [rdx + 0x1c0]
test al, al
je 0x180166c80
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x88]
test al, al
jne 0x180166c80
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x198]
test al, al
jne 0x180166c80
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 0x180166aa3
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 0x180166ac0
cmp rsi, 5
jb 0x180166c80
cmp dword [rbp], 0x6c726f57
jne 0x180166c80
cmp byte [rbp + 4], 0x64
jne 0x180166c80
mov qword [rsp + 0x20], 5
lea r9, str.water
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 5
lea r9, str.glass
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 4
lea r9, str.door
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 5
lea r9, str.tools
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 6
lea r9, str.player
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 7
lea r9, str.chicken
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 6
lea r9, str.wall28
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 6
lea r9, str.wall26
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 5
lea r9, str.decal
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 7
lea r9, str.overlay
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov qword [rsp + 0x20], 3
lea r9, [0x180205494]
mov rdx, rbx
mov rcx, rdi
call fcn.1800a3e80
cmp rax, 0xffffffffffffffff
jne 0x180166c80
mov rax, qword [r14]
mov rdx, r15
mov rcx, r14
call qword [rax + 0x180]
mov rcx, qword [0x180233ba0]
mov rax, qword [rcx]
movzx edx, r12w
call qword [rax + 0x260]
movzx r12d, ax
mov rcx, qword [0x180233ba0]
mov rax, qword [rcx]
call qword [rax + 0x268]
cmp r12w, ax
jne 0x180166a20
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