Function at 0x1006f640
Capabilities:
Terminate process

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 0x101deb9e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x10284f40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x34], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov edx, dword [eax + 4]
sub edx, dword [eax]
sar edx, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], edx
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x24], 0
test edx, edx
je 0x1006f763
cmp edx, 0x3fffffff
ja 0x1006f894
lea edi, [edx*4]
cmp edi, 0x1000
jb 0x1006f727
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1006f899
push eax
call fcn.100e430a
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1006f89e
mov edx, dword [ebp - 0x20]
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1006f73b
test edi, edi
je 0x1006f739
push edi
call fcn.100e430a
mov edx, dword [ebp - 0x20]
add esp, 4
jmp 0x1006f73b
xor eax, eax
mov dword [esi], eax
mov ecx, edx
mov dword [esi + 4], eax
add eax, edi
mov dword [esi + 8], eax
or eax, 0xffffffff
mov edi, dword [esi]
mov dword [ebp - 0x18], edi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
lea eax, [eax + edx*4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0
xor esi, esi
mov ecx, dword [ecx + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], 1
mov ecx, dword [ecx]
cmp ecx, dword [ebp - 0x24]
je 0x1006f7d1
mov edx, edi
mov dword [ebp - 0x18], esi
nop word [eax + eax]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
mov eax, dword [eax + 0x1cc]
add eax, dword [ebp - 0x18]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
cmp dword [ebp - 0x48], 0
jl 0x1006f7bd
mov eax, esi
inc esi
mov dword [ecx], eax
add edi, 0x10
mov eax, dword [ebp - 0x20]
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
add dword [ebp - 0x18], 0x10
add ecx, 4
add edx, 0x10
cmp ecx, dword [ebp - 0x24]
jne 0x1006f790
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov ecx, edx
sub ecx, edi
mov dword [ebp - 0x48], 0xffffffff
sar ecx, 4
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
cmp esi, ecx
jae 0x1006f805
shl esi, 4
add esi, edi
mov dword [eax + 4], esi
jmp 0x1006f850
jbe 0x1006f850
mov eax, dword [eax + 8]
sub eax, edi
sar eax, 4
cmp esi, eax
jbe 0x1006f822
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x48]
push eax
push esi
call fcn.10086530
jmp 0x1006f850
sub esi, ecx
mov dword [ebp - 0x28], esi
je 0x1006f84a
movups xmm0, xmmword [ebp - 0x48]
mov ecx, esi
lea edi, [edx + 0x10]
shl ecx, 4
mov esi, edx
sub ecx, 0xd
shr ecx, 2
movups xmmword [edx], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add edx, ecx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
cmp eax, dword [ecx + 0x28]
jne 0x1006f87e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e40d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
mov edx, str.TODO:_Bug_in_MeshBase::remove__n
mov ecx, 0x10291ba8
call fcn.10069160
push 1
call fcn.100efac4
call fcn.100664f0
call fcn.10047aa0
call fcn.100f421d
int3