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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10105777
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10167080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [0x1409908]
xorps xmm0, xmm0
add eax, dword [0x1409900]
mov edx, dword [0x1409904]
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
lea eax, [eax + eax*4]
mov dword [ebp - 0x90], 1
lea eax, [edx + eax*4]
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0xa0], eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
push 0
call fcn.10068090
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.1002bdd0
mov edi, dword [esi]
mov eax, dword [esi + 4]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xa4], eax
cmp edi, eax
je 0x10067476
mov esi, dword [str.model]
nop dword [eax + eax]
mov al, byte [0x101494b0]
lea edi, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 5
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov edx, 0x811c9dc5
mov dword [ebp - 0x28], esi
xor ecx, ecx
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 5
jb 0x10067060
mov edi, dword [ebp - 0x88]
lea eax, [ebp - 0x28]
push edx
push eax
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.10037bc0
cmp dword [eax + 4], 0
je 0x10067461
mov al, byte [0x101494b0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x4c], al
mov byte [ebp - 0x4b], 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.10067d50
push eax
lea ecx, [ebp - 0x68]
call fcn.1000c650
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1006710c
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067102
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov eax, dword [str.origin]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], eax
mov ax, word [0x1014731c]
mov dword [ebp - 0x40], 6
mov dword [ebp - 0x3c], 0xf
mov word [ebp - 0x4c], ax
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
push eax
mov ecx, edi
call fcn.10067d50
push eax
lea ecx, [ebp - 0x80]
call fcn.1000c650
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10067187
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006717d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
test esi, esi
je 0x100673d7
cmp ecx, 0xf
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
seta byte [ebp - 0x81]
cmp byte [eax], 0x2a
jne 0x100673d7
cmp dword [ebp - 0x70], 0
je 0x100673d7
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, 1
mov byte [ebp - 4], 8
cmp esi, eax
lea edx, [ebp - 0x68]
cmovb eax, esi
cmp byte [ebp - 0x81], 0
cmovne edx, dword [ebp - 0x68]
sub esi, eax
add eax, edx
lea ecx, [esi + 1]
push ecx
push eax
push edx
call fcn.100dab50
mov dword [ebp - 0x58], esi
call fcn.100e4ebd
cmp dword [ebp - 0x54], 0xf
lea esi, [ebp - 0x68]
mov dword [ebp - 0x98], eax
cmova esi, dword [ebp - 0x68]
mov dword [eax], 0
lea eax, [ebp - 0x94]
push 0xa
push eax
push esi
call fcn.100e76fd
add esp, 0x18
mov edi, eax
cmp esi, dword [ebp - 0x94]
je 0x1006753c
mov eax, dword [ebp - 0x98]
cmp dword [eax], 0x22
je 0x1006754b
mov esi, dword [ebp - 0x8c]
mov eax, 0x66666667
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
je 0x10067295
push 0
push eax
push edi
push str._Entities::getBrushModels_:_Something_went_wrong_while_parsing_submodels.___d____d_
call fcn.10069130
add esp, 0xc
push eax
push 0
mov eax, 0x4fca50
call eax
add esp, 0xc
mov eax, dword [0x1409944]
cmp edi, eax
jge 0x1006749b
mov ecx, dword [ebp - 0x34]
lea edx, [edi + edi*8]
mov dword [ebp - 0x38], edi
mov eax, dword [0x1409948]
shl edx, 3
add eax, edx
cmovne ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, dword [0x1409948]
mov eax, dword [eax + edx + 0x40]
lea ecx, [eax + eax*4]
mov eax, 0x1409904
mov eax, dword [eax]
mov ecx, dword [eax + ecx*4 + 8]
mov dword [ebp - 0x24], 0
mov eax, dword [0x1409948]
mov eax, dword [edx + eax + 0x40]
test eax, eax
je 0x1006734b
test ecx, ecx
je 0x1006734b
cmp ecx, dword [ebp - 0x9c]
jb 0x10067310
cmp ecx, dword [ebp - 0xa0]
jae 0x10067310
lea ecx, [eax + eax*4]
mov eax, 0x1409904
mov eax, dword [eax]
mov eax, dword [eax + ecx*4 + 8]
movzx eax, word [eax]
mov dword [ebp - 0x24], eax
jmp 0x10067330
push 0
push edi
push str._Entities::getBrushModels_:_Skipping_faulty_brush_index_pointer_at_leafbrushNodes__d_.data.leaf.brushes_..._n
call fcn.10069130
add esp, 8
push eax
push 0
mov eax, 0x4fca50
call eax
mov eax, dword [ebp - 0x24]
add esp, 0xc
lea ecx, [eax + eax*4]
mov eax, dword [0x1409950]
shl ecx, 4
add eax, ecx
mov dword [ebp - 0x20], eax
mov byte [eax + 0x4c], 1
mov eax, dword [ebp - 0x20]
mov word [eax + 0x4a], di
cmp dword [ebp - 0x6c], 0xf
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x80]
cmova eax, dword [ebp - 0x80]
push str._f__f__f
push eax
call fcn.100689e0
add esp, 0x14
test eax, eax
jne 0x100673a5
push eax
push edi
push str.___:_sscanf_failed_for_submodel__d
call fcn.10069130
add esp, 8
push eax
push 0
mov eax, 0x4fca50
call eax
add esp, 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x38]
push ecx
cmp eax, dword [esi + 8]
je 0x100673be
mov ecx, eax
call fcn.10068830
add dword [esi + 4], 0x28
jmp 0x100673c6
push eax
mov ecx, esi
call fcn.10068220
lea ecx, [ebp - 0x1c]
call fcn.1002bdd0
mov ecx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x88]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
cmp eax, 0xf
jbe 0x10067414
mov edx, dword [ebp - 0x80]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10067407
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
mov ecx, dword [ebp - 0x54]
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x1006745b
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067451
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov esi, dword [str.model]
add edi, 0x20
mov dword [ebp - 0x88], edi
cmp edi, dword [ebp - 0xa4]
jne 0x10067030
mov esi, dword [ebp - 0x8c]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d8e9a
mov esp, ebp
pop ebp
ret 4
push 0
push eax
push edi
push str._Entities::getBrushModels_:_Something_went_wrong_while_parsing_submodels.___d____d_numSubModels_
call fcn.10069130
add esp, 0xc
push eax
push 0
mov eax, 0x4fca50
call eax
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1002bdd0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x100674f1
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100674e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0xf
jbe 0x1006747c
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006752d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067546
push ecx
push edx
call fcn.100d91c2
add esp, 8
jmp 0x1006747c
push str.invalid_stoi_argument
call fcn.100d6fc6
call fcn.100de11f
push str.stoi_argument_out_of_range
call fcn.100d7006
int3