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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e2452
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x8c]
test ecx, ecx
je 0x1009a918
xor ebx, ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.OgreMain.dll_public:_unsigned_short_int___thiscall_Ogre::ParticleSystem::getNumAffectors_void_const]
test ax, ax
jbe 0x1009a918
lea ebx, [ebx]
mov ecx, dword [edi + 0x8c]
push ebx
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::ParticleAffector____thiscall_Ogre::ParticleSystem::getAffector_unsigned_short_int_const]
mov esi, eax
lea eax, [esi + 8]
push 0x100f7738
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___char_const__]
add esp, 8
test al, al
je 0x1009a8fe
lea ebp, [edi + 0x94]
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 6
nop
mov ecx, dword [esp + 0x14]
push 0
push 0x20
push 0
push ecx
lea edx, [esp + 0xec]
push edx
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_]
push eax
lea eax, [esp + 0x74]
push str.colour
push eax
mov dword [esp + 0x134], 0
call fcn.10001480
add esp, 0x20
lea ecx, [esp + 0xdc]
mov byte [esp + 0x114], 2
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 + 0x5c]
push ecx
mov ecx, ebp
call fcn.10041c00
cmp eax, dword [ebp + 4]
mov dword [esp + 0x44], eax
je 0x1009a73d
add eax, 0xc
push eax
lea edx, [esp + 0x60]
push edx
call dword [0x100e80d0]
add esp, 8
test al, al
jne 0x1009a73d
lea eax, [esp + 0x44]
jmp 0x1009a748
mov eax, dword [ebp + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov eax, dword [eax]
cmp eax, dword [edi + 0x98]
je 0x1009a775
add eax, 0x28
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x1009a835
mov eax, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call dword [eax + 0xc]
push eax
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x11c], 3
call dword [sym.imp.OgreMain.dll_public:_static_class_Ogre::ColourValue___cdecl_Ogre::StringConverter::parseColourValue_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
add esp, 8
lea ecx, [esp + 0xa4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x114], 2
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 + 0x5c]
push ecx
lea ecx, [esp + 0x7c]
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 edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x48]
push eax
mov ecx, ebp
mov byte [esp + 0x11c], 4
call fcn.1009a230
lea ecx, [esp + 0x78]
mov byte [esp + 0x114], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
fld dword [esp + 0x18]
fmul dword [edi + 0xa4]
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x1c]
mov dword [esp + 0x4c], ecx
fmul dword [edi + 0xa8]
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fld dword [esp + 0x20]
mov dword [esp + 0x50], edx
fmul dword [edi + 0xac]
lea edx, [esp + 0x4c]
push edx
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x28]
mov dword [esp + 0x58], eax
fmul dword [edi + 0xb0]
lea eax, [esp + 0xc4]
push eax
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x60], 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_class_Ogre::ColourValue_const__]
add esp, 8
mov edx, dword [esi]
push eax
lea eax, [esp + 0x60]
push eax
mov ecx, esi
mov byte [esp + 0x11c], 5
call dword [edx + 4]
lea ecx, [esp + 0xc0]
mov byte [esp + 0x114], 2
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 + 0x5c]
mov dword [esp + 0x114], 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 ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
jne 0x1009a6c0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x8c]
inc ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.OgreMain.dll_public:_unsigned_short_int___thiscall_Ogre::ParticleSystem::getNumAffectors_void_const]
cmp bx, ax
jb 0x1009a680
mov ecx, dword [esp + 0x10c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret