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

Disassembly:
sub esp, 0xc0
fld1
mov eax, dword [esp + 0xd0]
fcomp dword [esp + 0xc4]
push ebx
mov ebx, dword [eax + 8]
push ebp
xor ebp, ebp
push esi
fnstsw ax
push edi
mov dword [esp + 0x28], ebp
test ah, 0x41
jnp 0x100f6e1f
cmp ebx, 1
jle 0x100f6dfa
fild dword [esp + 0xdc]
mov dword [esp + 0x20], ebp
fstp dword [esp + 0x30]
fild dword [esp + 0xd8]
fstp dword [esp + 0x34]
fld dword [0x101e93a8]
mov edx, ebx
sub edx, ebp
fstp dword [esp + 0x10]
xor esi, esi
cmp edx, 4
mov ecx, ebp
jl 0x100f6b2f
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 4]
lea edi, [ebx - 3]
lea edx, [edx + ebp*4 + 8]
lea ecx, [ecx]
fld dword [edx - 8]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6ad9
fld dword [edx - 8]
mov esi, ecx
fstp dword [esp + 0x10]
fld dword [edx - 4]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6af3
fld dword [edx - 4]
lea esi, [ecx + 1]
fstp dword [esp + 0x10]
fld dword [edx]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6b0b
fld dword [edx]
lea esi, [ecx + 2]
fstp dword [esp + 0x10]
fld dword [edx + 4]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6b25
fld dword [edx + 4]
lea esi, [ecx + 3]
fstp dword [esp + 0x10]
add ecx, 4
add edx, 0x10
cmp ecx, edi
jl 0x100f6ac0
cmp ecx, ebx
jge 0x100f6b61
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 4]
lea edx, [edx + ecx*4]
fld dword [edx]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6b57
fld dword [edx]
mov esi, ecx
fstp dword [esp + 0x10]
add ecx, 1
add edx, 4
cmp ecx, ebx
jl 0x100f6b40
mov eax, dword [esp + 0xe0]
mov edx, dword [eax + 4]
mov ecx, esi
shl ecx, 4
lea edi, [ecx + edx]
mov ecx, edi
lea eax, [esp + 0x48]
call fcn.1004b3f0
mov eax, dword [esp + 0x20]
lea ecx, [edx + eax]
mov eax, edi
call fcn.1004b480
mov edx, dword [esp + 0xe4]
mov eax, dword [edx + 4]
fld dword [eax + ebp*4]
mov ecx, dword [esp + 0xe0]
fstp dword [eax + esi*4]
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x20]
lea ecx, [esp + 0x48]
call fcn.1004b480
fld dword [esp + 0x10]
mov edx, dword [edx + 4]
fstp dword [edx + ebp*4]
sub esp, 0x10
fld dword [esp + 0x40]
lea esi, [esp + 0x68]
fld dword [esp + 0x64]
fld st(0)
fmulp st(2)
fld dword [esp + 0x60]
fld st(0)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0xc]
fmul dword [esp + 0x44]
fld dword [esp + 0x5c]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10049a10
lea edi, [ebx - 1]
cmp edi, ebp
jle 0x100f6dcf
fld dword [esp + 0x74]
mov eax, ebx
fsub dword [esp + 0x68]
shl eax, 4
fld dword [esp + 0x70]
mov dword [esp + 0x18], eax
fsub dword [esp + 0x64]
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], eax
fmulp st(1)
fstp dword [esp + 0x2c]
jmp 0x100f6c54
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xe4]
fld dword [esp + 0x30]
mov edx, dword [ecx + 4]
lea ecx, [edx + edi*4]
mov edx, dword [esp + 0xe0]
mov ebp, dword [edx + 4]
fmul dword [ebp + eax + 0xc]
add ebp, eax
sub esp, 0x10
lea esi, [esp + 0x90]
fadd dword [ebp + 8]
mov dword [esp + 0x54], ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fld dword [esp + 0x44]
fmul dword [ebp + 0xc]
fadd dword [ebp + 4]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fld dword [ebp + 8]
fstp dword [esp + 4]
fld dword [ebp + 4]
fstp dword [esp]
call fcn.10049a10
fld dword [esp + 0x9c]
lea esi, [esp + 0xa8]
fsub dword [esp + 0x90]
fld dword [esp + 0x98]
fsub dword [esp + 0x8c]
fmulp st(1)
fstp dword [esp + 0x1c]
call fcn.10049780
lea ecx, [esp + 0x80]
lea edx, [esp + 0x58]
mov esi, eax
call fcn.1004a000
fld dword [eax + 0x18]
fstp dword [esp + 0x40]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x1c]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x38]
fld dword [esp + 0x2c]
fld dword [esp + 0x1c]
fcompp
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x2c]
je 0x100f6d2f
lea eax, [esp + 0x1c]
fld dword [esp + 0x3c]
mov byte [esp + 0x17], 1
fsub dword [esp + 0x38]
fld dword [esp + 0x40]
fsub dword [esp + 0x24]
fmulp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [eax]
fmul dword [esp + 0xd4]
fcompp
fnstsw ax
test ah, 5
jnp 0x100f6d65
mov byte [esp + 0x17], 0
lea ecx, [esp + 0xc8]
call fcn.10049aa0
cmp byte [esp + 0x17], 0
je 0x100f6dad
mov ecx, dword [esp + 0xe4]
mov edx, dword [ecx + 4]
fld dword [edx + ebx*4 - 4]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
fstp dword [ecx]
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx + 4]
sub ebx, 1
sub eax, 0x10
add ecx, eax
mov dword [esp + 0x18], eax
mov eax, ebp
call fcn.1004b480
lea ecx, [esp + 0xa0]
call fcn.10049aa0
sub dword [esp + 0x10], 0x10
sub edi, 1
cmp edi, dword [esp + 0x28]
jg 0x100f6c50
mov ebp, dword [esp + 0x28]
add dword [esp + 0x20], 0x10
add ebp, 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x28], ebp
call fcn.10049aa0
lea ecx, [esp + 0x48]
call fcn.1004b470
mov eax, ebx
sub eax, ebp
cmp eax, 1
jg 0x100f6a91
mov ecx, dword [esp + 0xe0]
mov esi, dword [esp + 0xe4]
mov byte [ecx + 0x10], 0
mov edi, ebx
mov byte [esi + 0x10], 0
call fcn.1000ec40
push 0
push ebx
call fcn.10009380
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xc0
ret