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

Disassembly:
push 0xffffffffffffffff
push 0x100d94f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x138]
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.100661a0
test ax, ax
jbe 0x1002ec00
jmp 0x1002e9d0
mov ecx, dword [edi + 0x138]
push esi
call fcn.100662d0
mov esi, eax
mov eax, dword [esi + 0x44]
test eax, eax
mov dword [esp + 0x14], eax
je 0x1002ebe3
mov al, byte [esi + 0x64]
test al, al
je 0x1002ebe3
lea ecx, [esp + 0x58]
lea ebx, [esi + 0x28]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 1
push 0
push 0x100e9508
mov ecx, ebx
mov dword [esp + 0xa4], 0
mov byte [esp + 0x1f], 0
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x1002ea61
mov al, byte [edi + 0x238]
test al, al
je 0x1002ebce
lea eax, [edi + 0x230]
push eax
push ebx
lea edx, [esp + 0x60]
push edx
mov ecx, edi
call fcn.10025820
test al, al
je 0x1002ebce
mov byte [esp + 0x13], 1
jmp 0x1002ea79
push ebx
lea ecx, [esp + 0x5c]
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 [sym.imp.OgreMain.dll_float_const_Ogre::Math::POS_INFINITY]
mov ecx, dword [eax]
mov dword [edi + 0x230], ecx
lea edx, [esi + 0xc]
push edx
lea ecx, [esp + 0x78]
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 eax, dword [sym.imp.OgreMain.dll_class_Ogre::Quaternion_const_Ogre::Quaternion::IDENTITY]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [sym.imp.OgreMain.dll_class_Ogre::Vector3_const_Ogre::Vector3::ZERO]
mov dword [esp + 0x38], edx
fld dword [eax]
fld dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, eax
fxch st(1)
fstp dword [esp + 0x3c]
lea edx, [esp + 0x2c]
mov dword [esp + 0x44], ecx
push edx
fstp dword [esp + 0x44]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 1
mov dword [esp + 0x2c], eax
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Quaternion::constructor_class_Ogre::Quaternion_const__]
push 2
lea ebp, [esi + 0x54]
push ebp
lea ebx, [esi + 0x48]
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.1002e400
test al, al
jne 0x1002eb19
push 2
push ebp
push ebx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x84]
push eax
mov ecx, edi
call fcn.10026ab0
mov al, byte [esp + 0x13]
test al, al
je 0x1002ebaa
fld dword [edi + 0x230]
mov ecx, dword [sym.imp.OgreMain.dll_float_const_Ogre::Math::POS_INFINITY]
fcomp dword [ecx]
fnstsw ax
test ah, 5
jp 0x1002eb55
fld dword [esp + 0x40]
fcomp dword [edi + 0x230]
fnstsw ax
test ah, 5
jp 0x1002eb8c
mov edx, dword [edi + 0x230]
mov dword [esp + 0x40], edx
mov edx, dword [edi + 0x168]
mov eax, dword [edi + 0x16c]
mov ecx, dword [edi + 0xc8]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x164]
push eax
push edx
call fcn.10047cd0
fadd dword [0x100eeeac]
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 5
jp 0x1002ebaa
mov eax, dword [esp + 0x14]
push 1
push 0
push eax
call fcn.1001d6f0
mov ecx, eax
call fcn.1001dd90
mov dword [esi + 0x44], 0
jmp 0x1002ebbc
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
add ecx, 8
lea eax, [esp + 0x3c]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x74]
mov byte [esp + 0x98], 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 + 0x58]
mov dword [esp + 0x98], 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_]
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + 0x138]
inc esi
mov dword [esp + 0x18], esi
call fcn.100661a0
cmp si, ax
jb 0x1002e9d0
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8c
ret 8