Function at 0x10031f00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d97bd
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
push edi
mov edi, dword [esp + 0x140]
mov esi, ecx
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x30]
call fcn.1002b3a0
mov ecx, dword [esi + 0x34]
mov eax, dword [esp + 8]
cmp eax, ecx
jne 0x1003201c
push edi
lea ecx, [esp + 0x14]
push str.Logic_Model_Locator_with_name_
push ecx
call fcn.10001480
push str._doesnt_exists_
push eax
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x150], 0
call fcn.10001500
push str.LogicModel::addSlot
push eax
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x15c], 1
call fcn.10001500
add esi, 0x144
push esi
push eax
lea ecx, [esp + 0x104]
push ecx
mov byte [esp + 0x168], 2
call fcn.10001400
add esp, 0x30
push 0
push 2
push eax
mov byte [esp + 0x144], 3
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::LogManager____cdecl_Ogre::LogManager::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::LogManager::logMessage_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_Ogre::LogMessageLevel__bool_]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x138], 2
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 + 0xa0]
mov byte [esp + 0x138], 1
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 + 0x68]
mov byte [esp + 0x138], 0
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 + 0x10]
mov dword [esp + 0x138], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x1003217b
mov edx, dword [esp + 0x148]
push ebp
push edx
lea ecx, [esp + 0x18]
lea ebp, [eax + 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x148]
lea eax, [esp + 0x14]
push eax
push edi
lea ecx, [esp + 0x100]
mov dword [esp + 0x144], 4
call fcn.10027d00
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov byte [esp + 0x144], 5
call fcn.1002fd70
lea ecx, [esp + 0xf8]
mov byte [esp + 0x13c], 4
call fcn.10024ea0
or ebp, 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c], ebp
call fcn.10024830
mov al, byte [esp + 0x10]
test al, al
jne 0x10032178
push edi
lea edx, [esp + 0xc4]
push str.Logic_Model_Slot_with_name_
push edx
call fcn.10001480
push str._inserted_failed_
push eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0x154], 6
call fcn.10001500
push str.LogicModel::addSlot
push eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0x160], 7
call fcn.10001500
add esi, 0x144
push esi
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x16c], 8
call fcn.10001400
add esp, 0x30
push 0
push 2
push eax
mov byte [esp + 0x148], 9
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::LogManager____cdecl_Ogre::LogManager::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::LogManager::logMessage_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___enum_Ogre::LogMessageLevel__bool_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x13c], 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 + 0x50]
mov byte [esp + 0x13c], 7
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 + 0x88]
mov byte [esp + 0x13c], 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 + 0xc0]
mov dword [esp + 0x13c], ebp
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x1003217a
mov al, 1
pop ebp
mov ecx, dword [esp + 0x130]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret 0x10