Function at 0x100ae930
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100e3e89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
fld dword [esp + 0x12c]
push ebx
fsub dword [esp + 0x12c]
push ebp
push esi
push edi
mov edi, ecx
fst dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x58], ebp
fdiv dword [edi + 0x24]
mov dword [esp + 0x44], edi
call fcn.100d589c
mov esi, eax
mov eax, dword [sym.imp.OgreMain.dll_float_const_Ogre::Math::TWO_PI]
fld dword [eax]
inc esi
fdiv dword [edi + 0x28]
mov dword [esp + 0x34], esi
call fcn.100d589c
mov edi, eax
inc edi
lea ebx, [esi + 1]
lea ecx, [edi + 1]
imul ecx, ebx
shl ecx, 5
push ecx
mov dword [esp + 0x28], edi
call fcn.100d56e1
mov edx, dword [sym.imp.OgreMain.dll_float_const_Ogre::Math::TWO_PI]
fild dword [esp + 0x38]
add esp, 4
cmp ebx, ebp
mov dword [esp + 0x48], eax
fstp dword [esp + 0x50]
mov dword [esp + 0x20], ebp
fld dword [esp + 0x14]
mov dword [esp + 0x14], ebp
fdiv dword [esp + 0x50]
fstp dword [esp + 0x5c]
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [edx]
fdiv dword [esp + 0x24]
fstp dword [esp + 0x70]
jle 0x100aeb3d
lea ebx, [edi + 1]
lea ebx, [ebx]
fild dword [esp + 0x20]
lea eax, [esp + 0x60]
push 0
push eax
fst dword [esp + 0x24]
fmul dword [esp + 0x64]
fadd dword [esp + 0x140]
fst dword [esp + 0x18]
fstp dword [esp + 0x68]
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Cos_class_Ogre::Radian_const___bool_]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x54]
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x20], ecx
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Sin_class_Ogre::Radian_const___bool_]
fstp dword [esp + 0x50]
xor ebp, ebp
add esp, 0x10
test ebx, ebx
mov dword [esp + 0x10], ebp
jle 0x100aeb29
mov eax, dword [esp + 0x20]
fld dword [esp + 0x4c]
cdq
fchs
idiv esi
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov eax, dword [esp + 0x14]
shl eax, 5
fsubr qword [0x100f4760]
lea esi, [eax + ecx + 8]
mov eax, dword [esp + 0x14]
add eax, ebx
fmul qword [0x100f8e20]
fld dword [esp + 0x1c]
mov dword [esp + 0x14], eax
fdiv dword [esp + 0x50]
faddp st(1)
fstp dword [esp + 0x38]
fild dword [esp + 0x10]
lea edx, [esp + 0x54]
push 0
push edx
fst dword [esp + 0x18]
fmul dword [esp + 0x78]
fst dword [esp + 0x20]
fstp dword [esp + 0x5c]
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Cos_class_Ogre::Radian_const___bool_]
fmul dword [esp + 0x48]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push 0
push ecx
fstp dword [esp + 0x2c]
mov dword [esp + 0x28], eax
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Sin_class_Ogre::Radian_const___bool_]
fmul dword [esp + 0x50]
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov dword [esi - 8], edx
fsub dword [eax + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
fstp dword [esi - 4]
add esp, 0x10
mov dword [esi + 8], ecx
fst dword [esi]
mov dword [esi + 0x14], edx
fld dword [esp + 0x1c]
add esi, 0x20
fchs
inc ebp
cmp ebp, ebx
fstp dword [esi - 0x1c]
fchs
fstp dword [esi - 0x14]
fld dword [esp + 0x10]
mov dword [esp + 0x10], ebp
fdiv dword [esp + 0x24]
fstp dword [esi - 0x10]
jl 0x100aea92
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
inc eax
lea ecx, [esi + 1]
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x100ae9f0
mov eax, edi
imul eax, esi
lea eax, [eax + eax*2]
shl eax, 1
mov dword [esp + 0x38], eax
add eax, eax
push eax
call fcn.100d56e1
add esp, 4
xor ebx, ebx
test esi, esi
mov dword [esp + 0x3c], eax
jle 0x100aebad
xor esi, esi
test edi, edi
jle 0x100aeba1
lea edx, [edi + 1]
lea ecx, [ebx + 1]
imul ecx, edx
imul edx, ebx
inc edx
add eax, 6
mov word [eax - 4], cx
mov word [eax - 2], dx
lea ebp, [edx - 1]
mov word [eax - 6], bp
lea ebp, [ecx + 1]
add eax, 6
mov word [eax - 6], bp
mov word [eax - 4], dx
mov word [eax - 2], cx
inc esi
movzx ebp, si
inc edx
inc ecx
cmp ebp, edi
jl 0x100aeb73
mov edx, dword [esp + 0x34]
inc ebx
movzx ecx, bx
cmp ecx, edx
jl 0x100aeb60
mov edx, dword [0x10122fe0]
mov edi, dword [sym.imp.OgreMain.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Ogre::StringConverter::toString_int__unsigned_short_int__char__int_]
push 0
push 0x20
push 0
push edx
lea eax, [esp + 0xfc]
push eax
call edi
push eax
lea ecx, [esp + 0xcc]
push str.SkySphere_
push ecx
mov dword [esp + 0x14c], 1
call fcn.10001480
add esp, 0x20
mov esi, eax
mov ebx, dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::MeshManager____cdecl_Ogre::MeshManager::getSingleton_void_]
mov byte [esp + 0x12c], 2
call ebx
mov edx, dword [eax]
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call dword [edx + 0x44]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], 3
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MeshPtr::constructor_class_Ogre::SharedPtr_class_Ogre::Resource__const__]
mov eax, dword [esp + 0x6c]
test eax, eax
mov byte [esp + 0x12c], 7
mov dword [esp + 0x64], 0x100ec508
je 0x100aec4b
dec dword [eax]
mov edx, dword [esp + 0x6c]
cmp dword [edx], 0
jne 0x100aec4b
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x64]
call dword [eax + 4]
lea ecx, [esp + 0xb4]
mov byte [esp + 0x12c], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xec]
mov byte [esp + 0x12c], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
jne 0x100aed5e
push str.General
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [0x10122fe0]
push ebp
push 0x20
push ebp
push ecx
lea edx, [esp + 0x118]
push edx
mov byte [esp + 0x140], 8
call edi
push eax
lea eax, [esp + 0xe8]
push str.SkySphere_
push eax
mov byte [esp + 0x14c], 9
call fcn.10001480
add esp, 0x20
push ebp
lea ecx, [esp + 0x78]
push ecx
push eax
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x13c], 0xa
call ebx
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::MeshPtr___thiscall_Ogre::MeshManager::createManual_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_Ogre::ManualResourceLoader__]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], 0xb
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::MeshPtr____thiscall_Ogre::MeshPtr::operator_class_Ogre::MeshPtr_const__]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x12c], 0xa
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::MeshPtr::destructor_void_]
lea ecx, [esp + 0xd0]
mov byte [esp + 0x12c], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x108]
mov byte [esp + 0x12c], 8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x74]
mov byte [esp + 0x12c], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x2c]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::SubMesh____thiscall_Ogre::Mesh::createSubMesh_void_]
mov ebp, eax
push 0x30
call fcn.100d56bc
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
mov byte [esp + 0x12c], 0xc
je 0x100aed82
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::VertexData::constructor_void_]
jmp 0x100aed84
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x148], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x148]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x148]
mov esi, dword [eax]
mov edx, dword [esi]
push 0
push 1
push 2
push 0
push 0
mov ecx, esi
mov byte [esp + 0x140], 5
call dword [edx + 4]
mov ebx, dword [sym.imp.OgreMain.dll_public:_static_unsigned_int___cdecl_Ogre::VertexElement::getTypeSize_enum_Ogre::VertexElementType_]
push 2
call ebx
add esp, 4
push 0
push 4
mov edi, eax
mov eax, dword [esi]
push 2
push edi
push 0
mov ecx, esi
call dword [eax + 4]
push 2
call ebx
mov edx, dword [esi]
add esp, 4
push 0
push 7
push 1
add edi, eax
push edi
push 0
mov ecx, esi
call dword [edx + 4]
push 1
call ebx
mov esi, dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::HardwareBufferManager____cdecl_Ogre::HardwareBufferManager::getSingleton_void_]
add esp, 4
add edi, eax
call esi
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x148]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax]
push 0
push 5
push ecx
push edi
lea ecx, [esp + 0xa0]
push ecx
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push 1
push ebx
push eax
push 0
mov byte [esp + 0x13c], 0xd
call dword [edx + 0x18]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x148]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx]
lea eax, [esp + 0x90]
push eax
push 0
call dword [edx + 4]
call esi
mov esi, dword [esp + 0x38]
mov edx, dword [eax]
push 0
push 5
push esi
push 0
lea ecx, [esp + 0xac]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
push 1
push edi
push eax
push 0
mov byte [esp + 0x13c], 0xe
call dword [edx + 0x18]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x9c]
push eax
mov byte [ebp], 1
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::HardwareIndexBufferSharedPtr____thiscall_Ogre::HardwareIndexBufferSharedPtr::operator_class_Ogre::HardwareIndexBufferSharedPtr_const__]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], esi
mov edx, dword [ebp + 0xc]
push 1
lea eax, [esp + 0x78]
mov dword [edx + 0xc], 0
mov ecx, dword [esp + 0x30]
push eax
mov dword [esp + 0x7c], 0xbf800000
mov dword [esp + 0x80], 0xbf800000
mov dword [esp + 0x84], 0xbf800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], 0x3f800000
mov byte [esp + 0x94], 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Mesh::_setBounds_class_Ogre::AxisAlignedBox_const___bool_]
mov esi, dword [esp + 0x2c]
push 0x40400000
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Sqrt_float_]
fstp dword [esp]
mov ecx, esi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Mesh::_setBoundingSphereRadius_float_]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x20]
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
mov esi, dword [esp + 0x13c]
add esp, 8
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MeshPtr::constructor_class_Ogre::MeshPtr_const__]
lea ecx, [esp + 0x9c]
mov dword [esp + 0x58], 1
mov byte [esp + 0x12c], 0xd
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareIndexBufferSharedPtr::destructor_void_]
lea ecx, [esp + 0x90]
mov byte [esp + 0x12c], 5
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwareVertexBufferSharedPtr::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x12c], 0
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::MeshPtr::destructor_void_]
mov ecx, dword [esp + 0x124]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret 0xc