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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ad8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1b8
push esi
xor esi, esi
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
lea edi, [ebx + 8]
cmp dword [ebx + 0x1c], 0xf
mov edx, 0xca0c003e
mov ecx, 0x10273d61
cmova edi, dword [ebx + 8]
call fcn.100de6f0
mov ecx, edi
mov esi, eax
call fcn.100de710
cmp eax, esi
je 0x1014d163
mov ecx, dword [0x102a69d0]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xa
jb 0x1014d86a
cmp dword [0x102a69d4], 0xf
mov eax, 0x102a69c0
push 0xa
cmova eax, dword [0x102a69c0]
push str.Materials
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.100d96d0
push 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
mov esi, 0x21
push 0x1027e32c
mov dword [ebp - 0x1c], esi
call fcn.100a1b00
mov dword [ebp - 0x90], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
or esi, 0x40
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 2
lea eax, [ebx + 8]
push dword [ebx + 0x18]
or esi, 2
lea ecx, [ebp - 0xa0]
cmp dword [ebx + 0x1c], 0xf
mov dword [ebp - 0x1c], esi
cmova eax, dword [ebx + 8]
push eax
call fcn.100a1b00
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
or esi, 0x80
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
push 4
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x88]
or esi, 4
push str..vmt
mov dword [ebp - 0x1c], esi
call fcn.100a1b00
mov dword [ebp - 0x60], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
or esi, 0x100
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 4
lea edx, [ebp - 0x70]
or esi, 8
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x118]
call fcn.100f7a60
add esp, 4
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x118]
or esi, 0x10
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
call fcn.100e7e20
test al, al
jne 0x1014d163
cmp dword [ebx + 0x1c], 0xf
lea esi, [ebx + 8]
mov edi, dword [ebx + 0x18]
mov edx, 0x811c9dc5
cmova esi, dword [ebx + 8]
xor ecx, ecx
test edi, edi
je 0x1014d146
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1014d135
push edx
lea eax, [ebx + 8]
mov ecx, 0x1029e268
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100948e0
mov byte [ebp - 0x15], 0
cmp dword [eax + 4], 0
je 0x1014d167
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x14]
test al, 0x10
je 0x1014d182
and eax, 0xffffffef
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x14], eax
call fcn.100f38f0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test al, 8
je 0x1014d1dc
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffff7
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014d1ca
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d1bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d2d8
push ecx
push edx
call fcn.101706c8
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 2
test al, 4
je 0x1014d23c
mov ecx, dword [ebp - 0x74]
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014d227
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d21a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d2d8
push ecx
push edx
call fcn.101706c8
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 4], 1
test al, 2
je 0x1014d2a1
mov ecx, dword [ebp - 0x8c]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014d286
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d279
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d2d8
push ecx
push edx
call fcn.101706c8
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov dword [ebp - 4], 0
test al, 1
je 0x1014d303
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1014d2e8
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d2de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014d2de
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101706c8
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp byte [ebp - 0x15], 0
jne 0x1014d81f
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x24], 0
push 0x20
mov byte [ebp - 4], 6
call fcn.1006bcc0
movups xmm0, xmmword [str._VertexLitGeneric__n_n_t_n]
mov ecx, dword [0x1029e09c]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], 0x1f
movups xmmword [eax], xmm0
push 0x20
movq xmm0, qword [0x10282ba0]
movq qword [eax + 0x10], xmm0
mov byte [eax + 0x18], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1014d399
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
push ecx
mov ecx, eax
call fcn.1016ebd0
mov esi, eax
jmp 0x1014d39b
xor esi, esi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0xf
lea eax, [ebx + 8]
cmova ecx, dword [ebp - 0x3c]
cmp dword [ebx + 0x1c], 0xf
cmova eax, dword [ebx + 8]
sub esp, 8
push ecx
push eax
push esi
call fcn.1016eb20
push 8
push str.m_pMat_s
lea edx, [ebx + 8]
lea ecx, [ebp - 0x118]
call fcn.100e0880
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1014d3e6
mov edx, dword [edx]
mov ecx, dword [0x1029dc40]
push esi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov eax, dword [0x1029e2ac]
cmp eax, dword [0x1029e2b0]
je 0x1014d41c
mov dword [eax], esi
add dword [0x1029e2ac], 4
jmp 0x1014d42e
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, 0x1029e2a8
call fcn.1014ef60
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x40], esi
cmp ecx, 0xf
jbe 0x1014d471
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014d467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101706c8
add esp, 8
lea eax, [ebx + 8]
mov ecx, 0x1029e268
push eax
call fcn.1014e910
mov ecx, dword [ebp - 0x40]
mov esi, eax
lea eax, [ebp - 0x3c]
mov dword [esi], ecx
lea ecx, [esi + 4]
cmp ecx, eax
je 0x1014d4a3
cmp dword [ebp - 0x28], 0xf
mov edx, eax
push dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
push edx
call fcn.10091ab0
mov al, byte [ebp - 0x24]
mov byte [esi + 0x1c], al
mov eax, 0x7fffffff
mov ecx, dword [0x102a69d0]
sub eax, ecx
cmp eax, 0xa
jb 0x1014d86f
cmp dword [0x102a69d4], 0xf
mov eax, 0x102a69c0
push 0xa
cmova eax, dword [0x102a69c0]
push str.Materials
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x100]
call fcn.100d96d0
push 1
push 0x1027e32c
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 9
call fcn.100a1b00
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xd0]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebx + 8]
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x1c], 0xf
push dword [ebx + 0x18]
cmova eax, dword [ebx + 8]
push eax
call fcn.100a1b00
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xb8]
push 4
mov byte [eax], 0
push str..vmt
mov byte [ebp - 4], 0xb
call fcn.100a1b00
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x1c8]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x44], 0xf
cmova eax, dword [ebp - 0x58]
sub esp, 0xc
push eax
call fcn.100f6450
mov eax, dword [ebp - 0x1c8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1cc], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x1014d674
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d66a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d764
push ecx
push edx
call fcn.101706c8
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x1014d6c4
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d6ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d764
push ecx
push edx
call fcn.101706c8
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xbc]
cmp ecx, 0xf
jbe 0x1014d719
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d70f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d764
push ecx
push edx
call fcn.101706c8
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xec]
cmp ecx, 0xf
jbe 0x1014d774
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d76a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014d76a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101706c8
add esp, 8
cmp dword [ebp - 0x28], 0xf
lea edx, [ebp - 0x3c]
push dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x1c8]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
call fcn.100f7570
add esp, 4
lea ecx, [ebp - 0x1c4]
call fcn.100f6890
test eax, eax
jne 0x1014d7d2
push eax
mov eax, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x1c8]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x1c8]
call fcn.100f57c0
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1014d80d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d803
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014d845
push ecx
push edx
call fcn.101706c8
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x1014d855
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014d84b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014d84b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.101706c8
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.1006b9e0
call fcn.1006b9e0
int3