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

Disassembly:
mov eax, dword [esp + 0x10]
fld dword [esp + 0x10]
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x48]
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], eax
fsub dword [ebx + 8]
fld dword [ebx]
push edi
fchs
push ecx
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
mov edi, dword [esp + 0x5c]
fst dword [esi + 0x34]
add esp, 4
cmp edi, ebp
je 0x6efe6f
fld dword [edi + 8]
fchs
fcomp dword [edi + 8]
fld dword [edi + 8]
fnstsw ax
test ah, 5
jnp 0x6efe10
fchs
fld dword [esi + 0x18]
fchs
fcom dword [esi + 0x18]
fnstsw ax
test ah, 5
jp 0x6efe24
fstp st(0)
fld dword [esi + 0x18]
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x6efe6f
fstp st(0)
push ecx
fld dword [edi + 8]
fsub dword [ebx + 8]
fld dword [edi]
fsub dword [ebx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
fstp dword [esi + 0x44]
mov edx, dword [edi]
lea ecx, [esi + 0x48]
mov dword [ecx], edx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
add esp, 4
mov dword [ecx + 8], edx
jmp 0x6efe86
mov ecx, dword [esi + 0x10]
fstp dword [esi + 0x44]
mov edx, dword [esi + 0x14]
lea eax, [esi + 0x48]
mov dword [eax], ecx
mov ecx, dword [esi + 0x18]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x48]
fld dword [esp + 0x50]
cmp eax, ebp
fchs
jne 0x6efea7
mov edx, dword [esp + 0x50]
fstp dword [esi + 0x28]
mov dword [esi + 0x38], 0x3f000000
mov dword [esi + 0x1c], edx
jmp 0x6efeb4
mov eax, dword [esp + 0x50]
fstp dword [esi + 0x1c]
mov dword [esi + 0x38], ebp
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x24], ecx
fld dword [esi + 0x24]
mov edx, ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x20], ebp
mov dword [esi + 0x2c], ebp
fsub dword [ebx + 8]
sub esp, 8
fstp dword [esp + 4]
fld dword [esi + 0x1c]
fsub dword [ebx]
fstp dword [esp]
call fcn.0079816a
fstp dword [esi + 0x3c]
fld dword [esi + 0x30]
fsub dword [ebx + 8]
fstp dword [esp + 4]
fld dword [esi + 0x28]
fsub dword [ebx]
fstp dword [esp]
call fcn.0079816a
mov eax, dword [esp + 0x48]
fstp dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
mov ebp, dword [eax + 0xf4]
add esp, 8
push ecx
mov ecx, ebp
call fcn.00651080
mov edx, dword [esi + 0x40]
push edx
mov ecx, ebp
mov edi, eax
call fcn.00651080
cmp edi, eax
mov ecx, dword [esi + 0x34]
push ecx
lea edx, [esp + 0x14]
mov ecx, ebp
jge 0x6eff33
push eax
push edi
jmp 0x6eff35
push edi
push eax
push 0
push edx
call fcn.00651510
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x48], edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x54], 0xbf800000
mov dword [esp + 0x58], eax
jle 0x6f000b
mov edx, dword [esp + eax*4 + 0x10]
mov ecx, dword [esp + 0x44]
cmp edx, dword [ecx]
je 0x6efff2
lea eax, [edx + edx*8]
mov ecx, dword [ebp + eax*4 + 0x64]
lea ebx, [ebp + eax*4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x68]
cmp ecx, 3
jge 0x6f003e
lea eax, [ecx + 1]
mov dword [esi + 0x68], eax
test ecx, ecx
jl 0x6efff2
mov edi, dword [esp + 0x48]
fld dword [ebx + 0x60]
fadd dword [esp + 0x40]
imul edi, edi, 0x37
add edi, edx
mov edx, dword [edi*4 + 0xa843e4]
mov eax, ecx
shl eax, 4
add eax, esi
mov dword [eax + 0x6c], edx
mov edx, dword [esp + 0x50]
mov dword [eax + 0x74], edx
lea edx, [ecx + 7]
shl edx, 4
mov dword [eax + 0x78], 0
fstp dword [edx + esi]
fld dword [esp + 0x50]
fcomp dword [esi + 0x54]
fnstsw ax
test ah, 0x41
jne 0x6efff2
mov eax, dword [esp + 0x50]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x6eff71
mov ebx, dword [esp + 0x54]
mov eax, dword [esi + 0x68]
test eax, eax
jle 0x6f0034
mov eax, dword [esi + 0x58]
lea edx, [eax + 7]
lea ecx, [esi + 0x5c]
push ecx
shl edx, 4
mov ecx, dword [edx + esi]
shl eax, 4
mov edx, dword [eax + esi + 0x74]
push ecx
push edx
push ebx
call fcn.00610120
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0x1c
xor ecx, ecx
lea edi, [esi + 0x74]
fld dword [edi]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 5
jnp 0x6eff9e
inc ecx
add edi, 0x10
cmp ecx, 3
jl 0x6f0043
jmp 0x6efff2