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

Disassembly:
fld dword [esp + 4]
sub esp, 0x90
push esi
mov esi, ecx
fsub dword [esi + 0x10]
push ecx
fstp dword [esp]
call dword [sym.imp.OgreMain.dll_public:_static_float___cdecl_Ogre::Math::Abs_float_]
fcomp qword [0x100f4790]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x1007f629
mov eax, dword [esp + 0x98]
push ebx
push edi
mov edi, dword [esi + 8]
lea ecx, [esp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esp + 0xc], edi
call fcn.100289a0
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], edi
call fcn.100289a0
mov edx, dword [esp + 0xc]
mov ebx, dword [edi]
fld dword [edx + 0xc]
mov ecx, dword [ebx + 0xc]
fsub qword [0x100ee6f0]
mov eax, dword [esp + 0x88]
add eax, 0x10
mov dword [esp + 0x8c], ecx
fstp dword [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], ebx
lea edi, [ebx + 0x10]
call fcn.1007d160
cmp ebx, dword [esi + 8]
je 0x1007f132
lea ecx, [ecx]
fld dword [ebx + 0xc]
lea ecx, [ebx + 0x10]
fld dword [esp + 0xa0]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x1007f10c
fld dword [esp + 0xa0]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x1007f39f
push ecx
fstp dword [esp + 0x10]
lea ecx, [esp + 0x2c]
call fcn.1007d160
lea ecx, [esp + 0x84]
call fcn.1007d5d0
mov ebx, dword [esp + 0x84]
cmp ebx, dword [esi + 8]
jne 0x1007f0e0
fld dword [esp + 0xa0]
lea ebx, [esi + 0x14]
fsub dword [esp + 0xc]
push ebp
fld dword [esp + 0x90]
fadd qword [0x100ee6f0]
fsub dword [esp + 0x10]
fdivp st(1)
fstp dword [esp + 0x10]
fld dword [edi]
fsub dword [esp + 0x2c]
fld dword [edi + 4]
fsub dword [esp + 0x30]
fld dword [edi + 8]
fsub dword [esp + 0x34]
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x2c]
fld dword [esp + 0x18]
fadd dword [esp + 0x30]
fxch st(2)
fadd dword [esp + 0x34]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov dword [ebx + 8], edx
fstp dword [ebx]
fstp dword [ebx + 4]
fld dword [edi + 0xc]
fsub dword [esp + 0x38]
fld dword [edi + 0x10]
fsub dword [esp + 0x3c]
fld dword [edi + 0x14]
fsub dword [esp + 0x40]
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul dword [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [esp + 0x28]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x38]
fld dword [esp + 0x18]
fadd dword [esp + 0x3c]
fxch st(2)
fadd dword [esp + 0x40]
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esi + 0x28], eax
fstp dword [esi + 0x20]
fstp dword [esi + 0x24]
fld dword [edi + 0x18]
fsub dword [esp + 0x44]
fmul dword [esp + 0x10]
fadd dword [esp + 0x44]
fstp dword [esi + 0x2c]
fld dword [edi + 0x1c]
fsub dword [esp + 0x48]
fmul dword [esp + 0x10]
fadd dword [esp + 0x48]
fstp dword [esi + 0x30]
fld dword [edi + 0x20]
fsub dword [esp + 0x4c]
fld dword [edi + 0x24]
fsub dword [esp + 0x50]
fld dword [edi + 0x28]
fsub dword [esp + 0x54]
fstp dword [esp + 0x28]
fxch st(1)
fmul dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
fstp dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
fmul dword [esp + 0x18]
push ebp
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fmul dword [esp + 0x1c]
fld dword [esp + 0x20]
fadd dword [esp + 0x58]
fld dword [esp + 0x24]
fadd dword [esp + 0x5c]
fxch st(2)
fadd dword [esp + 0x60]
fstp dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x3c], ecx
fstp dword [esi + 0x34]
lea ecx, [esp + 0xa0]
push ecx
fstp dword [esi + 0x38]
lea ecx, [esp + 0x24]
fld dword [edi + 0x2c]
fsub dword [esp + 0x68]
fstp dword [esp + 0x24]
fld dword [edi + 0x30]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x28]
fld dword [edi + 0x34]
fsub dword [esp + 0x70]
fstp dword [esp + 0x2c]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_float_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
push eax
lea ecx, [esi + 0x40]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3____thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x98]
push eax
push ebp
lea ecx, [esp + 0x2c]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [edi + 0x38]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator__class_Ogre::Vector3_const__]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_float_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
push eax
lea ecx, [esi + 0x4c]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3____thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x98]
push edx
push ebp
lea eax, [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [edi + 0x44]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator__class_Ogre::Vector3_const__]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_float_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
push eax
lea ecx, [esi + 0x58]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3____thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x98]
push ecx
push ebp
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [edi + 0x50]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator__class_Ogre::Vector3_const__]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_float_]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
push eax
lea ecx, [esi + 0x64]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3____thiscall_Ogre::Vector3::operator_class_Ogre::Vector3_const__]
pop ebp
pop edi
mov eax, ebx
pop ebx
pop esi
add esp, 0x90
ret 4
fld dword [esp + 0xa0]
lea eax, [esi + 0x14]
fsub dword [esp + 0xc]
fxch st(1)
fsub dword [esp + 0xc]
fdivp st(1)
fld dword [ecx]
fsub dword [esp + 0x28]
fld dword [ecx + 4]
fsub dword [esp + 0x2c]
fld dword [ecx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x28]
fld dword [esp + 0x14]
fadd dword [esp + 0x2c]
fxch st(2)
fadd dword [esp + 0x30]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [eax + 8], edx
fstp dword [eax]
fstp dword [eax + 4]
fld dword [ecx + 0xc]
fsub dword [esp + 0x34]
fld dword [ecx + 0x10]
fsub dword [esp + 0x38]
fld dword [ecx + 0x14]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x34]
fld dword [esp + 0x14]
fadd dword [esp + 0x38]
fxch st(2)
fadd dword [esp + 0x3c]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x28], edx
fstp dword [esi + 0x20]
fstp dword [esi + 0x24]
fld dword [ecx + 0x18]
fsub dword [esp + 0x40]
fmul st(1)
fadd dword [esp + 0x40]
fstp dword [esi + 0x2c]
fld dword [ecx + 0x1c]
fsub dword [esp + 0x44]
fmul st(1)
fadd dword [esp + 0x44]
fstp dword [esi + 0x30]
fld dword [ecx + 0x20]
fsub dword [esp + 0x48]
fld dword [ecx + 0x24]
fsub dword [esp + 0x4c]
fld dword [ecx + 0x28]
fsub dword [esp + 0x50]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x48]
fld dword [esp + 0x14]
fadd dword [esp + 0x4c]
fxch st(2)
fadd dword [esp + 0x50]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x3c], edx
fstp dword [esi + 0x34]
fstp dword [esi + 0x38]
fld dword [ecx + 0x2c]
fsub dword [esp + 0x54]
fld dword [ecx + 0x30]
fsub dword [esp + 0x58]
fld dword [ecx + 0x34]
fsub dword [esp + 0x5c]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x54]
fld dword [esp + 0x14]
fadd dword [esp + 0x58]
fxch st(2)
fadd dword [esp + 0x5c]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x48], edx
fstp dword [esi + 0x40]
fstp dword [esi + 0x44]
fld dword [ecx + 0x38]
fsub dword [esp + 0x60]
fld dword [ecx + 0x3c]
fsub dword [esp + 0x64]
fld dword [ecx + 0x40]
fsub dword [esp + 0x68]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x60]
fld dword [esp + 0x14]
fadd dword [esp + 0x64]
fxch st(2)
fadd dword [esp + 0x68]
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esi + 0x54], edx
fstp dword [esi + 0x4c]
fstp dword [esi + 0x50]
fld dword [ecx + 0x44]
fsub dword [esp + 0x6c]
fld dword [ecx + 0x48]
fsub dword [esp + 0x70]
fld dword [ecx + 0x4c]
fsub dword [esp + 0x74]
fstp dword [esp + 0x24]
fxch st(1)
fmul st(2)
fstp dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fmul st(1)
fld dword [esp + 0x10]
fadd dword [esp + 0x6c]
fld dword [esp + 0x14]
fadd dword [esp + 0x70]
pop edi
fxch st(2)
pop ebx
fadd dword [esp + 0x6c]
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x60], edx
fstp dword [esi + 0x58]
fstp dword [esi + 0x5c]
fld dword [ecx + 0x50]
fsub dword [esp + 0x70]
fld dword [ecx + 0x54]
fsub dword [esp + 0x74]
fld dword [ecx + 0x58]
fsub dword [esp + 0x78]
fstp dword [esp + 0x1c]
fxch st(1)
fmul st(2)
fstp dword [esp + 8]
fmul st(1)
fstp dword [esp + 0xc]
fmul dword [esp + 0x1c]
fld dword [esp + 8]
fadd dword [esp + 0x70]
fld dword [esp + 0xc]
fadd dword [esp + 0x74]
fxch st(2)
fadd dword [esp + 0x78]
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x6c], ecx
fstp dword [esi + 0x64]
fstp dword [esi + 0x68]
pop esi
add esp, 0x90
ret 4
lea eax, [esi + 0x14]
pop esi
add esp, 0x90
ret 4