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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x1ec]
mov edx, dword [ecx + 0x1f0]
push edi
mov edi, dword [ecx + 0x10c]
xor esi, esi
mov dword [ecx + 0x110], edi
mov edi, dword [ecx + 0x98]
test edi, edi
jle 0x407e39
mov edi, 0x88
mov ebx, dword [ecx + 0x110]
add eax, 8
add edx, 8
inc esi
mov ebp, dword [ebx + 0x38]
mov dword [eax - 8], ebp
mov ebx, dword [ebx + 0x3c]
mov dword [eax - 4], ebx
mov ebx, dword [ecx + 0x110]
mov ebp, dword [ebx + 0x40]
mov dword [edx - 8], ebp
mov ebx, dword [ebx + 0x44]
mov dword [edx - 4], ebx
mov ebp, dword [ecx + 0x110]
mov ebx, dword [ecx + 0x98]
add ebp, edi
cmp esi, ebx
mov dword [ecx + 0x110], ebp
jl 0x407df6
mov edx, dword [ecx + 0xfc]
xor eax, eax
mov dword [ecx + 0x100], edx
mov edx, dword [ecx + 0x9c]
test edx, edx
mov dword [esp + 0x14], eax
jle 0x407f11
mov edx, dword [ecx + 0x100]
mov esi, dword [ecx + 0x138]
shl eax, 3
mov edi, dword [edx + 0x18]
mov esi, dword [esi + 0x2c]
mov ebp, dword [edx + 0x20]
mov ebx, edi
shl ebx, 4
add esi, ebx
mov ebx, dword [ecx + 0x1f4]
mov dword [ebx + eax], ebp
mov edx, dword [edx + 0x24]
mov dword [ebx + eax + 4], edx
mov edx, dword [ecx + 0x100]
mov ebp, dword [ecx + 0x1f8]
mov ebx, eax
add ebx, ebp
mov ebp, dword [edx + 0x28]
mov dword [ebx], ebp
mov edx, dword [edx + 0x2c]
mov dword [ebx + 4], edx
mov edx, dword [ecx + 0xd4]
mov ebx, dword [ecx + 0xd8]
mov edx, dword [edx + edi*4]
test dword [ebx], edx
jne 0x407ec3
fld qword [esi]
mov edx, dword [ecx + 0x1f4]
fchs
fstp qword [edx + eax]
mov edx, dword [ecx + 0xd4]
mov ebx, dword [ecx + 0xd8]
mov edx, dword [edx + edi*4]
mov edi, dword [ebx + 4]
test edi, edx
jne 0x407ee8
mov edx, dword [ecx + 0x1f8]
fld qword [esi + 8]
add eax, edx
fchs
fstp qword [eax]
mov eax, dword [esp + 0x14]
mov esi, dword [ecx + 0x100]
mov edx, dword [ecx + 0x9c]
inc eax
add esi, 0x2e0
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [ecx + 0x100], esi
jl 0x407e59
mov edx, dword [ecx + 0x124]
xor eax, eax
mov dword [ecx + 0x128], edx
mov edx, dword [ecx + 0xb4]
test edx, edx
jle 0x407f61
mov edx, 0xc0
mov esi, dword [ecx + 0x128]
mov edi, dword [ecx + 0x1fc]
inc eax
mov ebx, dword [esi + 0x58]
mov dword [edi + eax*8 - 8], ebx
mov esi, dword [esi + 0x5c]
mov dword [edi + eax*8 - 4], esi
mov edi, dword [ecx + 0x128]
mov esi, dword [ecx + 0xb4]
add edi, edx
cmp eax, esi
mov dword [ecx + 0x128], edi
jl 0x407f2e
mov eax, dword [ecx + 0x104]
mov ebx, dword [ecx + 0xa8]
mov edx, dword [ecx + 0x88dd4]
xor esi, esi
mov dword [ecx + 0x108], eax
mov eax, dword [ecx + 0x88dd0]
test ebx, ebx
mov edi, 0x80
jle 0x407fcd
mov ebx, dword [ecx + 0x108]
inc esi
add eax, 8
add edx, 8
mov ebp, dword [ebx + 0x28]
mov dword [eax - 8], ebp
mov ebx, dword [ebx + 0x2c]
mov dword [eax - 4], ebx
mov ebx, dword [ecx + 0x108]
mov ebp, dword [ebx + 0x30]
mov dword [edx - 8], ebp
mov ebx, dword [ebx + 0x34]
mov dword [edx - 4], ebx
mov ebp, dword [ecx + 0x108]
mov ebx, dword [ecx + 0xa8]
add ebp, edi
cmp esi, ebx
mov dword [ecx + 0x108], ebp
jl 0x407f8a
mov edx, dword [ecx + 0x140]
cmp dword [edx + 0x20], 1
jne 0x4080a2
mov eax, dword [ecx + 0x114]
xor ebx, ebx
mov dword [ecx + 0x118], eax
mov eax, dword [ecx + 0xac]
test eax, eax
jle 0x4080a2
mov edx, dword [ecx + 0x118]
fld qword [edx + 0x70]
fabs
fcomp qword [0x467a60]
fnstsw ax
test ah, 0x41
je 0x408023
fld qword [edx + 0x78]
fabs
fcomp qword [0x467a60]
fnstsw ax
test ah, 0x41
jne 0x408085
mov eax, dword [edx + 0x2c]
mov edi, dword [ecx + 0x10c]
mov esi, dword [edx + 0x30]
mov ebp, eax
shl ebp, 4
add ebp, eax
fld qword [edi + ebp*8 + 0x38]
lea eax, [edi + ebp*8]
mov ebp, esi
shl ebp, 4
fld qword [eax + 0x40]
add ebp, esi
fsub qword [edi + ebp*8 + 0x40]
fld qword [edx + 0x40]
lea esi, [edi + ebp*8]
mov edi, 0x80
fld st(2)
fmul st(3)
fmul st(1)
fld st(2)
fsin
fmul qword [edx + 0x48]
fxch st(3)
fcos
mov edx, dword [ecx + 0x88e04]
fmul st(2)
faddp st(3)
fld qword [esi + 0x38]
fmul st(4)
fmulp st(3)
fxch st(2)
fsubp st(2)
fxch st(1)
fstp qword [edx + ebx*8]
fstp st(0)
fstp st(0)
mov edx, dword [ecx + 0x118]
mov eax, dword [ecx + 0xac]
inc ebx
add edx, edi
cmp ebx, eax
mov dword [ecx + 0x118], edx
jl 0x407ff9
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret