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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a1b18
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x10]
xor esi, esi
mov eax, edi
mov dword [esp + 0x40], esi
call fcn.10048df0
test al, al
je 0x1008cf50
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax + 0x54]
push ecx
push edx
mov ecx, ebx
call eax
fldz
push ecx
fstp dword [esp]
lea esi, [ebx - 0x1c]
call fcn.1008b2c0
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.10048eb0
jmp 0x1008d2cb
lea eax, [esp + 0x44]
call fcn.10048eb0
cmp dword [ebp + 0x14], esi
mov dword [esp + 0x78], esi
je 0x1008d2a9
cmp dword [ebp + 0x18], esi
je 0x1008d2a9
mov ecx, dword [ebx + 0xc]
cmp ecx, esi
je 0x1008cf82
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 2
je 0x1008cf8f
lea edx, [ebx + 8]
mov ecx, 2
call fcn.1007c320
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x1008cf9f
add eax, 0xffffffe4
mov dword [esp + 0x14], eax
jmp 0x1008cfa3
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x90]
add esi, 0x1c
push edi
push eax
mov ecx, esi
call edx
mov eax, dword [edi + 0x18]
mov ecx, eax
sub ecx, dword [edi + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
cmp ecx, eax
jle 0x1008cfe2
push eax
lea eax, [ebx - 0x1c]
call fcn.10089c50
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x38], eax
sub eax, dword [edi + 0x10]
mov edi, dword [ebp + 0x18]
cmp eax, edi
jle 0x1008d006
push edi
lea eax, [ebx - 0x1c]
call fcn.10089e00
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x60], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
cmp eax, dword [ebp + 0x14]
jne 0x1008d032
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
mov ecx, esi
call eax
cmp eax, edi
jne 0x1008d032
mov eax, dword [esp + 0x14]
lea ecx, [ebx - 0x1c]
call fcn.10001cc0
jmp 0x1008d2b4
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx + 0x40]
mov ecx, esi
mov dword [esp + 0x24], edi
call eax
fild dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 0x18]
fidiv dword [esp + 0x24]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
mov edx, dword [edx + 0x54]
push esi
push eax
mov ecx, ebx
fstp dword [esp + 0x40]
fild dword [ebp + 0x18]
fidiv dword [esp + 0x20]
fstp dword [esp + 0x3c]
call edx
fld1
fld dword [esp + 0x38]
mov ebx, dword [ebx - 0x18]
fcom st(1)
fnstsw ax
fld1
test ah, 5
jp 0x1008d095
fld st(0)
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x20]
jmp 0x1008d0c7
fxch st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x1008d0bf
mov ecx, dword [ebp + 0x14]
lea eax, [edi - 1]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
add ecx, 0xffffffff
mov dword [esp + 0x38], ecx
fidiv dword [esp + 0x38]
fstp dword [esp + 0x20]
jmp 0x1008d0c7
fxch st(1)
fst dword [esp + 0x20]
fxch st(1)
fld dword [esp + 0x34]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x1008d0dc
fdivr st(1)
fstp dword [esp + 0x28]
jmp 0x1008d10d
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x1008d105
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
lea eax, [esi - 1]
mov dword [esp + 0x38], eax
fidiv dword [esp + 0x38]
fstp dword [esp + 0x28]
jmp 0x1008d10d
fxch st(1)
fst dword [esp + 0x28]
fxch st(1)
test esi, esi
fldz
fst dword [esp + 0x2c]
jle 0x1008d2a1
mov dword [esp + 0x38], esi
jmp 0x1008d123
fxch st(2)
fld dword [esp + 0x2c]
fld st(0)
call fcn.10189ea0
fld st(0)
fadd st(3)
mov esi, eax
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fld st(0)
call fcn.10189ea0
cmp eax, esi
mov dword [esp + 0x34], eax
fisub dword [esp + 0x34]
fstp dword [esp + 0x1c]
jne 0x1008d15b
fxch st(1)
fst dword [esp + 0x1c]
fxch st(1)
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jl 0x1008d175
add ecx, 0xffffffff
cmp esi, ecx
jl 0x1008d175
fxch st(3)
sub esi, 1
fst dword [esp + 0x1c]
jmp 0x1008d177
fxch st(3)
mov eax, dword [ebp + 0x14]
fxch st(1)
test eax, eax
fst dword [esp + 0x30]
jle 0x1008d282
mov ecx, dword [esp + 0x14]
fstp st(3)
imul esi, edi
fstp st(2)
fld dword [esp + 0x1c]
fld st(0)
fsubr st(2)
mov edx, dword [ecx + 4]
lea ecx, [edi*4]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], eax
jmp 0x1008d1b7
fld1
fxch st(3)
fld dword [esp + 0x30]
fld st(0)
call fcn.10189ea0
fld st(0)
fadd st(4)
mov edi, eax
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld st(0)
call fcn.10189ea0
cmp eax, edi
mov dword [esp + 0x30], eax
fisub dword [esp + 0x30]
fstp dword [esp + 0x1c]
jne 0x1008d1ed
fldz
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jl 0x1008d207
add ecx, 0xffffffff
cmp edi, ecx
jl 0x1008d207
fxch st(4)
sub edi, 1
fstp dword [esp + 0x1c]
jmp 0x1008d209
fstp st(4)
fld dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
fld st(0)
fsubr st(4)
lea edx, [esi + edi]
lea eax, [eax + edx*4]
fld dword [ecx + eax + 4]
add ebx, 4
sub dword [esp + 0x34], 1
fmul st(2)
fld dword [ecx + eax]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul st(4)
fld dword [eax + 4]
fmulp st(3)
fld dword [eax]
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul st(2)
faddp st(1)
fstp dword [ebx - 4]
fld dword [esp + 0x20]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x30]
jne 0x1008d1b3
mov edi, dword [esp + 0x24]
fstp st(0)
fstp st(1)
fld dword [esp + 0x2c]
fld1
fldz
fxch st(2)
fxch st(3)
fxch st(2)
sub dword [esp + 0x38], 1
fld dword [esp + 0x28]
faddp st(4)
fxch st(3)
fstp dword [esp + 0x2c]
jne 0x1008d121
fstp st(1)
fstp st(1)
fstp st(0)
jmp 0x1008d2b4
fstp st(1)
fstp st(0)
fstp st(0)
jmp 0x1008d2b4
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
push esi
push esi
mov ecx, ebx
call eax
mov esi, dword [ebp + 8]
lea edi, [esp + 0x44]
mov eax, esi
call fcn.10048eb0
lea ecx, [esp + 0x64]
call fcn.10049090
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14