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

Disassembly:
push 0xffffffffffffffff
push 0x5d133a
mov eax, dword fs:[0]
push eax
sub esp, 0x7b4
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0x7b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x7c8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7d8]
mov esi, ecx
mov dword [esp + 0x9c], ebp
xor ebx, ebx
mov edi, 1
mov dword [esp + 0x7d0], edi
mov dword [esp + 0x44], ebx
cmp ebp, ebx
jne 0x40aba2
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____]
push eax
push str.BDExport::Warning_Working_Layer_is_not_Set.
push 0x62ff68
call fcn.00401300
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 byte [esp + 0x7d0], bl
lea ecx, [esp + 0x7e0]
call fcn.005b7180
lea ecx, [esp + 0x7f4]
mov dword [esp + 0x7d0], 0xffffffff
call fcn.005b7180
mov eax, edi
jmp 0x40cf88
lea ecx, [esp + 0x7e0]
push ecx
lea ecx, [esp + 0x70]
call fcn.005b77d0
lea edx, [esp + 0x7f4]
push ebx
push edx
mov byte [esp + 0x7d8], 2
call fcn.005b7b90
add esp, 8
test eax, eax
je 0x40abe9
mov eax, dword [esp + 0x7f8]
mov ecx, dword [esp + 0x7f4]
push eax
push ecx
lea ecx, [esp + 0x74]
call fcn.005b71a0
fld dword [esp + 0x7ec]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov edx, dword [esp + 0x6c]
mov ecx, dword [esi + 0x24]
push edx
mov dword [esp + 0x58], eax
call fcn.004bee70
cmp eax, ebx
jne 0x40ad64
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 + 0x6c]
push eax
push str._is_Not_Found_in_Board_Designer.
push ecx
push str.BDExport::Warning_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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 [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.ExportData_BMBCount_TargetCount_Success_Warning_Error
push 0x62ff68
call fcn.00401300
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 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____]
push eax
push edi
push 0x5eca60
push ebx
push 0x5eca60
push ebx
push 0x5eca60
push edi
push 0x5eca60
push edi
push str.DOCUMENT_
push 0x62ff68
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___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
push 0x62ff68
call fcn.00401300
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 [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 + 0x6c]
push edx
push eax
push str.ERROR_LAYERNAME_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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 + 0x6c]
mov byte [esp + 0x7d0], 1
call fcn.005b7180
mov byte [esp + 0x7d0], 0
jmp 0x40ab78
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x5c], eax
call fcn.00490160
mov byte [esp + 0x7d0], 3
cmp dword [esp + 0x7dc], edi
jne 0x40ae5e
lea ecx, [esp + 0xf0]
call fcn.005bbf60
lea ecx, [esp + 0x84]
mov byte [esp + 0x7d0], 4
call fcn.00490180
lea ecx, [esp + 0x84]
call fcn.00459dc0
test eax, eax
je 0x40ae1a
lea ecx, [esp + 0x84]
call fcn.00459dc0
mov edi, eax
mov ecx, edi
call fcn.004c0100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40adfe
mov ecx, dword [esp + 0xf0]
push ecx
lea ecx, [esp + 0xf4]
call fcn.005bbe80
mov dword [eax], edi
lea ecx, [esp + 0x84]
call fcn.004901b0
lea ecx, [esp + 0x84]
call fcn.00459dc0
test eax, eax
jne 0x40adc3
mov ebx, dword [esp + 0xf0]
xor edi, edi
test ebx, ebx
jle 0x40ae48
jmp 0x40ae30
mov edx, dword [esp + 0xf8]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00490820
inc edi
cmp edi, ebx
jl 0x40ae30
lea ecx, [esp + 0xf0]
mov byte [esp + 0x7d0], 3
call fcn.005b9680
xor ebx, ebx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBLayer::CountSymbol_void_]
mov dword [esp + 0x78], eax
cmp dword [esp + 0x7f0], ebx
jne 0x40bebd
cmp eax, ebx
mov dword [esp + 0x64], ebx
jle 0x40ce83
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 + 0x64]
mov ecx, dword [esp + 0x9c]
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 + 0x4c], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov ecx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x40bea5
jmp 0x40aed0
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x18]
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 + 0x50], al
movzx eax, al
mov byte [esp + 0x7d0], 5
cmp eax, 4
ja case.default.0x40af06
jmp dword [eax*4 + 0x40cfb4]
push 0
lea edx, [esp + 0x508]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x20], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x504]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x30], eax
call fcn.004038a0
push 1
lea ecx, [esp + 0x404]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, edi
mov dword [esp + 0x150], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x400]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x148]
push edx
lea ecx, [esp + 0x210]
call fcn.004f2bd0
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 0x2a8]
mov byte [esp + 0x7d4], 6
call fcn.0051f700
lea ecx, [esp + 0x2a4]
push ecx
lea ecx, [esp + 0x370]
mov byte [esp + 0x7d4], 7
call fcn.00512280
mov edx, dword [esp + 0x54]
push 0xff
lea ecx, [esp + 0x370]
mov byte [esp + 0x7d4], 8
mov dword [esp + 0x37c], edx
call fcn.005140a0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x36c]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004913a0
test eax, eax
jne 0x40b13f
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 ecx, dword [esp + 0x4c]
push edx
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 0x62ff68
call fcn.00401300
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 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____]
push eax
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x62ff68
call fcn.00401300
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 ecx, [esp + 0x42c]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x428]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
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____]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
push edx
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x30]
push ecx
fstp dword [esp]
push 0x5eca60
push eax
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x36c]
mov byte [esp + 0x7d0], 7
call fcn.00514dd0
lea ecx, [esp + 0x2a4]
mov byte [esp + 0x7d0], 6
call fcn.00524ec0
lea ecx, [esp + 0x208]
mov byte [esp + 0x7d0], 5
call fcn.004f2cc0
jmp case.default.0x40af06
push 0
lea ecx, [esp + 0x454]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x450]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x30], eax
call fcn.004038a0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14c], eax
push 1
lea eax, [esp + 0x47c]
push eax
mov ecx, edi
mov dword [esp + 0x158], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x20], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x478]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x30], eax
call fcn.004038a0
fldz
sub esp, 8
fstp qword [esp]
push eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x6e8]
call fcn.004f3230
lea edx, [esp + 0x304]
push edx
lea ecx, [esp + 0x6d8]
mov byte [esp + 0x7d4], 9
call fcn.004f3310
push eax
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x7d4], 0xa
call fcn.004ecfc0
lea eax, [esp + 0x2b8]
mov byte [esp + 0x7d0], 0xb
push eax
lea ecx, [esp + 0x294]
call fcn.0051f5f0
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x7d0], 0xd
call fcn.004ecff0
lea ecx, [esp + 0x304]
mov byte [esp + 0x7d0], 0xe
call fcn.0045c490
lea ecx, [esp + 0x290]
push ecx
lea ecx, [esp + 0x344]
call fcn.00512280
mov edx, dword [esp + 0x54]
push 0xff
lea ecx, [esp + 0x344]
mov byte [esp + 0x7d4], 0xf
mov dword [esp + 0x350], edx
call fcn.005140a0
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x340]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004913a0
test eax, eax
jne 0x40b41e
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 ecx, dword [esp + 0x4c]
push edx
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 0x62ff68
call fcn.00401300
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 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____]
push eax
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x62ff68
call fcn.00401300
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 ecx, [esp + 0x4a4]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x4a0]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
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____]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
push edx
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x30]
push ecx
fstp dword [esp]
push 0x5eca60
push eax
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x340]
mov byte [esp + 0x7d0], 0xe
call fcn.00514dd0
lea ecx, [esp + 0x290]
mov byte [esp + 0x7d0], 9
call fcn.00524ec0
lea ecx, [esp + 0x6d4]
mov byte [esp + 0x7d0], 5
call fcn.004f3300
jmp case.default.0x40af06
lea ecx, [esp + 0x118]
call fcn.00528000
cmp byte [esp + 0x50], 3
mov byte [esp + 0x7d0], 0x10
mov dword [esp + 0x14], 0
jne 0x40b5c1
push 0
lea ecx, [esp + 0x5e4]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x5e0]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
fnstcw word [esp + 0x50]
movzx eax, word [esp + 0x50]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
movzx eax, byte [esp + 0x2c]
sub eax, 1
fldcw word [esp + 0x50]
je 0x40b4f7
sub eax, 1
je 0x40b4f3
sub eax, 1
jne 0x40b505
push 3
jmp 0x40b4f9
push 2
jmp 0x40b4f9
push 1
lea ecx, [esp + 0x11c]
call fcn.0052c7b0
push 1
lea edx, [esp + 0x60c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x608]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x54], eax
call fcn.004038a0
mov dword [esp + 0x2c], eax
push 2
lea eax, [esp + 0x634]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x630]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x124]
call fcn.0052b540
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 + 0x50], eax
jge 0x40bac2
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x580]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x57c]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
mov al, byte [esp + 0x20]
cmp al, 3
je 0x40b81d
cmp al, 6
je 0x40b7cd
cmp al, 0xd
jne 0x40bab0
fld dword [esp + 0x24]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xdc], eax
call fcn.004038a0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x4e0]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x4dc]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xac], eax
call fcn.004038a0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3f0]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x3ec]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xd4], eax
call fcn.004038a0
mov dword [esp + 0xd4], eax
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x650]
call fcn.004ee430
push 0
push 0
push eax
lea ecx, [esp + 0x778]
mov byte [esp + 0x7dc], 0x16
call fcn.00514e80
lea ecx, [esp + 0x644]
mov byte [esp + 0x7d0], 0x18
call fcn.004eeaf0
lea eax, [esp + 0x76c]
push eax
lea ecx, [esp + 0x11c]
call fcn.0052d840
lea ecx, [esp + 0x76c]
jmp 0x40baa3
cmp dword [esp + 0x50], 1
je 0x40bab0
fld dword [esp + 0x24]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xec], eax
call fcn.004038a0
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x11c]
mov dword [esp + 0xf0], eax
call fcn.0052d7e0
jmp 0x40bab0
fld dword [esp + 0x24]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call fcn.004038a0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
call fcn.004038a0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x5bc]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x5b8]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
push ecx
fmul qword [0x5ecc78]
mov ecx, esi
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.004038a0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x418]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x20], dl
lea ecx, [esp + 0x414]
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
fld dword [esp + 0x24]
mov dword [esp + 0x2c], 0
fst qword [esp + 0x7c]
fld dword [esp + 0x28]
fst qword [esp + 0x94]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x40b920
mov dword [esp + 0x2c], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x170]
mov dword [esp + 0x70], esp
push eax
lea ecx, [esp + 0xa0]
call fcn.005b8630
fld qword [esp + 0x168]
fst qword [esp + 0x94]
fcomp qword [0x5ecc90]
fnstsw ax
test ah, 1
jne 0x40ba19
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40ba09
push 0
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x1a8]
push edx
mov ecx, edi
mov byte [esp + 0x7d8], 0x11
call ebp
fld dword [esp + 0x1d8]
fld dword [esp + 0x1b0]
mov byte [esp + 0x7d0], 0x12
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b9e5
fld dword [esp + 0x1dc]
fld dword [esp + 0x1b4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b9e5
push 0
lea ecx, [esp + 0x11c]
call fcn.0052ff50
fld qword [esp + 0x7c]
fstp qword [esp + 0x94]
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x7d0], 0x11
call ebx
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x7d0], 0x10
call ebx
jmp 0x40ba19
cmp eax, 3
jne 0x40ba19
fld qword [esp + 0x7c]
fstp qword [esp + 0x94]
mov eax, dword [esp + 0x2c]
fld qword [esp + 0x94]
mov ecx, dword [esp + 0x48]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x74], esp
fstp qword [eax]
fld qword [esp + 0x88]
sub esp, 8
mov eax, esp
mov dword [esp + 0x7c], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x6cc]
call fcn.004ee240
push 0
push 0
push eax
lea ecx, [esp + 0x720]
mov byte [esp + 0x7dc], 0x13
call fcn.00514e80
lea ecx, [esp + 0x6b0]
mov byte [esp + 0x7d0], 0x15
call fcn.004eeaf0
lea eax, [esp + 0x714]
push eax
lea ecx, [esp + 0x11c]
call fcn.0052d840
lea ecx, [esp + 0x714]
mov byte [esp + 0x7d0], 0x10
call fcn.00514eb0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40b5e2
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
push eax
lea ecx, [esp + 0x120]
call fcn.0052d540
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x118]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00491200
test eax, eax
jne 0x40bbf1
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 + 0x4c]
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 0x62ff68
call fcn.00401300
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 0x62ff68
call fcn.00401300
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 + 0x620]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x20], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x61c]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
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 + 0x28]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x118]
mov byte [esp + 0x7d0], 5
call fcn.0052d4d0
jmp case.default.0x40af06
lea ecx, [esp + 0x154]
call fcn.0051f190
lea edx, [esp + 0x154]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x7d8], 0x19
call fcn.00403a30
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x17c]
call fcn.00512280
mov eax, dword [esp + 0x5c]
inc eax
cmp eax, dword [esp + 0x60]
mov byte [esp + 0x7d0], 0x1a
mov dword [esp + 0x14], eax
jge 0x40bd10
lea ecx, [ecx]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
mov edi, eax
cmp byte [edi + 8], 5
jne 0x40bd10
lea ecx, [esp + 0x1f4]
call fcn.0051f190
lea edx, [esp + 0x1f4]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x7d8], 0x1b
call fcn.00403a30
lea eax, [esp + 0x178]
push eax
push 0x24
call fcn.00513f00
add esp, 8
mov dword [esp + 0x68], eax
mov byte [esp + 0x7d0], 0x1c
test eax, eax
je 0x40bcd2
lea ecx, [esp + 0x1f4]
push ecx
mov ecx, eax
call fcn.005132d0
jmp 0x40bcd4
xor eax, eax
push eax
lea ecx, [esp + 0x17c]
mov byte [esp + 0x7d4], 0x1b
call fcn.00513f90
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x7d0], 0x1a
call fcn.00524ec0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
jl 0x40bc60
mov edx, dword [esp + 0x54]
push 0xff
lea ecx, [esp + 0x17c]
mov dword [esp + 0x188], edx
call fcn.005140a0
lea ecx, [esp + 0x178]
call fcn.00522510
cmp eax, 3
jl 0x40be54
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x178]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004913a0
test eax, eax
jne 0x40be54
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 ecx, dword [esp + 0x4c]
push edx
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 0x62ff68
call fcn.00401300
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 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____]
push eax
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x62ff68
call fcn.00401300
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 ecx, [esp + 0x440]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x20], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x24]
lea ecx, [esp + 0x43c]
fld dword [eax + 0x10]
fstp dword [esp + 0x28]
call ebx
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____]
fld dword [esp + 0x28]
mov eax, dword [esp + 0x6c]
push edx
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x30]
push ecx
fstp dword [esp]
push 0x5eca60
push eax
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x178]
mov byte [esp + 0x7d0], 0x19
call fcn.00514dd0
lea ecx, [esp + 0x154]
mov byte [esp + 0x7d0], 5
call fcn.00524ec0
lea ecx, [esp + 0x18]
mov byte [esp + 0x7d0], 3
call ebx
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
inc edi
mov dword [esp + 0x5c], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
cmp edi, eax
jl 0x40aed0
mov eax, dword [esp + 0x64]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
jl 0x40ae8f
jmp 0x40ce83
cmp eax, ebx
mov dword [esp + 0x5c], ebx
jle 0x40ce83
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 0x40bee0
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0xa0]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBSymbol____thiscall_BMBLayer::GetSymbol_int_]
mov ecx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x40ce70
mov edi, edi
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x30]
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 + 0x50], al
movzx eax, al
mov byte [esp + 0x7d0], 0x1d
cmp eax, 5
ja case.default.0x40bf46
jmp dword [eax*4 + 0x40cfc8]
push 0
lea eax, [esp + 0x5a8]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x5a4]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x4c], eax
call fcn.004038a0
push 1
lea ecx, [esp + 0x468]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, edi
mov dword [esp + 0x140], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x38], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x464]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x138]
push edx
lea ecx, [esp + 0x220]
call fcn.004f2bd0
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x2d0]
mov byte [esp + 0x7d4], 0x1e
call fcn.0051f700
lea ecx, [esp + 0x2cc]
push ecx
lea ecx, [esp + 0x39c]
mov byte [esp + 0x7d4], 0x1f
call fcn.00512280
mov edx, dword [esp + 0x54]
push 0xff
lea ecx, [esp + 0x39c]
mov byte [esp + 0x7d4], 0x20
mov dword [esp + 0x3a8], edx
call fcn.005140a0
lea ecx, [esp + 0x228]
call fcn.00528000
mov byte [esp + 0x7d0], 0x21
lea eax, [esp + 0x228]
push eax
lea ecx, [esp + 0x39c]
call fcn.00526f80
mov ecx, dword [esp + 0x54]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x230]
call fcn.0052d540
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x228]
push edx
push eax
call fcn.00491200
test eax, eax
jne 0x40c1ba
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 + 0x50]
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 0x62ff68
call fcn.00401300
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 0x62ff68
call fcn.00401300
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 + 0x4cc]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x4c8]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
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 + 0x40]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x228]
mov byte [esp + 0x7d0], 0x20
call fcn.0052d4d0
lea ecx, [esp + 0x398]
mov byte [esp + 0x7d0], 0x1f
call fcn.00514dd0
lea ecx, [esp + 0x2cc]
mov byte [esp + 0x7d0], 0x1e
call fcn.00524ec0
lea ecx, [esp + 0x218]
mov byte [esp + 0x7d0], 0x1d
call fcn.004f2cc0
jmp case.default.0x40bf46
push 0
lea edx, [esp + 0x490]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x48c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x4c], eax
call fcn.004038a0
push 1
lea ecx, [esp + 0x4f4]
mov dword [esp + 0x140], eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, edi
mov dword [esp + 0x148], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x38], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x4f0]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x4c], eax
call fcn.004038a0
fldz
mov edx, dword [esp + 0x48]
sub esp, 8
fstp qword [esp]
push eax
push edx
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x708]
call fcn.004f3230
lea ecx, [esp + 0x2f4]
push ecx
lea ecx, [esp + 0x6f8]
mov byte [esp + 0x7d4], 0x22
call fcn.004f3310
push eax
lea ecx, [esp + 0x280]
mov byte [esp + 0x7d4], 0x23
call fcn.004ecfc0
lea edx, [esp + 0x27c]
mov byte [esp + 0x7d0], 0x24
push edx
lea ecx, [esp + 0x2e4]
call fcn.0051f5f0
lea ecx, [esp + 0x27c]
mov byte [esp + 0x7d0], 0x26
call fcn.004ecff0
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x7d0], 0x27
call fcn.0045c490
lea eax, [esp + 0x2e0]
push eax
lea ecx, [esp + 0x318]
call fcn.00512280
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x320], ecx
push 0xff
lea ecx, [esp + 0x318]
mov byte [esp + 0x7d4], 0x28
call fcn.005140a0
lea ecx, [esp + 0x244]
call fcn.00528000
lea edx, [esp + 0x244]
push edx
lea ecx, [esp + 0x318]
mov byte [esp + 0x7d4], 0x29
call fcn.00526f80
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24c]
call fcn.0052d540
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x244]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00491200
test eax, eax
jne 0x40c4e7
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 + 0x4c]
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 0x62ff68
call fcn.00401300
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 0x62ff68
call fcn.00401300
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 + 0x4b8]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x4b4]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
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 + 0x40]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x244]
mov byte [esp + 0x7d0], 0x28
call fcn.0052d4d0
lea ecx, [esp + 0x314]
mov byte [esp + 0x7d0], 0x27
call fcn.00514dd0
lea ecx, [esp + 0x2e0]
mov byte [esp + 0x7d0], 0x22
call fcn.00524ec0
lea ecx, [esp + 0x6f4]
mov byte [esp + 0x7d0], 0x1d
call fcn.004f3300
jmp case.default.0x40bf46
lea ecx, [esp + 0xfc]
call fcn.00528000
cmp byte [esp + 0x50], 3
mov byte [esp + 0x7d0], 0x2a
mov dword [esp + 0x14], 0
jne 0x40c69e
push 0
lea edx, [esp + 0x51c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x518]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
fnstcw word [esp + 0x50]
movzx eax, word [esp + 0x50]
or eax, 0xc00
mov dword [esp + 0x48], eax
fldcw word [esp + 0x48]
fistp dword [esp + 0x48]
movzx eax, byte [esp + 0x48]
sub eax, 1
fldcw word [esp + 0x50]
je 0x40c5d4
sub eax, 1
je 0x40c5d0
sub eax, 1
jne 0x40c5e2
push 3
jmp 0x40c5d6
push 2
jmp 0x40c5d6
push 1
lea ecx, [esp + 0x100]
call fcn.0052c7b0
push 1
lea eax, [esp + 0x544]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x540]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x64], eax
call fcn.004038a0
mov dword [esp + 0x48], eax
push 2
lea eax, [esp + 0x5f8]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x5f4]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
lea ecx, [esp + 0x108]
call fcn.0052b540
mov edx, dword [esp + 0x14]
xor eax, eax
cmp edx, dword [edi + 0x10]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0x60], eax
jge 0x40cba0
nop
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x3c8]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x38], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x3c4]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
mov al, byte [esp + 0x38]
cmp al, 3
je 0x40c8fb
cmp al, 6
je 0x40c8ab
cmp al, 0xd
jne 0x40cb8e
fld dword [esp + 0x3c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xbc], eax
call fcn.004038a0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x5d0]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x5cc]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
call fcn.004038a0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x530]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x52c]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
call fcn.004038a0
mov dword [esp + 0xcc], eax
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x698]
call fcn.004ee430
push 0
push 0
push eax
lea ecx, [esp + 0x74c]
mov byte [esp + 0x7dc], 0x30
call fcn.00514e80
lea ecx, [esp + 0x68c]
mov byte [esp + 0x7d0], 0x32
call fcn.004eeaf0
lea eax, [esp + 0x740]
push eax
lea ecx, [esp + 0x100]
call fcn.0052d840
lea ecx, [esp + 0x740]
jmp 0x40cb81
cmp dword [esp + 0x60], 1
je 0x40cb8e
fld dword [esp + 0x3c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa4], eax
call fcn.004038a0
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x100]
mov dword [esp + 0xa8], eax
call fcn.0052d7e0
jmp 0x40cb8e
fld dword [esp + 0x3c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xe4], eax
call fcn.004038a0
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
lea edx, [esp + 0x56c]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x568]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
push ecx
fmul qword [0x5ecc78]
mov ecx, esi
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fstp dword [esp]
call fcn.004038a0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
inc eax
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x558]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x38], dl
lea ecx, [esp + 0x554]
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
call ebx
fld dword [esp + 0x3c]
mov dword [esp + 0x2c], 0
fst qword [esp + 0x7c]
fld dword [esp + 0x40]
fst qword [esp + 0x8c]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x40c9fe
mov dword [esp + 0x2c], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x178]
mov dword [esp + 0x70], esp
push eax
lea ecx, [esp + 0x98]
call fcn.005b8630
fld qword [esp + 0x170]
fst qword [esp + 0x8c]
fcomp qword [0x5ecc90]
fnstsw ax
test ah, 1
jne 0x40caf7
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40cae7
push 0
lea ecx, [esp + 0x1bc]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x1e4]
push edx
mov ecx, edi
mov byte [esp + 0x7d8], 0x2b
call ebp
fld dword [esp + 0x1c4]
fld dword [esp + 0x1ec]
mov byte [esp + 0x7d0], 0x2c
fucompp
fnstsw ax
test ah, 0x44
jp 0x40cac3
fld dword [esp + 0x1c8]
fld dword [esp + 0x1f0]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40cac3
push 0
lea ecx, [esp + 0x100]
call fcn.0052ff50
fld qword [esp + 0x7c]
fstp qword [esp + 0x8c]
mov dword [esp + 0x60], 1
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x7d0], 0x2b
call ebx
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x7d0], 0x2a
call ebx
jmp 0x40caf7
cmp eax, 3
jne 0x40caf7
fld qword [esp + 0x7c]
fstp qword [esp + 0x8c]
mov eax, dword [esp + 0x2c]
fld qword [esp + 0x8c]
mov ecx, dword [esp + 0x48]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x74], esp
fstp qword [eax]
fld qword [esp + 0x88]
sub esp, 8
mov eax, esp
mov dword [esp + 0x7c], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xf8]
push edx
lea ecx, [esp + 0x684]
call fcn.004ee240
push 0
push 0
push eax
lea ecx, [esp + 0x7a4]
mov byte [esp + 0x7dc], 0x2d
call fcn.00514e80
lea ecx, [esp + 0x668]
mov byte [esp + 0x7d0], 0x2f
call fcn.004eeaf0
lea eax, [esp + 0x798]
push eax
lea ecx, [esp + 0x100]
call fcn.0052d840
lea ecx, [esp + 0x798]
mov byte [esp + 0x7d0], 0x2a
call fcn.00514eb0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
jl 0x40c6c0
cmp dword [esp + 0x54], 0
push 0xffffffffffffffff
jle 0x40cbb0
mov ecx, dword [esp + 0x58]
push ecx
jmp 0x40cbbf
fld dword [edi + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
push eax
lea ecx, [esp + 0x104]
call fcn.0052d540
mov eax, dword [esp + 0x58]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xfc]
push edx
push eax
call fcn.00491200
test eax, eax
jne 0x40ccde
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 + 0x50]
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 0x62ff68
call fcn.00401300
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 0x62ff68
call fcn.00401300
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 + 0x594]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x590]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
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 + 0x40]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0xfc]
jmp 0x40ce3a
lea ecx, [esp + 0x260]
call fcn.00528000
lea edx, [esp + 0x260]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x7d8], 0x33
call fcn.004040a0
mov eax, dword [esp + 0x54]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x268]
call fcn.0052d540
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x260]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00491200
test eax, eax
jne 0x40ce33
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 + 0x4c]
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 0x62ff68
call fcn.00401300
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 0x62ff68
call fcn.00401300
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 + 0x3dc]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x38], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x3c]
lea ecx, [esp + 0x3d8]
fld dword [eax + 0x10]
fstp dword [esp + 0x40]
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 + 0x40]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x7c]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
add esp, 8
push eax
call fcn.00401300
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.00401300
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_____]
inc dword [esp + 0x44]
lea ecx, [esp + 0x260]
mov byte [esp + 0x7d0], 0x1d
call fcn.0052d4d0
lea ecx, [esp + 0x30]
mov byte [esp + 0x7d0], 3
call ebx
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
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 0x40bf10
mov eax, dword [esp + 0x5c]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x5c], eax
jl 0x40bee0
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 edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x44]
push edx
push str.ExportData_BMBCount_TargetCount_Success_Warning_Error
mov esi, edi
push 0x62ff68
sub esi, ebx
call fcn.00401300
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 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____]
push eax
push ebx
push 0x5eca60
push 0
push 0x5eca60
push esi
push 0x5eca60
push edi
push 0x5eca60
push edi
push str.DOCUMENT_
push 0x62ff68
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___int_]
push eax
call fcn.00401300
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___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_____]
lea ecx, [esp + 0x84]
mov byte [esp + 0x7d0], 2
call fcn.0045c490
lea ecx, [esp + 0x6c]
mov byte [esp + 0x7d0], 1
call fcn.005b7180
lea ecx, [esp + 0x7e0]
mov byte [esp + 0x7d0], 0
call fcn.005b7180
lea ecx, [esp + 0x7f4]
mov dword [esp + 0x7d0], 0xffffffff
call fcn.005b7180
xor eax, eax
mov ecx, dword [esp + 0x7c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7b0]
xor ecx, esp
call fcn.005bd2c6
add esp, 0x7c0
ret 0x28