Function at 0x1014bd90
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 0x1017988f
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, 0x10272bf1
cmova edi, dword [ebx + 8]
call fcn.100de180
mov ecx, edi
mov esi, eax
call fcn.100de1a0
cmp eax, esi
je 0x1014bff3
mov ecx, dword [0x102a5d80]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xa
jb 0x1014c6fa
cmp dword [0x102a5d84], 0xf
mov eax, 0x102a5d70
push 0xa
cmova eax, dword [0x102a5d70]
push str.Materials
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
call fcn.100d9180
push 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
mov esi, 0x21
push 0x1027d110
mov dword [ebp - 0x1c], esi
call fcn.100a1750
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.100a1750
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 + 0x10], 0
mov dword [eax + 0x14], 0xf
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.100a1750
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.100f6f80
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.100e7b50
test al, al
jne 0x1014bff3
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 0x1014bfd6
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1014bfc5
push edx
lea eax, [ebx + 8]
mov ecx, 0x1029d618
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10094890
mov byte [ebp - 0x15], 0
cmp dword [eax + 4], 0
je 0x1014bff7
mov byte [ebp - 0x15], 1
mov eax, dword [ebp - 0x14]
test al, 0x10
je 0x1014c012
and eax, 0xffffffef
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x14], eax
call fcn.100f31c0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 3
test al, 8
je 0x1014c06c
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffff7
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014c05a
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c04d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c168
push ecx
push edx
call fcn.1016f528
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 0x1014c0cc
mov ecx, dword [ebp - 0x74]
and eax, 0xfffffffb
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014c0b7
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c0aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c168
push ecx
push edx
call fcn.1016f528
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 0x1014c131
mov ecx, dword [ebp - 0x8c]
and eax, 0xfffffffd
mov dword [ebp - 0x14], eax
cmp ecx, 0xf
jbe 0x1014c116
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c109
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c168
push ecx
push edx
call fcn.1016f528
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 0x1014c193
mov ecx, dword [ebp - 0xd4]
cmp ecx, 0xf
jbe 0x1014c178
mov edx, dword [ebp - 0xe8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c16e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014c16e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1016f528
add esp, 8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe8], 0
cmp byte [ebp - 0x15], 0
jne 0x1014c6af
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.1006bcb0
movups xmm0, xmmword [str._VertexLitGeneric__n_n_t_n]
mov ecx, dword [0x1029d44c]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x28], 0x1f
movups xmmword [eax], xmm0
push 0x20
movq xmm0, qword [0x10281894]
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 0x1014c229
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
push ecx
mov ecx, eax
call fcn.1016d980
mov esi, eax
jmp 0x1014c22b
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.1016d8d0
push 8
push str.m_pMat_s
lea edx, [ebx + 8]
lea ecx, [ebp - 0x118]
call fcn.100e0310
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1014c276
mov edx, dword [edx]
mov ecx, dword [0x1029cff0]
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 [0x1029d65c]
cmp eax, dword [0x1029d660]
je 0x1014c2ac
mov dword [eax], esi
add dword [0x1029d65c], 4
jmp 0x1014c2be
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, 0x1029d658
call fcn.1014de10
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x40], esi
cmp ecx, 0xf
jbe 0x1014c301
mov edx, dword [ebp - 0x118]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c2f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014c2f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1016f528
add esp, 8
lea eax, [ebx + 8]
mov ecx, 0x1029d618
push eax
call fcn.1014d7c0
mov ecx, dword [ebp - 0x40]
mov esi, eax
lea eax, [ebp - 0x3c]
mov dword [esi], ecx
lea ecx, [esi + 4]
cmp ecx, eax
je 0x1014c333
cmp dword [ebp - 0x28], 0xf
mov edx, eax
push dword [ebp - 0x2c]
cmova edx, dword [ebp - 0x3c]
push edx
call fcn.10091b80
mov al, byte [ebp - 0x24]
mov byte [esi + 0x1c], al
mov eax, 0x7fffffff
mov ecx, dword [0x102a5d80]
sub eax, ecx
cmp eax, 0xa
jb 0x1014c6ff
cmp dword [0x102a5d84], 0xf
mov eax, 0x102a5d70
push 0xa
cmova eax, dword [0x102a5d70]
push str.Materials
push ecx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x100]
call fcn.100d9180
push 1
push 0x1027d110
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 9
call fcn.100a1750
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.100a1750
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 + 0x10], 0
lea ecx, [ebp - 0xb8]
mov dword [eax + 0x14], 0xf
push 4
mov byte [eax], 0
push str..vmt
mov byte [ebp - 4], 0xb
call fcn.100a1750
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.100f5a90
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 0x1014c504
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c4fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c5f4
push ecx
push edx
call fcn.1016f528
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 0x1014c554
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c54a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c5f4
push ecx
push edx
call fcn.1016f528
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 0x1014c5a9
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c59f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c5f4
push ecx
push edx
call fcn.1016f528
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 0x1014c604
mov edx, dword [ebp - 0x100]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c5fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014c5fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1016f528
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.100f6a90
add esp, 4
lea ecx, [ebp - 0x1c4]
call fcn.100f5df0
test eax, eax
jne 0x1014c662
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.100f4e00
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1014c69d
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c693
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c6d5
push ecx
push edx
call fcn.1016f528
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 0x1014c6e5
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c6db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014c6db
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1016f528
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.1006b9d0
call fcn.1006b9d0
int3