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

Disassembly:
push 0xffffffffffffffff
push 0x101986f0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x90]
mov eax, dword [ebx + 0x10]
xor ebp, ebp
cmp eax, ebp
jle 0x100066e6
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 8]
mov dword [esp + 0x1c], edi
jmp 0x100066ec
mov dword [esp + 0x1c], ebp
mov edi, ebp
push 1
lea ecx, [esp + 0x3c]
call fcn.1004bc70
push 1
lea ecx, [esp + 0x60]
mov dword [esp + 0x8c], ebp
call fcn.1004bc70
push ebp
push edi
lea esi, [esp + 0x64]
mov byte [esp + 0x90], 1
call fcn.10009380
push ebp
push edi
lea esi, [esp + 0x40]
call fcn.10009380
mov eax, dword [esp + 0x94]
cmp eax, ebp
je 0x1000673b
call fcn.1004d590
mov edi, dword [esp + 0x1c]
lea esi, [edi - 1]
cmp esi, ebp
jle 0x10006ac1
mov ebp, dword [esp + 0x60]
fldz
lea eax, [esi + esi*8]
add eax, eax
add eax, eax
mov ecx, 4
lea edi, [ebp + esi*4 - 4]
sub ecx, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ecx
jmp 0x10006770
mov eax, dword [esp + 0x20]
test esi, esi
fst dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [eax + ecx + 4]
jle 0x100067a5
mov eax, ebp
sub ecx, ebp
mov edx, esi
fld dword [ecx + eax]
add eax, 4
sub edx, 1
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [eax - 4]
fmul st(0), st(0)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jne 0x10006785
fst dword [edi + 4]
mov dword [esp + 0x18], 1
fcomp dword [edi]
fnstsw ax
test ah, 5
jnp 0x100067c1
mov dword [esp + 0x18], 0xffffffff
fld dword [esp + 0x14]
push ecx
fstp dword [esp]
call fcn.10006530
fimul dword [esp + 0x1c]
add esp, 4
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld st(0)
fld dword [edi]
fadd st(0), st(0)
fmul st(2)
fld st(1)
fmulp st(2)
faddp st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fadd dword [edi]
fstp dword [edi]
fld dword [esp + 0x14]
fld qword [0x101e9328]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x14]
fldz
fld st(0)
fld dword [esp + 0x14]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10006822
fld1
fdivrp st(1)
jmp 0x10006826
fstp st(0)
fldz
test esi, esi
fstp dword [esp + 0x28]
fst dword [esp + 0x18]
fld dword [esp + 0x28]
jl 0x100068c2
mov eax, dword [esp + 0x3c]
xor ebx, ebx
sub eax, ebp
lea edx, [esi + 1]
mov edi, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
jmp 0x10006853
fxch st(1)
test esi, esi
fxch st(1)
mov ecx, dword [esp + 0x90]
fst dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebx + edx + 4]
jle 0x1000688b
mov eax, ebp
sub ecx, ebp
mov edx, esi
fld dword [ecx + eax]
add eax, 4
sub edx, 1
fmul dword [eax - 4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jne 0x10006871
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x14]
add ebx, 0x24
fmul st(2)
add edi, 4
sub dword [esp + 0x28], 1
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [eax + edi - 4]
fmul dword [edi - 4]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jne 0x10006851
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x90]
jmp 0x100068c4
fxch st(1)
test esi, esi
fld st(1)
fmulp st(3)
fld dword [esp + 0x18]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x18]
jle 0x10006989
mov eax, dword [esp + 0x3c]
fld dword [esp + 0x18]
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov edx, esi
fld dword [eax]
add eax, 4
sub edx, 1
fld dword [ecx + eax - 4]
fmul st(2)
fsubp st(1)
fstp dword [eax - 4]
jne 0x100068ee
mov ebx, dword [esp + 0x3c]
fstp st(0)
mov edi, dword [esp + 0x3c]
sub ebx, ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], esi
jmp 0x1000691d
mov ecx, dword [esp + 0x2c]
fld dword [edi + ecx]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
fstp dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
fld dword [edi]
mov eax, dword [edx + ecx + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
mov edx, ebp
fld dword [esp + 0x30]
sub edx, eax
mov ebp, esi
fld dword [eax]
lea ecx, [edx + eax]
fld dword [ecx + ebx]
add eax, 4
sub ebp, 1
fmul st(3)
fld dword [ecx]
fmul st(3)
faddp st(1)
fsubp st(1)
fstp dword [eax - 4]
jne 0x1000694a
add dword [esp + 0x18], 0x24
fstp st(1)
mov ebp, dword [esp + 0x60]
fstp st(0)
add edi, 4
sub dword [esp + 0x28], 1
jne 0x10006919
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x3c]
fld dword [eax + esi*4]
mov eax, dword [ebx + 0xc]
fmul dword [edi]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + eax + 4]
mov ecx, dword [esp + 0x34]
fstp dword [esp + 0x30]
add ecx, edi
fld dword [eax + ecx - 4]
lea eax, [eax + ecx - 4]
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [eax]
mov eax, dword [ebx + 0xc]
mov eax, dword [edx + eax - 0x20]
fsubr dword [eax + ecx]
add eax, ecx
cmp esi, 2
fstp dword [eax]
lea eax, [esi - 2]
jl 0x10006a09
add edx, 0xffffffb8
jmp 0x100069d8
fxch st(1)
mov edi, dword [ebx + 0xc]
fxch st(1)
mov ebx, dword [esp + 0x20]
mov edi, dword [ebx + edi + 4]
mov ebx, dword [esp + 0x90]
fst dword [edi + eax*4]
mov edi, dword [ebx + 0xc]
mov edi, dword [edx + edi + 4]
sub eax, 1
fst dword [ecx + edi]
sub edx, 0x24
test eax, eax
jge 0x100069d6
mov edi, dword [esp + 0x24]
jmp 0x10006a0b
fxch st(1)
cmp dword [esp + 0x94], 0
je 0x10006aa6
cmp dword [esp + 0x1c], 0
jle 0x10006aa6
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov dword [esp + 0x28], ecx
test esi, esi
fst dword [esp + 0x18]
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xc]
mov eax, dword [ebx + eax + 4]
jle 0x10006a66
mov edx, eax
mov ecx, ebp
sub edx, ebp
mov edi, esi
fld dword [edx + ecx]
add ecx, 4
sub edi, 1
fmul dword [ecx - 4]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jne 0x10006a4c
mov edi, dword [esp + 0x24]
test esi, esi
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0x18]
jle 0x10006a95
fld dword [esp + 0x18]
mov ecx, ebp
sub ecx, eax
mov edx, esi
fld dword [eax]
add eax, 4
sub edx, 1
fld dword [ecx + eax - 4]
fmul st(2)
fsubp st(1)
fstp dword [eax - 4]
jne 0x10006a7e
fstp st(0)
add ebx, 0x24
sub dword [esp + 0x28], 1
jne 0x10006a2e
mov ebx, dword [esp + 0x90]
sub dword [esp + 0x20], 0x24
fstp st(1)
sub esi, 1
sub edi, 4
test esi, esi
mov dword [esp + 0x24], edi
jg 0x1000676c
fstp st(0)
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov ebx, vtable.ebs_FloatArr.0
mov edi, vtable.ebs_FloatArr.1.0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], edi
mov esi, vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x78]
mov dword [esp + edx + 0x74], esi
call fcn.1005e680
cmp byte [esp + 0x6d], 0
je 0x10006b0c
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10006b0c
push eax
call fcn.10178e5d
add esp, 4
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + ecx + 0x50], esi
lea ecx, [esp + 0x54]
call fcn.1005e680
cmp byte [esp + 0x49], 0
je 0x10006b4b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10006b4b
push eax
call fcn.10178e5d
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret