Function at 0x10021470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x100d897e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esi], 0x100ee568
mov eax, dword [esi + 0x98]
push eax
mov dword [esp + 0x60], 0xa
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
push esi
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::ResourceGroupManager____cdecl_Ogre::ResourceGroupManager::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::ResourceGroupManager::_unregisterScriptLoader_class_Ogre::ScriptLoader__]
mov eax, dword [esi + 0x54]
mov edi, dword [eax]
xor ebx, ebx
cmp edi, eax
je 0x100214e7
lea esp, [esp]
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x100214e0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 8], ebx
mov edi, dword [edi]
cmp edi, dword [esi + 0x54]
jne 0x100214d0
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x54]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x54]
mov dword [esi + 0x58], ebx
je 0x10021514
lea esp, [esp]
mov edi, dword [eax]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esi + 0x54]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x10021500
mov ecx, esi
call fcn.10020e10
mov ecx, esi
call fcn.1001fd30
mov eax, dword [esi + 8]
mov edi, dword [eax]
cmp edi, eax
je 0x10021586
jmp 0x10021530
mov ecx, dword [edi + 0x28]
cmp ecx, ebx
je 0x10021540
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [edi + 0x28], ebx
cmp byte [edi + 0x2d], bl
jne 0x10021581
mov eax, dword [edi + 8]
cmp byte [eax + 0x2d], bl
jne 0x10021561
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0x2d], bl
jne 0x10021581
mov edi, eax
mov eax, dword [edi]
cmp byte [eax + 0x2d], bl
je 0x10021556
jmp 0x10021581
mov eax, dword [edi + 4]
cmp byte [eax + 0x2d], bl
jne 0x1002157f
lea esp, [esp]
cmp edi, dword [eax + 8]
jne 0x1002157f
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x2d], bl
je 0x10021570
mov edi, eax
cmp edi, dword [esi + 8]
jne 0x10021530
mov eax, dword [esi + 8]
mov edi, dword [eax + 4]
cmp byte [edi + 0x2d], bl
lea ebp, [esi + 4]
mov dword [esp + 0x14], edi
jne 0x100215ca
mov ecx, dword [edi + 8]
push ecx
mov ecx, ebp
call fcn.1001e2f0
mov ecx, dword [esp + 0x14]
mov edi, dword [edi]
add ecx, 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 edx, dword [esp + 0x14]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov al, byte [edi + 0x2d]
add esp, 4
cmp al, bl
mov dword [esp + 0x14], edi
je 0x10021598
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.1001fda0
cmp dword [esi + 0x70], ebx
je 0x100215ff
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::ControllerManager____cdecl_Ogre::ControllerManager::getSingleton_void_]
mov ecx, dword [esi + 0x70]
push ecx
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::ControllerManager::destroyController_class_Ogre::Controller_float___]
mov dword [esi + 0x70], ebx
mov edx, dword [0x10121fe8]
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_unsigned_int__unsigned_short_int__char__int_]
push ebx
push 0x20
push ebx
push edx
lea eax, [esp + 0x48]
push eax
call edi
push eax
lea ecx, [esp + 0x34]
push str.getFromFreeMap_failed_nomap_:
push ecx
mov byte [esp + 0x7c], 0xb
call fcn.10001480
add esp, 0x20
push ebx
push 2
push eax
mov byte [esp + 0x68], 0xc
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 + 0x1c]
mov byte [esp + 0x5c], 0xb
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 + 0x38]
mov byte [esp + 0x5c], 0xa
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 edx, dword [0x10121fe0]
push ebx
push 0x20
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
call edi
push eax
lea ecx, [esp + 0x50]
push str.getFromFreeMap_succeed_:
push ecx
mov byte [esp + 0x7c], 0xd
call fcn.10001480
add esp, 0x20
push ebx
push 2
push eax
mov byte [esp + 0x68], 0xe
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 + 0x38]
mov byte [esp + 0x5c], 0xd
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 + 0x1c]
mov byte [esp + 0x5c], 0xa
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 edx, dword [0x10121fe4]
push ebx
push 0x20
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
call edi
push eax
lea ecx, [esp + 0x50]
push str.getFromFreeMap_failed_nolist_:
push ecx
mov byte [esp + 0x7c], 0xf
call fcn.10001480
add esp, 0x20
push ebx
mov byte [esp + 0x60], 0x10
push 2
push eax
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 + 0x38]
mov byte [esp + 0x5c], 0xf
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 + 0x1c]
mov byte [esp + 0x5c], 0xa
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 edx, dword [0x10121fec]
push ebx
push 0x20
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
call edi
push eax
lea ecx, [esp + 0x50]
push str.larger_than_mMaxNumFreeEffectPerList_:
push ecx
mov byte [esp + 0x7c], 0x11
call fcn.10001480
add esp, 0x20
push ebx
push 2
push eax
mov byte [esp + 0x68], 0x12
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 + 0x38]
mov byte [esp + 0x5c], 0x11
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 + 0x1c]
mov byte [esp + 0x5c], 0xa
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 edx, dword [0x10121ff0]
push ebx
push 0x20
push ebx
push edx
lea eax, [esp + 0x2c]
push eax
call edi
push eax
lea ecx, [esp + 0x50]
push str.new_freemap_:
push ecx
mov byte [esp + 0x7c], 0x13
call fcn.10001480
add esp, 0x20
push ebx
push 2
push eax
mov byte [esp + 0x68], 0x14
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 + 0x38]
mov byte [esp + 0x5c], 0x13
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 + 0x1c]
mov byte [esp + 0x5c], 0xa
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, [esi + 0x7c]
mov byte [esp + 0x5c], 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_]
mov eax, dword [esi + 0x60]
cmp eax, ebx
mov byte [esp + 0x5c], 8
je 0x10021826
mov ecx, dword [esi + 0x64]
mov edi, eax
cmp edi, ecx
mov dword [esp + 0x14], ecx
je 0x1002181a
mov ecx, edi
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 + 0x14]
add edi, 0x1c
cmp edi, eax
jne 0x10021807
mov eax, dword [esi + 0x60]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x54]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x54]
mov dword [esi + 0x58], ebx
je 0x10021858
mov edi, dword [eax]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esi + 0x54]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x10021844
mov eax, dword [esi + 0x54]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [esi + 0x54], ebx
mov edi, dword [esi + 0x44]
add esp, 4
cmp edi, ebx
mov byte [esp + 0x5c], 6
je 0x1002189f
mov eax, dword [esi + 0x48]
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x10021893
mov edi, edi
mov ecx, edi
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 + 0x14]
add edi, 0x1c
cmp edi, eax
jne 0x10021880
mov eax, dword [esi + 0x44]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
lea edi, [esi + 0x34]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x68], 5
call fcn.1000ba00
mov eax, dword [edi + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x28]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x68], 4
call fcn.1001ee40
mov eax, dword [edi + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
mov byte [esp + 0x68], 3
call fcn.10020040
mov eax, dword [edi + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x10]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
mov byte [esp + 0x68], 2
call fcn.1001ed80
mov eax, dword [edi + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [ebp + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x68], 1
call fcn.1001ecc0
mov eax, dword [ebp + 4]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp + 4], ebx
mov ecx, esi
mov dword [ebp + 8], ebx
mov byte [esp + 0x5c], bl
call dword [sym.imp.OgreMain.dll_public_virtual:_void___thiscall_Ogre::ScriptLoader::destructor_void_]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword [0x10121ff4], ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret