Function at 0x10015200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d7af6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
push edi
mov esi, ecx
push str.GuidLegend_RenderTexture
lea ecx, [esp + 0x3c]
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 dword [esp + 0x5c], 0
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::TextureManager____cdecl_Ogre::TextureManager::getSingleton_void_]
mov ecx, dword [sym.imp.OgreMain.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME]
push 0
mov edx, dword [eax]
push 0x200
push 0x1c
push 0
push 1
push 0x100
push 0x100
mov ebx, 2
push ebx
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [edx + 0x84]
lea ecx, [esp + 0x38]
mov byte [esp + 0x5c], bl
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 + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x20]
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 4]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::TexturePtr____thiscall_Ogre::TexturePtr::operator_class_Ogre::TexturePtr_const__]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [edx + 0xc0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push 0
mov byte [esp + 0x60], 3
call dword [edx + 0x3c]
mov edx, dword [eax]
push 0x10121f64
mov ecx, eax
call dword [edx + 0x5c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwarePixelBufferSharedPtr::destructor_void_]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push 0
push 0
lea edx, [esp + 0x24]
push edx
call dword [eax + 0xc0]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push 0
mov byte [esp + 0x60], 4
call dword [eax + 0x3c]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x78]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwarePixelBufferSharedPtr::destructor_void_]
lea eax, [esp + 0x10]
push eax
mov ecx, 0x10121f6c
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::TexturePtr____thiscall_Ogre::TexturePtr::operator_class_Ogre::TexturePtr_const__]
mov ecx, dword [0x10121ef4]
mov eax, dword [ecx + 0x30]
mov edi, dword [eax + 0x24]
push 0x100ed268
lea ecx, [esp + 0x20]
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 edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x60], 5
call dword [edx + 0x6c]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x10], eax
mov byte [esp + 0x5c], bl
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 [esi + 0x10]
mov edx, dword [ecx]
push 0x3f800000
call dword [edx + 0x12c]
mov ecx, dword [esi + 0x10]
push 0x447a0000
push 0
push 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Camera::setPosition_float__float__float_]
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Camera::lookAt_float__float__float_]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push 0
call dword [eax + 0x180]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
push 0x42c80000
call dword [edx + 0x11c]
mov eax, dword [sym.imp.OgreMain.dll_float_const_Ogre::Math::fDeg2Rad]
fld dword [eax]
mov ecx, dword [esi + 0x10]
fmul dword [0x100ed264]
lea eax, [esp + 0xc]
push eax
fstp dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x114]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 0
push 0
lea eax, [esp + 0x24]
push eax
call dword [edx + 0xc0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push 0
mov byte [esp + 0x60], 6
call dword [edx + 0x3c]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
push 0x3f800000
push 0x3f800000
push 0
push 0
push 1
push ecx
mov ecx, eax
call dword [edx + 0x1c]
lea ecx, [esp + 0x1c]
mov dword [esi + 0x14], eax
mov byte [esp + 0x5c], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwarePixelBufferSharedPtr::destructor_void_]
mov ecx, dword [esi + 0x14]
push 3
push 1
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Viewport::setClearEveryFrame_bool__unsigned_int_]
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Viewport::setBackgroundColour_class_Ogre::ColourValue_const__]
mov ecx, dword [esi + 0x14]
push 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Viewport::setOverlaysEnabled_bool_]
mov ecx, dword [esi + 0x14]
push 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Viewport::setSkiesEnabled_bool_]
mov ecx, dword [esi + 0x14]
push 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Viewport::setShadowsEnabled_bool_]
push 0
push 6
mov ecx, esi
call fcn.10015080
mov eax, dword [0x10121ef4]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x1c]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::RenderSystem____thiscall_Ogre::Root::getRenderSystem_void_]
mov edx, dword [eax]
push 0x10121f60
mov ecx, eax
call dword [edx + 0x184]
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::TexturePtr::destructor_void_]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret