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

Disassembly:
sub esp, 0xcc
fld1
mov ecx, dword [esp + 0xdc]
fcomp dword [esp + 0xd0]
push ebx
mov ebx, dword [ecx + 8]
push ebp
push esi
push edi
fnstsw ax
xor edi, edi
mov dword [esp + 0x30], edi
test ah, 0x41
mov dword [esp + 0x24], ebx
jnp 0x100f7278
cmp ebx, 1
jle 0x100f7245
fild dword [esp + 0xe8]
mov dword [esp + 0x28], edi
fstp dword [esp + 0x40]
fild dword [esp + 0xe4]
fstp dword [esp + 0x38]
fld dword [0x101e93a8]
mov eax, ebx
sub eax, edi
fstp dword [esp + 0x14]
xor edx, edx
cmp eax, 4
mov ecx, edi
jl 0x100f6f20
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 4]
lea ebp, [ebx - 3]
lea esi, [eax + edi*4 + 8]
fld dword [esi - 8]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6eca
fld dword [esi - 8]
mov edx, ecx
fstp dword [esp + 0x14]
fld dword [esi - 4]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6ee4
fld dword [esi - 4]
lea edx, [ecx + 1]
fstp dword [esp + 0x14]
fld dword [esi]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6efc
fld dword [esi]
lea edx, [ecx + 2]
fstp dword [esp + 0x14]
fld dword [esi + 4]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6f16
fld dword [esi + 4]
lea edx, [ecx + 3]
fstp dword [esp + 0x14]
add ecx, 4
add esi, 0x10
cmp ecx, ebp
jl 0x100f6eb1
cmp ecx, ebx
jge 0x100f6f52
mov eax, dword [esp + 0xf0]
mov eax, dword [eax + 4]
lea esi, [eax + ecx*4]
fld dword [esi]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x100f6f48
fld dword [esi]
mov edx, ecx
fstp dword [esp + 0x14]
add ecx, 1
add esi, 4
cmp ecx, ebx
jl 0x100f6f31
mov ecx, dword [esp + 0xec]
mov esi, dword [ecx + 4]
mov eax, edx
shl eax, 4
lea ebp, [eax + esi]
mov ecx, ebp
lea eax, [esp + 0x50]
call fcn.1004b3f0
mov ebx, dword [esp + 0xf4]
mov ecx, dword [ebx + 4]
fld dword [ecx + edx*4]
mov eax, dword [esp + 0x28]
lea ecx, [esi + eax]
fstp dword [esp + 0x1c]
mov eax, ebp
call fcn.1004b480
mov ebp, dword [esp + 0xf0]
mov eax, dword [ebp + 4]
fld dword [eax + edi*4]
mov ecx, dword [esp + 0xec]
fstp dword [eax + edx*4]
mov eax, dword [ebx + 4]
fld dword [eax + edi*4]
fstp dword [eax + edx*4]
mov eax, dword [ecx + 4]
add eax, dword [esp + 0x28]
lea ecx, [esp + 0x50]
call fcn.1004b480
fld dword [esp + 0x14]
mov edx, dword [ebp + 4]
fstp dword [edx + edi*4]
mov eax, dword [ebx + 4]
fld dword [esp + 0x1c]
sub esp, 0x10
fstp dword [eax + edi*4]
lea esi, [esp + 0x70]
fld dword [esp + 0x50]
fld dword [esp + 0x6c]
fld st(0)
fmulp st(2)
fld dword [esp + 0x68]
fld st(0)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0xc]
fmul dword [esp + 0x48]
fld dword [esp + 0x64]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 8]
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.10049a10
mov esi, dword [esp + 0x24]
lea eax, [esi - 1]
cmp eax, edi
mov dword [esp + 0x14], eax
jle 0x100f720e
fld dword [esp + 0x7c]
shl esi, 4
fsub dword [esp + 0x70]
mov ecx, eax
fld dword [esp + 0x78]
shl ecx, 4
fsub dword [esp + 0x6c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ecx
fmulp st(1)
fstp dword [esp + 0x3c]
jmp 0x100f7076
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0xf4]
mov ebp, dword [esp + 0xf0]
mov edi, dword [ebp + 4]
fld dword [esp + 0x40]
mov edx, dword [esp + 0xec]
mov ebp, dword [edx + 4]
fmul dword [ebp + ecx + 0xc]
add ebp, ecx
mov ebx, dword [ebx + 4]
sub esp, 0x10
fadd dword [ebp + 8]
add eax, eax
add eax, eax
lea esi, [esp + 0x98]
fstp dword [esp + 0x30]
add edi, eax
fld dword [esp + 0x30]
add ebx, eax
fstp dword [esp + 0xc]
fld dword [esp + 0x48]
fmul dword [ebp + 0xc]
fadd dword [ebp + 4]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
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 + 0xa4]
lea esi, [esp + 0xb0]
fsub dword [esp + 0x98]
fld dword [esp + 0xa0]
fsub dword [esp + 0x94]
fmulp st(1)
fstp dword [esp + 0x20]
call fcn.10049780
lea ecx, [esp + 0x88]
lea edx, [esp + 0x60]
mov esi, eax
call fcn.1004a000
fld dword [eax + 0x18]
fstp dword [esp + 0x48]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x1c]
fstp dword [esp + 0x44]
fld dword [eax + 0x10]
fstp dword [esp + 0x4c]
fld dword [esp + 0x3c]
fld dword [esp + 0x20]
fcompp
fnstsw ax
test ah, 0x41
lea eax, [esp + 0x3c]
je 0x100f714e
lea eax, [esp + 0x20]
fld dword [esp + 0x44]
mov byte [esp + 0x1b], 1
fsub dword [esp + 0x4c]
fld dword [esp + 0x48]
fsub dword [esp + 0x2c]
fmulp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [eax]
fmul dword [esp + 0xe0]
fcompp
fnstsw ax
test ah, 5
jnp 0x100f7184
mov byte [esp + 0x1b], 0
lea ecx, [esp + 0xd0]
call fcn.10049aa0
cmp byte [esp + 0x1b], 0
je 0x100f71e0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xf0]
mov ecx, dword [ecx + 4]
fld dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x1c]
fstp dword [edi]
mov ecx, dword [ecx + 4]
fld dword [ecx + eax*4 - 4]
sub eax, 1
mov dword [esp + 0x24], eax
fstp dword [ebx]
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 4]
sub edx, 0x10
add ecx, edx
mov eax, ebp
mov dword [esp + 0x1c], edx
call fcn.1004b480
lea ecx, [esp + 0xa8]
call fcn.10049aa0
mov eax, dword [esp + 0x14]
sub dword [esp + 0x34], 0x10
sub eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jg 0x100f7060
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
add dword [esp + 0x28], 0x10
add edi, 1
lea ecx, [esp + 0x80]
mov dword [esp + 0x30], edi
call fcn.10049aa0
lea ecx, [esp + 0x50]
call fcn.1004b470
mov ebx, dword [esp + 0x24]
sub esi, edi
cmp esi, 1
jg 0x100f6e85
mov ecx, dword [esp + 0xec]
mov esi, dword [esp + 0xf0]
mov ebp, dword [esp + 0xf4]
mov byte [ecx + 0x10], 0
mov byte [esi + 0x10], 0
mov edi, ebx
mov byte [ebp + 0x10], 0
call fcn.1000ec40
push 0
push ebx
call fcn.10009380
push 0
push ebx
mov esi, ebp
call fcn.10009380
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0xcc
ret