Function at 0x1000e740
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x100d735c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::Root____cdecl_Ogre::Root::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::RenderSystem____thiscall_Ogre::Root::getRenderSystem_void_]
push str.800_x_600___32_bit_colour
lea ecx, [esp + 0x58]
mov esi, eax
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 edi, eax
xor ebp, ebp
push str.Video_Mode
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], ebp
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 [esi]
push edi
push eax
mov ecx, esi
mov byte [esp + 0xd4], 1
call dword [edx + 0xc]
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 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_]
or edi, 0xffffffff
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], 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 ebx, dword [esp + 0xd4]
mov eax, dword [ebx]
dec eax
je 0x1000e7ed
dec eax
je 0x1000e7e5
mov dword [ebx], ebp
jmp 0x1000e934
mov dword [ebx], 4
jmp 0x1000e7f3
mov dword [ebx], 2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push str.Anti_aliasing
lea ecx, [esp + 0x1c]
mov esi, eax
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__]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esp + 0xd4], 2
call fcn.1002b3a0
lea ecx, [esp + 0x18]
mov dword [esp + 0xcc], 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 edi, dword [esp + 0x10]
mov dword [esp + 0x10], ebp
mov eax, dword [edi + 0x64]
test eax, eax
je 0x1000e85f
mov ecx, dword [edi + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x10], eax
jge 0x1000e92e
mov eax, dword [ebx]
push 0
push 0x20
push 0
push eax
lea ecx, [esp + 0x80]
push ecx
call 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_int__unsigned_short_int__char__int_]
add esp, 0x14
mov esi, eax
push str.Level
lea ecx, [esp + 0x90]
mov dword [esp + 0xd0], 3
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__]
push esi
push eax
lea edx, [esp + 0xb0]
push edx
mov byte [esp + 0xd8], 4
call fcn.10001400
mov ecx, dword [edi + 0x64]
add ecx, ebp
push eax
push ecx
mov byte [esp + 0xe0], 5
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, 0x14
lea ecx, [esp + 0xa8]
mov bl, al
mov byte [esp + 0xcc], 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_]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcc], 3
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 + 0x70]
mov dword [esp + 0xcc], 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_]
test bl, bl
jne 0x1000e934
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xd4]
inc ecx
mov dword [esp + 0x10], ecx
add ebp, 0x1c
jmp 0x1000e840
mov dword [ebx], 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [0x10121ed8]
mov edx, dword [ecx]
lea eax, [esp + 0x14]
push eax
push str.Gfx_SkeletonPreload
call dword [edx + 0x58]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x1000e98c
cmp dword [esp + 0x2c], 0x14000000
mov ecx, dword [0x10121ed8]
push 1
ja 0x1000e980
mov edx, dword [ecx]
push 0
push str.Gfx_SkeletonPreload
call dword [edx + 0x44]
jmp 0x1000e98c
mov eax, dword [ecx]
push 1
push str.Gfx_SkeletonPreload
call dword [eax + 0x44]
mov ecx, dword [0x10121ed8]
mov edx, dword [ecx]
lea eax, [esp + 4]
push eax
push str.Gfx_SceneQuickLoad
call dword [edx + 0x58]
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000e9ea
cmp dword [esp + 0x2c], 0x20000000
mov ecx, dword [0x10121ed8]
push 0
ja 0x1000e9de
mov edx, dword [ecx]
push 1
push str.Gfx_SceneQuickLoad
call dword [edx + 0x44]
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret 8
mov eax, dword [ecx]
push 0
push str.Gfx_SceneQuickLoad
call dword [eax + 0x44]
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
add esp, 0xc0
ret 8