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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 0x24]
test eax, eax
je 0x10071a4a
mov ecx, dword [edi + 0x28]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x10071a4a
mov esi, dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
add esi, ecx
mov edx, eax
mov al, byte [esi + 0x10]
mov ebx, dword [edx + ebp*4]
test al, al
je 0x1007184c
fld dword [esi + 0x20]
fsub dword [esi + 0x14]
fld dword [esi + 0x24]
fsub dword [esi + 0x18]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x90]
fld dword [esi + 0x28]
fsub dword [esi + 0x1c]
fstp dword [esp + 0x94]
fmul dword [esp + 0x24]
fld dword [esp + 0x90]
fmul dword [esp + 0x24]
fstp dword [esp + 0x54]
fld dword [esp + 0x94]
fmul dword [esp + 0x24]
fstp dword [esp + 0x58]
fadd dword [esi + 0x14]
fstp dword [esp + 0x38]
fld dword [esp + 0x54]
fadd dword [esi + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x80]
fstp dword [esp + 0x3c]
fld dword [esp + 0x58]
fadd dword [esi + 0x1c]
mov edx, dword [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [esp + 0x88], edx
fstp dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
call fcn.1006c660
mov al, byte [esi + 0x11]
test al, al
je 0x100718d1
fld dword [esi + 0x38]
fsub dword [esi + 0x2c]
fld dword [esi + 0x3c]
fsub dword [esi + 0x30]
mov edx, dword [edi + 0x44]
mov dword [esp + 0x20], edx
fstp dword [esp + 0x78]
fld dword [esi + 0x40]
fsub dword [esi + 0x34]
fstp dword [esp + 0x7c]
fmul dword [esp + 0x20]
fld dword [esp + 0x78]
fmul dword [esp + 0x20]
fstp dword [esp + 0x60]
fld dword [esp + 0x7c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x64]
fadd dword [esi + 0x2c]
fstp dword [esp + 0x44]
fld dword [esp + 0x60]
fadd dword [esi + 0x30]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
fstp dword [esp + 0x48]
fld dword [esp + 0x64]
fadd dword [esi + 0x34]
mov ecx, dword [esp + 0x48]
push eax
mov dword [esp + 0x70], ecx
mov ecx, ebx
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x74], edx
call fcn.1006c6b0
mov al, byte [esi + 0x12]
test al, al
je 0x10071a39
mov ecx, dword [edi + 0x44]
lea eax, [esi + 0x54]
mov edx, eax
mov dword [esp + 0x14], ecx
add esi, 0x44
push eax
mov ecx, dword [edx]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0x34], ecx
mov ecx, esi
mov edx, dword [edx + 0xc]
mov dword [esp + 0x38], edx
call fcn.1006aec0
fstp dword [esp + 0x10]
fld dword [0x100f73d8]
fsub dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 1
je 0x10071983
fld dword [esp + 0x28]
fchs
fstp dword [esp + 0x28]
fld dword [esp + 0x34]
push ecx
fchs
fstp dword [esp]
fld dword [esp + 0x34]
push ecx
fchs
fstp dword [esp]
fld dword [esp + 0x34]
push ecx
lea ecx, [esp + 0xb4]
fchs
fstp dword [esp]
call fcn.1000d370
mov ecx, dword [eax]
fld dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
fchs
fstp dword [esp + 0x10]
mov dword [esp + 0x34], eax
fld dword [0x100f73d8]
fsub dword [0x100f7600]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100719c9
fld dword [esp + 0x10]
call fcn.100de1c0
fld st(0)
fsin
fstp dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x14]
fsin
fdiv dword [esp + 0x10]
fstp dword [esp + 0x14]
fmul dword [esp + 0x18]
fsin
fdiv dword [esp + 0x10]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc4]
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.1006ae60
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0xb8]
lea edx, [esp + 0xd8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1006ae60
mov ecx, eax
call fcn.1006ae00
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa0], ecx
mov ecx, ebx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0xa8], edx
call fcn.1006c700
mov eax, dword [esp + 0x1c]
inc ebp
add eax, 0x64
mov dword [esp + 0x1c], eax
jmp 0x10071782
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd4
ret