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

Disassembly:
push 0xffffffffffffffff
push 0x1019f330
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea esi, [esp + 0x44]
call fcn.1004c630
mov esi, dword [esp + 0x78]
mov dword [esp + 0x70], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x10008fab
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
jmp 0x10008fad
xor eax, eax
test ecx, ecx
jle 0x10008fb9
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
jmp 0x10008fbb
xor ecx, ecx
push ecx
lea ebx, [esp + 0x48]
call fcn.1004d110
fldz
push ecx
fstp dword [esp]
mov edx, ebx
call fcn.1004d500
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x54]
xor ebp, ebp
cmp eax, ebp
jle 0x10009051
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xc]
mov edi, dword [ecx + eax + 4]
xor ecx, ecx
test edx, edx
jle 0x10009044
xor ebx, ebx
test ecx, ecx
fld dword [edi + ecx*4]
mov edx, dword [esp + 0x50]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
mov eax, dword [ebx + edx + 4]
fld st(0)
fmul st(0), st(0)
fadd dword [eax + ecx*4]
fstp dword [eax + ecx*4]
jle 0x10009034
mov edx, edi
sub edx, eax
mov esi, ecx
fld dword [edx + eax]
add eax, 4
sub esi, 1
fmul st(1)
fadd dword [eax - 4]
fstp dword [eax - 4]
jne 0x1000901d
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
fstp st(0)
add ecx, 1
add ebx, 0x24
cmp ecx, edx
jl 0x10008ff6
add dword [esp + 0x14], 0x24
add ebp, 1
cmp ebp, dword [esi + 0x10]
jl 0x10008fe3
xor ecx, ecx
test edx, edx
jle 0x1000908f
lea edi, [ecx + 4]
xor eax, eax
test ecx, ecx
jle 0x10009085
xor edx, edx
mov esi, dword [esp + 0x50]
mov ebx, dword [edi + esi]
fld dword [ebx + eax*4]
mov esi, dword [edx + esi + 4]
add eax, 1
fstp dword [esi + ecx*4]
add edx, 0x24
cmp eax, ecx
jl 0x10009062
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
add ecx, 1
add edi, 0x24
cmp ecx, edx
jl 0x1000905a
mov ecx, dword [esi + 0x10]
test ecx, ecx
jle 0x1000909e
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
jmp 0x100090a0
xor eax, eax
sub eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
lea eax, [esp + 0x18]
js 0x100090b8
lea eax, [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x80]
push eax
push ecx
lea edx, [esp + 0x4c]
push ebx
push edx
call fcn.10008cb0
xor esi, esi
add esp, 0x10
cmp dword [ebx + 8], esi
jle 0x10009127
fldz
fstp dword [esp + 0x80]
mov eax, dword [ebx + 4]
fld dword [eax + esi*4]
lea edi, [eax + esi*4]
fcomp qword [0x101e92d8]
fnstsw ax
test ah, 5
lea eax, [esp + 0x80]
jnp 0x10009107
mov eax, edi
fld dword [eax]
push ecx
fstp dword [esp]
call fcn.10006530
fstp dword [esp + 0x1c]
add esi, 1
fld dword [esp + 0x1c]
add esp, 4
fstp dword [edi]
cmp esi, dword [ebx + 8]
jl 0x100090e8
push 1
lea ecx, [esp + 0x24]
call fcn.10060510
mov byte [esp + 0x70], 1
mov eax, dword [ebx + 8]
push 0
push eax
lea esi, [esp + 0x28]
call fcn.10009380
xor ecx, ecx
cmp dword [ebx + 8], ecx
jle 0x10009186
fld qword [0x101e9420]
fld1
fldz
mov edx, dword [ebx + 4]
fld dword [edx + ecx*4]
lea edx, [edx + ecx*4]
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x1000916f
fld dword [edx]
fdivr st(2)
jmp 0x10009171
fld st(0)
mov eax, dword [esp + 0x24]
fstp dword [eax + ecx*4]
add ecx, 1
cmp ecx, dword [ebx + 8]
jl 0x10009157
fstp st(1)
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x10009199
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx + 8]
jmp 0x1000919b
xor ecx, ecx
mov ebx, dword [esp + 0x7c]
push ecx
call fcn.1004d110
xor eax, eax
cmp dword [ebx + 0x10], eax
mov dword [esp + 0x14], eax
jle 0x10009252
mov dword [esp + 0x80], eax
jmp 0x100091cb
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
mov edi, dword [esi + 0xc]
mov esi, dword [ebx + 0xc]
add edi, eax
add esi, eax
mov eax, ebx
xor ebp, ebp
call fcn.100065c0
test eax, eax
jle 0x10009236
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x24]
xor ebx, ebx
sub eax, esi
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0xc]
mov edx, dword [edi + 8]
mov eax, dword [ebx + eax + 4]
mov ecx, dword [edi + 4]
call fcn.10065f70
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
fld dword [esi + ecx]
mov eax, dword [esp + 0x7c]
fmul dword [esp + 0x1c]
add ebp, 1
add ebx, 0x24
add esi, 4
fstp dword [esi - 4]
call fcn.100065c0
cmp ebp, eax
jl 0x100091f1
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
add dword [esp + 0x80], 0x24
add eax, 1
cmp eax, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
jl 0x100091c0
mov eax, dword [esp + 0x84]
xor edi, edi
call fcn.100065c0
test eax, eax
jle 0x100092bd
xor ebp, ebp
xor ecx, ecx
test edi, edi
jle 0x100092a7
lea ebx, [edi*4]
xor esi, esi
mov edx, dword [esp + 0x84]
mov edx, dword [edx + 0xc]
mov eax, dword [edx + esi + 4]
mov edx, dword [edx + ebp + 4]
fld dword [edx + ecx*4]
lea edx, [edx + ecx*4]
fstp dword [esp + 0x78]
add eax, ebx
fld dword [eax]
add ecx, 1
fstp dword [edx]
add esi, 0x24
cmp ecx, edi
fld dword [esp + 0x78]
fstp dword [eax]
jl 0x10009275
mov eax, dword [esp + 0x84]
add edi, 1
add ebp, 0x24
call fcn.100065c0
cmp edi, eax
jl 0x10009266
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], vtable.ebs_FloatArr.0
mov dword [esp + 0x34], vtable.ebs_FloatArr.1.0
mov dword [esp + ecx + 0x38], vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x3c]
call fcn.1005e680
cmp byte [esp + 0x31], 0
je 0x10009302
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10009302
push eax
call fcn.10178e5d
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], 0xffffffff
call fcn.1004ad70
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret