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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
push edi
xor edi, edi
cmp eax, edi
je 0x100d6fa5
test byte [esi + 0x41], 0x20
je 0x100d6c6c
fld1
mov dword [esi + 0x78], 0xff
fstp dword [esi + 0x7c]
jmp 0x100d6fa5
test byte [esi + 0x3c], 0x20
jne 0x100d6fa5
test byte [eax + 0x124], 0x40
jne 0x100d6fa5
cmp dword [0x1011b9d4], edi
fld1
fstp dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], 0x80
mov dword [ebp - 0xc], edi
mov ebx, 0xff
jle 0x100d6f3d
fld dword [esi + 0x44]
lea eax, [edi + 0x10137a94]
fsub dword [eax - 4]
push ecx
push ecx
fst dword [ebp - 0x28]
fld dword [esi + 0x48]
fsub dword [eax]
fst dword [ebp - 0x24]
fld dword [esi + 0x4c]
fsub dword [eax + 4]
fst dword [ebp - 0x20]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [ebp - 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100f8bd4
fst dword [ebp - 4]
pop ecx
fld dword [0x1011b9c8]
pop ecx
fcomp dword [0x10100498]
fnstsw ax
sahf
jbe 0x100d6d8c
cmp dword [0x1011b9d4], 1
jne 0x100d6d8c
fstp st(0)
push ecx
fld dword [esi + 0x44]
push ecx
fsub dword [esi + 0x50]
fld dword [esi + 0x48]
fsub dword [esi + 0x54]
fstp dword [ebp - 0x30]
fld dword [esi + 0x4c]
fsub dword [esi + 0x58]
fstp dword [ebp - 0x2c]
fsub dword [edi + 0x10137af0]
fld dword [ebp - 0x30]
fsub dword [edi + 0x10137af4]
fld dword [ebp - 0x2c]
fsub dword [edi + 0x10137af8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.100f8bd4
fstp dword [ebp - 0x14]
pop ecx
fld dword [0x1010395c]
pop ecx
fdiv dword [0x1011b9cc]
fstp dword [ebp - 8]
fld dword [ebp - 4]
fld st(0)
fsub dword [ebp - 0x14]
fmul dword [0x1011b9c8]
fsubr dword [ebp - 8]
fdiv dword [ebp - 8]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x10103598]
fnstsw ax
sahf
jae 0x100d6da1
mov dword [ebp - 8], 0x3727c5ac
fcom dword [esi + 0xc0]
fnstsw ax
sahf
jb 0x100d6db4
fstp st(0)
fld dword [esi + 0xc0]
fcom dword [esi + 0xbc]
fnstsw ax
sahf
jae 0x100d6dc7
fstp st(0)
fld dword [esi + 0xbc]
fld dword [0x1011b9d0]
fcomp dword [0x10100498]
fnstsw ax
sahf
jne 0x100d6e03
fld dword [esi + 0xc0]
fsub dword [esi + 0xbc]
fcom dword [0x10100498]
fnstsw ax
sahf
ja 0x100d6df3
fstp st(0)
jmp 0x100d6e6a
fld dword [esi + 0xc0]
fsub st(2)
fdiv st(1)
fstp st(2)
fstp st(0)
jmp 0x100d6e50
fcom dword [esi + 0xbc]
fnstsw ax
sahf
jbe 0x100d6e35
fld dword [0x1011b9d0]
fcomp dword [0x101004b8]
fnstsw ax
sahf
je 0x100d6e35
fld st(0)
fsub dword [esi + 0xbc]
fmul dword [0x1011b9d0]
fadd dword [esi + 0xbc]
fstp st(1)
fcom dword [0x10103598]
fnstsw ax
sahf
jae 0x100d6e48
fstp st(0)
fld dword [0x10103598]
fld dword [esi + 0xbc]
fdivrp st(1)
fcom dword [0x10100498]
fnstsw ax
sahf
jae 0x100d6e5f
fstp st(0)
fldz
fcom dword [0x101004b8]
fnstsw ax
sahf
jbe 0x100d6e6e
fstp st(0)
fld1
fmul dword [0x101004c8]
call fcn.1009a92c
cmp eax, dword [ebp - 0x10]
jle 0x100d6e81
mov dword [ebp - 0x10], eax
cmp dword [0x1011b9d4], 1
jne 0x100d6f29
fld qword [ebp - 0x1c]
push ecx
push ecx
fstp qword [esp]
call fcn.100f8bd4
fcom dword [0x10100498]
pop ecx
fst dword [ebp - 4]
pop ecx
fnstsw ax
sahf
ja 0x100d6eb5
fstp st(0)
fldz
fldz
fldz
jmp 0x100d6ec4
fdivr dword [ebp - 0x28]
fld dword [ebp - 0x24]
fdiv dword [ebp - 4]
fld dword [ebp - 0x20]
fdiv dword [ebp - 4]
fld dword [edi + 0x1011b9a0]
fmul st(1)
fld dword [edi + 0x1011b99c]
fmul st(3)
faddp st(1)
fld dword [edi + 0x1011b998]
fmul st(4)
faddp st(1)
fmul dword [0x10103958]
call fcn.1009a92c
fstp st(0)
mov ecx, 0x80
fstp st(0)
sub ecx, eax
fstp st(0)
mov dword [ebp + 8], ecx
jns 0x100d6f03
and dword [ebp + 8], 0
jmp 0x100d6f0a
cmp ecx, ebx
jle 0x100d6f0a
mov dword [ebp + 8], ebx
fild dword [ebp + 8]
mov eax, dword [0x1011b8c4]
fsub dword [0x1010055c]
fmul dword [eax + 0x14]
fadd dword [0x1010055c]
call fcn.1009a92c
mov dword [ebp + 8], eax
inc dword [ebp - 0xc]
mov eax, dword [0x1011b9d4]
add edi, 0xc
cmp dword [ebp - 0xc], eax
jl 0x100d6ca6
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x7c], eax
je 0x100d6f81
push dword [esi + 0x20]
push esi
call dword [esi + 0x194]
mov eax, dword [0x1011b8c4]
mov eax, dword [eax + 0x10]
imul eax, dword [esi + 0x1c]
cdq
idiv ebx
push eax
push esi
call dword [esi + 0x19c]
push 0
push dword [ebp + 8]
push esi
call dword [esi + 0x1a0]
add esp, 0x1c
jmp 0x100d6fa5
mov eax, dword [0x1011b8c4]
mov eax, dword [eax + 0x10]
imul eax, dword [esi + 0x1c]
cdq
idiv ebx
push eax
push esi
call fcn.100d01ea
push 0
push dword [ebp + 8]
push esi
call fcn.100d025b
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret