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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
push esi
push edi
mov edi, dword [ebp + 8]
fld dword [edi + 0x2c]
fmul dword [edi + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x100c8374]
fnstsw ax
test ah, 5
jnp 0x100880c2
mov eax, dword [ebp + 0x10]
or dword [esp + 0xc], 0xffffffff
xor esi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.10087bc6
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x20]
lea ecx, [esp + 0x28]
lea esi, [esp + 0x30]
call fcn.1001a33c
mov ecx, dword [eax]
mov dword [ebx + 4], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 8]
mov dword [ebx + 0xc], ecx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x10087e38
imul eax, eax, 0x38
add eax, dword [ebx + 0x28]
jmp 0x10087e3b
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov esi, edi
mov eax, esi
call fcn.10028fd5
lea ecx, [ebx + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xc]
push ecx
mov dword [esp], eax
call fcn.1001a479
fld dword [ebx + 0x10]
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x78], eax
fld dword [esi + 0x2c]
fcompp
mov byte [esp + 8], 1
fnstsw ax
test ah, 5
jnp 0x10087e84
mov byte [esp + 8], 0
mov al, byte [esp + 8]
cmp byte [ebx + 0x7c], al
je 0x10087ec1
push 0
push 0x101105d4
push 0x10110578
push 0
push esi
call sub.MSVCR80.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x10087ec1
mov ecx, dword [0x10117aa8]
lea edi, [eax + 0x84]
mov eax, dword [ecx]
call dword [eax]
mov ecx, edi
mov edi, eax
call fcn.100567f5
mov al, byte [esp + 8]
test al, al
mov byte [ebx + 0x7c], al
je 0x10088016
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x30]
mov ecx, esi
call fcn.1003fb6e
fld dword [esp + 0x10]
fdiv dword [esp + 0xc]
mov edi, dword [ebx + 0x28]
fmul dword [eax + 4]
mov eax, dword [esp + 0x14]
test eax, eax
fstp dword [esp + 0x10]
jbe 0x10087fb5
fld dword [esp + 0x10]
mov dword [esp + 0x10], eax
fchs
fstp dword [esp + 0x28]
fld dword [edi + 0x10]
push ecx
fsub qword [0x100e4e60]
lea ecx, [edi + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp]
call fcn.1001a479
mov ecx, dword [edi + 0x30]
mov eax, dword [edi + 0x2c]
cmp ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], eax
je 0x10087f76
jmp 0x10087f4a
mov eax, dword [esp + 0xc]
fld dword [eax + 0xc]
push ecx
fsub qword [0x100e4e60]
lea ecx, [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.1001a479
add dword [esp + 0xc], 0x18
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x20]
jne 0x10087f46
fld dword [edi + 0x20]
push ecx
fsub qword [0x100e4e60]
lea ecx, [edi + 0x18]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.1001a479
mov eax, dword [esp + 0x28]
push ecx
push ecx
mov dword [esp + 4], eax
and dword [esp], 0
mov eax, edi
call fcn.10088fd2
add edi, 0x38
dec dword [esp + 0x10]
jne 0x10087f15
fld dword [ebx + 0x1c]
push ecx
fsub qword [0x100e4e60]
lea ecx, [ebx + 0x14]
fsub qword [0x100e4d60]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.1001a479
lea eax, [ebx + 0x34]
mov edi, esi
call fcn.100888d4
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x50]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [ebx + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0xc], ecx
mov al, byte [ebx + 0x7c]
lea esi, [ebx + 0x34]
mov byte [esp + 8], al
call fcn.100889eb
push dword [0x1010f94c]
mov eax, dword [esi]
call fcn.1008c18b
pop ecx
mov ecx, eax
mov al, byte [esp + 8]
call fcn.1001c044
push ecx
lea esi, [ebx + 0x14]
mov ecx, esi
mov dword [esp], 0x40c00000
call fcn.1001a4a5
cmp dword [esp + 0x14], 0
jbe 0x1008806e
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x28], eax
jne 0x1008806e
fld dword [eax + 0xc]
fsub dword [ebx + 0x20]
fadd qword [0x100e4e68]
jmp 0x100880b4
mov edi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x18]
cmp edi, eax
jne 0x100880a8
lea eax, [ebx + 0x24]
call fcn.1001ff6d
test eax, eax
jne 0x1008808f
mov dword [esp + 0xc], 0x40000000
jmp 0x100880b8
fld dword [edi - 0x24]
fadd dword [edi - 0x2c]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fsub dword [ebx + 0x20]
fadd qword [0x100e4dc0]
jmp 0x100880b4
fld dword [eax + 0xc]
fsub dword [ebx + 0x20]
fadd qword [0x100e4d78]
fstp dword [esp + 0xc]
mov eax, dword [esp + 0xc]
and dword [esi], 0
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc