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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x54be68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 8]
xor esi, esi
cmp ecx, esi
jbe 0x4ce14b
cmp ecx, 1
jne 0x4ce105
fldz
mov ebx, dword [ebx]
fcom qword [ebx]
fnstsw ax
test ah, 0x44
jnp 0x4ce149
cmp dword [ebx + 8], esi
je 0x4ce149
lea eax, [esp + 0x14]
fstp qword [esp + 0x14]
push eax
mov eax, dword [ebp + 0x14]
call fcn.004d6480
jmp 0x4ce4f6
cmp ecx, 2
jne 0x4ce184
mov edx, dword [ebx]
cmp dword [edx + 0x18], esi
jne 0x4ce184
fld qword [edx + 0x10]
fdiv qword [edx]
fchs
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4ce160
fld qword [ebp + 0xc]
fchs
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x4ce135
fstp st(1)
jmp 0x4ce162
mov ecx, dword [edx + 8]
fstp st(0)
and ecx, 0x80000001
jns 0x4ce147
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x4ce162
fstp st(0)
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
fild dword [edx + 8]
fld1
fdivrp st(1)
call fcn.005429d0
fstp qword [esp + 0x14]
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0x14]
push edx
call fcn.004d6480
jmp 0x4ce4f6
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x14], esi
cmp ecx, esi
jbe 0x4ce252
xor edi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + edi + 8]
fld qword [eax + edi]
add eax, edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
cmp eax, esi
je 0x4ce1c4
inc dword [eax + 4]
mov byte [esp + 0x80], 1
cmp ecx, esi
je 0x4ce228
fimul dword [esp + 0x3c]
dec ecx
lea esi, [esp + 0x34]
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], ecx
fstp qword [esp + 0x34]
call fcn.004d61e0
mov byte [esp + 0x80], 0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x4ce213
dec dword [ecx + 4]
cmp dword [ecx + 4], 0
jg 0x4ce20b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x14]
inc eax
add edi, 0x10
xor esi, esi
mov dword [esp + 0x14], eax
cmp eax, dword [ebx + 8]
jb 0x4ce1a7
jmp 0x4ce248
fstp st(0)
mov byte [esp + 0x80], 0
cmp eax, esi
je 0x4ce248
dec dword [eax + 4]
cmp dword [eax + 4], esi
jg 0x4ce248
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
push 1
call eax
cmp dword [esp + 0x30], esi
ja 0x4ce293
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], 0xffffffff
cmp eax, esi
je 0x4ce27e
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push ecx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
fld qword [ebp + 0xc]
lea edx, [esp + 0x1c]
push edx
sub esp, 8
mov byte [esp + 0x8c], 2
fstp qword [esp]
lea eax, [esp + 0x34]
push eax
call fcn.004ce0a0
add esp, 0x10
test eax, eax
jne 0x4ce3bf
mov eax, dword [esp + 0x24]
inc eax
lea esi, [esp + 0x1c]
call fcn.004d6ac0
fldz
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
fstp qword [edx + ecx*8]
inc dword [esp + 0x24]
fld qword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x1c]
push eax
push 1
mov ecx, esi
push ecx
lea edx, [esp + 0x3c]
push edx
xor eax, eax
mov edi, ebx
call fcn.004cdeb0
add esp, 0x18
test eax, eax
je 0x4ce365
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 8]
inc eax
call fcn.004d6ac0
fld qword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
fstp qword [ecx + eax*8]
mov eax, dword [esp + 0x1c]
inc dword [esi + 8]
test eax, eax
je 0x4ce33d
push eax
call fcn.004efc12
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ce4f6
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push edx
jmp 0x4ce4e5
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ce376
push eax
call fcn.004efc12
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ce27e
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push ecx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [ebp + 0xc]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x3c]
push ecx
xor eax, eax
mov edi, ebx
call fcn.004cdeb0
mov esi, dword [ebp + 0x14]
add esp, 0x18
test eax, eax
je 0x4ce404
mov eax, dword [esi + 8]
inc eax
call fcn.004d6ac0
fld qword [esp + 0x14]
mov edx, dword [esi + 8]
mov eax, dword [esi]
fstp qword [eax + edx*8]
inc dword [esi + 8]
xor ebx, ebx
cmp dword [esp + 0x24], ebx
jbe 0x4ce47a
fld qword [ebp + 0xc]
mov edi, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
call fcn.004cdeb0
add esp, 0x18
test eax, eax
je 0x4ce473
mov ecx, dword [esi + 8]
test ecx, ecx
jbe 0x4ce45c
mov edx, dword [esi]
fld qword [esp + 0x14]
fsub qword [edx + ecx*8 - 8]
lea eax, [edx + ecx*8 - 8]
fabs
fld qword [ebp + 0xc]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
je 0x4ce473
lea eax, [ecx + 1]
call fcn.004d6ac0
fld qword [esp + 0x14]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
fstp qword [ecx + eax*8]
inc dword [esi + 8]
inc ebx
cmp ebx, dword [esp + 0x24]
jb 0x4ce40c
cmp dword [esi + 8], 0
mov eax, dword [esp + 0x1c]
ja 0x4ce4b9
test eax, eax
je 0x4ce491
push eax
call fcn.004efc12
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ce27e
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push edx
jmp 0x4ce26d
test eax, eax
je 0x4ce4c6
push eax
call fcn.004efc12
add esp, 4
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ce4f6
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.004cdb70
push ecx
push 0x10
push eax
call fcn.00517315
push esi
call fcn.004efc12
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret