Function at 0x40baa0
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d340a
mov eax, dword fs:[0]
push eax
sub esp, 0x9a4
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x9a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x9b8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c8]
mov esi, ecx
mov dword [esp + 0x94], ebp
mov ebx, 1
mov dword [esp + 0x9c0], ebx
test ebp, ebp
jne 0x40bb30
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005b9130
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005b9130
mov eax, 0x20000001
jmp 0x40e7da
lea eax, [esp + 0x9d0]
push eax
lea ecx, [esp + 0x74]
call fcn.005b9780
lea ecx, [esp + 0x9e4]
push 0
push ecx
mov byte [esp + 0x9c8], 2
call fcn.005b9b40
add esp, 8
test eax, eax
je 0x40bb78
mov edx, dword [esp + 0x9e8]
mov eax, dword [esp + 0x9e4]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.005b9150
fld dword [esp + 0x9dc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x5c], eax
call fcn.004c0df0
mov edi, eax
test edi, edi
jne 0x40bc28
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov eax, dword [esp + 0x70]
push edx
push str._is_Not_Found_in_Board_Designer.
push eax
push str.BDExport::warning_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c0], 1
call fcn.005b9130
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005b9130
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005b9130
mov eax, 0x1000001
jmp 0x40e7da
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0x9c4], 3
call dword [sym.imp.mfc90.dll_Ordinal_817]
push str.HeightLimit_A
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x40bca3
push str.HeightLimit_B
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x40bca3
lea edx, [esp + 0x70]
push str.HeightLimit_A
push edx
call fcn.005b9af0
add esp, 8
test eax, eax
jne 0x40bca3
lea eax, [esp + 0x70]
push str.HeightLimit_B
push eax
call fcn.005b9af0
add esp, 8
test eax, eax
je 0x40bcc4
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.BDExport::warning_Wrong_type_of_layer.
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
push eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x64], eax
call fcn.00492120
mov byte [esp + 0x9c0], 4
cmp dword [esp + 0x9cc], ebx
jne 0x40bdbc
lea ecx, [esp + 0x100]
call fcn.005be570
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c0], 5
call fcn.00492140
lea ecx, [esp + 0x88]
call fcn.00492110
test eax, eax
je 0x40bd7a
lea ecx, [esp + 0x88]
call fcn.00492110
mov edi, eax
mov ecx, edi
call fcn.0047c8c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40bd5e
mov ecx, dword [esp + 0x100]
push ecx
lea ecx, [esp + 0x104]
call fcn.005be2d0
mov dword [eax], edi
lea ecx, [esp + 0x88]
call fcn.00492170
lea ecx, [esp + 0x88]
call fcn.00492110
test eax, eax
jne 0x40bd23
mov ebx, dword [esp + 0x100]
xor edi, edi
test ebx, ebx
jle 0x40bda8
jmp 0x40bd90
mov edx, dword [esp + 0x108]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00492710
inc edi
cmp edi, ebx
jl 0x40bd90
lea ecx, [esp + 0x100]
mov byte [esp + 0x9c0], 4
call fcn.005be4c0
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBLayer::CountSymbol_void_]
xor ecx, ecx
mov dword [esp + 0x90], eax
cmp dword [esp + 0x9e0], ecx
jne 0x40d2e0
cmp eax, ecx
mov dword [esp + 0x68], ecx
jle 0x40e77e
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov ebp, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x94]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSymbol____thiscall_BMBLayer::GetSymbol_int_]
mov edi, eax
mov ecx, edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov ecx, edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x40d2c5
mov edi, edi
mov ecx, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x20]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
mov al, byte [edi + 8]
mov byte [esp + 0x54], al
movzx eax, al
mov byte [esp + 0x9c0], 6
cmp eax, 9
ja case.0x40be66.5
jmp dword [eax*4 + 0x40e804]
push 0
lea edx, [esp + 0x4d8]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x4d4]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x6f4]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x188], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x6f0]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x180]
push edx
lea ecx, [esp + 0x2c8]
call fcn.004f6030
lea eax, [esp + 0x2c0]
push eax
lea ecx, [esp + 0x360]
mov byte [esp + 0x9c4], 7
call fcn.00521500
lea ecx, [esp + 0x35c]
push ecx
lea ecx, [esp + 0x428]
mov byte [esp + 0x9c4], 8
call fcn.00514070
mov edx, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x428]
mov byte [esp + 0x9c4], 9
mov dword [esp + 0x434], edx
call fcn.00515ea0
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x424]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493290
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x11c]
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x68], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0xa
call fcn.00404d20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x11c]
mov byte [esp + 0x9c0], 9
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x40c0f3
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x71c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x718]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x424]
mov byte [esp + 0x9c0], 8
call fcn.00516bd0
lea ecx, [esp + 0x35c]
mov byte [esp + 0x9c0], 7
call fcn.00526cc0
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x9c0], 6
call fcn.004f6120
jmp case.0x40be66.5
push 0
lea edx, [esp + 0x4ec]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x4e8]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x514]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esp + 0x170], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x510]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
fldz
mov edx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push eax
push edx
lea eax, [esp + 0x174]
push eax
lea ecx, [esp + 0x898]
call fcn.004f4950
lea ecx, [esp + 0x3ac]
push ecx
lea ecx, [esp + 0x888]
mov byte [esp + 0x9c4], 0xb
call fcn.004f4a30
push eax
lea ecx, [esp + 0x39c]
mov byte [esp + 0x9c4], 0xc
call fcn.004eede0
lea edx, [esp + 0x398]
mov byte [esp + 0x9c0], 0xd
push edx
lea ecx, [esp + 0x388]
call fcn.005213f0
lea ecx, [esp + 0x398]
mov byte [esp + 0x9c0], 0xf
call fcn.004eee10
lea ecx, [esp + 0x3ac]
mov byte [esp + 0x9c0], 0x10
call fcn.00481ef0
lea eax, [esp + 0x384]
push eax
lea ecx, [esp + 0x3d0]
call fcn.00514070
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3d8], ecx
push 0xff
lea ecx, [esp + 0x3d0]
mov byte [esp + 0x9c4], 0x11
call fcn.00515ea0
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x3cc]
push edx
push eax
call fcn.00493290
lea ecx, [esp + 0x120]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x68], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x9d4], 0x12
call fcn.00404d20
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x120]
mov byte [esp + 0x9c0], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x40c427
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x53c]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x538]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x3cc]
mov byte [esp + 0x9c0], 0x10
call fcn.00516bd0
lea ecx, [esp + 0x384]
mov byte [esp + 0x9c0], 0xb
call fcn.00526cc0
lea ecx, [esp + 0x884]
jmp 0x40d28f
lea ecx, [esp + 0x140]
call fcn.00529e00
cmp byte [esp + 0x54], 3
mov byte [esp + 0x9c0], 0x13
mov dword [esp + 0x14], 0
jne 0x40c5bd
push 0
lea edx, [esp + 0x564]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x560]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
fnstcw word [esp + 0x54]
movzx eax, word [esp + 0x54]
or eax, 0xc00
mov dword [esp + 0x18], eax
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
sub eax, 1
fldcw word [esp + 0x54]
je 0x40c4f3
sub eax, 1
je 0x40c4ef
sub eax, 1
jne 0x40c501
push 3
jmp 0x40c4f5
push 2
jmp 0x40c4f5
push 1
lea ecx, [esp + 0x144]
call fcn.0052e550
push 1
lea eax, [esp + 0x58c]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x588]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x58], eax
call fcn.00403cb0
mov dword [esp + 0x18], eax
push 2
lea eax, [esp + 0x5b4]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x5b0]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.0052d2e0
mov edx, dword [esp + 0x14]
xor eax, eax
cmp edx, dword [edi + 0x10]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0x54], eax
jge 0x40cac9
mov edi, edi
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x5dc]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x5d8]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov al, byte [esp + 0x28]
cmp al, 3
je 0x40c81b
cmp al, 6
je 0x40c7cb
cmp al, 0xd
jne 0x40cab7
fld dword [esp + 0x2c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xd4], eax
call fcn.00403cb0
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x744]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x740]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
call fcn.00403cb0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x76c]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x768]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xdc], eax
call fcn.00403cb0
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x800]
call fcn.004f0210
push 0
push 0
push eax
lea ecx, [esp + 0x910]
mov byte [esp + 0x9cc], 0x19
call fcn.00516c80
lea ecx, [esp + 0x7f4]
mov byte [esp + 0x9c0], 0x1b
call fcn.004f08d0
lea eax, [esp + 0x904]
push eax
lea ecx, [esp + 0x144]
call fcn.0052f5e0
lea ecx, [esp + 0x904]
jmp 0x40caaa
cmp dword [esp + 0x54], 1
je 0x40cab7
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xe4], eax
call fcn.00403cb0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x144]
mov dword [esp + 0xe8], eax
call fcn.0052f580
jmp 0x40cab7
fld dword [esp + 0x2c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xf4], eax
call fcn.00403cb0
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x794]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x790]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
fmul qword [0x5eede8]
mov ecx, esi
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00403cb0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x7bc]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x7b8]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
mov dword [esp + 0x18], 0
fst qword [esp + 0x80]
fld dword [esp + 0x30]
fst qword [esp + 0xa0]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x40c921
mov dword [esp + 0x18], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x230]
mov dword [esp + 0x58], esp
push eax
lea ecx, [esp + 0xac]
call fcn.005ba5e0
fld qword [esp + 0x228]
fst qword [esp + 0xa0]
fcomp qword [0x5eee00]
fnstsw ax
test ah, 1
jne 0x40ca20
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40ca0d
push 0
lea ecx, [esp + 0x274]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x2b0]
push edx
mov ecx, edi
mov byte [esp + 0x9c8], 0x14
call ebp
fld dword [esp + 0x27c]
fld dword [esp + 0x2b8]
mov byte [esp + 0x9c0], 0x15
fucompp
fnstsw ax
test ah, 0x44
jp 0x40c9e9
fld dword [esp + 0x280]
fld dword [esp + 0x2bc]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40c9e9
push 0
lea ecx, [esp + 0x144]
call fcn.00531cf0
fld qword [esp + 0x80]
fstp qword [esp + 0xa0]
mov dword [esp + 0x54], 1
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x9c0], 0x14
call ebx
lea ecx, [esp + 0x270]
mov byte [esp + 0x9c0], 0x13
call ebx
jmp 0x40ca20
cmp eax, 3
jne 0x40ca20
fld qword [esp + 0x80]
fstp qword [esp + 0xa0]
mov eax, dword [esp + 0x18]
fld qword [esp + 0xa0]
mov ecx, dword [esp + 0x5c]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x5c], esp
fstp qword [eax]
fld qword [esp + 0x8c]
sub esp, 8
mov eax, esp
mov dword [esp + 0x64], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x858]
call fcn.004f0020
push 0
push 0
push eax
lea ecx, [esp + 0x968]
mov byte [esp + 0x9cc], 0x16
call fcn.00516c80
lea ecx, [esp + 0x83c]
mov byte [esp + 0x9c0], 0x18
call fcn.004f08d0
lea eax, [esp + 0x95c]
push eax
lea ecx, [esp + 0x144]
call fcn.0052f5e0
lea ecx, [esp + 0x95c]
mov byte [esp + 0x9c0], 0x13
call fcn.00516cb0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40c5e0
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
push eax
lea ecx, [esp + 0x148]
call fcn.0052f2e0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.004930f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x110]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0x1c
call fcn.00404d20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x110]
mov byte [esp + 0x9c0], 0x13
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40cc4d
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x7e4]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x7e0]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x140]
mov byte [esp + 0x9c0], 6
call fcn.0052f270
jmp case.0x40be66.5
lea ecx, [esp + 0x214]
call fcn.00520f90
lea edx, [esp + 0x214]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x1d
call fcn.00403e40
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x234]
call fcn.00514070
mov eax, dword [esp + 0x64]
inc eax
cmp eax, dword [esp + 0x48]
mov byte [esp + 0x9c0], 0x1e
mov dword [esp + 0x14], eax
jge 0x40cd70
lea esp, [esp]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
mov edi, eax
cmp byte [edi + 8], 5
jne 0x40cd70
lea ecx, [esp + 0x298]
call fcn.00520f90
lea edx, [esp + 0x298]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x1f
call fcn.00403e40
lea eax, [esp + 0x230]
push eax
push 0x24
call fcn.00515d00
add esp, 8
mov dword [esp + 0x50], eax
mov byte [esp + 0x9c0], 0x20
test eax, eax
je 0x40cd32
lea ecx, [esp + 0x298]
push ecx
mov ecx, eax
call fcn.005150d0
jmp 0x40cd34
xor eax, eax
push eax
lea ecx, [esp + 0x234]
mov byte [esp + 0x9c4], 0x1f
call fcn.00515d90
lea ecx, [esp + 0x298]
mov byte [esp + 0x9c0], 0x1e
call fcn.00526cc0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jl 0x40ccc0
mov edx, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x234]
mov dword [esp + 0x240], edx
call fcn.00515ea0
lea ecx, [esp + 0x230]
call fcn.00524310
cmp eax, 3
jl 0x40cf02
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x230]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493290
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0x21
call fcn.00404d20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x9c0], 0x1e
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40cf02
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x6e0]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x6dc]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x230]
mov byte [esp + 0x9c0], 0x1d
call fcn.00516bd0
lea ecx, [esp + 0x214]
mov byte [esp + 0x9c0], 6
call fcn.00526cc0
jmp case.0x40be66.5
push 0
lea edx, [esp + 0x618]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x614]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x60], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x500]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, edi
mov dword [esp + 0x168], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x4fc]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
push 2
lea edx, [esp + 0x7a8]
push edx
mov ecx, edi
mov dword [esp + 0x64], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x7a4]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea edx, [esp + 0x16c]
push edx
lea ecx, [esp + 0x8b8]
call fcn.004f4950
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x8a8]
mov byte [esp + 0x9c4], 0x22
call fcn.004f5140
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x1ec], ecx
mov ecx, dword [esp + 0x1b8]
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x1f0], edx
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x1f8], ecx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 0x200], eax
mov dword [esp + 0x1fc], edx
mov edx, dword [esp + 0x1c8]
push 4
lea eax, [esp + 0x1f0]
mov dword [esp + 0x208], ecx
push eax
lea ecx, [esp + 0x400]
mov dword [esp + 0x210], edx
call fcn.00513da0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x404], ecx
push 0xff
lea ecx, [esp + 0x3fc]
mov byte [esp + 0x9c4], 0x23
call fcn.00515ea0
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x3f8]
push edx
push eax
call fcn.00493290
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x5c], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x9d4], 0x24
call fcn.00404d20
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c0], 0x23
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40d274
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x528]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x524]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x30]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x3f8]
mov byte [esp + 0x9c0], 0x22
call fcn.00516bd0
lea ecx, [esp + 0x8a4]
mov byte [esp + 0x9c0], 6
call fcn.004f4a20
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c0], 4
call ebx
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x64], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
cmp edi, eax
jl 0x40be30
mov eax, dword [esp + 0x68]
inc eax
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
jl 0x40bdf2
jmp 0x40e77e
cmp eax, ecx
mov dword [esp + 0x64], ecx
jle 0x40e77e
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov ebp, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
jmp 0x40d300
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x94]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSymbol____thiscall_BMBLayer::GetSymbol_int_]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x68], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x40e768
mov edi, edi
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x34]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
mov al, byte [edi + 8]
mov byte [esp + 0x54], al
movzx eax, al
mov byte [esp + 0x9c0], 0x25
cmp eax, 9
ja case.0x40d366.6
jmp dword [eax*4 + 0x40e82c]
push 0
lea ecx, [esp + 0x708]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x704]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403cb0
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x174], eax
push 1
lea eax, [esp + 0x550]
push eax
mov ecx, edi
mov dword [esp + 0x180], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x54c]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x2d8]
call fcn.004f6030
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x338]
mov byte [esp + 0x9c4], 0x26
call fcn.00521500
lea edx, [esp + 0x334]
push edx
lea ecx, [esp + 0x454]
mov byte [esp + 0x9c4], 0x27
call fcn.00514070
mov eax, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x454]
mov byte [esp + 0x9c4], 0x28
mov dword [esp + 0x460], eax
call fcn.00515ea0
lea ecx, [esp + 0x318]
call fcn.00529e00
mov byte [esp + 0x9c0], 0x29
lea ecx, [esp + 0x318]
push ecx
lea ecx, [esp + 0x454]
call fcn.00528d80
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x320]
call fcn.0052f2e0
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x318]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004930f0
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x114]
push edx
mov dword [esp + 0x4c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0x2a
call fcn.00404d20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x114]
mov byte [esp + 0x9c0], 0x29
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40d62e
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x780]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x77c]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x44]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x318]
mov byte [esp + 0x9c0], 0x28
call fcn.0052f270
lea ecx, [esp + 0x450]
mov byte [esp + 0x9c0], 0x27
call fcn.00516bd0
lea ecx, [esp + 0x334]
mov byte [esp + 0x9c0], 0x26
call fcn.00526cc0
lea ecx, [esp + 0x2d0]
mov byte [esp + 0x9c0], 0x25
call fcn.004f6120
jmp case.0x40d366.6
push 0
lea edx, [esp + 0x578]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x574]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x604]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0x190], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x600]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403cb0
fldz
mov edx, dword [esp + 0x4c]
sub esp, 8
fstp qword [esp]
push eax
push edx
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x8f8]
call fcn.004f4950
lea ecx, [esp + 0x3bc]
push ecx
lea ecx, [esp + 0x8e8]
mov byte [esp + 0x9c4], 0x2b
call fcn.004f4a30
push eax
lea ecx, [esp + 0x34c]
mov byte [esp + 0x9c4], 0x2c
call fcn.004eede0
lea edx, [esp + 0x348]
mov byte [esp + 0x9c0], 0x2d
push edx
lea ecx, [esp + 0x374]
call fcn.005213f0
lea ecx, [esp + 0x348]
mov byte [esp + 0x9c0], 0x2f
call fcn.004eee10
lea ecx, [esp + 0x3bc]
mov byte [esp + 0x9c0], 0x30
call fcn.00481ef0
lea eax, [esp + 0x370]
push eax
lea ecx, [esp + 0x4ac]
call fcn.00514070
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x4b4], ecx
push 0xff
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x9c4], 0x31
call fcn.00515ea0
lea ecx, [esp + 0x2fc]
call fcn.00529e00
lea edx, [esp + 0x2fc]
push edx
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x9c4], 0x32
call fcn.00528d80
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x304]
call fcn.0052f2e0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2fc]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.004930f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0x33
call fcn.00404d20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x10c]
mov byte [esp + 0x9c0], 0x32
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40d9b0
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x5a0]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x59c]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x44]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x9c0], 0x31
call fcn.0052f270
lea ecx, [esp + 0x4a8]
mov byte [esp + 0x9c0], 0x30
call fcn.00516bd0
lea ecx, [esp + 0x370]
mov byte [esp + 0x9c0], 0x2b
call fcn.00526cc0
lea ecx, [esp + 0x8e4]
jmp 0x40e732
lea ecx, [esp + 0x124]
call fcn.00529e00
cmp byte [esp + 0x54], 3
mov byte [esp + 0x9c0], 0x34
mov dword [esp + 0x14], 0
jne 0x40db5a
push 0
lea edx, [esp + 0x62c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x628]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
fnstcw word [esp + 0x54]
movzx eax, word [esp + 0x54]
or eax, 0xc00
mov dword [esp + 0x5c], eax
fldcw word [esp + 0x5c]
fistp dword [esp + 0x5c]
movzx eax, byte [esp + 0x5c]
sub eax, 1
fldcw word [esp + 0x54]
je 0x40da90
sub eax, 1
je 0x40da8c
sub eax, 1
jne 0x40da9e
push 3
jmp 0x40da92
push 2
jmp 0x40da92
push 1
lea ecx, [esp + 0x128]
call fcn.0052e550
push 1
lea eax, [esp + 0x5c8]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x5c4]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x70], eax
call fcn.00403cb0
mov dword [esp + 0x4c], eax
push 2
lea eax, [esp + 0x654]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x650]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x130]
call fcn.0052d2e0
mov edx, dword [esp + 0x14]
xor eax, eax
cmp edx, dword [edi + 0x10]
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0x48], eax
jge 0x40e069
jmp 0x40db80
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x5f0]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x5ec]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov al, byte [esp + 0x3c]
cmp al, 3
je 0x40ddbb
cmp al, 6
je 0x40dd6b
cmp al, 0xd
jne 0x40e057
fld dword [esp + 0x40]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
call fcn.00403cb0
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x67c]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x678]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xac], eax
call fcn.00403cb0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x6a4]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x6a0]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xbc], eax
call fcn.00403cb0
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x824]
call fcn.004f0210
push 0
push 0
push eax
lea ecx, [esp + 0x93c]
mov byte [esp + 0x9cc], 0x3a
call fcn.00516c80
lea ecx, [esp + 0x818]
mov byte [esp + 0x9c0], 0x3c
call fcn.004f08d0
lea eax, [esp + 0x930]
push eax
lea ecx, [esp + 0x128]
call fcn.0052f5e0
lea ecx, [esp + 0x930]
jmp 0x40e04a
cmp dword [esp + 0x48], 1
je 0x40e057
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xec], eax
call fcn.00403cb0
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0xf0], eax
call fcn.0052f580
jmp 0x40e057
fld dword [esp + 0x40]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
call fcn.00403cb0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x730]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x72c]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
fmul qword [0x5eede8]
mov ecx, esi
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp]
call fcn.00403cb0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x640]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x63c]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
mov dword [esp + 0x18], 0
fst qword [esp + 0x80]
fld dword [esp + 0x44]
fst qword [esp + 0x98]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x40dec1
mov dword [esp + 0x18], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x214]
mov dword [esp + 0x58], esp
push eax
lea ecx, [esp + 0xa4]
call fcn.005ba5e0
fld qword [esp + 0x20c]
fst qword [esp + 0x98]
fcomp qword [0x5eee00]
fnstsw ax
test ah, 1
jne 0x40dfc0
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40dfad
push 0
lea ecx, [esp + 0x260]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x288]
push edx
mov ecx, edi
mov byte [esp + 0x9c8], 0x35
call ebp
fld dword [esp + 0x268]
fld dword [esp + 0x290]
mov byte [esp + 0x9c0], 0x36
fucompp
fnstsw ax
test ah, 0x44
jp 0x40df89
fld dword [esp + 0x26c]
fld dword [esp + 0x294]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40df89
push 0
lea ecx, [esp + 0x128]
call fcn.00531cf0
fld qword [esp + 0x80]
fstp qword [esp + 0x98]
mov dword [esp + 0x48], 1
lea ecx, [esp + 0x284]
mov byte [esp + 0x9c0], 0x35
call ebx
lea ecx, [esp + 0x25c]
mov byte [esp + 0x9c0], 0x34
call ebx
jmp 0x40dfc0
cmp eax, 3
jne 0x40dfc0
fld qword [esp + 0x80]
fstp qword [esp + 0x98]
mov eax, dword [esp + 0x18]
fld qword [esp + 0x98]
mov ecx, dword [esp + 0x4c]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x5c], esp
fstp qword [eax]
fld qword [esp + 0x8c]
sub esp, 8
mov eax, esp
mov dword [esp + 0x64], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x87c]
call fcn.004f0020
push 0
push 0
push eax
lea ecx, [esp + 0x994]
mov byte [esp + 0x9cc], 0x37
call fcn.00516c80
lea ecx, [esp + 0x860]
mov byte [esp + 0x9c0], 0x39
call fcn.004f08d0
lea eax, [esp + 0x988]
push eax
lea ecx, [esp + 0x128]
call fcn.0052f5e0
lea ecx, [esp + 0x988]
mov byte [esp + 0x9c0], 0x34
call fcn.00516cb0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40db80
cmp dword [esp + 0x58], 0
push 0xffffffffffffffff
jle 0x40e079
mov ecx, dword [esp + 0x5c]
push ecx
jmp 0x40e088
fld dword [edi + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
push eax
lea ecx, [esp + 0x12c]
call fcn.0052f2e0
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x124]
push edx
push eax
call fcn.004930f0
lea ecx, [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x5c], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x9d4], 0x3d
call fcn.00404d20
mov eax, dword [esp + 0x54]
push eax
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0x118]
mov byte [esp + 0x9c0], 0x34
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e1fc
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x7d0]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x7cc]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x44]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x124]
mov byte [esp + 0x9c0], 0x25
call fcn.0052f270
jmp case.0x40d366.6
lea ecx, [esp + 0x2e0]
call fcn.00529e00
lea edx, [esp + 0x2e0]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x3e
call fcn.004044b0
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x2e8]
call fcn.0052f2e0
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2e0]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.004930f0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x9d4], 0x3f
call fcn.00404d20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xf8]
mov byte [esp + 0x9c0], 0x3e
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e3b3
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x668]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x664]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x44]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x2e0]
mov byte [esp + 0x9c0], 0x25
call fcn.0052f270
jmp case.0x40d366.6
push 0
lea edx, [esp + 0x758]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x754]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x690]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, edi
mov dword [esp + 0x178], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x68c]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x70], eax
call fcn.00403cb0
push 2
lea edx, [esp + 0x6cc]
push edx
mov ecx, edi
mov dword [esp + 0x54], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x6c8]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x6c]
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea edx, [esp + 0x17c]
push edx
lea ecx, [esp + 0x8d8]
call fcn.004f4950
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x8c8]
mov byte [esp + 0x9c4], 0x40
call fcn.004f5140
mov ecx, dword [esp + 0x1cc]
mov eax, dword [esp + 0x1d4]
mov edx, dword [esp + 0x1d0]
mov dword [esp + 0x18c], ecx
mov ecx, dword [esp + 0x1d8]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x1e0]
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x1dc]
mov dword [esp + 0x198], ecx
mov ecx, dword [esp + 0x1e4]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x19c], edx
mov edx, dword [esp + 0x1e8]
push 4
lea eax, [esp + 0x190]
mov dword [esp + 0x1a8], ecx
push eax
lea ecx, [esp + 0x484]
mov dword [esp + 0x1b0], edx
call fcn.00513da0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x488], ecx
push 0xff
lea ecx, [esp + 0x480]
mov byte [esp + 0x9c4], 0x41
call fcn.00515ea0
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x47c]
push edx
push eax
call fcn.00493290
lea ecx, [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x5c], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x9d4], 0x42
call fcn.00404d20
mov eax, dword [esp + 0x54]
push eax
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xfc]
mov byte [esp + 0x9c0], 0x41
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e717
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [esp + 0x20]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x6b8]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x6b4]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
fld dword [esp + 0x44]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_DOCUMENT_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x47c]
mov byte [esp + 0x9c0], 0x40
call fcn.00516bd0
lea ecx, [esp + 0x8c4]
mov byte [esp + 0x9c0], 0x25
call fcn.004f4a20
lea ecx, [esp + 0x34]
mov byte [esp + 0x9c0], 4
call ebx
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x68], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
cmp edi, eax
jl 0x40d330
mov eax, dword [esp + 0x64]
inc eax
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x64], eax
jl 0x40d300
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c0], 3
call fcn.00481ef0
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c0], 1
call fcn.005b9130
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005b9130
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005b9130
xor eax, eax
mov ecx, dword [esp + 0x9b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9a0]
xor ecx, esp
call fcn.005bf276
add esp, 0x9b0
ret 0x28