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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
add edx, 0xfffffffb
mov dword [ebp - 4], edx
dec dword [ebp - 4]
mov ecx, dword [ebp - 4]
test ecx, ecx
jle 0x4ce04e
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.004ce850
add esp, 0xc
mov ebx, 1
jmp 0x4ce08c
xor esi, esi
jmp 0x4ce07e
mov ecx, ebx
mov edx, 4
shl edx, cl
push edx
mov ecx, ebx
mov eax, dword [ebp + 0x10]
sar eax, cl
push eax
imul esi
shl eax, 2
add eax, dword [ebp + 0xc]
push eax
push edi
call fcn.004ce994
add esp, 0x10
inc esi
mov ecx, ebx
mov eax, 1
shl eax, cl
cmp esi, eax
jl 0x4ce059
inc ebx
dec dword [ebp - 4]
mov edx, dword [ebp - 4]
test edx, edx
jg 0x4ce055
xor esi, esi
cmp esi, dword [ebp + 0x10]
jge 0x4ce6dd
mov eax, esi
shl eax, 2
add eax, dword [ebp + 0xc]
fld dword [eax + 0x78]
fsub dword [eax + 0x38]
fstp dword [ebp - 8]
fld dword [eax + 0x7c]
fsub dword [eax + 0x3c]
fstp dword [ebp - 0xc]
fld dword [eax + 0x38]
fadd dword [eax + 0x78]
fstp dword [eax + 0x78]
fld dword [eax + 0x3c]
fadd dword [eax + 0x7c]
fstp dword [eax + 0x7c]
mov edx, dword [ebp - 8]
mov dword [eax + 0x38], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x3c], ecx
fld dword [eax + 0x70]
fsub dword [eax + 0x30]
fstp dword [ebp - 8]
fld dword [eax + 0x74]
fsub dword [eax + 0x34]
fstp dword [ebp - 0xc]
fld dword [eax + 0x30]
fadd dword [eax + 0x70]
fstp dword [eax + 0x70]
fld dword [eax + 0x34]
fadd dword [eax + 0x74]
fstp dword [eax + 0x74]
fld dword [ebp - 8]
fmul dword [0x4ce6e4]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e8]
fsubp st(1)
fstp dword [eax + 0x30]
fld dword [ebp - 8]
fmul dword [0x4ce6e8]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e4]
faddp st(1)
fstp dword [eax + 0x34]
fld dword [eax + 0x68]
fsub dword [eax + 0x28]
fstp dword [ebp - 8]
fld dword [eax + 0x6c]
fsub dword [eax + 0x2c]
fstp dword [ebp - 0xc]
fld dword [eax + 0x28]
fadd dword [eax + 0x68]
fstp dword [eax + 0x68]
fld dword [eax + 0x2c]
fadd dword [eax + 0x6c]
fstp dword [eax + 0x6c]
fld dword [ebp - 8]
fsub dword [ebp - 0xc]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x28]
fld dword [ebp - 8]
fadd dword [ebp - 0xc]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x2c]
fld dword [eax + 0x60]
fsub dword [eax + 0x20]
fstp dword [ebp - 8]
fld dword [eax + 0x64]
fsub dword [eax + 0x24]
fstp dword [ebp - 0xc]
fld dword [eax + 0x20]
fadd dword [eax + 0x60]
fstp dword [eax + 0x60]
fld dword [eax + 0x24]
fadd dword [eax + 0x64]
fstp dword [eax + 0x64]
fld dword [ebp - 8]
fmul dword [0x4ce6e8]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e4]
fsubp st(1)
fstp dword [eax + 0x20]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e8]
fld dword [ebp - 8]
fmul dword [0x4ce6e4]
faddp st(1)
fstp dword [eax + 0x24]
fld dword [eax + 0x58]
fsub dword [eax + 0x18]
fstp dword [ebp - 8]
fld dword [eax + 0x1c]
fsub dword [eax + 0x5c]
fstp dword [ebp - 0xc]
fld dword [eax + 0x18]
fadd dword [eax + 0x58]
fstp dword [eax + 0x58]
fld dword [eax + 0x1c]
fadd dword [eax + 0x5c]
fstp dword [eax + 0x5c]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1c], ecx
fld dword [eax + 0x10]
fsub dword [eax + 0x50]
fstp dword [ebp - 8]
fld dword [eax + 0x14]
fsub dword [eax + 0x54]
fstp dword [ebp - 0xc]
fld dword [eax + 0x10]
fadd dword [eax + 0x50]
fstp dword [eax + 0x50]
fld dword [eax + 0x14]
fadd dword [eax + 0x54]
fstp dword [eax + 0x54]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e4]
fld dword [ebp - 8]
fmul dword [0x4ce6e8]
faddp st(1)
fstp dword [eax + 0x10]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e8]
fld dword [ebp - 8]
fmul dword [0x4ce6e4]
fsubp st(1)
fstp dword [eax + 0x14]
fld dword [eax + 8]
fsub dword [eax + 0x48]
fstp dword [ebp - 8]
fld dword [eax + 0xc]
fsub dword [eax + 0x4c]
fstp dword [ebp - 0xc]
fld dword [eax + 8]
fadd dword [eax + 0x48]
fstp dword [eax + 0x48]
fld dword [eax + 0xc]
fadd dword [eax + 0x4c]
fstp dword [eax + 0x4c]
fld dword [ebp - 0xc]
fadd dword [ebp - 8]
fmul dword [0x4ce6ec]
fstp dword [eax + 8]
fld dword [ebp - 0xc]
fsub dword [ebp - 8]
fmul dword [0x4ce6ec]
fstp dword [eax + 0xc]
fld dword [eax]
fsub dword [eax + 0x40]
fstp dword [ebp - 8]
fld dword [eax + 4]
fsub dword [eax + 0x44]
fstp dword [ebp - 0xc]
fld dword [eax]
fadd dword [eax + 0x40]
fstp dword [eax + 0x40]
fld dword [eax + 4]
fadd dword [eax + 0x44]
fstp dword [eax + 0x44]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e8]
fld dword [ebp - 8]
fmul dword [0x4ce6e4]
faddp st(1)
fstp dword [eax]
fld dword [ebp - 0xc]
fmul dword [0x4ce6e4]
fld dword [ebp - 8]
fmul dword [0x4ce6e8]
fsubp st(1)
fstp dword [eax + 4]
fld dword [eax + 4]
fsub dword [eax + 0x24]
fstp dword [ebp - 0x10]
fld dword [eax]
fsub dword [eax + 0x20]
fstp dword [ebp - 0x14]
fld dword [eax]
fadd dword [eax + 0x20]
fstp dword [eax + 0x20]
fld dword [eax + 4]
fadd dword [eax + 0x24]
fstp dword [eax + 0x24]
fld dword [ebp - 0x10]
fadd dword [ebp - 0x14]
fmul dword [0x4ce6ec]
fstp dword [eax]
fld dword [ebp - 0x10]
fsub dword [ebp - 0x14]
fmul dword [0x4ce6ec]
fstp dword [eax + 4]
fld dword [eax + 0xc]
fsub dword [eax + 0x2c]
fstp dword [ebp - 0x10]
fld dword [eax + 0x28]
fsub dword [eax + 8]
fstp dword [ebp - 0x14]
fld dword [eax + 8]
fadd dword [eax + 0x28]
fstp dword [eax + 0x28]
fld dword [eax + 0xc]
fadd dword [eax + 0x2c]
fstp dword [eax + 0x2c]
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ecx
fld dword [eax + 0x30]
fsub dword [eax + 0x10]
fstp dword [ebp - 0x10]
fld dword [eax + 0x34]
fsub dword [eax + 0x14]
fstp dword [ebp - 0x14]
fld dword [eax + 0x10]
fadd dword [eax + 0x30]
fstp dword [eax + 0x30]
fld dword [eax + 0x14]
fadd dword [eax + 0x34]
fstp dword [eax + 0x34]
fld dword [ebp - 0x10]
fsub dword [ebp - 0x14]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x10]
fld dword [ebp - 0x10]
fadd dword [ebp - 0x14]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x14]
fld dword [eax + 0x38]
fsub dword [eax + 0x18]
fstp dword [ebp - 0x10]
fld dword [eax + 0x3c]
fsub dword [eax + 0x1c]
fstp dword [ebp - 0x14]
fld dword [eax + 0x18]
fadd dword [eax + 0x38]
fstp dword [eax + 0x38]
fld dword [eax + 0x1c]
fadd dword [eax + 0x3c]
fstp dword [eax + 0x3c]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
lea edx, [eax + 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x1c], ecx
fld dword [eax + 0x18]
fadd dword [eax + 8]
fstp dword [ebp - 0x18]
fld dword [eax + 0x18]
fsub dword [eax + 8]
fstp dword [ebp - 0x1c]
fld dword [eax + 0x10]
fadd dword [eax]
fstp dword [ebp - 0x20]
fld dword [eax + 0x10]
fsub dword [eax]
fstp dword [ebp - 0x24]
fld dword [ebp - 0x18]
fadd dword [ebp - 0x20]
fstp dword [eax + 0x18]
fld dword [ebp - 0x18]
fsub dword [ebp - 0x20]
fstp dword [eax + 0x10]
fld dword [eax + 0x14]
fsub dword [eax + 4]
fstp dword [ebp - 0x18]
fld dword [eax + 0x1c]
fsub dword [eax + 0xc]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0x18]
fstp dword [eax]
fld dword [ebp - 0x1c]
fsub dword [ebp - 0x18]
fstp dword [eax + 8]
fld dword [eax + 0x14]
fadd dword [eax + 4]
fstp dword [ebp - 0x18]
fld dword [eax + 0x1c]
fadd dword [eax + 0xc]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x20]
fadd dword [ebp - 0x24]
fstp dword [eax + 0xc]
fld dword [ebp - 0x20]
fsub dword [ebp - 0x24]
fstp dword [eax + 4]
fld dword [ebp - 0x1c]
fadd dword [ebp - 0x18]
fstp dword [eax + 0x1c]
fld dword [ebp - 0x1c]
fsub dword [ebp - 0x18]
fstp dword [eax + 0x14]
fld dword [edx + 0x18]
fadd dword [edx + 8]
add eax, 0x40
fstp dword [ebp - 0x28]
fld dword [edx + 0x18]
fsub dword [edx + 8]
fstp dword [ebp - 0x2c]
fld dword [edx + 0x10]
fadd dword [edx]
fstp dword [ebp - 0x30]
fld dword [edx + 0x10]
fsub dword [edx]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x28]
fadd dword [ebp - 0x30]
fstp dword [edx + 0x18]
fld dword [ebp - 0x28]
fsub dword [ebp - 0x30]
fstp dword [edx + 0x10]
fld dword [edx + 0x14]
fsub dword [edx + 4]
fstp dword [ebp - 0x28]
fld dword [edx + 0x1c]
fsub dword [edx + 0xc]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x28]
fstp dword [edx]
fld dword [ebp - 0x2c]
fsub dword [ebp - 0x28]
fstp dword [edx + 8]
fld dword [edx + 0x14]
fadd dword [edx + 4]
fstp dword [ebp - 0x28]
fld dword [edx + 0x1c]
fadd dword [edx + 0xc]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x30]
fadd dword [ebp - 0x34]
fstp dword [edx + 0xc]
fld dword [ebp - 0x30]
fsub dword [ebp - 0x34]
fstp dword [edx + 4]
fld dword [ebp - 0x2c]
fadd dword [ebp - 0x28]
fstp dword [edx + 0x1c]
fld dword [ebp - 0x2c]
fsub dword [ebp - 0x28]
fstp dword [edx + 0x14]
fld dword [eax + 4]
fsub dword [eax + 0x24]
fstp dword [ebp - 0x38]
fld dword [eax]
fsub dword [eax + 0x20]
fstp dword [ebp - 0x3c]
fld dword [eax]
fadd dword [eax + 0x20]
fstp dword [eax + 0x20]
fld dword [eax + 4]
fadd dword [eax + 0x24]
fstp dword [eax + 0x24]
fld dword [ebp - 0x38]
fadd dword [ebp - 0x3c]
fmul dword [0x4ce6ec]
fstp dword [eax]
fld dword [ebp - 0x38]
fsub dword [ebp - 0x3c]
fmul dword [0x4ce6ec]
fstp dword [eax + 4]
fld dword [eax + 0xc]
fsub dword [eax + 0x2c]
fstp dword [ebp - 0x38]
fld dword [eax + 0x28]
fsub dword [eax + 8]
fstp dword [ebp - 0x3c]
fld dword [eax + 8]
fadd dword [eax + 0x28]
fstp dword [eax + 0x28]
fld dword [eax + 0xc]
fadd dword [eax + 0x2c]
fstp dword [eax + 0x2c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
fld dword [eax + 0x30]
fsub dword [eax + 0x10]
fstp dword [ebp - 0x38]
fld dword [eax + 0x34]
fsub dword [eax + 0x14]
fstp dword [ebp - 0x3c]
fld dword [eax + 0x10]
fadd dword [eax + 0x30]
fstp dword [eax + 0x30]
fld dword [eax + 0x14]
fadd dword [eax + 0x34]
fstp dword [eax + 0x34]
fld dword [ebp - 0x38]
fsub dword [ebp - 0x3c]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x10]
fld dword [ebp - 0x38]
fadd dword [ebp - 0x3c]
fmul dword [0x4ce6ec]
fstp dword [eax + 0x14]
fld dword [eax + 0x38]
fsub dword [eax + 0x18]
add esi, 0x20
fstp dword [ebp - 0x38]
fld dword [eax + 0x3c]
fsub dword [eax + 0x1c]
fstp dword [ebp - 0x3c]
fld dword [eax + 0x18]
fadd dword [eax + 0x38]
fstp dword [eax + 0x38]
fld dword [eax + 0x1c]
fadd dword [eax + 0x3c]
fstp dword [eax + 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], edx
fld dword [eax + 0x18]
fadd dword [eax + 8]
fstp dword [ebp - 0x40]
fld dword [eax + 0x18]
fsub dword [eax + 8]
fstp dword [ebp - 0x44]
fld dword [eax + 0x10]
fadd dword [eax]
fstp dword [ebp - 0x48]
fld dword [eax + 0x10]
fsub dword [eax]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x40]
fadd dword [ebp - 0x48]
fstp dword [eax + 0x18]
fld dword [ebp - 0x40]
fsub dword [ebp - 0x48]
fstp dword [eax + 0x10]
fld dword [eax + 0x14]
fsub dword [eax + 4]
fstp dword [ebp - 0x40]
fld dword [eax + 0x1c]
fsub dword [eax + 0xc]
fstp dword [ebp - 0x48]
fld dword [ebp - 0x44]
fadd dword [ebp - 0x40]
fstp dword [eax]
fld dword [ebp - 0x44]
fsub dword [ebp - 0x40]
fstp dword [eax + 8]
fld dword [eax + 0x14]
fadd dword [eax + 4]
fstp dword [ebp - 0x40]
fld dword [eax + 0x1c]
fadd dword [eax + 0xc]
fstp dword [ebp - 0x44]
fld dword [ebp - 0x48]
fadd dword [ebp - 0x4c]
fstp dword [eax + 0xc]
fld dword [ebp - 0x48]
fsub dword [ebp - 0x4c]
fstp dword [eax + 4]
fld dword [ebp - 0x44]
fadd dword [ebp - 0x40]
fstp dword [eax + 0x1c]
fld dword [ebp - 0x44]
fsub dword [ebp - 0x40]
fstp dword [eax + 0x14]
add eax, 0x20
fld dword [eax + 0x18]
fadd dword [eax + 8]
fstp dword [ebp - 0x50]
fld dword [eax + 0x18]
fsub dword [eax + 8]
fstp dword [ebp - 0x54]
fld dword [eax + 0x10]
fadd dword [eax]
fstp dword [ebp - 0x58]
fld dword [eax + 0x10]
fsub dword [eax]
fstp dword [ebp - 0x5c]
fld dword [ebp - 0x50]
fadd dword [ebp - 0x58]
fstp dword [eax + 0x18]
fld dword [ebp - 0x50]
fsub dword [ebp - 0x58]
fstp dword [eax + 0x10]
fld dword [eax + 0x14]
fsub dword [eax + 4]
fstp dword [ebp - 0x50]
fld dword [eax + 0x1c]
fsub dword [eax + 0xc]
fstp dword [ebp - 0x58]
fld dword [ebp - 0x54]
fadd dword [ebp - 0x50]
fstp dword [eax]
fld dword [ebp - 0x54]
fsub dword [ebp - 0x50]
fstp dword [eax + 8]
fld dword [eax + 0x14]
fadd dword [eax + 4]
fstp dword [ebp - 0x50]
fld dword [eax + 0x1c]
fadd dword [eax + 0xc]
fstp dword [ebp - 0x54]
fld dword [ebp - 0x58]
fadd dword [ebp - 0x5c]
fstp dword [eax + 0xc]
fld dword [ebp - 0x58]
fsub dword [ebp - 0x5c]
fstp dword [eax + 4]
fld dword [ebp - 0x54]
fadd dword [ebp - 0x50]
fstp dword [eax + 0x1c]
fld dword [ebp - 0x54]
fsub dword [ebp - 0x50]
fstp dword [eax + 0x14]
cmp esi, dword [ebp + 0x10]
jl 0x4ce0a1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret