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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x710
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x64]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x724], ebx
je 0x40ae85
xor eax, eax
mov edx, dword [ecx + 0x68]
add eax, 4
cmp eax, 0xc
mov edx, dword [eax + edx - 4]
mov dword [esp + eax + 0x24], edx
mov edx, dword [ecx + 0x80]
mov edx, dword [eax + edx - 4]
mov dword [esp + eax + 0x34], edx
mov edx, dword [ecx + 0x98]
mov edx, dword [eax + edx - 4]
mov dword [esp + eax + 0x14], edx
mov edx, dword [ecx + 0xb0]
mov edx, dword [eax + edx - 4]
mov dword [esp + eax + 0x44], edx
jl 0x40ae46
jmp 0x40aec6
mov eax, 0x3dcccccd
mov edx, 0x3f4ccccd
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], eax
mov ecx, eax
mov eax, 0x3e4ccccd
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x54], 0x3f800000
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiMaterial____cdecl_eaiEntityFactory::createMaterial_void_]
mov esi, eax
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov edx, dword [esi]
mov dword [esp + 0x14], esi
call dword [edx + 4]
mov edx, dword [esi]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call dword [edx + 0x1c]
lea edi, [esp + 0x698]
xor esi, esi
push ebx
lea ecx, [ebp + 0x14]
call fcn.00414320
fld dword [eax + esi]
add esi, 4
fstp qword [edi]
add edi, 8
cmp esi, 0x10
jl 0x40af2b
inc ebx
cmp ebx, 4
jl 0x40af29
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push ecx
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiPart____cdecl_eaiEntityFactory::createPart_char_const___int__int_]
mov ecx, dword [0x4ddef0]
add esp, 0xc
mov esi, eax
push esi
call fcn.00445e00
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x44]
push 0xffffffffffffffff
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiBrep____cdecl_eaiEntityFactory::createBrep_int_]
mov edx, dword [esi]
add esp, 4
mov edi, eax
mov ecx, esi
push edi
call dword [edx + 0xd0]
push 0xffffffffffffffff
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiRegion____cdecl_eaiEntityFactory::createRegion_int_]
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0xc]
push 0xffffffffffffffff
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiShell____cdecl_eaiEntityFactory::createShell_int_]
mov edx, dword [ebx]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x14], eax
push eax
call dword [edx + 4]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0x3fe00000
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3fe00000
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0x3ff00000
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0x3ff00000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3ff00000
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x3fd00000
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0x3fd00000
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0x3fe00000
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0x3fe00000
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x3fe80000
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x3fe80000
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0x3ff00000
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0x3ff00000
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0x3ff00000
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0xbff00000
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0x3ff00000
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0x65dc27df
mov dword [esp + 0x12c], 0xbfe6a09e
mov dword [esp + 0x130], 0x65dc27df
mov dword [esp + 0x134], 0x3fe6a09e
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0xbff00000
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0x3ff00000
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0x65dc27df
mov dword [esp + 0x16c], 0xbfe6a09e
mov dword [esp + 0x170], 0x65dc27df
mov dword [esp + 0x174], 0x3fe6a09e
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0xbff00000
mov dword [esp + 0x190], 0
mov dword [esp + 0x194], 0x3ff00000
mov dword [esp + 0x198], 0
mov dword [esp + 0x19c], 0
mov dword [esp + 0x1a0], 0
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0x65dc27df
mov dword [esp + 0x1ac], 0xbfe6a09e
mov dword [esp + 0x1b0], 0x65dc27df
mov dword [esp + 0x1b4], 0x3fe6a09e
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0xbff00000
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0x3ff00000
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0x65dc27df
mov dword [esp + 0x1ec], 0xbfe6a09e
mov dword [esp + 0x1f0], 0x65dc27df
mov dword [esp + 0x1f4], 0x3fe6a09e
mov dword [esp + 0x1f8], 0
mov dword [esp + 0x1fc], 0
mov dword [esp + 0x200], 0
mov dword [esp + 0x204], 0
mov dword [esp + 0x208], 0
mov dword [esp + 0x20c], 0xbff00000
mov dword [esp + 0x210], 0
mov dword [esp + 0x214], 0x3ff00000
mov dword [esp + 0x218], 0x65dc27df
mov dword [esp + 0x21c], 0x3fe6a09e
mov dword [esp + 0x220], 0
mov dword [esp + 0x224], 0
mov dword [esp + 0x228], 0x65dc27df
mov dword [esp + 0x22c], 0xbfe6a09e
mov dword [esp + 0x230], 0x65dc27df
mov dword [esp + 0x234], 0x3fe6a09e
mov dword [esp + 0x238], 0
mov dword [esp + 0x23c], 0x3fe00000
mov dword [esp + 0x240], 0
mov dword [esp + 0x244], 0x3fe00000
mov dword [esp + 0x248], 0
mov dword [esp + 0x24c], 0xbfe00000
mov dword [esp + 0x250], 0
mov dword [esp + 0x254], 0x3fe00000
mov dword [esp + 0x258], 0
mov dword [esp + 0x25c], 0
mov dword [esp + 0x260], 0x65dc27df
mov dword [esp + 0x264], 0x3fe6a09e
mov dword [esp + 0x268], 0x65dc27df
mov dword [esp + 0x26c], 0xbfe6a09e
mov dword [esp + 0x270], 0x65dc27df
mov dword [esp + 0x274], 0x3fe6a09e
mov dword [esp + 0x278], 0
mov dword [esp + 0x27c], 0xbfe00000
mov dword [esp + 0x280], 0
mov dword [esp + 0x284], 0x3fe00000
mov dword [esp + 0x288], 0
mov dword [esp + 0x28c], 0xbfe00000
mov dword [esp + 0x290], 0
mov dword [esp + 0x294], 0x3fe00000
mov dword [esp + 0x298], 0x65dc27df
mov dword [esp + 0x29c], 0xbfe6a09e
mov dword [esp + 0x2a0], 0
mov dword [esp + 0x2a4], 0
mov dword [esp + 0x2a8], 0x65dc27df
mov dword [esp + 0x2ac], 0xbfe6a09e
mov dword [esp + 0x2b0], 0x65dc27df
mov dword [esp + 0x2b4], 0x3fe6a09e
mov dword [esp + 0x2b8], 0
mov dword [esp + 0x2bc], 0xbfe00000
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x2c4], 0xbfe00000
mov dword [esp + 0x2c8], 0
mov dword [esp + 0x2cc], 0xbfe00000
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d4], 0x3fe00000
mov dword [esp + 0x2d8], 0
mov dword [esp + 0x2dc], 0
mov dword [esp + 0x2e0], 0x65dc27df
mov dword [esp + 0x2e4], 0xbfe6a09e
mov dword [esp + 0x2e8], 0x65dc27df
mov dword [esp + 0x2ec], 0xbfe6a09e
mov dword [esp + 0x2f0], 0x65dc27df
mov dword [esp + 0x2f4], 0x3fe6a09e
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0x3fe00000
mov dword [esp + 0x300], 0
mov dword [esp + 0x304], 0xbfe00000
mov dword [esp + 0x308], 0
mov dword [esp + 0x30c], 0xbfe00000
mov dword [esp + 0x310], 0
mov dword [esp + 0x314], 0x3fe00000
mov dword [esp + 0x318], 0x65dc27df
mov dword [esp + 0x31c], 0x3fe6a09e
mov dword [esp + 0x320], 0
mov dword [esp + 0x324], 0
mov dword [esp + 0x328], 0x65dc27df
mov dword [esp + 0x32c], 0xbfe6a09e
mov dword [esp + 0x330], 0x65dc27df
mov dword [esp + 0x334], 0x3fe6a09e
mov dword [esp + 0x338], 0
mov dword [esp + 0x33c], 0x3ff00000
mov dword [esp + 0x340], 0
mov dword [esp + 0x344], 0
mov dword [esp + 0x348], 0
mov dword [esp + 0x34c], 0
mov dword [esp + 0x350], 0
mov dword [esp + 0x354], 0x3ff00000
mov dword [esp + 0x358], 0x65dc27df
mov dword [esp + 0x35c], 0x3fe6a09e
mov dword [esp + 0x360], 0x65dc27df
mov dword [esp + 0x364], 0x3fe6a09e
mov dword [esp + 0x368], 0
mov dword [esp + 0x36c], 0
mov dword [esp + 0x370], 0x65dc27df
mov dword [esp + 0x374], 0x3fe6a09e
mov dword [esp + 0x378], 0
mov dword [esp + 0x37c], 0
mov dword [esp + 0x380], 0
mov dword [esp + 0x384], 0x3ff00000
mov dword [esp + 0x388], 0
mov dword [esp + 0x38c], 0
mov dword [esp + 0x390], 0
mov dword [esp + 0x394], 0x3ff00000
mov dword [esp + 0x398], 0x65dc27df
mov dword [esp + 0x39c], 0xbfe6a09e
mov dword [esp + 0x3a0], 0x65dc27df
mov dword [esp + 0x3a4], 0x3fe6a09e
mov dword [esp + 0x3a8], 0
mov dword [esp + 0x3ac], 0
mov dword [esp + 0x3b0], 0x65dc27df
mov dword [esp + 0x3b4], 0x3fe6a09e
mov dword [esp + 0x3b8], 0
mov dword [esp + 0x3bc], 0xbff00000
mov dword [esp + 0x3c0], 0
mov dword [esp + 0x3c4], 0
mov dword [esp + 0x3c8], 0
mov dword [esp + 0x3cc], 0
mov dword [esp + 0x3d0], 0
mov dword [esp + 0x3d4], 0x3ff00000
mov dword [esp + 0x3d8], 0x65dc27df
mov dword [esp + 0x3dc], 0xbfe6a09e
mov dword [esp + 0x3e0], 0x65dc27df
mov dword [esp + 0x3e4], 0xbfe6a09e
mov dword [esp + 0x3e8], 0
mov dword [esp + 0x3ec], 0
mov dword [esp + 0x3f0], 0x65dc27df
mov dword [esp + 0x3f4], 0x3fe6a09e
mov dword [esp + 0x3f8], 0
mov dword [esp + 0x3fc], 0
mov dword [esp + 0x400], 0
mov dword [esp + 0x404], 0xbff00000
mov dword [esp + 0x408], 0
mov dword [esp + 0x40c], 0
mov dword [esp + 0x410], 0
mov dword [esp + 0x414], 0x3ff00000
mov dword [esp + 0x418], 0x65dc27df
mov dword [esp + 0x41c], 0x3fe6a09e
mov dword [esp + 0x420], 0x65dc27df
mov dword [esp + 0x424], 0xbfe6a09e
mov dword [esp + 0x428], 0
mov dword [esp + 0x42c], 0
mov dword [esp + 0x430], 0x65dc27df
mov dword [esp + 0x434], 0x3fe6a09e
mov dword [esp + 0x438], 0
mov dword [esp + 0x43c], 0x3ff00000
mov dword [esp + 0x440], 0
mov dword [esp + 0x444], 0
mov dword [esp + 0x448], 0
mov dword [esp + 0x44c], 0
mov dword [esp + 0x450], 0
mov dword [esp + 0x454], 0x3ff00000
mov dword [esp + 0x458], 0x65dc27df
mov dword [esp + 0x45c], 0x3fe6a09e
mov dword [esp + 0x460], 0
mov dword [esp + 0x464], 0
mov dword [esp + 0x468], 0x65dc27df
mov dword [esp + 0x46c], 0x3fe6a09e
mov dword [esp + 0x470], 0x65dc27df
mov dword [esp + 0x474], 0x3fe6a09e
mov dword [esp + 0x478], 0
mov dword [esp + 0x47c], 0x3fe00000
mov dword [esp + 0x480], 0
mov dword [esp + 0x484], 0x3fe00000
mov dword [esp + 0x488], 0
mov dword [esp + 0x48c], 0x3fe00000
mov dword [esp + 0x490], 0
mov dword [esp + 0x494], 0x3fe00000
mov dword [esp + 0x498], 0
mov dword [esp + 0x49c], 0
mov dword [esp + 0x4a0], 0x65dc27df
mov dword [esp + 0x4a4], 0x3fe6a09e
mov dword [esp + 0x4a8], 0x65dc27df
mov dword [esp + 0x4ac], 0x3fe6a09e
mov dword [esp + 0x4b0], 0x65dc27df
mov dword [esp + 0x4b4], 0x3fe6a09e
mov dword [esp + 0x4b8], 0
mov dword [esp + 0x4bc], 0xbfe00000
mov dword [esp + 0x4c0], 0
mov dword [esp + 0x4c4], 0x3fe00000
mov dword [esp + 0x4c8], 0
mov dword [esp + 0x4cc], 0x3fe00000
mov dword [esp + 0x4d0], 0
mov dword [esp + 0x4d4], 0x3fe00000
mov dword [esp + 0x4d8], 0x65dc27df
mov dword [esp + 0x4dc], 0xbfe6a09e
mov dword [esp + 0x4e0], 0
mov dword [esp + 0x4e4], 0
mov dword [esp + 0x4e8], 0x65dc27df
mov dword [esp + 0x4ec], 0x3fe6a09e
mov dword [esp + 0x4f0], 0x65dc27df
mov dword [esp + 0x4f4], 0x3fe6a09e
mov dword [esp + 0x4f8], 0
mov dword [esp + 0x4fc], 0xbfe00000
mov dword [esp + 0x500], 0
mov dword [esp + 0x504], 0xbfe00000
mov dword [esp + 0x508], 0
mov dword [esp + 0x50c], 0x3fe00000
mov dword [esp + 0x510], 0
mov dword [esp + 0x514], 0x3fe00000
mov dword [esp + 0x518], 0
mov dword [esp + 0x51c], 0
mov dword [esp + 0x520], 0x65dc27df
mov dword [esp + 0x524], 0xbfe6a09e
mov dword [esp + 0x528], 0x65dc27df
mov dword [esp + 0x52c], 0x3fe6a09e
mov dword [esp + 0x530], 0x65dc27df
mov dword [esp + 0x534], 0x3fe6a09e
mov dword [esp + 0x538], 0
mov dword [esp + 0x53c], 0x3fe00000
mov dword [esp + 0x540], 0
mov dword [esp + 0x544], 0xbfe00000
mov dword [esp + 0x548], 0
mov dword [esp + 0x54c], 0x3fe00000
mov dword [esp + 0x550], 0
mov dword [esp + 0x554], 0x3fe00000
mov dword [esp + 0x558], 0x65dc27df
mov dword [esp + 0x55c], 0x3fe6a09e
mov dword [esp + 0x560], 0
mov dword [esp + 0x564], 0
mov dword [esp + 0x568], 0x65dc27df
mov dword [esp + 0x56c], 0x3fe6a09e
mov dword [esp + 0x570], 0x65dc27df
mov dword [esp + 0x574], 0x3fe6a09e
mov dword [esp + 0x578], 0
mov dword [esp + 0x57c], 0
mov dword [esp + 0x580], 0
mov dword [esp + 0x584], 0
mov dword [esp + 0x588], 0
mov dword [esp + 0x58c], 0x3ff00000
mov dword [esp + 0x590], 0
mov dword [esp + 0x594], 0x3ff00000
mov dword [esp + 0x598], 0
mov dword [esp + 0x59c], 0
mov dword [esp + 0x5a0], 0
mov dword [esp + 0x5a4], 0
mov dword [esp + 0x5a8], 0x65dc27df
mov dword [esp + 0x5ac], 0x3fe6a09e
mov dword [esp + 0x5b0], 0x65dc27df
mov dword [esp + 0x5b4], 0x3fe6a09e
mov dword [esp + 0x5b8], 0
mov dword [esp + 0x5bc], 0
mov dword [esp + 0x5c0], 0
mov dword [esp + 0x5c4], 0
mov dword [esp + 0x5c8], 0
mov dword [esp + 0x5cc], 0x3ff00000
mov dword [esp + 0x5d0], 0
mov dword [esp + 0x5d4], 0x3ff00000
mov dword [esp + 0x5d8], 0
mov dword [esp + 0x5dc], 0
mov dword [esp + 0x5e0], 0
mov dword [esp + 0x5e4], 0
mov dword [esp + 0x5e8], 0x65dc27df
mov dword [esp + 0x5ec], 0x3fe6a09e
mov dword [esp + 0x5f0], 0x65dc27df
mov dword [esp + 0x5f4], 0x3fe6a09e
mov dword [esp + 0x5f8], 0
mov dword [esp + 0x5fc], 0
mov dword [esp + 0x600], 0
mov dword [esp + 0x604], 0
mov dword [esp + 0x608], 0
mov dword [esp + 0x60c], 0x3ff00000
fld qword [ebp + 0xc]
mov dword [esp + 0x610], 0
mov dword [esp + 0x614], 0x3ff00000
mov dword [esp + 0x618], 0
mov dword [esp + 0x61c], 0
mov dword [esp + 0x620], 0
mov dword [esp + 0x624], 0
mov dword [esp + 0x628], 0x65dc27df
mov dword [esp + 0x62c], 0x3fe6a09e
mov dword [esp + 0x630], 0x65dc27df
mov dword [esp + 0x634], 0x3fe6a09e
mov dword [esp + 0x638], 0
mov dword [esp + 0x63c], 0
mov dword [esp + 0x640], 0
mov dword [esp + 0x644], 0
mov dword [esp + 0x648], 0
mov dword [esp + 0x64c], 0x3ff00000
mov dword [esp + 0x650], 0
mov dword [esp + 0x654], 0x3ff00000
mov dword [esp + 0x658], 0
mov dword [esp + 0x65c], 0
mov dword [esp + 0x660], 0
mov dword [esp + 0x664], 0
mov dword [esp + 0x668], 0x65dc27df
mov dword [esp + 0x66c], 0x3fe6a09e
mov dword [esp + 0x670], 0x65dc27df
mov dword [esp + 0x674], 0x3fe6a09e
mov dword [esp + 0x678], 0
mov dword [esp + 0x67c], 0
mov dword [esp + 0x680], 0
mov dword [esp + 0x684], 0
mov dword [esp + 0x688], 0
mov dword [esp + 0x68c], 0x3ff00000
mov dword [esp + 0x690], 0
mov dword [esp + 0x694], 0x3ff00000
lea ecx, [esp + 0x110]
lea eax, [esp + 0x100]
mov edx, 0x2d
fld qword [0x4a6568]
fdiv qword [ecx]
add ecx, 0x20
add eax, 0x20
dec edx
fld st(0)
fmul qword [eax - 0x28]
fmul st(2)
fld st(1)
fmul qword [eax - 0x20]
fmul st(3)
fxch st(2)
fmul st(3)
fmul qword [eax - 0x18]
fld qword [esp + 0x6d8]
fmul st(1)
fld qword [esp + 0x6b8]
fmul st(4)
faddp st(1)
fld qword [esp + 0x698]
fmul st(3)
faddp st(1)
fadd qword [esp + 0x6f8]
fmul qword [eax - 0x10]
fstp qword [eax - 0x28]
fld qword [esp + 0x6e0]
fmul st(1)
fld qword [esp + 0x6c0]
fmul st(4)
faddp st(1)
fld qword [esp + 0x6a0]
fmul st(3)
faddp st(1)
fadd qword [esp + 0x700]
fmul qword [eax - 0x10]
fstp qword [eax - 0x20]
fld qword [esp + 0x6e8]
fmul st(1)
fld qword [esp + 0x6c8]
fmul st(4)
faddp st(1)
fld qword [esp + 0x6a8]
fmul st(3)
faddp st(1)
fadd qword [esp + 0x708]
fmul qword [eax - 0x10]
fstp qword [eax - 0x18]
fstp st(0)
fstp st(1)
fstp st(0)
jne 0x40c0e1
push 2
lea eax, [esp + 0x5c]
push 2
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x104]
push ecx
push edx
push 5
push 9
fstp st(0)
call fcn.0040a0c0
push 5
push 9
push 2
push 2
mov dword [esp + 0x3c], eax
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiNURBSSurface____cdecl_eaiEntityFactory::createNURBSSurface_int__int__int__int_]
add esp, 0x2c
mov edi, eax
lea ecx, [esp + 0x58]
lea edx, [esp + 0x98]
mov eax, dword [edi]
push ecx
push edx
mov ecx, edi
call dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [esp + 0xf8]
push 4
push ecx
mov ecx, edi
call dword [eax + 0x10]
push 0xffffffffffffffff
call dword [sym.imp.DMDataTk53.dll_public:_static_class_eaiFace____cdecl_eaiEntityFactory::createFace_int_]
mov ebx, eax
add esp, 4
mov ecx, ebx
mov edx, dword [ebx]
push edi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp + 0x14]
mov dword [esp + 0x724], 0xffffffff
call fcn.004340a0
mov ecx, dword [esp + 0x71c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret