Function at 0x1003e8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100da995
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push esi
mov esi, dword [esp + 0x270]
push edi
mov edi, ecx
push esi
lea eax, [esp + 0x14]
lea ecx, [edi + 0x60]
push eax
call fcn.1002b400
mov ecx, dword [edi + 0x64]
mov eax, dword [esp + 0x10]
cmp eax, ecx
jne 0x1003ea09
push esi
lea ecx, [esp + 0x84]
push str.Logic_Model_Texture_with_name_
push ecx
call fcn.10001480
push str._dosent_exists_
push eax
lea edx, [esp + 0x178]
push edx
mov dword [esp + 0x284], 0
call fcn.10001500
push str.LogicModel::changeTexture
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x290], 1
call fcn.10001500
add edi, 0x144
push edi
push eax
lea ecx, [esp + 0xe4]
mov ebx, 2
push ecx
mov byte [esp + 0x29c], bl
call fcn.10001400
add esp, 0x30
push 0
push ebx
push eax
mov byte [esp + 0x278], 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 + 0xb8]
mov byte [esp + 0x26c], 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 + 0x9c]
mov byte [esp + 0x26c], 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 + 0x164]
mov byte [esp + 0x26c], 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 + 0x80]
mov dword [esp + 0x26c], 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_]
jmp 0x1003ef43
add eax, 0x44
lea ecx, [esp + 0xd4]
mov dword [esp + 0x24], eax
call fcn.100265f0
push 0x100ef22c
lea ecx, [esp + 0xbc]
mov dword [esp + 0x270], 4
mov byte [esp + 0x13], 1
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 eax, dword [esp + 0x278]
push 0
lea edx, [esp + 0xbc]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x27c], 5
call dword [sym.imp.OgreMain.dll_public:_static_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______cdecl_Ogre::StringUtil::split_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___unsigned_int_]
add esp, 0x10
lea ecx, [esp + 0xb8]
mov byte [esp + 0x26c], 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_]
mov eax, dword [edi + 0x64]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x10], esi
je 0x1003ec16
push ebp
lea ecx, [ecx]
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x7c]
mov ecx, dword [esi + 0x88]
mov ebp, dword [esi + 0x80]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
add eax, 0x1c
mov dword [esp + 0x30], edx
push eax
lea edx, [esp + 0x16c]
mov dword [esp + 0x40], ecx
push edx
mov ecx, edi
call fcn.10035da0
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x84], ecx
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x90]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x98]
add eax, 0x54
mov dword [esp + 0x6c], edx
push eax
lea edx, [esp + 0xa4]
mov dword [esp + 0x78], ecx
push edx
mov ecx, edi
call fcn.10035da0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
push eax
lea ecx, [esi + 0x28]
push ecx
mov dword [esp + 0x60], edx
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 0x1003ebc4
cmp ebp, ebx
jne 0x1003ebc4
mov edx, dword [esp + 0x90]
cmp dword [esp + 0x3c], edx
jne 0x1003ebc4
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x30], eax
jne 0x1003ebc4
mov ecx, dword [esp + 0x8c]
cmp dword [esp + 0x38], ecx
jne 0x1003ebc4
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x6c], edx
jne 0x1003ebc4
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x74], eax
jne 0x1003ebc4
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x68], ecx
jne 0x1003ebc4
mov edx, dword [esp + 0x54]
cmp dword [esp + 0x70], edx
jne 0x1003ebc4
mov eax, dword [esp + 0x1c]
add eax, 0x38
push eax
lea eax, [esi + 0x60]
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___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
jne 0x1003ebde
lea ecx, [esp + 0x14]
call fcn.10028720
mov eax, dword [edi + 0x64]
mov esi, dword [esp + 0x14]
cmp esi, eax
jne 0x1003ea90
jmp 0x1003ec15
lea ebx, [esi + 0x28]
push ebx
lea ecx, [esp + 0xdc]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebx + 0x1c]
push ecx
lea ecx, [esp + 0xf8]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add ebx, 0x38
push ebx
lea ecx, [esp + 0x114]
call fcn.100266b0
mov byte [esp + 0x13], 0
pop ebp
mov edx, dword [esp + 0x278]
mov eax, dword [esp + 0x24]
push edx
push eax
mov ecx, edi
call fcn.1003c0e0
test al, al
je 0x1003ef1b
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1003eeef
mov ebx, dword [esp + 0x1c]
sub ebx, ecx
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 5
jne 0x1003eeef
mov al, byte [esp + 0xf]
test al, al
je 0x1003eeaa
push ecx
lea ecx, [esp + 0xd8]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x18]
add eax, 0x1c
push eax
lea ecx, [esp + 0xa0]
push ecx
mov ecx, edi
call fcn.10035da0
mov edx, dword [eax]
mov dword [esp + 0x128], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x12c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x130], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x18]
add eax, 0x38
push eax
lea ecx, [esp + 0x110]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x18]
add eax, 0x54
push eax
lea ecx, [esp + 0x168]
push ecx
mov ecx, edi
call fcn.10035da0
mov edx, dword [eax]
mov dword [esp + 0x138], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x13c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x140], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x18]
add eax, 0x70
push eax
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [0x10122294]
push 0
push 0x20
mov ecx, eax
push 0
push ecx
lea ecx, [esp + 0xac]
inc eax
push ecx
mov dword [0x10122294], eax
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_]
mov edx, dword [esp + 0x288]
push eax
push edx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x28c], 8
call fcn.10001400
add esp, 0x20
mov bl, 0xa
lea ecx, [esp + 0x9c]
mov byte [esp + 0x26c], 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 + 0xd4]
push ecx
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c0]
call fcn.10029c20
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x270], 0xb
push eax
lea ecx, [edi + 0x60]
call fcn.10036920
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x26c], bl
call fcn.10024e50
mov al, byte [esp + 0x28]
test al, al
jne 0x1003ee96
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1a0]
push str.Logic_Model_Texture_with_name_
push edx
call fcn.10001480
push str._inserted_mTextureMap_failed_
push eax
lea eax, [esp + 0x194]
push eax
mov byte [esp + 0x284], 0xc
call fcn.10001500
push str.LogicModel::changeTexture
push eax
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x290], 0xd
call fcn.10001500
add edi, 0x144
push edi
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x29c], 0xe
call fcn.10001400
add esp, 0x30
push 0
push 2
push eax
mov byte [esp + 0x278], 0xf
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 + 0x64]
mov byte [esp + 0x26c], 0xe
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 + 0x48]
mov byte [esp + 0x26c], 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 + 0x180]
mov byte [esp + 0x26c], 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_]
lea ecx, [esp + 0x19c]
mov byte [esp + 0x26c], 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 + 0x2c]
mov byte [esp + 0x26c], 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_]
jmp 0x1003eeef
lea eax, [ecx + 0x70]
push eax
lea ecx, [esp + 0x14c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0xd4]
add esi, 0x28
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esi + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x10c]
push edx
lea ecx, [esi + 0x38]
call fcn.100266b0
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 4
call fcn.100038b0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x26c], 0xffffffff
call fcn.10024df0
mov al, 1
jmp 0x1003ef45
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 4
call fcn.100038b0
lea ecx, [esp + 0xd4]
mov dword [esp + 0x26c], 0xffffffff
call fcn.10024df0
xor al, al
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x264
ret 8