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

Disassembly:
sub esp, 0xd8
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100b1544
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x100b11bb
mov eax, dword [ecx]
xor edx, edx
mov dl, byte [esi + 0x38]
push 1
push edx
call dword [eax + 0x1bc]
mov al, byte [esi + 0x38]
test al, al
je 0x100b1544
mov al, byte [esi + 0x39]
test al, al
je 0x100b11df
mov ecx, esi
call fcn.100b0740
mov ecx, esi
call fcn.100b09f0
mov byte [esi + 0x39], 0
mov eax, dword [esi + 0x34]
push ebx
push edi
mov edi, dword [eax + 0x34]
mov ecx, edi
call dword [sym.imp.OgreMain.dll_public:_int___thiscall_Ogre::Viewport::getActualWidth_void_const]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x100f8ee0]
call fcn.100d589c
mov ecx, edi
mov ebx, eax
call dword [sym.imp.OgreMain.dll_public:_int___thiscall_Ogre::Viewport::getActualHeight_void_const]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x100f8ee0]
call fcn.100d589c
imul eax, ebx
cmp dword [esi + 0x158], eax
jbe 0x100b1230
mov dword [esi + 0x158], eax
mov ecx, dword [esi + 0x158]
fild dword [esi + 0x158]
test ecx, ecx
push ebp
jge 0x100b1247
fadd dword [0x100e9ad0]
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0x100b1259
fadd dword [0x100e9ad0]
fdivp st(1)
fmul qword [0x100f8ed8]
call fcn.100d589c
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0x100b1278
fadd dword [0x100e9ad0]
fmul qword [0x100f7730]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.100b0810
mov edx, dword [esi + 0x34]
mov ecx, dword [edx + 0x30]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3_const____thiscall_Ogre::Camera::getDerivedPosition_void_const]
fld dword [esi + 4]
mov ecx, dword [eax]
fld st(0)
fmul dword [esi + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
fld st(1)
fmul dword [esi + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x40]
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x38]
mov dword [esp + 0x30], eax
fxch st(1)
lea eax, [esp + 0x1c]
fmul dword [esi + 0x10]
push eax
fstp dword [esp + 0x40]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fadd dword [esp + 0x34]
fstp dword [esp + 0x28]
mov edx, dword [ecx]
call dword [edx + 0x70]
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
push 0
lea eax, [esp + 0x20]
push eax
call dword [edx + 0x170]
mov byte [esp + 0x18], al
mov ebx, dword [esp + 0x18]
lea edi, [esi + 0x74]
mov ebp, 0xa
mov ecx, dword [edi]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x74]
add edi, 4
dec ebp
jne 0x100b1315
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x30]
lea edx, [esp + 0xa0]
push edx
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Quaternion_const____thiscall_Ogre::Camera::getDerivedOrientation_void_const]
mov ecx, eax
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Quaternion::zAxis_void_]
fld dword [eax]
fchs
mov ebx, dword [sym.imp.OgreMain.dll_public:_void___thiscall_Ogre::Billboard::setDimensions_float__float_]
fstp dword [esp + 0x40]
xor edi, edi
fld dword [eax + 4]
fchs
fstp dword [esp + 0x44]
fld dword [eax + 8]
fchs
fstp dword [esp + 0x48]
fld dword [esi + 0x30]
fld dword [esp + 0x40]
fmul st(1)
fld dword [esp + 0x44]
fmul st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x3c]
fadd dword [esp + 0x28]
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esp + 0x38]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fadd dword [esp + 0x30]
fstp dword [esp + 0x54]
mov al, byte [esp + 0x18]
test al, al
jne 0x100b13b1
cmp edi, 1
jg 0x100b1541
test edi, edi
je 0x100b167f
cmp edi, 5
jne 0x100b13cb
mov dword [esp + 0x10], 0x3dcccccd
jmp 0x100b1581
cmp edi, 6
jne 0x100b154c
mov dword [esp + 0x10], 0x3e051eb8
mov ecx, dword [esi + 0x34]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
call dword [edx + 0x120]
fld dword [esp + 0x4c]
fsub dword [esp + 0x1c]
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x80]
fstp dword [esp + 0x80]
fld dword [esp + 0x54]
fsub dword [esp + 0x24]
fstp dword [esp + 0x84]
fld dword [esp + 0x58]
fsub dword [esp + 0x28]
fstp dword [esp + 0x88]
fld dword [esi + 0x30]
fsub st(1)
fstp dword [esp + 0x18]
fstp st(0)
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::normalisedCopy_void_]
fld dword [esp + 0x14]
lea ecx, [edi - 6]
fmul dword [eax]
fld dword [esp + 0x14]
fmul dword [eax + 4]
fld dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [eax + 8]
mov ecx, dword [esi + edi*4 + 0x44]
lea eax, [esp + 0x94]
push eax
fstp dword [esp + 0xd0]
fxch st(1)
fmul dword [0x100f8ed4]
fstp dword [esp + 0xa4]
fmul dword [0x100f8ed4]
fld dword [esp + 0xd0]
fmul dword [0x100f8ed4]
fild dword [esp + 0x18]
fld dword [esp + 0xa4]
fmul st(1)
fstp dword [esp + 0x74]
fxch st(2)
fmul st(2)
fstp dword [esp + 0x78]
fmulp st(1)
fld dword [esp + 0x74]
fadd dword [esp + 0x50]
fstp dword [esp + 0x38]
fld dword [esp + 0x78]
fadd dword [esp + 0x54]
fstp dword [esp + 0x3c]
fadd dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fsub dword [esp + 0x20]
fstp dword [esp + 0x98]
fld dword [esp + 0x3c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x9c]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
fstp dword [esp + 0xa0]
mov edx, dword [ecx]
call dword [edx + 0x70]
fld dword [esp + 0x34]
fsub dword [esp + 0x28]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
fmul dword [esp + 0x48]
fxch st(1)
fmul dword [esp + 0x44]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x40]
faddp st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esi + edi*4 + 0x9c]
push ebp
push ebp
call ebx
inc edi
cmp edi, 0xb
jl 0x100b13a0
pop ebp
pop edi
pop ebx
pop esi
add esp, 0xd8
ret
cmp edi, 9
jne 0x100b155e
mov dword [esp + 0x10], 0x3df5c28f
jmp 0x100b13dc
cmp edi, 0xa
jne 0x100b1570
mov dword [esp + 0x10], 0x3e800000
jmp 0x100b13dc
cmp edi, 6
mov dword [esp + 0x10], 0x3e19999a
jge 0x100b13dc
fld dword [esp + 0x1c]
lea eax, [esp + 0xd0]
fsub dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x24]
fsub dword [esp + 0x54]
fstp dword [esp + 0x6c]
fld dword [esp + 0x28]
fsub dword [esp + 0x58]
fstp dword [esp + 0x70]
call dword [sym.imp.OgreMain.dll_public:_class_Ogre::Vector3___thiscall_Ogre::Vector3::normalisedCopy_void_]
fld dword [eax]
mov ecx, 6
fmul dword [0x100ebd9c]
sub ecx, edi
fld dword [eax + 4]
mov dword [esp + 0x14], ecx
fmul dword [0x100ebd9c]
mov ecx, dword [esi + edi*4 + 0x44]
fld dword [eax + 8]
lea eax, [esp + 0x88]
fmul dword [0x100ebd9c]
push eax
fstp dword [esp + 0xb8]
fild dword [esp + 0x18]
fstp dword [esp + 0x18]
fxch st(1)
fmul dword [esp + 0x18]
fstp dword [esp + 0xbc]
fmul dword [esp + 0x18]
fld dword [esp + 0xb8]
fmul dword [esp + 0x18]
fld dword [esp + 0xbc]
fadd dword [esp + 0x50]
fstp dword [esp + 0x5c]
fxch st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x60]
fadd dword [esp + 0x58]
fstp dword [esp + 0x64]
fld dword [esp + 0x5c]
fsub dword [esp + 0x20]
fstp dword [esp + 0x8c]
fld dword [esp + 0x60]
fsub dword [esp + 0x24]
fstp dword [esp + 0x90]
fld dword [esp + 0x64]
fsub dword [esp + 0x28]
fstp dword [esp + 0x94]
mov edx, dword [ecx]
call dword [edx + 0x70]
fld dword [esp + 0x58]
fsub dword [esp + 0x28]
fld dword [esp + 0x5c]
fsub dword [esp + 0x2c]
fld dword [esp + 0x60]
jmp 0x100b1508
mov ecx, dword [esi + 0x44]
mov edx, dword [sym.imp.OgreMain.dll_class_Ogre::Vector3_const_Ogre::Vector3::ZERO]
mov eax, dword [ecx]
push edx
call dword [eax + 0x70]
fld dword [esp + 0x1c]
fsub dword [esp + 0x28]
mov ecx, dword [esi + 0x150]
fld dword [esp + 0x20]
fsub dword [esp + 0x2c]
fld dword [esp + 0x24]
fsub dword [esp + 0x30]
fmul dword [esp + 0x48]
fxch st(1)
fmul dword [esp + 0x44]
faddp st(1)
fxch st(1)
fmul dword [esp + 0x40]
faddp st(1)
fmul dword [0x100f8ed4]
fstp dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
push ebp
push ebp
call ebx
jmp 0x100b152c