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

Disassembly:
sub esp, 0x64
mov edx, ecx
push ebx
push ebp
push esi
mov ecx, dword [edx + 0x16c]
push edi
mov dword [esp + 0x2c], edx
mov eax, dword [ecx]
cmp eax, ecx
je 0x662e01
jmp 0x662a83
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
cmp esi, 1
mov dword [esp + 0x30], ecx
jg 0x662def
mov ecx, dword [ecx + 0x160]
mov eax, dword [ecx]
cmp eax, ecx
je 0x662def
jmp 0x662ab2
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 8]
mov edx, dword [eax]
xor ebx, ebx
mov dword [esp + 0x24], edx
mov eax, dword [edi + 8]
cmp eax, ebx
jne 0x662ac8
xor ebp, ebp
jmp 0x662ad0
mov ebp, dword [edi + 0xc]
sub ebp, eax
sar ebp, 2
mov eax, dword [edi]
push eax
call fcn.00664990
mov esi, dword [eax + 4]
add esp, 4
mov ecx, esi
mov edx, dword [esi]
push 0xc47a0000
call dword [edx + 0x1c]
mov eax, 0x55555556
mov dword [esp + 0x20], ebx
imul ebp
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
cmp ebp, ebx
jle 0x662dd7
mov edx, dword [edi + 8]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov eax, dword [edx + ebx]
push eax
call fcn.00457030
fld dword [esp + 0x38]
fld dword [esp + 0x3c]
fld dword [esp + 0x40]
fld st(0)
fmul dword [esi + 0x74]
fld st(2)
fmul dword [esi + 0x64]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
faddp st(1)
fld st(3)
fmul dword [esi + 0x54]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x3c]
fld st(0)
fmul dword [esi + 0x78]
fld st(2)
fmul dword [esi + 0x68]
faddp st(1)
fld st(3)
fmul dword [esi + 0x58]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x40]
fmul dword [esi + 0x7c]
fxch st(1)
fmul dword [esi + 0x6c]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x5c]
faddp st(1)
fadd dword [esi + 0x8c]
fstp dword [esp + 0x44]
mov edx, dword [edi + 8]
mov eax, dword [edx + ebx + 4]
push eax
call fcn.00457030
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fld dword [esp + 0x58]
fld st(0)
fmul dword [esi + 0x74]
fld st(2)
fmul dword [esi + 0x64]
faddp st(1)
fld st(3)
fmul dword [esi + 0x54]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x50]
fld st(0)
fmul dword [esi + 0x78]
fld st(2)
fmul dword [esi + 0x68]
faddp st(1)
fld st(3)
fmul dword [esi + 0x58]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x54]
fmul dword [esi + 0x7c]
fxch st(1)
fmul dword [esi + 0x6c]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x5c]
faddp st(1)
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
fadd dword [esi + 0x8c]
fstp dword [esp + 0x5c]
mov edx, dword [edi + 8]
mov eax, dword [edx + ebx + 8]
push eax
call fcn.00457030
fld dword [esp + 0x44]
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fld st(2)
fmul dword [esi + 0x54]
fld st(1)
fmul dword [esi + 0x74]
faddp st(1)
fld st(2)
fmul dword [esi + 0x64]
faddp st(1)
fadd dword [esi + 0x84]
fstp dword [esp + 0x44]
fld st(2)
fmul dword [esi + 0x58]
fld st(1)
fmul dword [esi + 0x78]
faddp st(1)
fld st(2)
fmul dword [esi + 0x68]
faddp st(1)
fadd dword [esi + 0x88]
fstp dword [esp + 0x48]
fxch st(2)
fmul dword [esi + 0x5c]
fxch st(2)
fmul dword [esi + 0x7c]
faddp st(2)
fmul dword [esi + 0x6c]
faddp st(1)
fadd dword [esi + 0x8c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fsub dword [esp + 0x38]
fstp dword [esp + 0x18]
fld dword [esp + 0x58]
fsub dword [esp + 0x40]
fstp dword [esp + 0x1c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x40]
fmul dword [esp + 0x18]
fld dword [esp + 0x78]
fsub dword [esp + 0x38]
fmul dword [esp + 0x1c]
fsubp st(1)
fld dword [esp + 0x7c]
fsub dword [esp + 0x58]
fld dword [esp + 0x44]
fsub dword [esp + 0x50]
fmulp st(1)
fld dword [esp + 0x4c]
fsub dword [esp + 0x58]
fld dword [esp + 0x78]
fsub dword [esp + 0x50]
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fsub dword [esp + 0x44]
fld dword [esp + 0x7c]
fsub dword [esp + 0x4c]
fmulp st(1)
fld dword [esp + 0x40]
fsub dword [esp + 0x4c]
fld dword [esp + 0x78]
fsub dword [esp + 0x44]
fmulp st(1)
fsubp st(1)
fstp dword [esp + 0x14]
fcom dword [0x7e5664]
fnstsw ax
test ah, 0x41
je 0x662d19
fld dword [esp + 0x10]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 0x41
je 0x662d19
fld dword [esp + 0x14]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 0x41
jne 0x662d52
fcomp dword [0x7e5664]
fnstsw ax
test ah, 1
jne 0x662dc3
fld dword [esp + 0x10]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 1
jne 0x662dc3
fld dword [esp + 0x14]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 1
jne 0x662dc3
jmp 0x662d54
fstp st(0)
fld dword [esp + 0x18]
fld dword [esp + 0x54]
fsub dword [esp + 0x3c]
fld dword [esp + 0x1c]
fld dword [esp + 0x44]
fsub dword [esp + 0x38]
fstp dword [esp + 0x5c]
fld dword [esp + 0x48]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fsub dword [esp + 0x40]
fld st(0)
fmul st(3)
fld dword [esp + 0x60]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x68]
fxch st(1)
fmul dword [esp + 0x5c]
fxch st(1)
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x60]
fmulp st(2)
fmul dword [esp + 0x5c]
fsubp st(1)
fld dword [esp + 0x6c]
fcomp dword [0x7e5664]
fnstsw ax
test ah, 0x41
je 0x662e0d
fstp st(0)
mov eax, dword [esp + 0x20]
add ebx, 0xc
inc eax
cmp eax, ebp
mov dword [esp + 0x20], eax
jl 0x662b06
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [edx + 0x160]
jne 0x662aae
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x16c]
cmp eax, ecx
jne 0x662a7f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x64
ret 0xc
fld dword [esp + 0x40]
fsub dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
fmulp st(1)
fld dword [esp + 0x30]
fsub dword [esp + 0x70]
pop ebp
pop ebx
fmul dword [esp + 0x58]
faddp st(1)
fdiv dword [esp + 0x5c]
fadd dword [esp + 0x2c]
fld st(0)
fstp dword [eax]
fadd dword [ecx + 0x128]
fstp dword [eax]
mov al, 1
add esp, 0x64
ret 0xc