Function at 0x40ba40
Capabilities:
Check for software breakpoints
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d894a
mov eax, dword fs:[0]
push eax
sub esp, 0x9a4
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x9a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
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 0x40bad0
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005bd9f0
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005bd9f0
mov eax, 0x20000001
jmp 0x40e77a
lea eax, [esp + 0x9d0]
push eax
lea ecx, [esp + 0x74]
call fcn.005be070
lea ecx, [esp + 0x9e4]
push 0
push ecx
mov byte [esp + 0x9c8], 2
call fcn.005be020
add esp, 8
test eax, eax
je 0x40bb18
mov edx, dword [esp + 0x9e8]
mov eax, dword [esp + 0x9e4]
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.005bda10
fld dword [esp + 0x9dc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x5c], eax
call fcn.004c1a00
mov edi, eax
test edi, edi
jne 0x40bbc8
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 0x638398
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.005bd9f0
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005bd9f0
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005bd9f0
mov eax, 0x1000001
jmp 0x40e77a
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 0x40bc43
push str.HeightLimit_B
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x40bc43
lea edx, [esp + 0x70]
push str.HeightLimit_A
push edx
call fcn.005be010
add esp, 8
test eax, eax
jne 0x40bc43
lea eax, [esp + 0x70]
push str.HeightLimit_B
push eax
call fcn.005be010
add esp, 8
test eax, eax
je 0x40bc64
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 0x638398
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.00492c00
mov byte [esp + 0x9c0], 4
cmp dword [esp + 0x9cc], ebx
jne 0x40bd5c
lea ecx, [esp + 0x100]
call fcn.005bfee0
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c0], 5
call fcn.00492c20
lea ecx, [esp + 0x88]
call fcn.00459330
test eax, eax
je 0x40bd1a
lea ecx, [esp + 0x88]
call fcn.00459330
mov edi, eax
mov ecx, edi
call fcn.0047ea40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40bcfe
mov ecx, dword [esp + 0x100]
push ecx
lea ecx, [esp + 0x104]
call fcn.005c2c20
mov dword [eax], edi
lea ecx, [esp + 0x88]
call fcn.00492c50
lea ecx, [esp + 0x88]
call fcn.00459330
test eax, eax
jne 0x40bcc3
mov ebx, dword [esp + 0x100]
xor edi, edi
test ebx, ebx
jle 0x40bd48
jmp 0x40bd30
mov edx, dword [esp + 0x108]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.004932c0
inc edi
cmp edi, ebx
jl 0x40bd30
lea ecx, [esp + 0x100]
mov byte [esp + 0x9c0], 4
call fcn.005c2ee0
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 0x40d280
cmp eax, ecx
mov dword [esp + 0x68], ecx
jle 0x40e71e
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 0x40d265
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.0x40be06.5
jmp dword [eax*4 + 0x40e7a4]
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.00403c90
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x180]
push edx
lea ecx, [esp + 0x2c8]
call fcn.004f73b0
lea eax, [esp + 0x2c0]
push eax
lea ecx, [esp + 0x360]
mov byte [esp + 0x9c4], 7
call fcn.00525080
lea ecx, [esp + 0x35c]
push ecx
lea ecx, [esp + 0x428]
mov byte [esp + 0x9c4], 8
call fcn.00517bb0
mov edx, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x428]
mov byte [esp + 0x9c4], 9
mov dword [esp + 0x434], edx
call fcn.00519a20
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x424]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493eb0
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.00416f20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x11c]
mov byte [esp + 0x9c0], 9
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x40c093
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.0051a750
lea ecx, [esp + 0x35c]
mov byte [esp + 0x9c0], 7
call fcn.0052ac30
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x9c0], 6
call fcn.004f74a0
jmp case.0x40be06.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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.004f5cd0
lea ecx, [esp + 0x3ac]
push ecx
lea ecx, [esp + 0x888]
mov byte [esp + 0x9c4], 0xb
call fcn.004f5dd0
push eax
lea ecx, [esp + 0x39c]
mov byte [esp + 0x9c4], 0xc
call fcn.004f0010
lea edx, [esp + 0x398]
mov byte [esp + 0x9c0], 0xd
push edx
lea ecx, [esp + 0x388]
call fcn.00524f70
lea ecx, [esp + 0x398]
mov byte [esp + 0x9c0], 0xf
call fcn.004f0040
lea ecx, [esp + 0x3ac]
mov byte [esp + 0x9c0], 0x10
call fcn.00440ab0
lea eax, [esp + 0x384]
push eax
lea ecx, [esp + 0x3d0]
call fcn.00517bb0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x3d8], ecx
push 0xff
lea ecx, [esp + 0x3d0]
mov byte [esp + 0x9c4], 0x11
call fcn.00519a20
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x3cc]
push edx
push eax
call fcn.00493eb0
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.00416f20
mov eax, dword [esp + 0x20]
push eax
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x120]
mov byte [esp + 0x9c0], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x40c3c7
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.0051a750
lea ecx, [esp + 0x384]
mov byte [esp + 0x9c0], 0xb
call fcn.0052ac30
lea ecx, [esp + 0x884]
jmp 0x40d22f
lea ecx, [esp + 0x140]
call fcn.0052dcb0
cmp byte [esp + 0x54], 3
mov byte [esp + 0x9c0], 0x13
mov dword [esp + 0x14], 0
jne 0x40c55d
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 0x40c493
sub eax, 1
je 0x40c48f
sub eax, 1
jne 0x40c4a1
push 3
jmp 0x40c495
push 2
jmp 0x40c495
push 1
lea ecx, [esp + 0x144]
call fcn.005322b0
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x58], eax
call fcn.00403c90
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.00403c90
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x14c]
call fcn.005311a0
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 0x40ca69
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 0x40c7bb
cmp al, 6
je 0x40c76b
cmp al, 0xd
jne 0x40ca57
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xd4], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xdc], eax
call fcn.00403c90
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.004f14a0
push 0
push 0
push eax
lea ecx, [esp + 0x910]
mov byte [esp + 0x9cc], 0x19
call fcn.0051a800
lea ecx, [esp + 0x7f4]
mov byte [esp + 0x9c0], 0x1b
call fcn.004f1b60
lea eax, [esp + 0x904]
push eax
lea ecx, [esp + 0x144]
call fcn.00533340
lea ecx, [esp + 0x904]
jmp 0x40ca4a
cmp dword [esp + 0x54], 1
je 0x40ca57
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xe4], eax
call fcn.00403c90
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x144]
mov dword [esp + 0xe8], eax
call fcn.005332e0
jmp 0x40ca57
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xf4], eax
call fcn.00403c90
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 [0x5f3df0]
mov ecx, esi
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00403c90
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 0x40c8c1
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.005bee30
fld qword [esp + 0x228]
fst qword [esp + 0xa0]
fcomp qword [0x5f3e08]
fnstsw ax
test ah, 1
jne 0x40c9c0
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40c9ad
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 0x40c989
fld dword [esp + 0x280]
fld dword [esp + 0x2bc]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40c989
push 0
lea ecx, [esp + 0x144]
call fcn.00535d10
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 0x40c9c0
cmp eax, 3
jne 0x40c9c0
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.004f12b0
push 0
push 0
push eax
lea ecx, [esp + 0x968]
mov byte [esp + 0x9cc], 0x16
call fcn.0051a800
lea ecx, [esp + 0x83c]
mov byte [esp + 0x9c0], 0x18
call fcn.004f1b60
lea eax, [esp + 0x95c]
push eax
lea ecx, [esp + 0x144]
call fcn.00533340
lea ecx, [esp + 0x95c]
mov byte [esp + 0x9c0], 0x13
call fcn.0051a830
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40c580
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
push eax
lea ecx, [esp + 0x148]
call fcn.00533040
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x140]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493d10
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.00416f20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x110]
mov byte [esp + 0x9c0], 0x13
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40cbed
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.00532fd0
jmp case.0x40be06.5
lea ecx, [esp + 0x214]
call fcn.00524b10
lea edx, [esp + 0x214]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x1d
call fcn.00403e20
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x234]
call fcn.00517bb0
mov eax, dword [esp + 0x64]
inc eax
cmp eax, dword [esp + 0x48]
mov byte [esp + 0x9c0], 0x1e
mov dword [esp + 0x14], eax
jge 0x40cd10
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 0x40cd10
lea ecx, [esp + 0x298]
call fcn.00524b10
lea edx, [esp + 0x298]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x1f
call fcn.00403e20
lea eax, [esp + 0x230]
push eax
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x50], eax
mov byte [esp + 0x9c0], 0x20
test eax, eax
je 0x40ccd2
lea ecx, [esp + 0x298]
push ecx
mov ecx, eax
call fcn.00518c50
jmp 0x40ccd4
xor eax, eax
push eax
lea ecx, [esp + 0x234]
mov byte [esp + 0x9c4], 0x1f
call fcn.00519910
lea ecx, [esp + 0x298]
mov byte [esp + 0x9c0], 0x1e
call fcn.0052ac30
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jl 0x40cc60
mov edx, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x234]
mov dword [esp + 0x240], edx
call fcn.00519a20
lea ecx, [esp + 0x230]
call fcn.00527e90
cmp eax, 3
jl 0x40cea2
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x230]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493eb0
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.00416f20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x6c]
mov byte [esp + 0x9c0], 0x1e
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40cea2
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.0051a750
lea ecx, [esp + 0x214]
mov byte [esp + 0x9c0], 6
call fcn.0052ac30
jmp case.0x40be06.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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x60], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.004f5cd0
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0x8a8]
mov byte [esp + 0x9c4], 0x22
call fcn.004f64c0
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.005178e0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x404], ecx
push 0xff
lea ecx, [esp + 0x3fc]
mov byte [esp + 0x9c4], 0x23
call fcn.00519a20
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x3f8]
push edx
push eax
call fcn.00493eb0
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.00416f20
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c0], 0x23
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
jne 0x40d214
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.0051a750
lea ecx, [esp + 0x8a4]
mov byte [esp + 0x9c0], 6
call fcn.004f5da0
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 0x40bdd0
mov eax, dword [esp + 0x68]
inc eax
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
jl 0x40bd92
jmp 0x40e71e
cmp eax, ecx
mov dword [esp + 0x64], ecx
jle 0x40e71e
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 0x40d2a0
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 0x40e708
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.0x40d306.6
jmp dword [eax*4 + 0x40e7cc]
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.00403c90
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403c90
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.00403c90
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x2d8]
call fcn.004f73b0
lea ecx, [esp + 0x2d0]
push ecx
lea ecx, [esp + 0x338]
mov byte [esp + 0x9c4], 0x26
call fcn.00525080
lea edx, [esp + 0x334]
push edx
lea ecx, [esp + 0x454]
mov byte [esp + 0x9c4], 0x27
call fcn.00517bb0
mov eax, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x454]
mov byte [esp + 0x9c4], 0x28
mov dword [esp + 0x460], eax
call fcn.00519a20
lea ecx, [esp + 0x318]
call fcn.0052dcb0
mov byte [esp + 0x9c0], 0x29
lea ecx, [esp + 0x318]
push ecx
lea ecx, [esp + 0x454]
call fcn.0052cca0
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x320]
call fcn.00533040
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x318]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493d10
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.00416f20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x114]
mov byte [esp + 0x9c0], 0x29
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40d5ce
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.00532fd0
lea ecx, [esp + 0x450]
mov byte [esp + 0x9c0], 0x27
call fcn.0051a750
lea ecx, [esp + 0x334]
mov byte [esp + 0x9c0], 0x26
call fcn.0052ac30
lea ecx, [esp + 0x2d0]
mov byte [esp + 0x9c0], 0x25
call fcn.004f74a0
jmp case.0x40d306.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.00403c90
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403c90
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.004f5cd0
lea ecx, [esp + 0x3bc]
push ecx
lea ecx, [esp + 0x8e8]
mov byte [esp + 0x9c4], 0x2b
call fcn.004f5dd0
push eax
lea ecx, [esp + 0x34c]
mov byte [esp + 0x9c4], 0x2c
call fcn.004f0010
lea edx, [esp + 0x348]
mov byte [esp + 0x9c0], 0x2d
push edx
lea ecx, [esp + 0x374]
call fcn.00524f70
lea ecx, [esp + 0x348]
mov byte [esp + 0x9c0], 0x2f
call fcn.004f0040
lea ecx, [esp + 0x3bc]
mov byte [esp + 0x9c0], 0x30
call fcn.00440ab0
lea eax, [esp + 0x370]
push eax
lea ecx, [esp + 0x4ac]
call fcn.00517bb0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x4b4], ecx
push 0xff
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x9c4], 0x31
call fcn.00519a20
lea ecx, [esp + 0x2fc]
call fcn.0052dcb0
lea edx, [esp + 0x2fc]
push edx
lea ecx, [esp + 0x4ac]
mov byte [esp + 0x9c4], 0x32
call fcn.0052cca0
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x304]
call fcn.00533040
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2fc]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493d10
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.00416f20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x10c]
mov byte [esp + 0x9c0], 0x32
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40d950
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.00532fd0
lea ecx, [esp + 0x4a8]
mov byte [esp + 0x9c0], 0x30
call fcn.0051a750
lea ecx, [esp + 0x370]
mov byte [esp + 0x9c0], 0x2b
call fcn.0052ac30
lea ecx, [esp + 0x8e4]
jmp 0x40e6d2
lea ecx, [esp + 0x124]
call fcn.0052dcb0
cmp byte [esp + 0x54], 3
mov byte [esp + 0x9c0], 0x34
mov dword [esp + 0x14], 0
jne 0x40dafa
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 0x40da30
sub eax, 1
je 0x40da2c
sub eax, 1
jne 0x40da3e
push 3
jmp 0x40da32
push 2
jmp 0x40da32
push 1
lea ecx, [esp + 0x128]
call fcn.005322b0
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x70], eax
call fcn.00403c90
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.00403c90
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
lea ecx, [esp + 0x130]
call fcn.005311a0
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 0x40e009
jmp 0x40db20
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 0x40dd5b
cmp al, 6
je 0x40dd0b
cmp al, 0xd
jne 0x40dff7
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xac], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xbc], eax
call fcn.00403c90
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.004f14a0
push 0
push 0
push eax
lea ecx, [esp + 0x93c]
mov byte [esp + 0x9cc], 0x3a
call fcn.0051a800
lea ecx, [esp + 0x818]
mov byte [esp + 0x9c0], 0x3c
call fcn.004f1b60
lea eax, [esp + 0x930]
push eax
lea ecx, [esp + 0x128]
call fcn.00533340
lea ecx, [esp + 0x930]
jmp 0x40dfea
cmp dword [esp + 0x48], 1
je 0x40dff7
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xec], eax
call fcn.00403c90
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0xf0], eax
call fcn.005332e0
jmp 0x40dff7
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
call fcn.00403c90
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 [0x5f3df0]
mov ecx, esi
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp dword [esp]
call fcn.00403c90
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 0x40de61
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.005bee30
fld qword [esp + 0x20c]
fst qword [esp + 0x98]
fcomp qword [0x5f3e08]
fnstsw ax
test ah, 1
jne 0x40df60
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40df4d
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 0x40df29
fld dword [esp + 0x26c]
fld dword [esp + 0x294]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40df29
push 0
lea ecx, [esp + 0x128]
call fcn.00535d10
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 0x40df60
cmp eax, 3
jne 0x40df60
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.004f12b0
push 0
push 0
push eax
lea ecx, [esp + 0x994]
mov byte [esp + 0x9cc], 0x37
call fcn.0051a800
lea ecx, [esp + 0x860]
mov byte [esp + 0x9c0], 0x39
call fcn.004f1b60
lea eax, [esp + 0x988]
push eax
lea ecx, [esp + 0x128]
call fcn.00533340
lea ecx, [esp + 0x988]
mov byte [esp + 0x9c0], 0x34
call fcn.0051a830
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40db20
cmp dword [esp + 0x58], 0
push 0xffffffffffffffff
jle 0x40e019
mov ecx, dword [esp + 0x5c]
push ecx
jmp 0x40e028
fld dword [edi + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
push eax
lea ecx, [esp + 0x12c]
call fcn.00533040
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x124]
push edx
push eax
call fcn.00493d10
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.00416f20
mov eax, dword [esp + 0x54]
push eax
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x118]
mov byte [esp + 0x9c0], 0x34
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e19c
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.00532fd0
jmp case.0x40d306.6
lea ecx, [esp + 0x2e0]
call fcn.0052dcb0
lea edx, [esp + 0x2e0]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x9c8], 0x3e
call fcn.00404490
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x2e8]
call fcn.00533040
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x2e0]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493d10
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.00416f20
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xf8]
mov byte [esp + 0x9c0], 0x3e
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e353
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.00532fd0
jmp case.0x40d306.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.00403c90
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x50], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x70], eax
call fcn.00403c90
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.004f5cd0
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x8c8]
mov byte [esp + 0x9c4], 0x40
call fcn.004f64c0
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.005178e0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x488], ecx
push 0xff
lea ecx, [esp + 0x480]
mov byte [esp + 0x9c4], 0x41
call fcn.00519a20
mov eax, dword [esp + 0x60]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x47c]
push edx
push eax
call fcn.00493eb0
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.00416f20
mov eax, dword [esp + 0x54]
push eax
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xfc]
mov byte [esp + 0x9c0], 0x41
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x48], 0
jne 0x40e6b7
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 0x638398
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 0x638398
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 0x5f3b24
fld dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x80]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_DOCUMENT_
push 0x638398
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.0051a750
lea ecx, [esp + 0x8c4]
mov byte [esp + 0x9c0], 0x25
call fcn.004f5da0
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 0x40d2d0
mov eax, dword [esp + 0x64]
inc eax
cmp eax, dword [esp + 0x90]
mov dword [esp + 0x64], eax
jl 0x40d2a0
lea ecx, [esp + 0x88]
mov byte [esp + 0x9c0], 3
call fcn.00440ab0
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c0], 1
call fcn.005bd9f0
lea ecx, [esp + 0x9d0]
mov byte [esp + 0x9c0], 0
call fcn.005bd9f0
lea ecx, [esp + 0x9e4]
mov dword [esp + 0x9c0], 0xffffffff
call fcn.005bd9f0
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.005c3bb6
add esp, 0x9b0
ret 0x28