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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100de41f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0xbf000000
mov dword [esp + 0x58], 0xbf000000
mov dword [esp + 0x5c], 0xbf000000
mov dword [esp + 0x60], 0x3f000000
mov dword [esp + 0x64], 0x3f000000
mov dword [esp + 0x68], 0x3f000000
mov byte [esp + 0x6c], 1
call fcn.1006ea90
mov dword [esp + 0x24], eax
mov byte [eax + 0x1d], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov edx, dword [ebx]
push eax
mov ecx, ebx
mov dword [esp + 0xb0], eax
call dword [edx + 0x5c]
mov eax, dword [ebx]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call dword [eax + 0x4c]
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
je 0x1006fbf5
jmp 0x1006fba0
mov ecx, eax
add eax, 4
mov dword [esp + 0x34], eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov dword [esp + 8], ecx
call dword [edx + 0xf8]
mov esi, eax
mov al, byte [ebp + 0xc]
test al, al
je 0x1006fbe0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.1006fa00
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
jmp 0x1006fbeb
push esi
lea ecx, [esp + 0x58]
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AxisAlignedBox::merge_class_Ogre::Vector3_const__]
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
jne 0x1006fba0
lea ecx, [esp + 0x78]
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AnimationStateSet::constructor_void_]
mov edx, dword [ebx]
lea eax, [esp + 0x78]
push eax
mov ecx, ebx
mov byte [esp + 0xb0], 1
call dword [edx + 0x7c]
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x7c]
call dword [sym.imp.OgreMain.dll__getAnimationStateIterator_AnimationStateSet_Ogre__QAE_AV__MapIterator_V__map_V__basic_string_DU__char_traits]
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0x40]
je 0x1006fea3
lea ecx, [esp + 0x3c]
call fcn.10044f30
mov edi, dword [esi + 0x28]
lea ecx, [esp + 0xc]
mov dword [esp + 8], edi
call fcn.100d1930
mov dword [esp + 0x10], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x10]
mov dword [eax], eax
mov eax, dword [esp + 0x10]
mov dword [eax + 8], eax
mov dword [esp + 0x14], 0
mov esi, dword [ebx]
push 0
mov ecx, edi
mov byte [esp + 0xb0], 2
call dword [sym.imp.OgreMain.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____thiscall_Ogre::AnimationState::getAnimationName_void_const]
push eax
mov ecx, ebx
call dword [esi + 0x68]
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call dword [sym.imp.OgreMain.dll__getNodeTrackIterator_Animation_Ogre__QBE_AV__ConstMapIterator_V__map_GPAVNodeAnimationTrack_Ogre__U__less_G_]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1c]
je 0x1006fd51
mov al, byte [ecx + 0x15]
test al, al
mov edx, ecx
jne 0x1006fcf8
mov eax, dword [ecx + 8]
cmp byte [eax + 0x15], 0
jne 0x1006fcd0
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x1006fcca
mov edi, edi
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x1006fcc0
mov dword [esp + 0x18], ecx
jmp 0x1006fcf8
mov eax, dword [ecx + 4]
cmp byte [eax + 0x15], 0
jne 0x1006fcf4
lea esp, [esp]
cmp ecx, dword [eax + 8]
jne 0x1006fcf4
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x1006fce0
mov dword [esp + 0x18], eax
mov esi, dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
xor edi, edi
call dword [eax + 4]
test ax, ax
jbe 0x1006fd3f
lea esp, [esp]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], eax
call fcn.1006f2a0
mov eax, dword [esi]
mov ecx, esi
inc edi
call dword [eax + 4]
cmp di, ax
jb 0x1006fd10
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x1c]
jne 0x1006fca2
mov edi, dword [esp + 8]
push 1
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AnimationState::setEnabled_bool_]
mov eax, dword [esp + 0x10]
mov esi, dword [eax]
cmp esi, eax
mov dword [esp + 0x74], eax
je 0x1006fe55
lea ecx, [ecx]
mov al, byte [esi + 0x11]
test al, al
mov edx, esi
jne 0x1006fdbb
mov ecx, dword [esi + 8]
mov al, byte [ecx + 0x11]
test al, al
jne 0x1006fd9e
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
jne 0x1006fd9a
jmp 0x1006fd90
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x11], 0
je 0x1006fd90
mov esi, ecx
jmp 0x1006fdbb
mov eax, dword [esi + 4]
mov cl, byte [eax + 0x11]
test cl, cl
jne 0x1006fdb9
cmp esi, dword [eax + 8]
jne 0x1006fdb9
mov esi, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x11]
test cl, cl
je 0x1006fda8
mov esi, eax
mov ecx, dword [edx + 0xc]
mov edx, ecx
mov dword [esp + 0x50], ecx
push edx
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AnimationState::setTimePosition_float_]
mov eax, dword [ebx]
lea ecx, [esp + 0x78]
push ecx
mov ecx, ebx
call dword [eax + 0x78]
mov edx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call dword [edx + 0x4c]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
je 0x1006fe4b
nop
mov ecx, eax
add eax, 4
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov dword [esp + 0x44], ecx
call dword [edx + 0xf8]
mov edi, eax
mov al, byte [ebp + 0xc]
test al, al
je 0x1006fe32
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x24]
call fcn.1006fa00
push eax
lea ecx, [esp + 0x98]
push ecx
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::operator__class_Ogre::Vector3_const__]
push eax
jmp 0x1006fe33
push edi
lea ecx, [esp + 0x58]
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AxisAlignedBox::merge_class_Ogre::Vector3_const__]
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jne 0x1006fdf0
mov edi, dword [esp + 8]
cmp esi, dword [esp + 0x74]
jne 0x1006fd70
xor esi, esi
push esi
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AnimationState::setEnabled_bool_]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
call fcn.1006f4e0
mov eax, dword [esp + 0x10]
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x40]
add esp, 4
cmp esi, eax
jne 0x1006fc30
mov edx, dword [ebx]
push 0
mov ecx, ebx
call dword [edx + 0x5c]
mov esi, dword [ebp + 8]
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AxisAlignedBox::constructor_class_Ogre::AxisAlignedBox_const__]
lea ecx, [esp + 0x78]
mov byte [esp + 0xac], 0
call dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::AnimationStateSet::destructor_void_]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0xb8], 0xffffffff
call fcn.1006f420
mov edx, dword [esp + 0x24]
push edx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0xa8]
add esp, 4
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret