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

Disassembly:
sub esp, 0x64
push ebx
push esi
mov esi, dword [esp + 0x70]
mov ebx, dword [esi + 0x1c]
movsx eax, word [ebx + 2]
mov dword [esp + 0x70], eax
push edi
mov edi, ecx
fild dword [esp + 0x74]
fdiv dword [esp + 0x7c]
fadd dword [0x846698]
call fcn.0081cba0
fld dword [esp + 0x7c]
fmul dword [esi + 0x10]
lea ecx, [esp + 0x40]
push ecx
push 1
push eax
fstp dword [esp + 0x88]
mov dword [esp + 0x20], eax
call fcn.005fd460
mov eax, dword [esp + 0x84]
add esp, 0xc
test eax, eax
je 0x68036d
mov edx, dword [esp + 0x44]
mov dword [eax], edx
fld dword [esp + 0x44]
fcomp dword [esi]
fnstsw ax
test ah, 0x41
jne 0x680388
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x44]
fcomp dword [esi + 4]
fnstsw ax
test ah, 5
jp 0x6803a4
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x64
ret 0x10
fld dword [ebx + 4]
movzx ecx, word [ebx + 8]
fadd dword [edi + 0x10]
lea eax, [esp + 0x4c]
push eax
sub esp, 8
mov dword [esp + 0x80], ecx
lea edx, [esp + 0x4c]
fstp dword [esp + 4]
fild dword [esp + 0x80]
fchs
fstp dword [esp]
push edx
call fcn.00610120
fld dword [edi + 4]
fld dword [edi + 8]
mov eax, dword [edi + 0xc]
fld dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
fsub st(2)
add esp, 0xc
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fld dword [esp + 0x54]
mov dword [esp + 0x38], ecx
fsub st(1)
lea ecx, [esp + 0x38]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
fstp st(0)
fstp st(0)
fld dword [esp + 0x58]
fsub dword [esp + 0x70]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fild dword [esp + 0x18]
mov dword [esp + 0x40], eax
fstp dword [esp]
call fcn.00625d30
fld dword [esi + 0x14]
mov edx, dword [esp + 0x7c]
fadd dword [edi + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push ecx
fstp dword [esp]
push edx
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x48], 0
call fcn.00610120
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
mov ecx, dword [edi + 0xac]
fld dword [esp + 0x30]
add esp, 0xc
fmul dword [esp + 0x24]
mov dword [esp + 0x7c], ecx
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fstp dword [esp]
call fcn.00798108
mov eax, dword [esi + 0x20]
fst dword [esp + 0x78]
fsub dword [esp + 0x7c]
add esp, 4
test eax, eax
fstp dword [esp + 0x14]
fld dword [esp + 0x74]
fsub dword [esp + 0x7c]
fstp dword [esp + 0x78]
jne 0x6804e0
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 0x24]
push 0
push 0
push edx
push eax
call fcn.006f5d30
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
movsx ecx, word [ebx + 2]
lea edx, [esp + 0x14]
push edx
push 0
push 0
mov dword [esp + 0x28], ecx
push ecx
mov ecx, eax
fild dword [esp + 0x2c]
jmp 0x6804fe
movsx ecx, word [ebx + 2]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0
mov dword [esp + 0x28], ecx
push ecx
mov ecx, dword [esi + 0x24]
fild dword [esp + 0x2c]
fstp dword [esp]
push 0
call fcn.006f91d0
fld dword [esp + 0xc]
fadd dword [edi + 0x10]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
push ecx
fstp dword [esp]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00610120
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push edx
push eax
call fcn.0079816a
fsub dword [edi + 0x10]
add esp, 0x14
fstp dword [esp]
call fcn.006fec00
fstp dword [esp + 0x1c]
add esp, 4
fld dword [esp + 0x7c]
fcomp dword [0x84f1e0]
fnstsw ax
test ah, 5
jp 0x680564
fld dword [0x846698]
jmp 0x68056a
fld dword [0x872470]
fld dword [esp + 0x7c]
mov dword [esp + 0x10], 0x40800000
fcomp dword [0x84f1e0]
fnstsw ax
test ah, 5
jnp 0x68058b
mov dword [esp + 0x10], 0x3fc00000
fld dword [esp + 0x7c]
mov dword [esp + 0xc], 0xc0800000
fcomp dword [0x84f1e0]
fnstsw ax
test ah, 5
jnp 0x6805ac
mov dword [esp + 0xc], 0xbfc00000
fld dword [esp + 0x7c]
fcomp dword [0x84f1e0]
fnstsw ax
test ah, 5
jp 0x6805c5
fld dword [0x84675c]
jmp 0x6805e8
fld dword [0x878218]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x6805de
fld dword [0x878218]
jmp 0x6805e2
fld dword [esp + 0x7c]
fmul dword [0x86f714]
fld dword [esp + 0x7c]
fcomp dword [0x84f1e0]
fnstsw ax
test ah, 5
jp 0x680603
mov dword [esp + 0x7c], 0xc0800000
jmp 0x68062a
fld dword [0x878218]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 0x41
jne 0x68061c
fld dword [0x878218]
jmp 0x680620
fld dword [esp + 0x7c]
fmul dword [0x87515c]
fstp dword [esp + 0x7c]
mov al, byte [esp + 0x80]
test al, al
je 0x680645
fstp st(0)
mov dword [esp + 0x7c], 0xbfc00000
fld dword [0x84f1e0]
fld dword [esp + 0x78]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x680664
pop edi
fstp st(0)
pop esi
mov eax, 4
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x78]
fcomp dword [esp + 0x7c]
fnstsw ax
test ah, 5
jp 0x680683
pop edi
fstp st(0)
pop esi
mov eax, 3
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x74]
fcomp dword [0x8782dc]
fnstsw ax
test ah, 0x41
jne 0x6806a4
pop edi
fstp st(0)
pop esi
mov eax, 5
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x18]
fabs
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x6806c3
pop edi
pop esi
mov eax, 6
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x14]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x6806e0
pop edi
pop esi
mov eax, 7
pop ebx
add esp, 0x64
ret 0x10
fld dword [esp + 0x14]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 5
jp 0x6806fd
pop edi
pop esi
mov eax, 8
pop ebx
add esp, 0x64
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x64
ret 0x10