Function at 0x1014d880
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 0x1017ae37
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 [0x102a69d0]
sub eax, ecx
cmp eax, 0xa
jb 0x1014e085
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 - 0x18]
lea ecx, [ebp - 0xf4]
call fcn.100d96d0
push 1
push 0x1027e32c
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.100a1b00
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.100a1b00
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 + 0x14], 0xf
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x64]
push 4
mov byte [eax], 0
push str..vmt
mov byte [ebp - 4], 4
call fcn.100a1b00
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.100f7a60
add esp, 4
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 6
call fcn.100e7e20
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0x11], al
call fcn.100f38f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1014da56
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014da4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014db28
push ecx
push edx
call fcn.101706c8
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 0x1014daa0
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014da96
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014db28
push ecx
push edx
call fcn.101706c8
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 0x1014dae6
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014dadc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014db28
push ecx
push edx
call fcn.101706c8
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 0x1014db38
mov edx, dword [ebp - 0xf4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014db2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014db2e
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 byte [ebp - 0x11], 0
mov edi, dword [ebx + 0x1c]
je 0x1014dffb
cmp edi, 0xf
lea esi, [ebx + 8]
mov edx, 0x811c9dc5
cmova esi, dword [ebx + 8]
xor ecx, ecx
cmp dword [ebx + 0x18], ecx
jbe 0x1014db72
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x18]
jb 0x1014db60
push edx
lea eax, [ebx + 8]
mov ecx, 0x1029e268
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100948e0
mov esi, dword [0x1029e26c]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x1029e26c]
je 0x1014dffb
cmp byte [esi + 0x3c], 0
jne 0x1014dffb
lea ecx, [esi + 0x24]
lea eax, [ebx + 0x20]
cmp ecx, eax
je 0x1014dbc4
cmp dword [ebx + 0x34], 0xf
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.10091ab0
mov ecx, dword [0x1029e09c]
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 0x1014dbf5
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
push ecx
mov ecx, eax
call fcn.1016ebd0
mov edi, eax
jmp 0x1014dbf7
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.1016eb20
push 8
push str.m_pMat_s
lea edx, [ebx + 8]
lea ecx, [ebp - 0xdc]
call fcn.100e0880
add esp, 8
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0xf
jbe 0x1014dc42
mov edx, dword [edx]
mov ecx, dword [0x1029dc40]
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 [0x1029e2ac]
cmp eax, dword [0x1029e2b0]
je 0x1014dc78
mov dword [eax], edi
add dword [0x1029e2ac], 4
jmp 0x1014dc8a
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, 0x1029e2a8
call fcn.1014ef60
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xc8]
mov dword [esi + 0x20], edi
cmp ecx, 0xf
jbe 0x1014dccd
mov edx, dword [ebp - 0xdc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014dcc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014dcc3
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 [0x102a69d0]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xa
jb 0x1014e08a
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 - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.100d96d0
push 1
push 0x1027e32c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.100a1b00
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.100a1b00
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 + 0x14], 0xf
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x94]
push 4
mov byte [eax], 0
push str..vmt
mov byte [ebp - 4], 0xb
call fcn.100a1b00
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.100f6450
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 0x1014de95
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014de8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014df7f
push ecx
push edx
call fcn.101706c8
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 0x1014dee2
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014ded8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014df7f
push ecx
push edx
call fcn.101706c8
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 0x1014df34
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014df2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014df7f
push ecx
push edx
call fcn.101706c8
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 0x1014df8f
mov edx, dword [ebp - 0xc4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014df85
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014df85
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 [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.100f7570
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.100f6890
test eax, eax
jne 0x1014dfed
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.100f57c0
mov edi, dword [ebx + 0x1c]
cmp edi, 0xf
jbe 0x1014e028
mov ecx, dword [ebx + 8]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x1014e01e
mov ecx, dword [eax - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1014e060
push edi
push ecx
call fcn.101706c8
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 0x1014e070
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1014e066
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1014e066
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 0x30
call fcn.1006b9e0
call fcn.1006b9e0
int3