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

Disassembly:
push 0xffffffffffffffff
push 0x1019c2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, dword [edi + 0x10]
test eax, eax
jle 0x10008cfe
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + 8]
test ecx, ecx
jge 0x10008cfe
xor ebx, ebx
test eax, eax
setle bl
sub ebx, 1
and ebx, ecx
jmp 0x10008d00
xor ebx, ebx
test eax, eax
jle 0x10008d10
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 8]
mov dword [esp + 0x14], eax
jmp 0x10008d18
mov dword [esp + 0x14], 0
lea esi, [esp + 0x3c]
call fcn.1004c630
mov ecx, esi
push ecx
push edi
mov dword [esp + 0x70], 0
call fcn.100066a0
push ebp
push edi
call fcn.10006b70
fldz
mov eax, dword [ebp + 8]
add esp, 0x10
xor ecx, ecx
test eax, eax
jle 0x10008d71
mov edx, dword [ebp + 4]
fcom dword [edx + ecx*4]
lea edx, [edx + ecx*4]
fnstsw ax
test ah, 5
jp 0x10008d5f
fld dword [edx]
fstp dword [esp + 0x74]
jmp 0x10008d63
fst dword [esp + 0x74]
fld dword [esp + 0x74]
add ecx, 1
fstp dword [edx]
cmp ecx, dword [ebp + 8]
jl 0x10008d47
mov edi, ebp
fstp st(0)
mov esi, ebp
call fcn.10060cc0
mov eax, dword [esp + 0x7c]
test eax, eax
jle 0x10008db9
mov ecx, dword [ebp + 8]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x74], 0
lea eax, [esp + 0x74]
js 0x10008da1
lea eax, [esp + 0x7c]
mov eax, dword [eax]
cmp eax, ecx
jge 0x10008db9
fldz
mov ecx, dword [ebp + 4]
fst dword [ecx + eax*4]
add eax, 1
cmp eax, dword [ebp + 8]
jl 0x10008da9
fstp st(0)
test ebx, ebx
jle 0x10008dda
cmp ebx, dword [ebp + 8]
mov eax, ebx
jge 0x10008dda
xor edx, edx
mov ecx, dword [ebp + 4]
fld dword [ecx + eax*4]
add eax, 1
fstp dword [edx + ecx]
add edx, 4
cmp eax, dword [ebp + 8]
jl 0x10008dc6
mov edx, dword [esp + 0x14]
push 0
push edx
mov esi, ebp
mov byte [ebp + 0x10], 0
call fcn.10009380
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
push ebx
lea eax, [esp + 0x1c]
push ebp
push eax
mov ecx, esi
call fcn.100075e0
add esp, 0xc
mov edi, eax
mov eax, ebp
mov byte [esp + 0x68], 1
call fcn.10060770
mov byte [esp + 0x68], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x18], vtable.ebs_FloatArr.0
mov dword [esp + 0x2c], vtable.ebs_FloatArr.1.0
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x34]
mov dword [esp + edx + 0x30], vtable.ebs_FloatArr.2.0
call fcn.1005e680
cmp byte [esp + 0x29], 0
mov dword [esp + 0x18], vtable.ert_TmplArr_float_.0
je 0x10008e60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10008e60
push eax
call fcn.10178e5d
add esp, 4
push 1
lea ecx, [esp + 0x1c]
call fcn.1004bc70
xor edi, edi
mov byte [esp + 0x68], 3
cmp dword [esi + 0x10], edi
jle 0x10008e7f
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 8]
jmp 0x10008e81
xor eax, eax
push edi
push eax
lea esi, [esp + 0x20]
call fcn.10009380
cmp dword [ebx + 0x10], edi
mov dword [esp + 0x74], edi
jle 0x10008ef6
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x70], edi
mov ecx, dword [esp + 0x78]
mov esi, dword [ecx + 0xc]
add esi, dword [esp + 0x70]
xor edi, edi
test ebx, ebx
jle 0x10008ed4
xor ebp, ebp
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 8]
mov eax, dword [eax + ebp + 4]
mov ecx, dword [esi + 4]
call fcn.10065f70
mov ecx, dword [esp + 0x1c]
fstp dword [ecx + edi*4]
add edi, 1
add ebp, 0x24
cmp edi, ebx
jl 0x10008eb0
lea edi, [esp + 0x18]
call fcn.1004be00
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
add dword [esp + 0x70], 0x24
add eax, 1
cmp eax, dword [edx + 0x10]
mov dword [esp + 0x74], eax
jl 0x10008e9d
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], vtable.ebs_FloatArr.0
mov dword [esp + 0x2c], vtable.ebs_FloatArr.1.0
mov dword [esp + ecx + 0x30], vtable.ebs_FloatArr.2.0
lea ecx, [esp + 0x34]
call fcn.1005e680
cmp byte [esp + 0x29], 0
je 0x10008f3b
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10008f3b
push eax
call fcn.10178e5d
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call fcn.1004ad70
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret