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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rbx, rdx
xor r13d, r13d
mov edi, r13d
mov dword [rbp + 0x200], r13d
mov r8, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180172166
mov r8, qword [rdx]
mov esi, 0x811c9dc5
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180172172
mov rdx, r13
test rcx, rcx
je 0x1801721a5
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, esi
imul esi, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180172190
mov edx, 0xca0c003e
lea rcx, [0x180217be9]
call fcn.1800e8400
movabs r15, 0x7fffffffffffffff
lea r12, [0x1802669e0]
lea rdx, str.Materials
cmp esi, eax
je 0x1801723d2
mov rcx, qword [0x1802669f0]
mov rax, r15
sub rax, rcx
cmp rax, 0xa
jb 0x180172a52
mov r9, r12
cmp qword [0x1802669f8], 0xf
cmova r9, qword [0x1802669e0]
mov qword [rsp + 0x30], 0xa
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x10]
call fcn.1800f7c80
nop
mov dword [rbp + 0x200], 0x21
mov r8d, 1
lea rdx, [0x180220814]
lea rcx, [rbp - 0x10]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp + 0x200], 0x63
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180172286
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp + 0x200], 0xe7
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rbp - 0x70]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp + 0x200], 0x1ef
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x78], rax
call fcn.1801a6790
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp + 0x10]
call fcn.1800e8460
nop
mov edi, 0x7ff
mov dword [rbp + 0x200], edi
lea rcx, [rbp + 0x10]
call fcn.1800e8e40
test al, al
jne 0x1801723d2
mov r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180172382
mov rdx, qword [rbx]
movabs r9, 0xcbf29ce484222325
mov rcx, r13
test r8, r8
je 0x1801723b3
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1801723a0
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [0x180266560]
call fcn.1800977f0
cmp qword [rax + 8], 0
jne 0x1801723d2
xor sil, sil
jmp 0x1801723d5
mov sil, 1
test dil, 0x10
je 0x1801723e8
and edi, 0xffffffef
lea rcx, [rbp + 0x10]
call fcn.1800f5330
nop
test dil, 8
je 0x180172444
and edi, 0xfffffff7
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x180172431
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017242c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017242c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test dil, 4
je 0x18017249b
and edi, 0xfffffffb
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x18017248b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180172486
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180172486
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test dil, 2
je 0x1801724f7
and edi, 0xfffffffd
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1801724e4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801724df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801724df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
test dil, 1
je 0x180172506
lea rcx, [rbp - 0x10]
call fcn.180093e20
test sil, sil
jne 0x180172a29
xor eax, eax
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], al
mov byte [rbp - 0x18], al
mov r8d, 0x18
lea rdx, str._VertexLitGeneric__n_n_t_n
lea rcx, [rbp - 0x38]
call fcn.180093e80
mov ecx, 0x40
call fcn.1801a5504
mov r14, rax
mov qword [rbp + 0x200], rax
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180172565
mov r8, qword [rbx]
mov edx, 0x80
lea rcx, [rbp + 0x140]
call fcn.1800d9150
lea rdx, [rbp + 0x140]
mov rcx, r14
call qword [0x180254080]
nop
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r8, qword [rbp - 0x38]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1801725a2
mov rdx, qword [rbx]
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov rcx, r14
call qword [0x1802540a8]
mov rax, qword [0x180254058]
mov r8b, 1
lea rdx, str._model
mov rcx, r14
call rax
mov rdi, rax
test rax, rax
je 0x180172616
cmp byte [rax + 0x20], 1
jne 0x1801725e4
lea rax, [0x1801d5bb0]
cmp qword [rdi + 8], rax
je 0x180172616
mov rcx, qword [rdi + 8]
call fcn.1801a53dc
mov rcx, qword [rdi + 0x10]
call fcn.1801a53dc
mov qword [rdi + 0x10], r13
mov ecx, 2
call fcn.1801a59b4
mov qword [rdi + 8], rax
movzx ecx, word [0x1801d5bb0]
mov word [rax], cx
mov byte [rdi + 0x20], 1
lea rax, str.m_pMat_s
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 8
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x180172636
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x48], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x80], 1
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x60]
call fcn.1800ab1e0
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov rcx, qword [0x180257728]
mov rax, qword [rcx]
mov r8, r14
call qword [rax + 0x240]
mov qword [rbp + 0x200], rax
lea r8, [rbp + 0x200]
lea rdx, [rbp - 0x50]
lea rcx, [0x1802665e0]
call fcn.1801741e0
mov rdx, qword [rax]
mov byte [rdx + 0x18], 1
mov rax, qword [rbp + 0x200]
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x60]
call fcn.180093e20
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [0x180266560]
call fcn.1801744d0
mov rdi, qword [rax]
mov rax, qword [rbp - 0x40]
mov qword [rdi + 0x30], rax
lea rcx, [rdi + 0x38]
lea rax, [rbp - 0x38]
cmp rcx, rax
je 0x180172730
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
call fcn.180093e80
movzx eax, byte [rbp - 0x18]
mov byte [rdi + 0x58], al
mov rax, qword [0x1802669f0]
sub r15, rax
cmp r15, 0xa
jb 0x180172a4c
cmp qword [0x1802669f8], 0xf
jbe 0x18017275c
mov r12, qword [0x1802669e0]
mov qword [rsp + 0x30], 0xa
lea rcx, str.Materials
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9, r12
lea rcx, [rbp - 0x10]
call fcn.1800f7c80
nop
mov r8d, 1
lea rdx, [0x180220814]
lea rcx, [rbp - 0x10]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1801727d3
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 4
lea rdx, str..vmt
lea rcx, [rsp + 0x60]
call fcn.1800a7630
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.1800f79c0
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1801728db
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801728d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801728d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18017292e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180172929
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180172929
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x18017297f
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017297a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017297a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801a53dc
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
lea rcx, [rbp - 0x10]
call fcn.180093e20
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x30]
call fcn.1800f8dd0
lea rcx, [rbp + 0x38]
call fcn.1800f8010
test rax, rax
jne 0x1801729df
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x30]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x30], rdi
mov rax, qword [rbp + 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x2c], edx
lea rcx, [rbp + 0x38]
call fcn.1800f7950
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x38]
call fcn.180093e20
nop
mov rcx, rbx
call fcn.180093e20
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18006f360
nop
call fcn.18006f360
int3