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

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4bc]
lea eax, [esp + 0x2c]
mov ebx, 6
push eax
mov ecx, edi
mov dword [esp + 0x30], str.Coords
mov dword [esp + 0x34], ebx
call fcn.00490140
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4ce6a4
push ebp
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x48]
push 1
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x3c]
push 2
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x24]
push 3
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x4c]
push 4
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x58]
push 5
mov ecx, esi
call fcn.0048fa60
mov ecx, dword [0x67a5ec]
mov eax, dword [esp + 0x4b8]
fstp dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov edx, ecx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call fcn.004a2900
mov ecx, dword [0x67a5e8]
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], ecx
push edx
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], str.Domain
mov dword [esp + 0x34], ebx
call fcn.00490140
mov esi, eax
cmp esi, ebp
je 0x4ce303
push ebp
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x10]
push 1
mov ecx, esi
call fcn.0048fa60
fstp dword [esp + 0x18]
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], str.Extend
mov dword [esp + 0x34], ebx
call fcn.00490140
mov esi, eax
cmp esi, ebp
je 0x4ce342
push ebp
mov ecx, esi
call fcn.0048fa30
push 1
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.0048fa30
mov dword [esp + 0x40], eax
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x38]
fild dword [esp + 0x20]
mov ebx, dword [esp + 0x4c4]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x38]
fmul dword [0x6710e4]
fadd dword [esp + 0x10]
fstp dword [esp + 0x14]
jle 0x4ce3ae
mov edi, dword [esp + 0x4c0]
lea edx, [esp + 0x34]
lea eax, [esp + esi*4 + 0x88]
push edx
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, dword [edi]
call fcn.004e5820
mov edx, dword [esp + 0x34]
add edi, 4
add esi, edx
dec ebx
jne 0x4ce387
mov ecx, dword [esp + 0x4c8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 4]
fld dword [esp + 0x28]
fmul dword [0x674c3c]
push ecx
fstp dword [esp]
call fcn.004a2d40
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x4d0]
mov esi, eax
fmul dword [0x674c3c]
shl ecx, 8
or esi, ecx
shl esi, 8
fstp dword [esp]
call fcn.004a2d40
fld dword [esp + 0x48]
fmul dword [0x674c3c]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.004a2d40
or esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
jl 0x4ce35d
fld dword [esp + 0x3c]
fsub dword [esp + 0x58]
fld dword [esp + 0x48]
fsub dword [esp + 0x4c]
fld dword [esp + 0x24]
fsub dword [esp + 0x50]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
mov edi, dword [esp + 0x4b4]
xor eax, eax
mov dword [esp + 0x20], eax
fld st(1)
fmul st(2)
mov ebp, dword [edi + 8]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 4]
cmp ebp, eax
fsubp st(1)
mov dword [esp + 0x68], ebp
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
fstp st(0)
jle 0x4ce6a4
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x18]
xor esi, esi
add eax, edx
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x4ce685
fild dword [esp + 0x20]
mov ebp, eax
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fsub dword [esp + 0x24]
fst dword [esp + 0x38]
fmul dword [esp + 0x24]
fstp dword [esp + 0x64]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x6c]
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x34], ecx
push edx
push eax
fstp dword [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.004a2790
fld dword [esp + 0x34]
fsub dword [esp + 0x3c]
fld dword [esp + 0x10]
fsub dword [esp + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [esp + 0x10]
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x64]
fmul dword [0x67a5f8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fsub dword [esp + 0x6c]
fmul dword [esp + 0x28]
fmul dword [0x674c44]
fsubp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x66419c]
fnstsw ax
test ah, 1
jne 0x4ce66f
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fcomp dword [0x66419c]
fld dword [esp + 0x28]
fadd st(0), st(0)
fnstsw ax
test ah, 0x41
jne 0x4ce5c3
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdivrp st(1)
jmp 0x4ce5e5
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fcom dword [0x67a5f0]
fnstsw ax
test ah, 0x41
jne 0x4ce600
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4ce600
fstp st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x24]
fcomp dword [0x66419c]
fnstsw ax
test ah, 1
jne 0x4ce66f
fcom dword [0x66419c]
fnstsw ax
test ah, 1
je 0x4ce634
mov eax, dword [esp + 0x54]
test eax, eax
fstp st(0)
je 0x4ce671
fld dword [0x66419c]
fcom dword [0x67a5e8]
fnstsw ax
test ah, 0x41
jne 0x4ce651
mov eax, dword [esp + 0x40]
test eax, eax
fstp st(0)
je 0x4ce671
fld dword [0x67a5e8]
fmul dword [0x67a5f4]
call fcn.0046572c
shl eax, 2
lea ecx, [esp + 0xb0]
sub ecx, eax
mov edx, dword [ecx]
mov dword [ebp], edx
jmp 0x4ce671
fstp st(0)
inc esi
add ebp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
jl 0x4ce4fa
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc eax
add edx, ecx
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4ce49d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a0
ret