Function at 0x1007207d
Capabilities:
Print debug messages

Disassembly:
push 0x40
mov eax, 0x100ee064
call fcn.100e35bc
mov esi, ecx
mov eax, 0x40e4e0
call eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
movzx eax, ax
push 0x10
mov dword [ebp - 0x40], eax
call fcn.100e147f
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
xor eax, eax
mov ebx, 0xb7d0b8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x44], 0x78
mov edi, dword [ebx]
test edi, edi
je 0x1007219f
mov ebx, dword [ebp - 0x30]
mov esi, dword [edi]
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
cmp dword [eax + 0x20], 0x534030
je 0x10072149
mov eax, ebx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, ecx
cdq
idiv dword [ebp - 0x44]
push eax
push 0x78
mov eax, ecx
pop ecx
cdq
idiv ecx
movzx eax, word [esi + 0x22]
push edx
push eax
push esi
lea eax, [ebp - 0x28]
push str.Entity_0x_08x__with_model__d__at_ARRAY_StreamSectors__d__d__is_invalid_n
push eax
call fcn.1007313f
add esp, 0x18
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x10072134
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10004f4d
jmp 0x1007218c
mov ecx, dword [0x101b09ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xa4]
movzx eax, word [esi + 0x22]
push eax
call edx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, word [ebp - 0x40]
jne 0x1007218c
test dword [esi + 0x1c], 0x2400
jne 0x1007218c
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [esi + 0x22]
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100729cd
mov eax, dword [edi + 4]
mov edi, eax
test eax, eax
jne 0x100720e8
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
add ebx, 4
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
cmp ebx, 0xb992b8
jl 0x100720db
mov edi, 0xb992c0
mov dword [ebp - 0x2c], edi
mov esi, dword [edi]
test esi, esi
je 0x10072217
mov edi, dword [ebp - 0x40]
mov ecx, dword [0x101b09ec]
mov ebx, dword [esi]
mov dword [ebp - 0x34], ebx
mov eax, dword [ecx]
mov edx, dword [eax + 0xa4]
movzx eax, word [ebx + 0x22]
push eax
call edx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
cmp ax, di
jne 0x1007220d
test dword [ebx + 0x1c], 0x2400
jne 0x1007220d
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
call dword [eax + 0x20]
lea eax, [ebx + 0x22]
lea ecx, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.100729cd
mov esi, dword [esi + 4]
test esi, esi
jne 0x100721c6
mov edi, dword [ebp - 0x2c]
add edi, 0xc
mov dword [ebp - 0x2c], edi
cmp edi, 0xb99ec0
jl 0x100721bd
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
cmp esi, eax
je 0x10072286
movzx eax, word [esi + 0xe]
push eax
mov eax, 0x4089a0
call eax
movzx eax, word [esi + 0xe]
imul eax, eax, 0x14
pop ecx
mov byte [eax + 0x8e4cd0], 0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1007226b
mov eax, dword [esi + 4]
jmp 0x10072261
cmp esi, dword [eax + 8]
jne 0x10072267
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10072257
mov esi, eax
jmp 0x10072281
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x10072281
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x10072275
cmp esi, dword [ebp - 0x3c]
jne 0x1007222e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100727c6
call fcn.100e356b
ret