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

Disassembly:
push 0xffffffffffffffff
push 0x5d9202
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [esp + 0x258]
mov esi, ecx
mov ecx, dword [esp + 0x25c]
mov dword [esp + 0x88], eax
mov dword [esp + 0xc4], ecx
lea edx, [esp + 0x264]
push str.HeightLimit_A
push edx
mov dword [esp + 0x258], 0
call fcn.005be020
add esp, 8
test eax, eax
je 0x414f67
lea eax, [esp + 0x264]
push str.HeightLimit_B
push eax
call fcn.005be020
add esp, 8
test eax, eax
je 0x414f67
lea ecx, [esp + 0x264]
mov dword [esp + 0x250], 0xffffffff
call fcn.005bd9f0
mov eax, 0x8000001
jmp 0x41614d
cmp dword [esp + 0x260], 1
jne 0x415059
mov ecx, dword [esp + 0x264]
push ecx
mov ecx, dword [esi + 0x24]
call fcn.004c1a00
test eax, eax
je 0x415059
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x7c]
call fcn.00492c00
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 1
call fcn.005bfee0
lea ecx, [esp + 0x78]
mov byte [esp + 0x250], 2
call fcn.00492c20
lea ecx, [esp + 0x78]
call fcn.00459330
test eax, eax
je 0x415018
nop
lea ecx, [esp + 0x78]
call fcn.00459330
mov edi, eax
mov ecx, edi
call fcn.0047ea40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x415002
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x24]
call fcn.005c2c20
mov dword [eax], edi
lea ecx, [esp + 0x78]
call fcn.00492c50
lea ecx, [esp + 0x78]
call fcn.00459330
test eax, eax
jne 0x414fd0
mov ebx, dword [esp + 0x20]
xor edi, edi
test ebx, ebx
jle 0x415037
mov edx, dword [esp + 0x28]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.004932c0
inc edi
cmp edi, ebx
jl 0x415022
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 1
call fcn.005c2ee0
lea ecx, [esp + 0x78]
mov byte [esp + 0x250], 0
call fcn.00440ab0
mov ecx, dword [esp + 0x88]
push 0x10
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov ebp, eax
xor edi, edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1c], edi
test ebp, ebp
jle 0x4158b5
lea esp, [esp]
mov ecx, dword [esp + 0x88]
push edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DConstraint____thiscall_BMBSheet::Get2DConstraint_int_]
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.005bd770
mov ecx, ebx
mov byte [esp + 0x250], 3
call dword [sym.imp.BMB_NX_C9.dll_public:_short_int___thiscall_BMBSymbol::GetLayerNumber_void_]
mov ecx, dword [esp + 0xc4]
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 0x415897
mov eax, dword [eax + 0x14]
push eax
lea eax, [esp + 0xcc]
push eax
mov ecx, esi
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 4
call fcn.005bda10
lea ecx, [esp + 0xc8]
mov byte [esp + 0x250], 3
call fcn.005bd9f0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x268]
push edx
call fcn.005be040
add esp, 8
test eax, eax
jne 0x415897
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004c1a00
test eax, eax
je 0x415897
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebx
mov dword [esp + 0x4c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
test eax, eax
jle 0x415897
push ecx
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x50]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
mov cl, byte [edi + 8]
mov byte [esp + 0x33], cl
lea ecx, [esp + 0xd4]
mov byte [esp + 0x250], 5
call fcn.00517860
movzx eax, byte [esp + 0x33]
mov byte [esp + 0x250], 6
cmp eax, 5
ja case.0x4151a2.2
jmp dword [eax*4 + 0x4168e4]
push 0
lea edx, [esp + 0x1ac]
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 + 0x54], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x58], dl
lea ecx, [esp + 0x1a8]
fld dword [eax + 0xc]
fstp dword [esp + 0x5c]
fld dword [eax + 0x10]
fstp dword [esp + 0x60]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x60]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x5c]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.00403c90
mov dword [esp + 0x78], eax
push 1
lea eax, [esp + 0x184]
push eax
mov ecx, edi
mov dword [esp + 0x84], ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x58], dl
lea ecx, [esp + 0x180]
fld dword [eax + 0xc]
fstp dword [esp + 0x5c]
fld dword [eax + 0x10]
fstp dword [esp + 0x60]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x5c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x178]
call fcn.004f73b0
lea ecx, [esp + 0x170]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x254], 7
call fcn.00525080
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x21c]
mov byte [esp + 0x254], 8
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x21c]
mov byte [esp + 0x254], 9
mov dword [esp + 0x228], 0
call fcn.00519a20
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x218]
mov byte [esp + 0x250], 8
call fcn.0051a750
lea ecx, [esp + 0x90]
mov byte [esp + 0x250], 7
call fcn.0052ac30
lea ecx, [esp + 0x170]
mov byte [esp + 0x250], 6
call fcn.004f74a0
jmp case.0x4151a2.5
push 0
lea ecx, [esp + 0x38]
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 + 0x54], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x58], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x5c]
lea ecx, [esp + 0x34]
fld dword [eax + 0x10]
fstp dword [esp + 0x60]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x60]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x5c]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.00403c90
push 1
lea edx, [esp + 0x1c0]
push edx
mov ecx, edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x58], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x5c]
lea ecx, [esp + 0x1bc]
fld dword [eax + 0x10]
fstp dword [esp + 0x60]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x5c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x60]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebp, eax
call fcn.00403c90
fldz
sub esp, 8
fstp qword [esp]
push eax
push ebp
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x22c]
call fcn.004f5cd0
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x21c]
mov byte [esp + 0x254], 0xa
call fcn.004f5dd0
push eax
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x254], 0xb
call fcn.004f0010
lea edx, [esp + 0x1f8]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x254], 0xc
call fcn.00524f70
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x250], 0xe
call fcn.004f0040
lea ecx, [esp + 0x160]
mov byte [esp + 0x250], 0xf
call fcn.00440ab0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x10c]
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x10c]
mov byte [esp + 0x254], 0x10
mov dword [esp + 0x118], 0
call fcn.00519a20
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x108]
mov byte [esp + 0x250], 0xf
call fcn.0051a750
lea ecx, [esp + 0x90]
mov byte [esp + 0x250], 0xa
call fcn.0052ac30
lea ecx, [esp + 0x218]
mov byte [esp + 0x250], 6
call fcn.004f5da0
jmp case.0x4151a2.5
lea ecx, [esp + 0x194]
call fcn.00524b10
lea edx, [esp + 0x194]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x258], 0x11
call fcn.00403e20
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x138]
call fcn.00517bb0
mov ebp, dword [esp + 0x18]
inc ebp
cmp ebp, dword [esp + 0x2c]
mov byte [esp + 0x250], 0x12
jge 0x4155e9
push ebp
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
mov edi, eax
cmp byte [edi + 8], 5
jne 0x4155e9
lea ecx, [esp + 0x64]
call fcn.00524b10
lea ecx, [esp + 0x64]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x258], 0x13
call fcn.00403e20
lea edx, [esp + 0x134]
push edx
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x8c], eax
mov byte [esp + 0x250], 0x14
test eax, eax
je 0x4155b6
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call fcn.00518c50
jmp 0x4155b8
xor eax, eax
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x254], 0x13
call fcn.00519910
lea ecx, [esp + 0x64]
mov byte [esp + 0x250], 0x12
call fcn.0052ac30
inc ebp
cmp ebp, dword [esp + 0x2c]
jl 0x415550
push 0xff
lea ecx, [esp + 0x138]
mov dword [esp + 0x144], 0
call fcn.00519a20
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x134]
mov byte [esp + 0x250], 0x11
call fcn.0051a750
lea ecx, [esp + 0x194]
mov byte [esp + 0x250], 6
call fcn.0052ac30
lea ecx, [esp + 0xd4]
call fcn.00527e90
cmp eax, 3
jl case.0x4151a2.2
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
sub esp, 0x30
lea eax, [esp + 0x108]
fstp dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xc0], esp
push eax
call fcn.0051a020
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00403cc0
test eax, eax
jne case.0x4151a2.2
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0xd4]
push edx
push eax
call fcn.00493a90
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebx
mov ebp, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x98], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x264], 0x15
call fcn.00416f20
push ebp
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0x80]
mov byte [esp + 0x250], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, ebx
test ebp, ebp
je 0x41575e
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
fstp dword [esp + 0x84]
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetStandOff_void_]
fstp dword [esp + 0x14]
fld dword [esp + 0x84]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
mov ecx, ebp
mov edi, eax
call fcn.004d9ef0
fld dword [esp + 0x14]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [ebp + 0x68], edi
call fcn.00403c90
mov ecx, ebp
mov edi, eax
call fcn.004d9ef0
mov dword [ebp + 0x6c], edi
jmp case.0x4151a2.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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x94]
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 + 0x54], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x58], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x5c]
lea ecx, [esp + 0x90]
fld dword [eax + 0x10]
fstp dword [esp + 0x60]
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 + 0x60]
push eax
push ecx
fstp dword [esp]
push 0x5f3b24
fld dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x274]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_HEIGHT_LIMIT_
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x250], 5
call fcn.0051a750
lea ecx, [esp + 0x50]
mov byte [esp + 0x250], 3
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov ecx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
jl 0x41515c
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 0
call fcn.005bd9f0
inc edi
cmp edi, ebp
mov dword [esp + 0x1c], edi
jl 0x415080
xor ebx, ebx
cmp dword [esp + 0x270], ebx
je 0x416134
mov edi, dword [esp + 0x264]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
cmp edi, ebx
je 0x416134
mov edx, str.HeightLimit_A
mov ecx, edi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x415902
test al, al
je 0x4158fe
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x415902
add ecx, 2
add edx, 2
test al, al
jne 0x4158e2
xor eax, eax
jmp 0x415907
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x415915
mov dword [esp + 0x4c], 1
jmp 0x415955
mov ecx, str.HeightLimit_B
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415940
test dl, dl
je 0x41593c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415940
add eax, 2
add ecx, 2
test dl, dl
jne 0x415920
xor eax, eax
jmp 0x415945
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x416134
mov dword [esp + 0x48], 1
lea ecx, [esp + 0xb8]
call fcn.005bfee0
xor ebx, ebx
push ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x254], 0x16
call fcn.005be410
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb8], ebx
call fcn.005bfee0
push ebx
lea ecx, [esp + 0xa8]
mov byte [esp + 0x254], 0x17
call fcn.005be410
mov eax, dword [esi + 0x24]
mov dword [esp + 0xa4], ebx
cmp dword [eax + 0x3c], ebx
jle 0x415ac1
mov eax, dword [eax + 0x40]
movzx edx, bx
mov ebp, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ebp, ebp
je 0x415ab4
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4159ef
mov edi, dword [ebp + 4]
and edi, 0x7f
call fcn.004db3c0
mov edi, dword [eax + edi*4 - 4]
push ebp
mov ecx, edi
call fcn.004da850
mov edi, eax
test edi, edi
je 0x415ab4
lea ecx, [esp + 0x34]
call fcn.005bd770
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
mov byte [esp + 0x250], 0x18
call eax
push eax
lea ecx, [esp + 0x38]
call fcn.005be130
mov edi, 1
cmp dword [esp + 0x4c], edi
jne 0x415a5b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x415a5f
push 0x11
push str.BM_HeightLimit_A_
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x415a5b
mov ecx, dword [esp + 0xb8]
push ecx
lea ecx, [esp + 0xbc]
call fcn.005be410
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edx
push ecx
jmp 0x415a9c
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x48], edi
jne 0x415aa3
test eax, eax
je 0x415aa3
push 0x11
push str.BM_HeightLimit_B_
push eax
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x415aa3
mov edx, dword [esp + 0xa4]
push edx
lea ecx, [esp + 0xa8]
call fcn.005be410
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
mov ecx, eax
call fcn.005bda10
lea ecx, [esp + 0x34]
mov byte [esp + 0x250], 0x17
call fcn.005bd9f0
mov eax, dword [esi + 0x24]
inc ebx
cmp ebx, dword [eax + 0x3c]
jl 0x4159b3
xor eax, eax
cmp dword [esp + 0xb8], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
jle 0x415cad
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004c1a00
mov edi, eax
test edi, edi
je 0x415c92
lea ecx, [esp + 0x34]
call fcn.005bd770
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
mov byte [esp + 0x250], 0x19
call eax
push eax
lea ecx, [esp + 0x38]
call fcn.005be130
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov ebx, eax
test ebx, ebx
je 0x415c81
mov ecx, edi
call fcn.004bc720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, edi
mov ebp, eax
call fcn.004c1990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x415b99
push eax
mov ecx, esi
call fcn.0040f650
test eax, eax
jne 0x415b99
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 + 0x38]
push edx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 ebp, ebp
je 0x415bd7
push ebp
mov ecx, esi
call fcn.0040f650
test eax, eax
jne 0x415bd7
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 + 0x38]
push ecx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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.0040f650
test eax, eax
jne 0x415c12
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 + 0x38]
push eax
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 0x5f3b6e
lea ecx, [esp + 0x24]
call fcn.005be2c0
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x250], 0x1a
xor ebp, ebp
mov edi, edi
push str.BM_HeightLimit_A_NotUse_tmp
lea ecx, [esp + 0x24]
call fcn.005be130
push ebx
lea ecx, [esp + 0x24]
call fcn.005be2b0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
inc ebx
call fcn.004c1a00
test eax, eax
je 0x415c60
inc ebp
cmp ebp, 0x64
jl 0x415c30
mov edx, dword [esp + 0x20]
push edx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004c2f10
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 0x19
call fcn.005bd9f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x250], 0x17
call fcn.005bd9f0
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0xc
inc eax
cmp eax, dword [esp + 0xb8]
mov dword [esp + 0x1c], eax
jl 0x415ae0
xor eax, eax
cmp dword [esp + 0xa4], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x1c], eax
jle 0x415e9d
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 0x24]
push eax
call fcn.004c1a00
mov edi, eax
test edi, edi
je 0x415e82
lea ecx, [esp + 0x34]
call fcn.005bd770
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
mov byte [esp + 0x250], 0x1b
call eax
push eax
lea ecx, [esp + 0x38]
call fcn.005be130
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov ebx, eax
test ebx, ebx
je 0x415e71
mov ecx, edi
call fcn.004bc720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, edi
mov ebp, eax
call fcn.004c1990
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
test eax, eax
je 0x415d85
push eax
mov ecx, esi
call fcn.0040f650
test eax, eax
jne 0x415d85
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 + 0x38]
push edx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 ebp, ebp
je 0x415dc3
push ebp
mov ecx, esi
call fcn.0040f650
test eax, eax
jne 0x415dc3
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 + 0x38]
push ecx
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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.0040f650
test eax, eax
jne 0x415dfe
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 + 0x38]
push eax
push str.BDExport::Export_Delete_layer_prim_Error_LayerName::
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 0x5f3b6e
lea ecx, [esp + 0x24]
call fcn.005be2c0
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x250], 0x1c
xor ebp, ebp
lea ebx, [ebx]
push str.BM_HeightLimit_B_NotUse_tmp
lea ecx, [esp + 0x24]
call fcn.005be130
push ebx
lea ecx, [esp + 0x24]
call fcn.005be2b0
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x24]
inc ebx
call fcn.004c1a00
test eax, eax
je 0x415e50
inc ebp
cmp ebp, 0x64
jl 0x415e20
mov edx, dword [esp + 0x20]
push edx
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.004c2f10
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 0x1b
call fcn.005bd9f0
lea ecx, [esp + 0x34]
mov byte [esp + 0x250], 0x17
call fcn.005bd9f0
mov eax, dword [esp + 0x1c]
add dword [esp + 0x18], 0xc
inc eax
cmp eax, dword [esp + 0xa4]
mov dword [esp + 0x1c], eax
jl 0x415ccc
mov ecx, dword [esp + 0x88]
push 0x10
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov dword [esp + 0x48], eax
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x416100
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_long_int___thiscall_BMBElement::GetElementColor_void_]
jmp 0x415ed0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x88]
mov edi, 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.005bd770
mov ecx, ebp
mov byte [esp + 0x250], 0x1d
call dword [sym.imp.BMB_NX_C9.dll_public:_short_int___thiscall_BMBSymbol::GetLayerNumber_void_]
mov ecx, dword [esp + 0xc4]
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 0x4160dc
mov eax, dword [eax + 0x14]
push eax
lea ecx, [esp + 0x198]
push ecx
mov ecx, esi
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x258], 0x1e
call fcn.005bda10
lea ecx, [esp + 0x194]
mov byte [esp + 0x250], 0x1d
call fcn.005bd9f0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x268]
push eax
call fcn.005be040
add esp, 8
test eax, eax
jne 0x4160dc
push 0x5f4494
lea ecx, [esp + 0x38]
call fcn.005be2c0
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x254], 0x1f
call fcn.005be170
push 0x5f4490
lea ecx, [esp + 0x38]
call fcn.005be170
push 0
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call edi
push 1
lea eax, [esp + 0x18]
push eax
mov ecx, ebp
mov byte [esp + 0x258], 0x20
call edi
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x250], 0x21
je 0x4160b7
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x4160b7
push eax
call dword [sym.imp.MSVCR90.dll_atof]
fldz
fucompp
add esp, 4
lea ecx, [esp + 0x34]
fnstsw ax
test ah, 0x44
jp 0x41600e
mov edx, dword [esp + 0x14]
push edx
jmp 0x41602f
mov eax, dword [esp + 0x2c]
push eax
call fcn.005be170
push 0x5f4490
lea ecx, [esp + 0x38]
call fcn.005be170
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.005be170
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x24]
push edx
call fcn.004c1a00
test eax, eax
jne 0x416177
mov edi, dword [esp + 0x34]
mov ecx, ebp
call ebx
push eax
push edi
mov ecx, esi
call fcn.004069c0
test eax, eax
jne 0x416177
mov edi, dword [esp + 0x34]
mov ecx, ebp
call ebx
push eax
push edi
mov ecx, esi
call fcn.00412010
test eax, eax
jne 0x416177
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 + 0x34]
push eax
push str._layer_is_not_create_in_Board_Designer.
push ecx
push str.BDExport::warning_
push 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
mov byte [esp + 0x250], 0x1d
call fcn.005bd9f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 0x17
call fcn.005bd9f0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x1c], eax
jl 0x415ed0
mov edx, dword [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00406cd0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x250], 0x16
call fcn.005be3e0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x250], 0
call fcn.005be3e0
lea ecx, [esp + 0x264]
mov dword [esp + 0x250], 0xffffffff
call fcn.005bd9f0
xor eax, eax
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005c3bb6
add esp, 0x240
ret 0x1c
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ecx, ebp
mov dword [esp + 0x8c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov dword [esp + 0x80], eax
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4168a0
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 + 0x64]
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 + 0xd4]
mov byte [esp + 0x250], 0x22
call fcn.00517860
movzx eax, bl
mov byte [esp + 0x250], 0x23
cmp eax, 5
ja case.0x4161ea.2
jmp dword [eax*4 + 0x4168fc]
push 0
lea edx, [esp + 0x1c0]
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 + 0x68], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x6c], dl
lea ecx, [esp + 0x1bc]
fld dword [eax + 0xc]
fstp dword [esp + 0x70]
fld dword [eax + 0x10]
fstp dword [esp + 0x74]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x74]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x70]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebx, eax
call fcn.00403c90
mov dword [esp + 0xb0], eax
push 1
lea eax, [esp + 0x1e8]
push eax
mov ecx, edi
mov dword [esp + 0xbc], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x6c], dl
lea ecx, [esp + 0x1e4]
fld dword [eax + 0xc]
fstp dword [esp + 0x70]
fld dword [eax + 0x10]
fstp dword [esp + 0x74]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x70]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x168]
call fcn.004f73b0
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x254], 0x24
call fcn.00525080
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x254], 0x25
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x10c]
mov byte [esp + 0x254], 0x26
mov dword [esp + 0x118], 0
call fcn.00519a20
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x108]
mov byte [esp + 0x250], 0x25
call fcn.0051a750
lea ecx, [esp + 0x90]
mov byte [esp + 0x250], 0x24
call fcn.0052ac30
lea ecx, [esp + 0x160]
mov byte [esp + 0x250], 0x23
call fcn.004f74a0
jmp case.0x4161ea.5
push 0
lea ecx, [esp + 0x1d4]
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 + 0x68], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x6c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x70]
lea ecx, [esp + 0x1d0]
fld dword [eax + 0x10]
fstp dword [esp + 0x74]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x74]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x70]
push ecx
mov ecx, esi
fstp dword [esp]
mov ebx, eax
call fcn.00403c90
push 1
lea edx, [esp + 0x21c]
push edx
mov ecx, edi
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x6c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x70]
lea ecx, [esp + 0x218]
fld dword [eax + 0x10]
fstp dword [esp + 0x74]
call dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
fld dword [esp + 0x70]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x74]
push ecx
mov ecx, esi
fstp dword [esp]
mov edi, eax
call fcn.00403c90
fldz
sub esp, 8
fstp qword [esp]
push eax
push edi
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x20c]
call fcn.004f5cd0
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x254], 0x27
call fcn.004f5dd0
push eax
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x254], 0x28
call fcn.004f0010
lea edx, [esp + 0x1a8]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x254], 0x29
call fcn.00524f70
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x250], 0x2b
call fcn.004f0040
lea ecx, [esp + 0x50]
mov byte [esp + 0x250], 0x2c
call fcn.00440ab0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x10c]
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x10c]
mov byte [esp + 0x254], 0x2d
mov dword [esp + 0x118], 0
call fcn.00519a20
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x108]
mov byte [esp + 0x250], 0x2c
call fcn.0051a750
lea ecx, [esp + 0x90]
mov byte [esp + 0x250], 0x27
call fcn.0052ac30
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x250], 0x23
call fcn.004f5da0
jmp case.0x4161ea.5
lea ecx, [esp + 0x90]
call fcn.00524b10
lea edx, [esp + 0x90]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x258], 0x2e
call fcn.00403e20
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x138]
call fcn.00517bb0
mov edi, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x80]
mov byte [esp + 0x250], 0x2f
jge 0x416646
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 0x416646
lea ecx, [esp + 0x1f8]
call fcn.00524b10
lea ecx, [esp + 0x1f8]
push ecx
push ebx
mov ecx, esi
mov byte [esp + 0x258], 0x30
call fcn.00403e20
lea edx, [esp + 0x134]
push edx
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x78], eax
mov byte [esp + 0x250], 0x31
test eax, eax
je 0x41660d
lea ecx, [esp + 0x1f8]
push ecx
mov ecx, eax
call fcn.00518c50
jmp 0x41660f
xor eax, eax
push eax
lea ecx, [esp + 0x138]
mov byte [esp + 0x254], 0x30
call fcn.00519910
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x250], 0x2f
call fcn.0052ac30
inc edi
cmp edi, dword [esp + 0x80]
jl 0x4165a1
push 0xff
lea ecx, [esp + 0x138]
mov dword [esp + 0x144], 0
call fcn.00519a20
lea edx, [esp + 0x134]
push edx
lea ecx, [esp + 0xd8]
call fcn.0051a410
lea ecx, [esp + 0x134]
mov byte [esp + 0x250], 0x2e
call fcn.0051a750
lea ecx, [esp + 0x90]
mov byte [esp + 0x250], 0x23
call fcn.0052ac30
lea ecx, [esp + 0xd4]
call fcn.00527e90
cmp eax, 3
jl case.0x4161ea.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 + 0x108]
fstp dword [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0xac], esp
push eax
call fcn.0051a020
mov edi, dword [esp + 0xc0]
push edi
mov ecx, esi
call fcn.00403cc0
test eax, eax
jne case.0x4161ea.2
lea ecx, [esp + 0xd4]
push ecx
mov ecx, dword [esi + 0x20]
push edi
call fcn.00493eb0
mov edi, eax
test edi, edi
je 0x416832
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 + 0xc8]
call fcn.005bd770
lea ecx, [esp + 0x180]
mov byte [esp + 0x250], 0x32
call fcn.005bd770
push str.BM_Height
lea ecx, [esp + 0xcc]
mov byte [esp + 0x254], 0x33
call fcn.005be130
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, ebp
mov byte [esp + 0x250], 0x34
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMB2DConstraint::GetHeight_void_]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x8c]
push 0x5f3e00
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [esp + 0x94]
add esp, 0x10
push eax
lea ecx, [esp + 0x174]
push ecx
mov ecx, esi
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x188]
mov byte [esp + 0x258], 0x35
call fcn.005bda10
lea ecx, [esp + 0x170]
mov byte [esp + 0x250], 0x34
call fcn.005bd9f0
mov edx, dword [esp + 0x180]
mov eax, dword [esp + 0xc8]
push 1
push edx
push eax
mov ecx, edi
call fcn.004d4700
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x180]
mov byte [esp + 0x250], 0x32
call fcn.005bd9f0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x250], 0x23
call fcn.005bd9f0
jmp case.0x4161ea.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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x250], 0x22
call fcn.0051a750
lea ecx, [esp + 0x64]
mov byte [esp + 0x250], 0x21
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 + 0x80]
mov dword [esp + 0x18], eax
jl 0x4161a6
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 + 0x34]
mov byte [esp + 0x250], 0x1d
call fcn.005bd9f0
lea ecx, [esp + 0x20]
mov byte [esp + 0x250], 0x17
call fcn.005bd9f0
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_long_int___thiscall_BMBElement::GetElementColor_void_]
jmp 0x4160ed