Function at 0x10015960
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7bb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
mov esi, ecx
push str.MapLight_RenderTexture
lea ecx, [ebp - 0x60]
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 [ebp - 4], 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 0x80
push 0x80
mov ebx, 2
push ebx
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x84]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 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 [ebp - 0x18]
mov edx, dword [ecx]
call dword [edx + 0x20]
lea eax, [ebp - 0x1c]
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 [ebp - 0x18]
mov edx, dword [ecx]
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [edx + 0xc0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push 0
mov byte [ebp - 4], 3
call dword [edx + 0x3c]
mov edx, dword [eax]
push 0x10121fa4
mov ecx, eax
call dword [edx + 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwarePixelBufferSharedPtr::destructor_void_]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push 0
push 0
lea edx, [ebp - 0x28]
push edx
call dword [eax + 0xc0]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
push 0
mov byte [ebp - 4], 4
call dword [eax + 0x3c]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x78]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::HardwarePixelBufferSharedPtr::destructor_void_]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x10121fac
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 str.MapLight_Camera
lea ecx, [ebp - 0x38]
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, [ebp - 0x38]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call dword [edx + 0x6c]
lea ecx, [ebp - 0x38]
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 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 0
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 0x42c80000
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 0x42c80000
call dword [eax + 0x124]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [edx + 0xc0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push 0
mov byte [ebp - 4], 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, [ebp - 0x28]
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 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, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 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_]
push 0
mov ecx, dword [esi + 0x14]
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 0x16c
call fcn.100d56bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
test edi, edi
mov byte [ebp - 4], 7
je 0x10015bca
push 1
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Rectangle2D::constructor_bool_]
mov dword [edi], 0x100ecfa8
mov dword [edi + 4], 0x100ecf98
mov dword [edi + 0xb8], 0x100ecf50
mov ecx, edi
jmp 0x10015bcc
xor ecx, ecx
push 0xbf800000
push 0x3f800000
push 0x3f800000
push 0xbf800000
mov byte [ebp - 4], bl
mov dword [esi + 0x18], ecx
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Rectangle2D::setCorners_float__float__float__float_]
push str.TLBB_MapSearchLight
lea ecx, [ebp - 0x38]
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 [esi + 0x18]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::SimpleRenderable::setMaterial_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 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 + 0x18]
mov edx, dword [ecx]
push 0x64
call dword [edx + 0x98]
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
push 4
call dword [eax + 0xb4]
mov ecx, dword [0x10121ef4]
mov eax, dword [ecx + 0x30]
mov ecx, dword [eax + 0x28]
mov eax, dword [esi + 0x18]
mov edx, dword [ecx]
push eax
call dword [edx + 0x13c]
push str.TLBB_MapSearchLight
lea ecx, [ebp - 0x7c]
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 byte [ebp - 4], 9
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::MaterialManager____cdecl_Ogre::MaterialManager::getSingleton_void_]
mov edx, dword [eax]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call dword [edx + 0x44]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xa
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::MaterialPtr::constructor_class_Ogre::SharedPtr_class_Ogre::Resource__const__]
mov eax, dword [ebp - 0x20]
test eax, eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x28], 0x100ec508
je 0x10015ca3
dec dword [eax]
mov edx, dword [ebp - 0x20]
cmp dword [edx], 0
jne 0x10015ca3
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call dword [eax + 4]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xc
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 [ebp - 0x40]
test eax, eax
mov dword [esi + 0x1c], eax
jne 0x10015cd2
push str.m_pMaterial
push 0xac
push str..UIMapLight.cpp
call dword [sym.imp.tEngine.dll_void___cdecl_tThrowAssertException_char_const___int__char_const__]
add esp, 0xc
mov ecx, dword [0x10121ef4]
mov eax, dword [ecx + 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 0x10121fa0
mov ecx, eax
call dword [edx + 0x184]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::MaterialPtr::destructor_void_]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::TexturePtr::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret