Function at 0x10095070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e1d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0xec]
push eax
mov dword [esp + 0x28], esi
call fcn.100b3220
lea ecx, [esp + 0x38]
mov byte [esi + 0xf8], 1
call fcn.10094a40
mov dword [esp + 0x3c], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x40], ebx
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x138], ebx
call fcn.100b36f0
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
cmp eax, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], eax
je 0x1009512e
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
mov edx, dword [eax + 0x10]
lea edx, [esp + edx*4 + 0x30]
jne 0x10095113
xor eax, eax
jmp 0x1009511b
mov eax, dword [eax + 0x20]
sub eax, ecx
sar eax, 2
add dword [edx], eax
lea ecx, [esp + 0x2c]
call fcn.10094940
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x10095101
mov esi, dword [esi + 0xb8]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0xb0], ebx
je 0x1009514c
cmp dword [esi + 0x84], ebx
mov byte [esp + 0x13], 1
jne 0x10095151
mov byte [esp + 0x13], 0
mov edx, dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::VertexData::destructor_void_]
mov eax, dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::VertexData::constructor_void_]
push edx
push eax
push 2
push 0x30
lea ecx, [esp + 0xd8]
push ecx
call fcn.100d5b0c
mov edx, dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
mov eax, dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::constructor_void_]
push edx
push eax
push 2
push 0xc
lea ecx, [esp + 0xa0]
push ecx
mov byte [esp + 0x148], 1
call fcn.100d5b0c
mov byte [esp + 0x134], 2
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
xor edi, edi
jmp 0x100951b0
mov ecx, dword [esp + edi*4 + 0x30]
cmp ecx, ebx
je 0x100952de
push ebx
push 1
lea eax, [edi + edi*2]
shl eax, 4
mov esi, dword [esp + eax + 0xd0]
mov edx, dword [esp + eax + 0xd4]
mov dword [esp + eax + 0xd8], ebx
push 2
lea eax, [esp + eax + 0xe0]
shl ecx, 2
mov dword [eax], ecx
push ebx
mov dword [esp + 0x38], edx
mov edx, dword [esi]
push ebx
mov ecx, esi
mov dword [esp + 0x28], eax
call dword [edx + 4]
mov eax, dword [esi]
push ebx
push 4
push 2
push 0xc
push ebx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [esi]
push ebx
push 7
push 1
push 0x18
push ebx
mov ecx, esi
call dword [edx + 4]
mov eax, 1
cmp edi, eax
mov ecx, 0x20
jne 0x1009523e
mov eax, dword [esi]
push 1
push 7
push 1
push ecx
push ebx
mov ecx, esi
call dword [eax + 4]
mov eax, 2
mov ecx, 0x28
mov dl, byte [esp + 0x13]
test dl, dl
je 0x10095254
mov edx, dword [esi]
push eax
push 7
push 1
push ecx
push ebx
mov ecx, esi
call dword [edx + 4]
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::HardwareBufferManager____cdecl_Ogre::HardwareBufferManager::getSingleton_void_]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0
push 5
mov ebx, eax
mov eax, dword [ebx]
push edx
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x24], eax
call dword [edx + 0x24]
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
mov ecx, ebx
call dword [eax + 0x1c]
lea esi, [edi + edi*2]
shl esi, 2
lea ebx, [esp + esi + 0x90]
push eax
mov ecx, ebx
mov byte [esp + 0x138], 3
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::HardwareVertexBufferSharedPtr____thiscall_Ogre::HardwareVertexBufferSharedPtr::operator_class_Ogre::HardwareVertexBufferSharedPtr_const__]
lea ecx, [esp + 0x84]
mov byte [esp + 0x134], 2
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push ebx
push 0
call dword [edx + 4]
mov esi, dword [esp + esi + 0x94]
push 1
mov ecx, esi
call dword [sym.imp.OgreMain.dll_public:_void____thiscall_Ogre::HardwareBuffer::lock_enum_Ogre::HardwareBuffer::LockOptions_]
mov dword [esp + edi*4 + 0x5c], eax
xor ebx, ebx
inc edi
cmp edi, 2
jb 0x100951b0
fild dword [ebp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
fdivr qword [0x100ee6f0]
mov ebx, dword [eax]
cmp ebx, eax
mov dword [esp + 0x18], ebx
fstp dword [esp + 0x64]
fild dword [ebp + 0x18]
fdivr qword [0x100ee6f0]
fstp dword [esp + 0x78]
je 0x100956c6
mov edi, dword [ebp + 8]
push 0x38
call fcn.100d56bc
mov esi, eax
add esp, 4
mov dword [esp + 0x48], esi
test esi, esi
mov byte [esp + 0x134], 4
je 0x10095352
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.100b2cf0
mov dword [esi], 0x100f6df0
jmp 0x10095354
xor esi, esi
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xf0]
add ecx, 0xec
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 4]
push edx
push eax
mov byte [esp + 0x140], 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x34], eax
call fcn.10013c10
mov ecx, dword [esp + 0x24]
push 1
add ecx, 0xec
mov dword [esp + 0x18], eax
call fcn.100949a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x1c], edx
jne 0x100953bc
mov dword [esp + 0x20], eax
jmp 0x100953c8
mov ecx, dword [ebx + 0x20]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x20]
mov edx, dword [ebx + 0x14]
lea ecx, [eax*4]
mov dword [esp + 0x14], ecx
push edx
lea ecx, [esi + 0x18]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::MaterialPtr____thiscall_Ogre::MaterialPtr::operator_class_Ogre::MaterialPtr_const__]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax*2]
shl ecx, 4
push 0
lea ecx, [esp + ecx + 0xcc]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::VertexData____thiscall_Ogre::VertexData::clone_bool_const]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ecx, [esp + ecx*4 + 0x7c]
mov dword [esp + 0x48], ecx
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x28], 4
mov byte [esi + 0x2c], 1
mov ecx, dword [eax + 0xb8]
push edx
call fcn.10053cf0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x20]
mov esi, dword [esp + ecx*4 + 0x5c]
lea ecx, [esp + ecx*4 + 0x5c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x2c], eax
je 0x10095651
jmp 0x10095460
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov ecx, dword [edi + 0x84]
mov ebx, dword [edi]
lea edx, [eax + eax*2]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 8]
and ecx, 1
shl ecx, 4
add ecx, 0x100efd68
xor edx, edx
div ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x58], edx
mov dword [esp + 0x28], eax
jmp 0x100954a1
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ebx, dword [ecx + eax*4]
mov edx, dword [esp + 0x28]
mov ecx, ebx
sar ecx, 1
mov dword [esp + 0x4c], ecx
add ecx, edx
mov edx, dword [esp + 0x58]
mov eax, ebx
and eax, 1
mov dword [esp + 0x44], eax
add eax, edx
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [edi]
inc eax
imul eax, ecx
add eax, edx
mov edx, dword [edi + 0x74]
mov dword [esp + 0x50], ecx
push ecx
fld dword [edx + eax*4]
mov eax, dword [esp + 0x78]
fstp dword [esp + 0x70]
add esi, 4
fild dword [esp + 0x54]
push eax
lea ecx, [esp + 0xc4]
add esi, 4
fmul dword [edi + 0x14]
push ecx
mov ecx, edi
add esi, 4
fadd dword [edi + 0x20]
fld dword [esp + 0x78]
fmul dword [edi + 0x10]
fadd dword [edi + 0x1c]
fild dword [esp + 0x60]
fmul dword [edi + 0xc]
fadd dword [edi + 0x18]
fstp dword [esi - 0xc]
fstp dword [esi - 8]
fstp dword [esi - 4]
call fcn.10047770
fld dword [eax]
mov edx, dword [eax + 8]
fld dword [eax + 4]
add esi, 4
fxch st(1)
mov eax, edx
fstp dword [esi - 4]
add esi, 4
mov dword [esp + 0xb0], edx
fstp dword [esi - 4]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
push ecx
push ebx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0xb8]
lea edx, [esp + 0xc0]
push edx
add esi, 4
call fcn.10052970
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add esi, 4
mov dword [esp + 0x30], ecx
mov ecx, edx
mov dword [esi], ecx
add eax, 4
add esi, 4
cmp word [eax], 0
mov dword [esp + 0x34], edx
je 0x100955d5
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 8]
push ecx
push ebx
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0xb8]
lea edx, [esp + 0x90]
push edx
call fcn.10052970
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, ecx
mov dword [esi], eax
mov dword [esp + 0x30], ecx
add esi, 4
mov ecx, edx
mov dword [esi], ecx
mov dword [esp + 0x34], edx
add esi, 4
mov al, byte [esp + 0x13]
test al, al
je 0x1009561f
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x58]
sub eax, edx
mov edx, dword [ebp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
sub eax, edx
add eax, ecx
fmul dword [esp + 0x64]
mov dword [esp + 0x4c], eax
add esi, 4
add esi, 4
fstp dword [esi - 8]
fild dword [esp + 0x4c]
fmul dword [esp + 0x78]
fstp dword [esi - 4]
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 4
mov dword [esp + 0x20], eax
jb 0x1009549d
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x20]
add eax, 4
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x1009545c
mov ecx, dword [esp + 0x70]
mov ebx, edx
mov edx, dword [esp + 0x14]
mov dword [ecx], esi
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
add edx, eax
mov al, byte [ebx + 0x29]
test al, al
mov dword [ecx], edx
jne 0x100956bc
mov ecx, dword [ebx + 8]
mov al, byte [ecx + 0x29]
test al, al
jne 0x10095691
mov eax, dword [ecx]
mov dl, byte [eax + 0x29]
test dl, dl
jne 0x1009568b
jmp 0x10095680
mov ecx, eax
mov eax, dword [ecx]
mov dl, byte [eax + 0x29]
test dl, dl
je 0x10095680
mov dword [esp + 0x18], ecx
jmp 0x100956b8
mov eax, dword [ebx + 4]
mov cl, byte [eax + 0x29]
test cl, cl
jne 0x100956b4
jmp 0x100956a1
mov ebx, dword [esp + 0x18]
cmp ebx, dword [eax + 8]
jne 0x100956b4
mov dword [esp + 0x18], eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x29]
test cl, cl
je 0x1009569d
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x3c]
jne 0x10095322
lea esi, [esp + 0x94]
mov edi, 2
mov ecx, dword [esi]
test ecx, ecx
je 0x100956dd
mov eax, dword [ecx]
call dword [eax + 0x10]
add esi, 0xc
dec edi
jne 0x100956d2
mov edx, dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
mov ecx, dword [esp + 0x24]
push edx
push 2
push 0xc
lea eax, [esp + 0x9c]
push eax
mov byte [ecx + 0xf8], 0
mov byte [esp + 0x144], 1
call fcn.100d5bcc
mov ecx, dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::VertexData::destructor_void_]
push ecx
push 2
push 0x30
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x144], 0
call fcn.100d5bcc
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x140], 0xffffffff
call fcn.10094f80
mov ecx, dword [esp + 0x3c]
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x130]
add esp, 4
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14