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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x5c]
push edi
xor edi, edi
cmp eax, edi
je 0x100db76a
test dword [esi + 0x40], 0x82000
jne 0x100db75e
test byte [esi + 0x3c], 0x20
jne 0x100db76a
test byte [eax + 0x124], 0x40
jne 0x100db76a
cmp dword [0x10120cc4], edi
fld1
fstp dword [ebp - 8]
mov dword [ebp - 0x10], edi
mov dword [ebp + 8], 0x80
mov dword [ebp - 0xc], edi
jle 0x100db6f4
fld dword [esi + 0x44]
lea eax, [edi + 0x1013e3dc]
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.100fd874
fst dword [ebp - 4]
pop ecx
fld dword [0x10120cb8]
pop ecx
fcomp dword [0x10105488]
fnstsw ax
sahf
jbe 0x100db53e
cmp dword [0x10120cc4], 1
jne 0x100db53e
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 + 0x1013e438]
fld dword [ebp - 0x30]
fsub dword [edi + 0x1013e43c]
fld dword [ebp - 0x2c]
fsub dword [edi + 0x1013e440]
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.100fd874
fstp dword [ebp - 0x14]
pop ecx
fld dword [0x1010896c]
pop ecx
fdiv dword [0x10120cbc]
fstp dword [ebp - 8]
fld dword [ebp - 4]
fld st(0)
fsub dword [ebp - 0x14]
fmul dword [0x10120cb8]
fsubr dword [ebp - 8]
fdiv dword [ebp - 8]
fstp dword [ebp - 8]
fld dword [ebp - 8]
fcomp dword [0x101085a8]
fnstsw ax
sahf
jae 0x100db553
mov dword [ebp - 8], 0x3727c5ac
fcom dword [esi + 0xc0]
fnstsw ax
sahf
jb 0x100db566
fstp st(0)
fld dword [esi + 0xc0]
fcom dword [esi + 0xbc]
fnstsw ax
sahf
jae 0x100db579
fstp st(0)
fld dword [esi + 0xbc]
fld dword [0x10120cc0]
fcomp dword [0x10105488]
fnstsw ax
sahf
jne 0x100db5b5
fld dword [esi + 0xc0]
fsub dword [esi + 0xbc]
fcom dword [0x10105488]
fnstsw ax
sahf
ja 0x100db5a5
fstp st(0)
jmp 0x100db61c
fld dword [esi + 0xc0]
fsub st(2)
fdiv st(1)
fstp st(2)
fstp st(0)
jmp 0x100db602
fcom dword [esi + 0xbc]
fnstsw ax
sahf
jbe 0x100db5e7
fld dword [0x10120cc0]
fcomp dword [0x101054a8]
fnstsw ax
sahf
je 0x100db5e7
fld st(0)
fsub dword [esi + 0xbc]
fmul dword [0x10120cc0]
fadd dword [esi + 0xbc]
fstp st(1)
fcom dword [0x101085a8]
fnstsw ax
sahf
jae 0x100db5fa
fstp st(0)
fld dword [0x101085a8]
fld dword [esi + 0xbc]
fdivrp st(1)
fcom dword [0x10105488]
fnstsw ax
sahf
jae 0x100db611
fstp st(0)
fldz
fcom dword [0x101054a8]
fnstsw ax
sahf
jbe 0x100db620
fstp st(0)
fld1
fmul dword [0x101054b8]
call fcn.1009e5c8
cmp eax, dword [ebp - 0x10]
jle 0x100db633
mov dword [ebp - 0x10], eax
cmp dword [0x10120cc4], 1
jne 0x100db6e0
fld qword [ebp - 0x1c]
push ecx
push ecx
fstp qword [esp]
call fcn.100fd874
fcom dword [0x10105488]
pop ecx
fst dword [ebp - 4]
pop ecx
fnstsw ax
sahf
ja 0x100db667
fstp st(0)
fldz
fldz
fldz
jmp 0x100db676
fdivr dword [ebp - 0x28]
fld dword [ebp - 0x24]
fdiv dword [ebp - 4]
fld dword [ebp - 0x20]
fdiv dword [ebp - 4]
fld dword [edi + 0x10120c90]
fmul st(1)
fld dword [edi + 0x10120c8c]
fmul st(3)
faddp st(1)
fld dword [edi + 0x10120c88]
fmul st(4)
faddp st(1)
fmul dword [0x10108968]
call fcn.1009e5c8
fstp st(0)
mov ecx, 0x80
fstp st(0)
sub ecx, eax
fstp st(0)
mov dword [ebp + 8], ecx
jns 0x100db6b5
and dword [ebp + 8], 0
jmp 0x100db6c1
mov eax, 0xff
cmp ecx, eax
jle 0x100db6c1
mov dword [ebp + 8], eax
fild dword [ebp + 8]
mov eax, dword [0x10120bb4]
fsub dword [0x1010554c]
fmul dword [eax + 0x14]
fadd dword [0x1010554c]
call fcn.1009e5c8
mov dword [ebp + 8], eax
inc dword [ebp - 0xc]
mov eax, dword [0x10120cc4]
add edi, 0xc
cmp dword [ebp - 0xc], eax
jl 0x100db458
test byte [esi + 0x3c], 1
mov eax, dword [ebp - 0x10]
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x7c], eax
jne 0x100db71e
mov eax, dword [0x10120bb4]
mov eax, dword [eax + 0x10]
imul eax, edi
cdq
mov ecx, 0xff
idiv ecx
mov edi, eax
cmp dword [ebp + 0xc], 0
je 0x100db747
push dword [esi + 0x20]
push esi
call dword [esi + 0x194]
push edi
push esi
call dword [esi + 0x19c]
push 0
push dword [ebp + 8]
push esi
call dword [esi + 0x1a0]
add esp, 0x1c
jmp 0x100db76a
push edi
push esi
call fcn.100d4307
push 0
push dword [ebp + 8]
push esi
call fcn.100d4378
add esp, 0x14
jmp 0x100db76a
fld1
mov dword [esi + 0x78], 0xff
fstp dword [esi + 0x7c]
pop edi
pop esi
leave
ret