Function at 0x1004e790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100dbc79
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebp
push esi
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x20], esi
call fcn.10094a40
mov dword [esp + 0xc], eax
mov byte [eax + 0x29], 1
mov eax, dword [esp + 0xc]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xc]
mov dword [eax], eax
mov eax, dword [esp + 0xc]
mov dword [eax + 8], eax
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0xa4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ebp, dword [esp + 0xb4]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebp
mov byte [esp + 0xb0], 3
call dword [sym.imp.OgreMain.dll_public:_static_void___cdecl_Ogre::StringUtil::splitFilename_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_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____]
mov eax, dword [esp + 0xbc]
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
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:_class_Ogre::SharedPtr_class_std::vector_struct_Ogre::FileInfo__class_std::allocator_struct_Ogre::FileInfo______thiscall_Ogre::ResourceGroupManager::findResourceFileInfo_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__]
mov eax, dword [esp + 0x18]
cmp eax, esi
mov byte [esp + 0xa4], 4
je 0x1004e920
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x1004e920
push ebx
push edi
mov bl, 5
lea ebx, [ebx]
mov eax, dword [esi]
add eax, 0x20
push str.FileSystem
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
test al, al
je 0x1004e90c
lea edi, [esi + 4]
push ebp
push edi
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___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__]
add esp, 8
test al, al
je 0x1004e90c
mov eax, dword [esi]
add eax, 4
push 0x100f037c
push eax
lea edx, [esp + 0x90]
push edx
call fcn.10001500
push edi
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xc4], bl
call fcn.10001400
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 6
call fcn.1004de30
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac], 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_]
lea ecx, [esp + 0x88]
mov byte [esp + 0xac], 4
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 + 0x20]
mov eax, dword [edx + 8]
add esi, 0x60
cmp esi, eax
jne 0x1004e870
pop edi
pop ebx
mov esi, dword [esp + 0xac]
lea eax, [esp + 8]
push eax
push esi
call fcn.1004e6d0
add esp, 8
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x20], 1
mov byte [esp + 0xa4], 3
mov dword [esp + 0x14], 0x100e935c
je 0x1004e96b
dec dword [eax]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
jne 0x1004e96b
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [edx + 4]
lea ecx, [esp + 0x48]
mov byte [esp + 0xa4], 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 + 0x2c]
mov byte [esp + 0xa4], 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_]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb0], 0
call fcn.1004e570
mov ecx, dword [esp + 0xc]
push ecx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0xa0]
add esp, 4
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xa0
ret