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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2abb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push esi
push edi
xor ebx, ebx
lea edi, [esp + 0x1f0]
mov dword [esp + 0x27c], ebx
xor esi, esi
push ebx
lea ecx, [ebp + 0xc]
call fcn.00414320
fld dword [eax + esi]
add esi, 4
fstp qword [edi]
add edi, 8
cmp esi, 0x10
jl 0x40a756
inc ebx
cmp ebx, 4
jl 0x40a754
fld qword [ebp + 0x74]
fld qword [ebp + 0x6c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0x3ff00000
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0x3ff00000
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xbff00000
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x3ff00000
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3ff00000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x3ff00000
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3ff00000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0xbff00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0xbff00000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3ff00000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0xbff00000
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0x3ff00000
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x3ff00000
lea eax, [esp + 0x40]
mov ecx, 4
mov edx, dword [ebp + 8]
fld st(0)
fmul qword [eax - 8]
fld st(1)
fmul qword [eax]
test edx, edx
fld st(3)
je 0x40a908
fmul qword [0x4a6598]
jmp 0x40a90e
fmul qword [0x4a6590]
fld qword [esp + 0x230]
fmul st(1)
fld qword [esp + 0x210]
fmul st(3)
add eax, 0x20
dec ecx
faddp st(1)
fld qword [esp + 0x1f0]
fmul st(4)
faddp st(1)
fadd qword [esp + 0x250]
fstp qword [eax - 0x28]
fld qword [esp + 0x238]
fmul st(1)
fld qword [esp + 0x218]
fmul st(3)
faddp st(1)
fld qword [esp + 0x1f8]
fmul st(4)
faddp st(1)
fadd qword [esp + 0x258]
fstp qword [eax - 0x20]
fld qword [esp + 0x240]
fmul st(1)
fld qword [esp + 0x220]
fmul st(3)
faddp st(1)
fld qword [esp + 0x200]
fmul st(4)
faddp st(1)
fadd qword [esp + 0x260]
fstp qword [eax - 0x18]
fstp st(0)
fstp st(0)
fstp st(0)
jne 0x40a8ee
push 2
push 2
fstp st(0)
push 1
push 1
fstp st(0)
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiNURBSSurface____cdecl_eaiEntityFactory::createNURBSSurface_int__int__int__int_]
add esp, 0x10
mov edi, eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
mov eax, dword [edi]
push ecx
push edx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x10]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x3fd00000
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x3fd00000
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x3fe00000
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0x3fe00000
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0x3fe80000
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0x3fe80000
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0x3ff00000
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0x3ff00000
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0x3ff00000
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0x3fe00000
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0x3ff00000
mov dword [esp + 0x130], 0x962da95c
mov dword [esp + 0x134], 0x3fe6a09e
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0x962da95c
mov dword [esp + 0x144], 0x3fe6a09e
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0x3ff00000
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0x3fe00000
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0x3ff00000
mov dword [esp + 0x160], 0x962da95c
mov dword [esp + 0x164], 0x3fe6a09e
mov dword [esp + 0x168], 0x962da95c
mov dword [esp + 0x16c], 0x3fe6a09e
mov dword [esp + 0x170], 0x962da95c
mov dword [esp + 0x174], 0x3fe6a09e
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0x3fe00000
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0x3ff00000
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0x3ff00000
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0x962da95c
mov dword [esp + 0x19c], 0x3fe6a09e
mov dword [esp + 0x1a0], 0x962da95c
push 9
push 2
mov dword [esp + 0x1ac], 0x3fe6a09e
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0x3fe00000
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0x3ff00000
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x1d8], 0x962da95c
mov dword [esp + 0x1dc], 0x3fe6a09e
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0x3fe00000
mov dword [esp + 0x1e8], 0
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
mov dword [esp + 0x1f4], 0x3ff00000
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiUVCurve____cdecl_eaiEntityFactory::createUVCurve_int__int_]
add esp, 8
mov esi, eax
lea eax, [esp + 0x118]
mov ecx, esi
mov edx, dword [esi]
push 3
push eax
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0xb8]
push eax
mov ecx, esi
call dword [edx + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiCoedge____cdecl_eaiEntityFactory::createCoedge_int_]
push 0xffffffffffffffff
mov ebx, eax
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiLoop____cdecl_eaiEntityFactory::createLoop_int_]
push 0xffffffffffffffff
mov dword [esp + 0x20], eax
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiFace____cdecl_eaiEntityFactory::createFace_int_]
mov edx, dword [ebx]
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x10], eax
push esi
call dword [edx + 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [0x4ddf1c]
test eax, eax
mov eax, dword [ebx]
jne 0x40ad9a
mov ecx, dword [0x4ddf20]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
call dword [edx + 0x14]
mov esi, dword [esp + 0x14]
push ebx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x10]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov ebx, dword [esp + 0x10]
push edi
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x38]
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40ade0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [ebp + 0xc]
mov dword [esp + 0x27c], 0xffffffff
call fcn.004340a0
mov ecx, dword [esp + 0x274]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret