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

Disassembly:
push 0xffffffffffffffff
push 0x5d1b46
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x254]
mov dword fs:[0], eax
mov edi, dword [esp + 0x264]
mov eax, dword [esp + 0x268]
mov esi, ecx
mov dword [esp + 0x98], edi
mov dword [esp + 0xd0], eax
xor ebx, ebx
cmp dword [esp + 0x26c], 1
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
jne 0x41306c
mov ecx, dword [esp + 0x270]
push ecx
mov ecx, dword [esi + 0x24]
call fcn.004bee70
cmp eax, ebx
je 0x41306c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x84]
call fcn.00490160
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 1
call fcn.005bbf60
lea ecx, [esp + 0x80]
mov byte [esp + 0x25c], 2
call fcn.00490180
lea ecx, [esp + 0x80]
call fcn.00459dc0
test eax, eax
je 0x413021
jmp 0x412fd0
lea ecx, [esp + 0x80]
call fcn.00459dc0
mov ebx, eax
mov ecx, ebx
call fcn.004c0100
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x413005
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.005bbe80
mov dword [eax], ebx
lea ecx, [esp + 0x80]
call fcn.004901b0
lea ecx, [esp + 0x80]
call fcn.00459dc0
test eax, eax
jne 0x412fd0
mov ebp, dword [esp + 0x20]
xor ebx, ebx
test ebp, ebp
jle 0x413045
jmp 0x413030
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00490820
inc ebx
cmp ebx, ebp
jl 0x413030
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 1
call fcn.005b9680
lea ecx, [esp + 0x80]
mov byte [esp + 0x25c], 0
call fcn.0045c490
xor ebx, ebx
push 0x10
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
xor edi, edi
cmp eax, ebx
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], edi
jle 0x4138cf
mov edi, edi
mov ecx, dword [esp + 0x98]
push edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DConstraint____thiscall_BMBSheet::Get2DConstraint_int_]
mov ebp, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], ebp
call fcn.005b6f00
mov ecx, ebp
mov byte [esp + 0x25c], 3
call dword [sym.imp.BMB_NX_C9.dll_public:_short_int___thiscall_BMBSymbol::GetLayerNumber_void_]
mov ecx, dword [esp + 0xd0]
movzx eax, ax
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
cmp byte [eax + 0xf], 8
je 0x4130ea
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.005b7180
jmp 0x4138c0
mov eax, dword [eax + 0x14]
push eax
lea eax, [esp + 0xd8]
push eax
mov ecx, esi
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 4
call fcn.005b71a0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x25c], 3
call fcn.005b7180
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x274]
push edx
call fcn.005b77a0
add esp, 8
test eax, eax
je 0x413158
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.005b7180
jmp 0x4138c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004bee70
test eax, eax
jne 0x41317e
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], al
call fcn.005b7180
jmp 0x4138c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebp
mov dword [esp + 0x54], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4138ab
add dword [esp + 0x8c], eax
add dword [esp + 0x90], eax
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x58]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
mov dl, byte [edi + 8]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x25c], 5
mov byte [esp + 0x37], dl
call fcn.00511f30
movzx eax, byte [esp + 0x37]
mov byte [esp + 0x25c], 6
cmp eax, 5
ja case.0x4131ff.2
jmp dword [eax*4 + 0x414a7c]
push 0
lea eax, [esp + 0x1b8]
push eax
mov ecx, edi
call ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x60], dl
lea ecx, [esp + 0x1b4]
fld dword [eax + 0xc]
fstp dword [esp + 0x64]
fld dword [eax + 0x10]
fstp dword [esp + 0x68]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x68]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x64]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.004038a0
mov dword [esp + 0x80], eax
push 1
lea eax, [esp + 0x190]
push eax
mov ecx, edi
mov dword [esp + 0x8c], ebp
call ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x60], dl
lea ecx, [esp + 0x18c]
fld dword [eax + 0xc]
fstp dword [esp + 0x64]
fld dword [eax + 0x10]
fstp dword [esp + 0x68]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x64]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x184]
call fcn.004f2bd0
lea ecx, [esp + 0x17c]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x260], 7
call fcn.0051f700
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x228]
mov byte [esp + 0x260], 8
call fcn.00512280
push 0xff
lea ecx, [esp + 0x228]
mov byte [esp + 0x260], 9
mov dword [esp + 0x234], 0
call fcn.005140a0
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x224]
mov byte [esp + 0x25c], 8
call fcn.00514dd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x25c], 7
call fcn.00524ec0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x25c], 6
call fcn.004f2cc0
jmp 0x413693
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x60], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x64]
lea ecx, [esp + 0x3c]
fld dword [eax + 0x10]
fstp dword [esp + 0x68]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x68]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x64]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.004038a0
push 1
lea edx, [esp + 0x1cc]
push edx
mov ecx, edi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ebp
call ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x60], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x64]
lea ecx, [esp + 0x1c8]
fld dword [eax + 0x10]
fstp dword [esp + 0x68]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x64]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x68]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.004038a0
fldz
sub esp, 8
fstp qword [esp]
push eax
push ebp
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x238]
call fcn.004f3230
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0x228]
mov byte [esp + 0x260], 0xa
call fcn.004f3310
push eax
lea ecx, [esp + 0x208]
mov byte [esp + 0x260], 0xb
call fcn.004ecfc0
lea edx, [esp + 0x204]
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x260], 0xc
call fcn.0051f5f0
lea ecx, [esp + 0x204]
mov byte [esp + 0x25c], 0xe
call fcn.004ecff0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x25c], 0xf
call fcn.0045c490
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x118]
call fcn.00512280
push 0xff
lea ecx, [esp + 0x118]
mov byte [esp + 0x260], 0x10
mov dword [esp + 0x124], 0
call fcn.005140a0
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x114]
mov byte [esp + 0x25c], 0xf
call fcn.00514dd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x25c], 0xa
call fcn.00524ec0
lea ecx, [esp + 0x224]
mov byte [esp + 0x25c], 6
call fcn.004f3300
jmp 0x413693
lea ecx, [esp + 0x1a0]
call fcn.0051f190
lea edx, [esp + 0x1a0]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x264], 0x11
call fcn.00403a30
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0x144]
call fcn.00512280
mov ebp, dword [esp + 0x14]
inc ebp
cmp ebp, dword [esp + 0x18]
mov byte [esp + 0x25c], 0x12
jge 0x41363b
mov ecx, dword [esp + 0x2c]
push ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
mov edi, eax
cmp byte [edi + 8], 5
jne 0x41363b
lea ecx, [esp + 0x6c]
call fcn.0051f190
lea ecx, [esp + 0x6c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x264], 0x13
call fcn.00403a30
lea edx, [esp + 0x140]
push edx
push 0x24
call fcn.00513f00
add esp, 8
mov dword [esp + 0x30], eax
mov byte [esp + 0x25c], 0x14
test eax, eax
je 0x413608
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.005132d0
jmp 0x41360a
xor eax, eax
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x260], 0x13
call fcn.00513f90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x25c], 0x12
call fcn.00524ec0
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x4135a3
push 0xff
lea ecx, [esp + 0x144]
mov dword [esp + 0x150], 0
call fcn.005140a0
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x140]
mov byte [esp + 0x25c], 0x11
call fcn.00514dd0
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x25c], 6
call fcn.00524ec0
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0xe0]
call fcn.00522510
cmp eax, 3
jl case.0x4131ff.2
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
push ecx
mov ecx, ebp
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
sub esp, 0x30
lea eax, [esp + 0x114]
fstp dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call fcn.005146a0
mov ecx, dword [esp + 0x88]
push ecx
mov ecx, esi
call fcn.004038d0
test eax, eax
jne case.0x4131ff.2
mov eax, dword [esp + 0x54]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xe0]
push edx
push eax
call fcn.00490f80
mov dword [esp + 0x88], eax
mov ecx, ebp
test eax, eax
je 0x413777
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
fstp dword [esp + 0x38]
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
fstp dword [esp + 0x30]
fld dword [esp + 0x38]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov edi, dword [esp + 0x88]
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.004d6e30
fld dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push ecx
mov dword [edi + 0x68], ecx
fstp dword [esp]
mov ecx, esi
call fcn.004038a0
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.004d6e30
mov edx, dword [esp + 0x30]
mov dword [edi + 0x6c], edx
jmp case.0x4131ff.2
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
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 + 0xa0]
push edx
mov ecx, edi
call ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x60], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x64]
lea ecx, [esp + 0x9c]
fld dword [eax + 0x10]
fstp dword [esp + 0x68]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
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 + 0x68]
push eax
push ecx
fstp dword [esp]
push 0x5eca60
fld dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x280]
fstp dword [esp]
push 0x5eca60
push ecx
push str.ERROR_HEIGHT_LIMIT_
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 + 0x94]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x25c], 5
call fcn.00514dd0
lea ecx, [esp + 0x58]
mov byte [esp + 0x25c], 3
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x4131b5
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0
call fcn.005b7180
mov edi, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
jl 0x413090
xor ebp, ebp
cmp dword [esp + 0x27c], ebp
jne 0x4139a2
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 ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
push edx
push str.ExportData_BMBCount_TargetCount_Success_Warning_Error
mov esi, ebx
push 0x62ff68
sub esi, edi
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____]
mov ecx, dword [esp + 0x8c]
push eax
push edi
push 0x5eca60
push ebp
push 0x5eca60
push esi
push 0x5eca60
push ebx
push 0x5eca60
push ecx
push str.HEIGHTLIMIT_
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_____]
jmp 0x4142d4
mov eax, dword [esp + 0x270]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
cmp eax, ebp
je 0x4142d4
mov edx, str.HeightLimit_A
mov ecx, eax
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x4139e0
test bl, bl
je 0x4139dc
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x4139e0
add ecx, 2
add edx, 2
test bl, bl
jne 0x4139c0
xor ecx, ecx
jmp 0x4139e5
sbb ecx, ecx
sbb ecx, 0xffffffff
cmp ecx, ebp
jne 0x4139f3
mov dword [esp + 0x54], 1
jmp 0x413a2d
mov ecx, str.HeightLimit_B
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413a18
test dl, dl
je 0x413a14
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413a18
add eax, 2
add ecx, 2
test dl, dl
jne 0x4139f8
xor eax, eax
jmp 0x413a1d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x4142d4
mov dword [esp + 0x50], 1
lea ecx, [esp + 0xb0]
call fcn.005bbf60
push ebp
lea ecx, [esp + 0xb4]
mov byte [esp + 0x260], 0x15
call fcn.005b7c20
lea ecx, [esp + 0xc4]
mov dword [esp + 0xb0], ebp
call fcn.005bbf60
push ebp
lea ecx, [esp + 0xc8]
mov byte [esp + 0x260], 0x16
call fcn.005b7c20
mov eax, dword [esi + 0x24]
mov dword [esp + 0xc4], ebp
xor edi, edi
cmp dword [eax + 0x3c], ebp
jle 0x413b9f
jmp 0x413a90
mov eax, dword [eax + 0x40]
movzx edx, di
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ebx, ebx
je 0x413b92
mov ebp, dword [ebx + 8]
test ebp, ebp
jne 0x413acc
mov ebp, dword [ebx + 4]
and ebp, 0x7f
call fcn.004d8300
mov eax, dword [eax + ebp*4 - 4]
push ebx
mov ecx, eax
call fcn.004d7790
mov ebp, eax
test ebp, ebp
je 0x413b92
lea ecx, [esp + 0x3c]
call fcn.005b6f00
mov edx, dword [ebp]
mov eax, dword [edx + 0x38]
mov ecx, ebp
mov byte [esp + 0x25c], 0x17
call eax
push eax
lea ecx, [esp + 0x40]
call fcn.005b7890
mov ebx, 1
cmp dword [esp + 0x54], ebx
jne 0x413b39
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x413b3d
push 0x11
push str.BM_HeightLimit_A_
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x413b39
mov ecx, dword [esp + 0xb0]
push ecx
lea ecx, [esp + 0xb4]
call fcn.005b7c20
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
push ecx
jmp 0x413b7a
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebx
jne 0x413b81
test eax, eax
je 0x413b81
push 0x11
push str.BM_HeightLimit_B_
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x413b81
mov edx, dword [esp + 0xc4]
push edx
lea ecx, [esp + 0xc8]
call fcn.005b7c20
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
mov ecx, eax
call fcn.005b71a0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 0x16
call fcn.005b7180
mov eax, dword [esi + 0x24]
inc edi
cmp edi, dword [eax + 0x3c]
jl 0x413a90
xor eax, eax
cmp dword [esp + 0xb0], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
jle 0x413d8d
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004bee70
mov ebp, eax
test ebp, ebp
je 0x413d72
lea ecx, [esp + 0x3c]
call fcn.005b6f00
mov edx, dword [ebp]
mov eax, dword [edx + 0x38]
mov ecx, ebp
mov byte [esp + 0x25c], 0x18
call eax
push eax
lea ecx, [esp + 0x40]
call fcn.005b7890
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x413d61
mov ecx, ebp
call fcn.004b7a40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebp
mov edi, eax
call fcn.0044e660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x413c79
push eax
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413c79
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
lea edx, [esp + 0x40]
push edx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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_____]
test edi, edi
je 0x413cb7
push edi
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413cb7
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
lea ecx, [esp + 0x40]
push ecx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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 ebx
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413cf2
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
lea eax, [esp + 0x40]
push eax
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7a20
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x25c], 0x19
xor edi, edi
mov edi, edi
push str.BM_HeightLimit_A_NotUse_tmp
lea ecx, [esp + 0x24]
call fcn.005b7890
push ebx
lea ecx, [esp + 0x24]
call fcn.005b7a10
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
inc ebx
call fcn.004bee70
test eax, eax
je 0x413d40
inc edi
cmp edi, 0x64
jl 0x413d10
mov edx, dword [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.004c0440
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0x18
call fcn.005b7180
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 0x16
call fcn.005b7180
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0xc
inc eax
cmp eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
jl 0x413bbe
xor eax, eax
cmp dword [esp + 0xc4], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
jle 0x413f7d
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + eax]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004bee70
mov ebp, eax
test ebp, ebp
je 0x413f62
lea ecx, [esp + 0x3c]
call fcn.005b6f00
mov edx, dword [ebp]
mov eax, dword [edx + 0x38]
mov ecx, ebp
mov byte [esp + 0x25c], 0x1a
call eax
push eax
lea ecx, [esp + 0x40]
call fcn.005b7890
mov edx, dword [ebp]
mov eax, dword [edx + 0x58]
mov ecx, ebp
call eax
mov ebx, eax
test ebx, ebx
je 0x413f51
mov ecx, ebp
call fcn.004b7a40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebp
mov edi, eax
call fcn.0044e660
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x413e67
push eax
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413e67
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
lea edx, [esp + 0x40]
push edx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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_____]
test edi, edi
je 0x413ea5
push edi
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413ea5
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
lea ecx, [esp + 0x40]
push ecx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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 ebx
mov ecx, esi
call fcn.0040dd30
test eax, eax
jne 0x413ee0
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
lea eax, [esp + 0x40]
push eax
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
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 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7a20
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x25c], 0x1b
xor edi, edi
lea esp, [esp]
push str.BM_HeightLimit_B_NotUse_tmp
lea ecx, [esp + 0x24]
call fcn.005b7890
push ebx
lea ecx, [esp + 0x24]
call fcn.005b7a10
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
inc ebx
call fcn.004bee70
test eax, eax
je 0x413f30
inc edi
cmp edi, 0x64
jl 0x413f00
mov edx, dword [esp + 0x20]
push edx
mov ecx, ebp
mov dword [esp + 0x18], ebx
call fcn.004c0440
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0x1a
call fcn.005b7180
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 0x16
call fcn.005b7180
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0xc
inc eax
cmp eax, dword [esp + 0xc4]
mov dword [esp + 0x1c], eax
jl 0x413dac
mov ecx, dword [esp + 0x98]
push 0x10
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x4141e0
mov edi, dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_long_int___thiscall_BMBElement::GetElementColor_void_]
jmp 0x413fb0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMB2DConstraint::GetRank_int_]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DConstraint____thiscall_BMBSheet::Get2DConstraint_int_]
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.005b6f00
mov ecx, ebp
mov byte [esp + 0x25c], 0x1c
call dword [sym.imp.BMB_NX_C9.dll_public:_short_int___thiscall_BMBSymbol::GetLayerNumber_void_]
mov ecx, dword [esp + 0xd0]
movzx eax, ax
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_short_int_]
cmp byte [eax + 0xf], 8
jne 0x4141bc
mov eax, dword [eax + 0x14]
push eax
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, esi
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x264], 0x1d
call fcn.005b71a0
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x25c], 0x1c
call fcn.005b7180
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x274]
push eax
call fcn.005b77a0
add esp, 8
test eax, eax
jne 0x4141bc
push 0x5ed2a4
lea ecx, [esp + 0x40]
call fcn.005b7a20
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0x1e
call fcn.005b78d0
push 0x5ed2a0
lea ecx, [esp + 0x40]
call fcn.005b78d0
push 0
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call ebx
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x264], 0x1f
call ebx
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x25c], 0x20
je 0x414197
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x414197
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fldz
fucompp
add esp, 4
lea ecx, [esp + 0x3c]
fnstsw ax
test ah, 0x44
jp 0x4140ee
mov edx, dword [esp + 0x14]
push edx
jmp 0x41410f
mov eax, dword [esp + 0x2c]
push eax
call fcn.005b78d0
push 0x5ed2a0
lea ecx, [esp + 0x40]
call fcn.005b78d0
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x40]
call fcn.005b78d0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x24]
push edx
call fcn.004bee70
test eax, eax
jne 0x414317
mov ebx, dword [esp + 0x3c]
mov ecx, ebp
call edi
push eax
push ebx
mov ecx, esi
call fcn.004064f0
test eax, eax
jne 0x414317
mov ebx, dword [esp + 0x3c]
mov ecx, ebp
call edi
push eax
push ebx
mov ecx, esi
call fcn.00410450
test eax, eax
jne 0x414317
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 + 0x3c]
push eax
push str._layer_is_not_create_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_____]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 0x1c
call fcn.005b7180
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0x16
call fcn.005b7180
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jl 0x413fb0
mov edx, dword [esp + 0x54]
push edx
mov ecx, esi
call fcn.00406800
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 ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
push eax
push str.ExportData_BMBCount_TargetCount_Success_Warning_Error
mov esi, ebx
push 0x62ff68
sub esi, edi
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 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____]
mov edx, dword [esp + 0x8c]
push ecx
push edi
push 0x5eca60
push 0
push 0x5eca60
push esi
push 0x5eca60
push ebx
push 0x5eca60
push edx
push str.HEIGHTLIMIT_
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 + 0xc4]
mov byte [esp + 0x25c], 0x15
call fcn.005b7bf0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x25c], 0
call fcn.005b7bf0
lea ecx, [esp + 0x270]
mov dword [esp + 0x25c], 0xffffffff
call fcn.005b7180
xor eax, eax
mov ecx, dword [esp + 0x254]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.005bd2c6
add esp, 0x24c
ret 0x1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebp
mov dword [esp + 0x30], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x414a39
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x6c]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
mov bl, byte [edi + 8]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x25c], 0x21
call fcn.00511f30
movzx eax, bl
mov byte [esp + 0x25c], 0x22
cmp eax, 5
ja case.0x414384.2
jmp dword [eax*4 + 0x414a94]
push 0
lea edx, [esp + 0x1cc]
push edx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x74], dl
lea ecx, [esp + 0x1c8]
fld dword [eax + 0xc]
fstp dword [esp + 0x78]
fld dword [eax + 0x10]
fstp dword [esp + 0x7c]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x7c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x78]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebx, eax
call fcn.004038a0
mov dword [esp + 0xbc], eax
push 1
lea eax, [esp + 0x1f4]
push eax
mov ecx, edi
mov dword [esp + 0xc8], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x74], dl
lea ecx, [esp + 0x1f0]
fld dword [eax + 0xc]
fstp dword [esp + 0x78]
fld dword [eax + 0x10]
fstp dword [esp + 0x7c]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x78]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x174]
call fcn.004f2bd0
lea ecx, [esp + 0x16c]
push ecx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x260], 0x23
call fcn.0051f700
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x118]
mov byte [esp + 0x260], 0x24
call fcn.00512280
push 0xff
lea ecx, [esp + 0x118]
mov byte [esp + 0x260], 0x25
mov dword [esp + 0x124], 0
call fcn.005140a0
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x114]
mov byte [esp + 0x25c], 0x24
call fcn.00514dd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x25c], 0x23
call fcn.00524ec0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x25c], 0x22
call fcn.004f2cc0
jmp case.0x414384.5
push 0
lea ecx, [esp + 0x1e0]
push ecx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x74], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x78]
lea ecx, [esp + 0x1dc]
fld dword [eax + 0x10]
fstp dword [esp + 0x7c]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x7c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x78]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebx, eax
call fcn.004038a0
push 1
lea edx, [esp + 0x228]
push edx
mov ecx, edi
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x74], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x78]
lea ecx, [esp + 0x224]
fld dword [eax + 0x10]
fstp dword [esp + 0x7c]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x78]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x7c]
push ecx
mov ecx, esi
fstp dword [esp]
mov edi, eax
call fcn.004038a0
fldz
sub esp, 8
fstp qword [esp]
push eax
push edi
lea eax, [esp + 0x11c]
push eax
lea ecx, [esp + 0x218]
call fcn.004f3230
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x208]
mov byte [esp + 0x260], 0x26
call fcn.004f3310
push eax
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x260], 0x27
call fcn.004ecfc0
lea edx, [esp + 0x1b4]
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x260], 0x28
call fcn.0051f5f0
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x25c], 0x2a
call fcn.004ecff0
lea ecx, [esp + 0x58]
mov byte [esp + 0x25c], 0x2b
call fcn.0045c490
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x118]
call fcn.00512280
push 0xff
lea ecx, [esp + 0x118]
mov byte [esp + 0x260], 0x2c
mov dword [esp + 0x124], 0
call fcn.005140a0
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x114]
mov byte [esp + 0x25c], 0x2b
call fcn.00514dd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x25c], 0x26
call fcn.00524ec0
lea ecx, [esp + 0x204]
mov byte [esp + 0x25c], 0x22
call fcn.004f3300
jmp case.0x414384.5
lea ecx, [esp + 0x9c]
call fcn.0051f190
lea edx, [esp + 0x9c]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x264], 0x2d
call fcn.00403a30
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x144]
call fcn.00512280
mov edi, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x38]
mov byte [esp + 0x25c], 0x2e
jge 0x4147e5
jmp 0x414740
push edi
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
mov ebx, eax
cmp byte [ebx + 8], 5
jne 0x4147e5
lea ecx, [esp + 0x204]
call fcn.0051f190
lea ecx, [esp + 0x204]
push ecx
push ebx
mov ecx, esi
mov byte [esp + 0x264], 0x2f
call fcn.00403a30
lea edx, [esp + 0x140]
push edx
push 0x24
call fcn.00513f00
add esp, 8
mov dword [esp + 0x80], eax
mov byte [esp + 0x25c], 0x30
test eax, eax
je 0x4147af
lea ecx, [esp + 0x204]
push ecx
mov ecx, eax
call fcn.005132d0
jmp 0x4147b1
xor eax, eax
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x260], 0x2f
call fcn.00513f90
lea ecx, [esp + 0x204]
mov byte [esp + 0x25c], 0x2e
call fcn.00524ec0
inc edi
cmp edi, dword [esp + 0x38]
jl 0x414740
push 0xff
lea ecx, [esp + 0x144]
mov dword [esp + 0x150], 0
call fcn.005140a0
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0xe4]
call fcn.00514a90
lea ecx, [esp + 0x140]
mov byte [esp + 0x25c], 0x2d
call fcn.00514dd0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x25c], 0x22
call fcn.00524ec0
lea ecx, [esp + 0xe0]
call fcn.00522510
cmp eax, 3
jl case.0x414384.2
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
push ecx
mov ecx, ebp
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
sub esp, 0x30
lea eax, [esp + 0x114]
fstp dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xb4], esp
push eax
call fcn.005146a0
mov edi, dword [esp + 0x64]
push edi
mov ecx, esi
call fcn.004038d0
test eax, eax
jne case.0x414384.2
lea ecx, [esp + 0xe0]
push ecx
mov ecx, dword [esi + 0x20]
push edi
call fcn.004913a0
mov edi, eax
test edi, edi
je 0x4149ce
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
fstp st(0)
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
fstp st(0)
lea ecx, [esp + 0xd4]
call fcn.005b6f00
lea ecx, [esp + 0x18c]
mov byte [esp + 0x25c], 0x31
call fcn.005b6f00
push str.BM_Height
lea ecx, [esp + 0xd8]
mov byte [esp + 0x260], 0x32
call fcn.005b7890
lea ecx, [esp + 0x88]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, ebp
mov byte [esp + 0x25c], 0x33
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x90]
push 0x5ecc88
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [esp + 0x98]
add esp, 0x10
push eax
lea ecx, [esp + 0x180]
push ecx
mov ecx, esi
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x194]
mov byte [esp + 0x264], 0x34
call fcn.005b71a0
lea ecx, [esp + 0x17c]
mov byte [esp + 0x25c], 0x33
call fcn.005b7180
mov edx, dword [esp + 0x18c]
mov eax, dword [esp + 0xd4]
push 1
push edx
push eax
mov ecx, edi
call fcn.004d1680
lea ecx, [esp + 0x88]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18c]
mov byte [esp + 0x25c], 0x31
call fcn.005b7180
lea ecx, [esp + 0xd4]
mov byte [esp + 0x25c], 0x22
call fcn.005b7180
jmp case.0x414384.2
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, ebp
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_____]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x25c], 0x21
call fcn.00514dd0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x25c], 0x20
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
jl 0x414340
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 0x1c
call fcn.005b7180
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 0x16
call fcn.005b7180
mov edi, dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_long_int___thiscall_BMBElement::GetElementColor_void_]
jmp 0x4141cd