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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65288b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
cmp dword [ecx + 4], 7
jne 0x4ceddb
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4ceddb
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
push edx
push ecx
lea ecx, [esp + 0xc0]
call fcn.004cd6f0
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
cmp eax, ecx
mov dword [esp + 0x150], 0
jae 0x4cedc4
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xb4]
call fcn.004cdb10
mov ebx, dword [ebp + 0xc]
mov esi, eax
lea edx, [esp + 0x64]
lea eax, [esp + 0x60]
push edx
push eax
mov ecx, ebx
call fcn.004a2790
test esi, esi
jne 0x4cea9a
mov ecx, 5
lea esi, [esp + 0x60]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x88]
mov edi, 2
push esi
lea ecx, [esp + 0xb4]
call fcn.004cdb10
lea ecx, [esi + 4]
push ecx
push esi
mov ecx, ebx
call fcn.004a2790
add esi, 0x14
dec edi
jne 0x4cea79
jmp 0x4cead8
cmp esi, 1
jne 0x4ceab1
mov ecx, 5
lea esi, [esp + 0x88]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x9c]
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x60]
lea edi, [esp + 0x9c]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x8c]
fld dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, 2
fcom dword [ecx]
fnstsw ax
test ah, 0x41
jne 0x4ceafd
fstp st(0)
fld dword [ecx]
fld dword [esp + 0x20]
fcomp dword [ecx]
fnstsw ax
test ah, 1
je 0x4ceb10
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
add ecx, 0x14
dec edx
jne 0x4ceaf0
fcom dword [esp + 0x20]
fnstsw ax
test ah, 0x40
jne 0x4cedc2
sub esp, 8
fstp qword [esp]
call fcn.004672c4
call fcn.0046572c
fld dword [esp + 0x28]
mov esi, eax
fstp qword [esp]
call fcn.0046a805
add esp, 8
call fcn.0046572c
test esi, esi
mov dword [esp + 0x24], eax
jge 0x4ceb55
xor esi, esi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jl 0x4ceb66
dec ecx
mov dword [esp + 0x24], ecx
mov eax, ecx
cmp esi, eax
mov dword [esp + 0x14], esi
jg 0x4cedaa
xor ebx, ebx
lea esi, [esp + 0x78]
mov dword [esp + 0x10], ebx
inc ebx
mov ecx, 3
mov eax, ebx
cdq
idiv ecx
mov eax, dword [esp + 0x10]
lea ecx, [esp + eax*4 + 0x30]
push ecx
mov ecx, dword [esi]
lea edx, [edx + edx*4]
mov eax, dword [esp + edx*4 + 0x78]
lea edi, [esp + edx*4 + 0x78]
mov edx, dword [esp + edx*4 + 0x7c]
push edx
mov edx, dword [esi - 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.004cd660
add esp, 0x18
test eax, eax
je 0x4cec04
fild dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc eax
fsub dword [esi]
fld dword [edi + 4]
fsub dword [esi]
fld dword [edi + 8]
fsub dword [esi + 4]
mov dword [esp + 0x10], eax
fmul st(2)
fdiv st(1)
fadd dword [esi + 4]
fstp dword [esp + eax*4 + 0x38]
fld dword [edi + 0xc]
fsub dword [esi + 8]
fmul st(2)
fdiv st(1)
fadd dword [esi + 8]
fstp dword [esp + eax*4 + 0x44]
fld dword [edi + 0x10]
fsub dword [esi + 0xc]
fmul st(2)
fdiv st(1)
fadd dword [esi + 0xc]
fstp dword [esp + eax*4 + 0x50]
fstp st(0)
fstp st(0)
add esi, 0x14
cmp ebx, 3
jl 0x4ceb7c
cmp dword [esp + 0x10], 2
jne 0x4ced95
fld dword [esp + 0x30]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 1
je 0x4cec5c
fld dword [esp + 0x30]
sub esp, 8
fstp qword [esp]
call fcn.004672c4
call fcn.0046572c
fld dword [esp + 0x3c]
mov edi, eax
fstp qword [esp]
mov dword [esp + 0x18], edi
call fcn.0046a805
add esp, 8
call fcn.0046572c
mov esi, eax
jmp 0x4cec8e
fld dword [esp + 0x34]
sub esp, 8
fstp qword [esp]
call fcn.004672c4
call fcn.0046572c
fld dword [esp + 0x38]
mov dword [esp + 0x18], eax
fstp qword [esp]
call fcn.0046a805
add esp, 8
call fcn.0046572c
mov edi, dword [esp + 0x10]
mov esi, eax
test edi, edi
mov dword [esp + 0x18], esi
jge 0x4cec98
xor edi, edi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
cmp esi, eax
jle 0x4ceca6
mov dword [esp + 0x18], eax
mov edx, dword [ecx]
mov ebx, dword [ecx + 0x14]
call dword [edx + 4]
imul ebx, dword [esp + 0x14]
add eax, ebx
mov ecx, edi
lea ebx, [eax + edi*4]
mov eax, dword [esp + 0x10]
sub esi, eax
sub ecx, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0x40]
fsub dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp edi, eax
fdiv st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x4c]
fsub dword [esp + 0x48]
fdiv st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x58]
fsub dword [esp + 0x54]
fdiv st(1)
fstp dword [esp + 0x1c]
fstp st(0)
fild dword [esp + 0x10]
fst dword [esp + 0x10]
fmul dword [esp + 0x2c]
fadd dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x28]
fadd dword [esp + 0x48]
fld dword [esp + 0x10]
fmul dword [esp + 0x1c]
fadd dword [esp + 0x54]
jge 0x4ced8f
mov esi, dword [ebp + 0x20]
shl esi, 8
sub eax, edi
mov dword [esp + 0x18], eax
fxch st(2)
fadd dword [esp + 0x2c]
fxch st(2)
fxch st(1)
fadd dword [esp + 0x28]
fxch st(1)
fadd dword [esp + 0x1c]
fld st(2)
fmul dword [0x674c3c]
call fcn.0046572c
fld st(1)
fmul dword [0x674c3c]
mov edi, eax
or edi, esi
shl edi, 8
call fcn.0046572c
fld st(0)
fmul dword [0x674c3c]
or edi, eax
shl edi, 8
call fcn.0046572c
or edi, eax
mov eax, dword [esp + 0x18]
mov dword [ebx], edi
add ebx, 4
dec eax
mov dword [esp + 0x18], eax
jne 0x4ced36
fstp st(0)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x4ceb72
mov edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x140]
cmp edx, eax
jb 0x4cea33
jmp 0x4cedc4
fstp st(0)
lea ecx, [esp + 0x124]
mov dword [esp + 0x150], 0xffffffff
call fcn.00490c90
mov ecx, dword [esp + 0x148]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret