Function at 0x6699e0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6d5c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x498
push ebx
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], edx
fld dword [esp + 0x34]
mov dword [esp + 0x2c], eax
fsub dword [esp + 0x2c]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x38], eax
fstp dword [esp + 0x44]
mov dword [esp + 0x30], ecx
fld dword [esp + 0x44]
lea ecx, [esp + 0x34]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fsub dword [esp + 0x30]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fstp dword [esp + 0x34]
fld dword [esp + 0x3c]
fstp dword [esp + 0x38]
call fcn.006676d0
fstp st(0)
fld dword [esp + 0x38]
fmul qword [0x6d89a0]
fstp dword [esp + 0x68]
fldz
fld dword [esp + 0x34]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x669a94
fchs
fstp dword [esp + 0x40]
fld dword [esp + 0x68]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x669aa9
fchs
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
fld dword [edi + 0x10]
push ecx
fstp dword [esp + 0x50]
lea edx, [esp + 0x30]
fld dword [esp + 0x48]
push edx
fstp dword [esp + 0x18]
lea eax, [esp + 0x58]
fld dword [esp + 0x50]
push eax
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fld dword [esp + 0x58]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fadd dword [esp + 0x38]
fstp dword [esp + 0x1c]
fld dword [esp + 0x3c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fstp dword [esp + 0x2c]
call fcn.00669410
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x6c], edx
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00669490
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0xb0]
xor esi, esi
add esp, 0x18
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x498], esi
mov dword [esp + 0x49c], 0x100
push ebx
lea ecx, [esp + 0x98]
mov dword [esp + 0x4b4], esi
call fcn.00669320
mov eax, dword [esp + 0x498]
cmp eax, esi
jle 0x669e40
fld qword [0x6d8950]
fldz
mov ecx, dword [esp + 0x94]
dec eax
mov dword [esp + 0x498], eax
mov ecx, dword [ecx + eax*4]
cmp ecx, 0xffffffff
je 0x669e2d
mov eax, dword [ebx + 4]
fld dword [esp + 0x58]
lea edx, [ecx + ecx*8]
fsub dword [eax + edx*4 + 8]
lea esi, [eax + edx*4]
fstp dword [esp + 0x14]
fld dword [esp + 0x5c]
fsub dword [esi + 0xc]
fstp dword [esp + 0x10]
fld dword [esi]
fsub dword [esp + 0x60]
fstp dword [esp + 0x28]
fld dword [esi + 4]
fsub dword [esp + 0x64]
fstp dword [esp + 0x18]
fcom dword [esp + 0x14]
fnstsw ax
test ah, 5
jnp 0x669e2d
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x669e2d
fcom dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x669e2d
fcom dword [esp + 0x18]
fnstsw ax
test ah, 5
jnp 0x669e2d
fld dword [esi + 8]
fadd dword [esi]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fadd dword [esi + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0x14]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x10]
fld dword [esi + 8]
fsub dword [esi]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fsub dword [esi + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fsub dword [esp + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x18]
fmul dword [esp + 0x68]
fld dword [esp + 0x28]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x669caf
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x24]
fmul dword [esp + 0x3c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x1c]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 5
jnp 0x669e2d
cmp dword [esi + 0x18], 0xffffffff
fstp st(1)
lea eax, [esi + 0x18]
fstp st(0)
jne 0x669dfc
mov edx, dword [edi]
fld dword [esp + 0x4c]
mov eax, dword [edi + 4]
fstp dword [esp + 0x80]
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0xc]
push ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
call fcn.006697e0
fstp dword [esp + 0x1c]
fldz
fld st(0)
fld dword [esp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x669e7e
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x669e23
fstp st(1)
lea edx, [esp + 0x50]
fst dword [esp + 0x4c]
push edx
fld dword [esp + 0x48]
lea eax, [esp + 0x30]
fstp dword [esp + 0x20]
push eax
fld dword [esp + 0x50]
lea ecx, [esp + 0x94]
fstp dword [esp + 0x2c]
push ecx
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [esp + 0x38]
fstp dword [esp + 0x28]
fld dword [esp + 0x30]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fstp dword [esp + 0x5c]
fld dword [esp + 0x30]
fstp dword [esp + 0x60]
call fcn.00669410
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], edx
push ecx
lea edx, [esp + 0x3c]
mov dword [esp + 0x6c], eax
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00669490
fld qword [0x6d8950]
mov ecx, dword [eax]
fldz
mov edx, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
jmp 0x669e2d
push eax
lea ecx, [esp + 0x98]
call fcn.00669320
add esi, 0x1c
push esi
lea ecx, [esp + 0x98]
call fcn.00669320
fld qword [0x6d8950]
fldz
jmp 0x669e2d
fstp st(0)
fld qword [0x6d8950]
fxch st(1)
mov eax, dword [esp + 0x498]
test eax, eax
jg 0x669b98
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
mov dword [esp + 0x4b0], 0xffffffff
je 0x669e66
push eax
call fcn.00676460
add esp, 4
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x94]
fstp st(0)
lea ecx, [esp + 0x98]
fstp st(0)
cmp eax, ecx
jmp 0x669e50