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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff38
mov byte [esp], dl
mov esi, eax
mov eax, dword [esi + 0x8a8]
mov dword [esp + 0x2c], eax
fld dword [esi + 0x8ac]
fchs
fstp dword [esp + 0x30]
wait
cmp byte [esp], 0
jne 0x4cfdeb
fld dword [esi + 0x8b0]
fsub dword [esp + 0x2c]
fstp dword [esp + 4]
wait
fld dword [esi + 0x8b0]
fadd dword [esp + 0x2c]
fstp dword [esp + 8]
wait
fld dword [esi + 0x8b4]
fsub dword [esp + 0x30]
fstp dword [esp + 0xc]
wait
fld dword [esi + 0x8b4]
fadd dword [esp + 0x30]
fstp dword [esp + 0x10]
wait
xor ebx, ebx
mov eax, dword [esi + 0x8b0]
mov dword [esi + ebx*8 + 0x8b8], eax
mov eax, dword [esi + 0x8b4]
mov dword [esi + ebx*8 + 0x8bc], eax
cmp ebx, 4
jge 0x4cfb39
mov eax, dword [esp + 0xc]
mov dword [esi + ebx*8 + 0x93c], eax
mov eax, dword [esp + 0xc]
mov dword [esi + ebx*8 + 0x9bc], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 4]
mov dword [esp + 0x74], ebx
fild dword [esp + 0x74]
fmul dword [esp + 8]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x938]
wait
mov eax, 3
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 4]
lea eax, [ebx + 1]
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 8]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x9b8]
wait
jmp 0x4cfccc
cmp ebx, 8
jge 0x4cfbc5
mov eax, dword [esp + 8]
mov dword [esi + ebx*8 + 0x938], eax
mov eax, dword [esp + 8]
mov dword [esi + ebx*8 + 0x9b8], eax
mov eax, 8
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 0xc]
mov eax, ebx
sub eax, 4
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 0x10]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x93c]
wait
mov eax, 7
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 0xc]
mov eax, ebx
sub eax, 3
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 0x10]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x9bc]
wait
jmp 0x4cfccc
cmp ebx, 0xc
jge 0x4cfc4e
mov eax, dword [esp + 0x10]
mov dword [esi + ebx*8 + 0x93c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + ebx*8 + 0x9bc], eax
mov eax, 0xc
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 8]
mov eax, ebx
sub eax, 8
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 4]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x938]
wait
mov eax, 0xb
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 8]
mov eax, ebx
sub eax, 7
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 4]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x9b8]
wait
jmp 0x4cfccc
mov eax, dword [esp + 4]
mov dword [esi + ebx*8 + 0x938], eax
mov eax, dword [esp + 4]
mov dword [esi + ebx*8 + 0x9b8], eax
mov eax, 0x10
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 0x10]
mov eax, ebx
sub eax, 0xc
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 0xc]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x93c]
wait
mov eax, 0xf
sub eax, ebx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul dword [esp + 0x10]
mov eax, ebx
sub eax, 0xb
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fmul dword [esp + 0xc]
faddp st(1)
fdiv dword [0x4d0000]
fstp dword [esi + ebx*8 + 0x9bc]
wait
fld dword [esi + ebx*8 + 0x8b8]
fadd dword [esi + ebx*8 + 0x938]
fadd dword [esi + ebx*8 + 0x9b8]
fdiv dword [0x4d0004]
fstp dword [esi + ebx*8 + 0xa38]
wait
fld dword [esi + ebx*8 + 0x8bc]
fadd dword [esi + ebx*8 + 0x93c]
fadd dword [esi + ebx*8 + 0x9bc]
fdiv dword [0x4d0004]
fstp dword [esi + ebx*8 + 0xa3c]
wait
inc ebx
cmp ebx, 0x10
jne 0x4cfa9e
mov eax, dword [esi + 0x8b0]
mov dword [esp + 0x14], eax
fld dword [esp + 0x2c]
fadd dword [esp + 0x30]
fmul dword [0x4d0000]
fdiv dword [0x4d0008]
fadd dword [esi + 0x8b4]
fstp dword [esp + 0x18]
wait
xor ebx, ebx
mov dword [esp + 0x70], ebx
fild dword [esp + 0x70]
fld xword [0x4d000c]
fmulp st(1)
fld xword [0x4d0018]
fsubrp st(1)
add esp, 0xfffffffc
fstp dword [esp]
wait
lea edx, [esp + 0x38]
lea eax, [esi + 0x8b0]
call fcn.004cef34
lea ecx, [esp + 0x78]
lea edx, [esp + 0x34]
lea eax, [esp + 0x14]
call fcn.004cecf4
mov eax, dword [esp + 0x78]
mov dword [esi + ebx*8 + 0xab8], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + ebx*8 + 0xabc], eax
lea ecx, [esp + 0x1c]
lea edx, [esi + ebx*8 + 0xa38]
lea eax, [esi + ebx*8 + 0xab8]
call fcn.004ceca8
push dword [esp + 0x1c]
push dword [esp + 0x24]
lea eax, [esp + 0x88]
call fcn.004cee7c
lea eax, [ebx + ebx*8]
push esi
lea edi, [esi + eax*4 + 0xb38]
lea esi, [esp + 0x84]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
inc ebx
cmp ebx, 0x10
jne 0x4cfd47
cmp byte [esp], 1
je 0x4cfdfb
cmp byte [esp], 2
jne 0x4cfff3
mov eax, dword [esi + 0x8a4]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
mov edx, dword [esi + 0x8a0]
mov dword [esp + 0x74], edx
fild dword [esp + 0x74]
fdivp st(1)
fstp dword [esp + 0x24]
wait
mov ecx, edx
shr ecx, 1
cmp eax, ecx
jge 0x4cff20
add eax, eax
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fild dword [esi + 0x8a0]
fdivp st(1)
fsubr dword [0x4d0024]
fmul dword [esi + 0x74]
fstp dword [esp + 0x28]
wait
xor ebx, ebx
push dword [esp + 0x28]
lea edx, [esp + 0x84]
lea eax, [esi + ebx*8 + 0xa38]
call fcn.004cef34
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x28]
push dword [esp + 0x2c]
lea edx, [esp + 0xb0]
lea eax, [esi + ebx*8 + 0xa38]
call fcn.004ceea4
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x38]
pop edx
call fcn.004ced1c
lea ecx, [esp + 0x80]
lea eax, [ebx + ebx*8]
lea edx, [esi + eax*4 + 0xb38]
lea eax, [esp + 0x34]
call fcn.004ced1c
push esi
lea esi, [esp + 0x84]
lea edi, [esp + 0x38]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
xor edi, edi
lea ebp, [esp + 0x58]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x34]
mov eax, edi
shl eax, 4
lea eax, [esi + eax*8]
lea eax, [eax + ebx*8 + 0x8b8]
call fcn.004cecf4
mov eax, dword [esp + 0x78]
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 4], eax
inc edi
add ebp, 8
cmp edi, 3
jne 0x4cfecb
push 3
lea edx, [esp + 0x5c]
mov ecx, 2
mov eax, dword [esi + 0x70]
call fcn.004cf00c
inc ebx
cmp ebx, 0x10
jne 0x4cfe4c
jmp 0x4cfff3
add eax, eax
sub eax, edx
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fild dword [esi + 0x8a0]
fdivp st(1)
fstp dword [esp + 0x28]
wait
xor ebx, ebx
push dword [esp + 0x24]
push dword [esp + 0x28]
lea edx, [esp + 0x3c]
lea eax, [esi + ebx*8 + 0xa38]
call fcn.004ceea4
push dword [esp + 0x28]
lea ecx, [esp + 0xa8]
lea eax, [ebx + ebx*8]
lea edx, [esi + eax*4 + 0xb38]
mov eax, 0x50d978
call fcn.004ced9c
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x80]
lea eax, [esp + 0x34]
call fcn.004ced1c
push esi
lea esi, [esp + 0x84]
lea edi, [esp + 0x38]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
xor edi, edi
lea ebp, [esp + 0x58]
lea ecx, [esp + 0x78]
lea edx, [esp + 0x34]
mov eax, edi
shl eax, 4
lea eax, [esi + eax*8]
lea eax, [eax + ebx*8 + 0x8b8]
call fcn.004cecf4
mov eax, dword [esp + 0x78]
mov dword [ebp], eax
mov eax, dword [esp + 0x7c]
mov dword [ebp + 4], eax
inc edi
add ebp, 8
cmp edi, 3
jne 0x4cffa3
push 3
lea edx, [esp + 0x5c]
mov ecx, 2
mov eax, dword [esi + 0x70]
call fcn.004cf00c
inc ebx
cmp ebx, 0x10
jne 0x4cff3b
add esp, 0xc8
pop ebp
pop edi
pop esi
pop ebx
ret