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

Disassembly:
sub esp, 0x40
fld dword [esp + 0x4c]
push esi
mov esi, ecx
fadd dword [esi + 0x20]
sub esp, 0x10
lea ecx, [esp + 0x34]
fst qword [esp + 0x14]
fld dword [esi + 0x84]
fadd st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp + 0xc]
fld dword [esi + 0x7c]
fadd st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp + 8]
fld dword [esi + 0x80]
fsub st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp + 4]
fsubr dword [esi + 0x78]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.004a0d20
fld dword [esp + 0x48]
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49c702
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jnp 0x49c702
fld dword [esp + 0x4c]
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x49c700
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x49c711
fstp st(1)
fstp st(0)
pop esi
fld dword [0x4af5d0]
add esp, 0x40
ret 0xc
fxch st(1)
push ebx
fst qword [esp + 0x20]
push ebp
fxch st(1)
push edi
fstp qword [esp + 0x20]
push ecx
fsub qword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fsub dword [esi + 0xc]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.00496880
fld qword [esp + 0x2c]
fadd qword [esp + 0x14]
mov edi, eax
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fsub dword [esi + 0xc]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.00496880
fld qword [esp + 0x24]
fsub qword [esp + 0x14]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fsub dword [esi + 0x10]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.00496880
fld qword [esp + 0x24]
fadd qword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x5c], ebp
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fsub dword [esi + 0x10]
fdiv dword [esi + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
fstp dword [esp]
call fcn.00496880
fld dword [0x4af5d0]
fstp dword [esp + 0x60]
add esp, 4
fld qword [esp + 0x10]
mov ebx, eax
mov dword [esp + 0x1c], ebx
fmul st(0), st(0)
mov edx, edi
cmp edi, dword [esp + 0x18]
jg 0x49c998
mov eax, dword [esi + 0x58]
fld qword [esp + 0x20]
fld qword [esp + 0x28]
lea edi, [eax + edi*4]
mov dword [esp + 0x10], edi
fld dword [edi]
mov ecx, ebp
fsub st(1)
fmul st(0), st(0)
cmp ebp, ebx
jg 0x49c97c
mov eax, ebx
sub eax, ebp
inc eax
cmp eax, 4
jl 0x49c929
mov eax, dword [esi + 0x5c]
add ebx, 0xfffffffd
lea edi, [eax + ebp*4 + 8]
fld dword [edi - 8]
fsub st(3)
fmul st(0), st(0)
fadd st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x49c85e
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x28]
imul eax, edx
add eax, ecx
fld dword [ebp + eax*8]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49c85c
fstp dword [esp + 0x5c]
jmp 0x49c85e
fstp st(0)
fld dword [edi - 4]
fsub st(3)
fmul st(0), st(0)
fadd st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x49c89c
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x28]
imul eax, edx
add eax, ecx
fld dword [ebp + eax*8 + 8]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49c89a
fstp dword [esp + 0x5c]
jmp 0x49c89c
fstp st(0)
fld dword [edi]
fsub st(3)
fmul st(0), st(0)
fadd st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x49c8d9
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x28]
imul eax, edx
add eax, ecx
fld dword [ebp + eax*8 + 0x10]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49c8d7
fstp dword [esp + 0x5c]
jmp 0x49c8d9
fstp st(0)
fld dword [edi + 4]
fsub st(3)
fmul st(0), st(0)
fadd st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x49c917
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x28]
imul eax, edx
add eax, ecx
fld dword [ebp + eax*8 + 0x18]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49c915
fstp dword [esp + 0x5c]
jmp 0x49c917
fstp st(0)
add ecx, 4
add edi, 0x10
cmp ecx, ebx
jle 0x49c820
mov ebx, dword [esp + 0x1c]
cmp ecx, ebx
jg 0x49c978
mov eax, dword [esi + 0x5c]
lea edi, [eax + ecx*4]
fld dword [edi]
fsub st(3)
fmul st(0), st(0)
fadd st(1)
fcomp st(4)
fnstsw ax
test ah, 0x41
jp 0x49c970
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x28]
imul eax, edx
add eax, ecx
fld dword [ebp + eax*8]
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x49c96e
fstp dword [esp + 0x5c]
jmp 0x49c970
fstp st(0)
inc ecx
add edi, 4
cmp ecx, ebx
jle 0x49c933
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x10]
fstp st(0)
inc edx
add edi, 4
mov dword [esp + 0x10], edi
cmp edx, dword [esp + 0x18]
jle 0x49c7f8
fstp st(2)
fstp st(0)
pop edi
fstp st(0)
fld dword [esp + 0x58]
pop ebp
pop ebx
pop esi
add esp, 0x40
ret 0xc