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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
fldz
push ebx
mov ebx, ecx
fcomp dword [ebx + 0xc0]
push esi
push edi
mov dword [esp + 0x48], ebx
fnstsw ax
test ah, 0x44
jnp 0x49b758
fld1
fcomp dword [ebx + 0xc4]
fnstsw ax
test ah, 0x41
jnp 0x49b758
mov eax, dword [ebx + 0x3c]
push dword [eax + 0x34]
call fcn.004042d6
pop ecx
push 2
pop esi
call fcn.00403a67
fldz
mov eax, dword [ebx + 0x8c]
fst dword [esp + 0x78]
test eax, eax
fst dword [esp + 0x90]
fst dword [esp + 0xa8]
fst dword [esp + 0xc0]
fst dword [esp + 0x80]
fst dword [esp + 0xc8]
fld1
fst dword [esp + 0x98]
fstp dword [esp + 0xb0]
fild dword [ebx + 0x8c]
jge 0x49b3a4
fadd dword [0x5439c0]
fld1
lea esi, [ebx + 0x48]
fdivrp st(1)
mov eax, dword [esi]
sub esp, 0xc
mov dword [esp + 0x74], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x58], esi
mov dword [esp + 0x78], eax
fstp dword [esp + 0x4c]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [ebx + 0xb8]
fstp dword [esp]
call fcn.0040ba61
fmul dword [ebx + 0xb4]
fadd dword [esi]
fstp dword [esi]
fldz
fst dword [esp + 8]
fld dword [ebx + 0xb8]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.0040ba61
fmul dword [ebx + 0xb4]
lea eax, [ebx + 0x50]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
fadd dword [ebx + 0x4c]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], ecx
lea edx, [ebx + 0x40]
fstp dword [ebx + 0x4c]
add esp, 8
fld dword [esp + 0x44]
mov ecx, esi
lea esi, [esp + 0x5c]
fstp dword [esp]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
call fcn.004339d8
fld dword [esp + 0x5c]
fsub dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x60]
fsub dword [esp + 0x28]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.0040c294
fstp dword [esp + 0x34]
mov esi, ebx
fld dword [esp + 0x1c]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x20]
fldz
fstp dword [esp]
call fcn.0049aeb8
fstp dword [esp + 0x10]
fld dword [ebx + 0x9c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fstp qword [esp + 0x30]
fld dword [esp + 0x20]
fsub qword [esp + 0x30]
fstp dword [esp + 0x88]
fld dword [esp + 0x10]
fmul dword [esp + 0x18]
fstp qword [esp + 0x10]
fld dword [esp + 0x24]
push ecx
fadd qword [esp + 0x14]
lea edi, [esp + 0x48]
fstp dword [esp + 0x90]
fld dword [esp + 0x30]
fstp dword [esp + 0xa0]
fldz
fstp dword [esp]
call fcn.0049afa3
fld dword [esp + 0x20]
fadd qword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x94], eax
mov dword [esp + 0x7c], eax
fstp dword [esp + 0x70]
fld dword [esp + 0x24]
fsub qword [esp + 0x10]
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fstp dword [esp + 0x84]
fld dword [esp + 0x40]
fstp dword [esp + 0x28]
fld dword [0x543d70]
fcomp dword [esp + 0x40]
fnstsw ax
test ah, 1
jne 0x49b747
lea eax, [ebx + 0x58]
mov dword [esp + 0x44], eax
fld dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x50]
fstp dword [esp]
lea esi, [esp + 0x24]
call fcn.004339d8
fld dword [esp + 0x2c]
fadd dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x68]
fstp qword [esp + 0x14]
lea esi, [esp + 0x5c]
fld qword [esp + 0x14]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.004339d8
mov eax, dword [esp + 0x48]
pop ecx
call fcn.00412c16
test eax, eax
jbe 0x49b5e3
fld qword [0x543d68]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x49b5e3
fld dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push ecx
lea ebx, [esp + 0x24]
fstp dword [esp]
call fcn.0049b1d3
fld dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push ecx
mov ebx, esi
fstp dword [esp]
call fcn.0049b1d3
mov ebx, dword [esp + 0x48]
fld dword [esp + 0x58]
push ecx
fsub dword [esp + 0x24]
fstp dword [esp + 0x54]
mov eax, dword [esp + 0x54]
fld dword [esp + 0x60]
mov dword [esp + 0x1c], eax
fsub dword [esp + 0x28]
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
fld dword [esp + 0x58]
mov dword [esp + 0x20], eax
fld dword [esp + 0x54]
fld st(0)
fmulp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fstp dword [esp]
call fcn.0040c294
fstp dword [esp + 0x34]
mov esi, ebx
fld dword [esp + 0x34]
fmul dword [ebx + 0x98]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.0049aeb8
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x54]
lea edi, [esp + 0xd8]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fdiv dword [esp + 0x34]
fstp dword [esp + 0x20]
fld dword [esp + 0x14]
fmul dword [esp + 0x20]
fstp qword [esp + 0x34]
fld dword [esp + 0x24]
fsub qword [esp + 0x34]
fstp dword [esp + 0xa4]
fld dword [esp + 0x14]
fmul dword [esp + 0x1c]
fstp qword [esp + 0x14]
fld dword [esp + 0x28]
fadd qword [esp + 0x14]
fstp dword [esp + 0xa8]
fld dword [esp + 0x30]
fstp dword [esp + 0xb8]
fld dword [esp + 0x2c]
fstp dword [esp]
call fcn.0049afa3
mov eax, dword [eax]
fld dword [esp + 0x20]
fadd qword [esp + 0x30]
mov dword [esp + 0xac], eax
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x70]
fstp dword [esp + 0xb8]
push eax
fld dword [esp + 0x28]
fsub qword [esp + 0x14]
fstp dword [esp + 0xc0]
fld dword [esp + 0x30]
fstp dword [esp + 0xd0]
call fcn.0040429e
pop ecx
push 6
pop ecx
lea esi, [esp + 0xb8]
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
push 6
pop ecx
lea esi, [esp + 0xa0]
lea edi, [esp + 0x88]
fld dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x28]
fld dword [0x543d70]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x49b54b
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4