Function at 0x1014c710
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 0x10179937
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x198
push esi
push edi
mov dword [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [0x102a5d80]
sub eax, ecx
cmp eax, 0xa
jb 0x1014cf15
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 - 0x18]
lea ecx, [ebp - 0xf4]
call fcn.100d9180
push 1
push 0x1027d110
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.100a1750
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x7c]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebx + 8]
mov byte [ebp - 4], 3
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 - 0x54], 0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x64]
mov dword [eax + 0x14], 0xf
push 4
mov byte [eax], 0
push str..vmt
mov byte [ebp - 4], 4
call fcn.100a1750
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x3c], xmm0
mov dword [eax + 0x10], 0
lea edx, [ebp - 0x4c]
mov dword [eax + 0x14], 0xf
lea ecx, [ebp - 0xdc]
mov byte [eax], 0
mov byte [ebp - 4], 5
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
call fcn.100f6f80
add esp, 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 6
call fcn.100e7b50
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0x11], al
call fcn.100f31c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1014c8e6
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c8dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c9b8
push ecx
push edx
call fcn.1016f528
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x1014c930
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c926
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c9b8
push ecx
push edx
call fcn.1016f528
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x1014c976
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c96c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014c9b8
push ecx
push edx
call fcn.1016f528
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x1014c9c8
mov edx, dword [ebp - 0xf4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014c9be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014c9be
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 byte [ebp - 0x11], 0
mov edi, dword [ebx + 0x1c]
je 0x1014ce8b
cmp edi, 0xf
lea esi, [ebx + 8]
mov edx, 0x811c9dc5
cmova esi, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebx + 0x18], ecx
jbe 0x1014ca02
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x18]
jb 0x1014c9f0
push edx
lea eax, [ebx + 8]
mov ecx, 0x1029d618
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10094890
mov esi, dword [0x1029d61c]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x1029d61c]
je 0x1014ce8b
cmp byte [esi + 0x3c], 0
jne 0x1014ce8b
lea ecx, [esi + 0x24]
lea eax, [ebx + 0x20]
cmp ecx, eax
je 0x1014ca54
cmp dword [ebx + 0x34], 0xf
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.10091b80
mov ecx, dword [0x1029d44c]
push 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x1014ca85
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
push ecx
mov ecx, eax
call fcn.1016d980
mov edi, eax
jmp 0x1014ca87
xor edi, edi
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0xf
lea eax, [ebx + 8]
cmova ecx, dword [ebx + 0x20]
cmp dword [ebx + 0x1c], 0xf
cmova eax, dword [ebx + 8]
sub esp, 8
push ecx
push eax
push edi
call fcn.1016d8d0
push 8
push str.m_pMat_s
lea edx, [ebx + 8]
lea ecx, [ebp - 0xdc]
call fcn.100e0310
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1014cad2
mov edx, dword [edx]
mov ecx, dword [0x1029cff0]
push edi
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
call eax
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x18], edi
mov edx, dword [edi]
call dword [edx + 0x30]
mov eax, dword [0x1029d65c]
cmp eax, dword [0x1029d660]
je 0x1014cb08
mov dword [eax], edi
add dword [0x1029d65c], 4
jmp 0x1014cb1a
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, 0x1029d658
call fcn.1014de10
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc8]
mov dword [esi + 0x20], edi
cmp ecx, 0xf
jbe 0x1014cb5d
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014cb53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014cb53
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 [0x102a5d80]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xa
jb 0x1014cf1a
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 - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.100d9180
push 1
push 0x1027d110
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.100a1750
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
movups xmmword [ebp - 0xac], xmm0
mov dword [ebp - 0x98], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xac], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x9c], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xac]
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 - 0x84], 0
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x94], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x84], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x94]
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 - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x1a8]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x20], 0xf
cmova eax, dword [ebp - 0x34]
sub esp, 0xc
push eax
call fcn.100f5a90
mov eax, dword [ebp - 0x1a8]
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 - 0x1a8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1ac], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1014cd25
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014cd1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014ce0f
push ecx
push edx
call fcn.1016f528
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x1014cd72
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014cd68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014ce0f
push ecx
push edx
call fcn.1016f528
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x1014cdc4
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014cdba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014ce0f
push ecx
push edx
call fcn.1016f528
add esp, 8
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xb0]
cmp ecx, 0xf
jbe 0x1014ce1f
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014ce15
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014ce15
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 [ebx + 0x34], 0xf
lea edx, [ebx + 0x20]
push dword [ebx + 0x30]
cmova edx, dword [ebx + 0x20]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
call fcn.100f6a90
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.100f5df0
test eax, eax
jne 0x1014ce7d
push eax
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x1a8]
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 - 0x1a8]
call fcn.100f4e00
mov edi, dword [ebx + 0x1c]
cmp edi, 0xf
jbe 0x1014ceb8
mov ecx, dword [ebx + 8]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x1014ceae
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014cef0
push edi
push ecx
call fcn.1016f528
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x1014cf00
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014cef6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014cef6
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 0x30
call fcn.1006b9d0
call fcn.1006b9d0
int3