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

Disassembly:
push 0xffffffffffffffff
push 0x5d373b
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x632da0]
xor eax, esp
mov dword [esp + 0x5b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x5cc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5dc]
mov eax, dword [esp + 0x5e0]
mov esi, ecx
mov dword [esp + 0xbc], edi
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x24]
xor ebp, ebp
push 3
mov dword [esp + 0x5d8], ebp
call fcn.004c0db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], eax
call fcn.00492120
mov ebx, 1
mov byte [esp + 0x5d4], bl
cmp dword [esp + 0x5e4], ebx
jne 0x40fc10
lea ecx, [esp + 0x78]
call fcn.005be570
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x5d8], 2
call fcn.005be2d0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], ebp
call fcn.00492140
lea ecx, [esp + 0x5c]
call fcn.00492110
test eax, eax
je 0x40fbd2
mov edi, edi
lea ecx, [esp + 0x5c]
call fcn.00492110
mov ebx, eax
mov ecx, ebx
call fcn.0047c8c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40fbbc
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 6
je 0x40fbac
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 8
je 0x40fbac
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 7
jne 0x40fbbc
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x7c]
call fcn.005be2d0
mov dword [eax], ebx
lea ecx, [esp + 0x5c]
call fcn.00492170
lea ecx, [esp + 0x5c]
call fcn.00492110
test eax, eax
jne 0x40fb60
mov ebp, dword [esp + 0x78]
xor ebx, ebx
test ebp, ebp
jle 0x40fbf8
lea esp, [esp]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00492710
inc ebx
cmp ebx, ebp
jl 0x40fbe0
lea ecx, [esp + 0x78]
mov byte [esp + 0x5d4], 1
call fcn.005be4c0
xor ebp, ebp
mov ebx, 1
mov dword [esp + 0x4c], ebp
cmp dword [esp + 0x5f4], ebx
jne 0x40fdbf
lea eax, [esp + 0x5f8]
push ebp
push eax
call fcn.005b9af0
add esp, 8
test eax, eax
je 0x40fc42
mov dword [esp + 0x5f4], ebp
jmp 0x40fdbf
lea ecx, [esp + 0x5f8]
push ebp
push ecx
call fcn.005b9b40
add esp, 8
test eax, eax
je 0x40fdbf
mov edx, dword [esp + 0x5f8]
mov ecx, dword [esi + 0x24]
push edx
call fcn.004c0df0
cmp eax, ebp
jne 0x40fcbe
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 + 0x5f8]
push eax
push str._layer_is_Not_Found_in_Board_Designer.
push ecx
push str.BDExport::warning_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [esp + 0x5f4], ebp
mov dword [esp + 0x4c], ebp
jmp 0x40fdbf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov dword [esp + 0x4c], eax
cmp eax, ebp
jne 0x40fcdb
mov dword [esp + 0x5f4], ebp
jmp 0x40fdbf
cmp dword [esp + 0x5e4], ebx
jne 0x40fdbf
push eax
lea ecx, [esp + 0x3c]
call fcn.00492120
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5d4], 3
call fcn.005be570
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d4], 4
call fcn.00492140
lea ecx, [esp + 0x38]
call fcn.00492110
test eax, eax
je 0x40fd72
lea ecx, [esp + 0x38]
call fcn.00492110
mov ebx, eax
mov ecx, ebx
call fcn.0047c8c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40fd5c
mov ecx, dword [esp + 0xdc]
push ecx
lea ecx, [esp + 0xe0]
call fcn.005be2d0
mov dword [eax], ebx
lea ecx, [esp + 0x38]
call fcn.00492170
lea ecx, [esp + 0x38]
call fcn.00492110
test eax, eax
jne 0x40fd24
mov ebp, dword [esp + 0xdc]
xor ebx, ebx
test ebp, ebp
jle 0x40fd98
nop
mov edx, dword [esp + 0xe4]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00492710
inc ebx
cmp ebx, ebp
jl 0x40fd80
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5d4], 3
call fcn.005be4c0
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d4], 1
call fcn.00481ef0
xor ebp, ebp
mov ecx, dword [esi + 0x24]
push 2
call fcn.004c0db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x48]
call fcn.00492120
push 0xb
mov ecx, edi
mov byte [esp + 0x5d8], 5
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov ecx, dword [esp + 0x14]
mov ebx, eax
push str.Hole
mov dword [esp + 0xd8], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBLayer____thiscall_BMBTableLayer::ScanRecord_char_const__]
fld dword [esp + 0x5ec]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
cmp ebx, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebp
jle 0x4119ce
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 0x40fe47
mov edi, dword [esp + 0xbc]
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBHole____thiscall_BMBSheet::GetHole_int_]
mov dword [esp + 0x34], eax
test eax, eax
je 0x4119b8
mov ecx, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBSymbol::GetType_void_]
cmp al, 3
je 0x4119b8
mov edi, dword [esp + 0x34]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_short_int___thiscall_BMBSymbol::GetLayerNumber_void_]
mov ecx, edi
mov dword [esp + 0x54], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x4119b8
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x1c]
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 + 0x30], al
movzx eax, al
mov byte [esp + 0x5d4], 6
cmp eax, 9
ja case.0x40fed1.1
movzx eax, byte [eax + 0x411a48]
jmp dword [eax*4 + 0x411a34]
push 0
lea ecx, [esp + 0x378]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x24], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x374]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403cb0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x114], eax
push 1
lea eax, [esp + 0x33c]
push eax
mov ecx, edi
mov dword [esp + 0x120], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x338]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x214]
call fcn.004f6030
fld dword [esp + 0x28]
fld dword [esp + 0x5ec]
mov byte [esp + 0x5d4], 7
fcompp
fnstsw ax
test ah, 0x41
jp 0x41011d
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x20c]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00492f10
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5e8], 8
call fcn.00404d20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xc0]
mov byte [esp + 0x5d4], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
je 0x41005f
mov edi, dword [esp + 0x18]
push 0
mov ecx, edi
call fcn.00494840
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x30]
dec eax
push eax
mov ecx, edi
call fcn.00494860
lea ecx, [esp + 0x20c]
mov byte [esp + 0x5d4], 6
call fcn.004f6120
jmp case.0x40fed1.1
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x364]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x360]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5eeb1c
push str.Hole
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x20c]
mov byte [esp + 0x5d4], 6
call fcn.004f6120
jmp case.0x40fed1.1
cmp dword [edi + 0x10], 2
jne 0x41039f
cmp dword [esp + 0x5f0], 1
jne 0x41039f
fld dword [edi + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
mov dword [esp + 0x18], eax
test eax, eax
je case.0x40fed1.1
push 0
lea ecx, [esp + 0x38c]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x24], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x388]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403cb0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x104], eax
push 1
lea eax, [esp + 0x3b4]
push eax
mov ecx, edi
mov dword [esp + 0x110], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x3b0]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403cb0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x110]
mov dword [esp + 0x114], eax
push edx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x2cc]
call fcn.004f8ba0
lea ecx, [esp + 0x2c0]
push ecx
lea ecx, [esp + 0x534]
mov byte [esp + 0x5d8], 9
call fcn.004f6a70
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x53c], edx
mov byte [esp + 0x5d4], 0xa
jge 0x410297
mov eax, edx
cmp dword [esp + 0x540], eax
jl 0x410372
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x530]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493050
test eax, eax
jne 0x410372
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 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea ecx, [esp + 0x4b8]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x24], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x4b4]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push edx
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5eeb1c
push str.Hole
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x530]
mov byte [esp + 0x5d4], 9
call fcn.004f66d0
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x5d4], 6
call fcn.004f8c20
jmp case.0x40fed1.1
cmp dword [esp + 0x604], 0
jne 0x4103b7
cmp dword [esp + 0x5f4], 0
je case.0x40fed1.1
lea ecx, [esp + 0xe8]
call fcn.00529e00
xor ebp, ebp
cmp byte [esp + 0x30], 3
mov byte [esp + 0x5d4], 0xb
jne 0x41051a
push ebp
lea eax, [esp + 0x4a4]
push eax
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 + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x4a0]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
fnstcw word [esp + 0x30]
movzx eax, word [esp + 0x30]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
sub eax, 1
fldcw word [esp + 0x30]
je 0x41044c
sub eax, 1
je 0x410448
sub eax, 1
jne 0x41045a
push 3
jmp 0x41044e
push 2
jmp 0x41044e
push 1
lea ecx, [esp + 0xec]
call fcn.0052e550
push 1
lea eax, [esp + 0x3f0]
push eax
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 + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x3ec]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
mov dword [esp + 0x14], eax
mov ebp, 2
push ebp
lea eax, [esp + 0x454]
push eax
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 + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x450]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.0052d2e0
xor eax, eax
cmp ebp, dword [edi + 0x10]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x18], eax
jge 0x4109fe
push ebp
lea edx, [esp + 0x328]
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 + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x324]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
mov al, byte [esp + 0x24]
cmp al, 3
je 0x41076a
cmp al, 6
je 0x41071a
cmp al, 0xd
jne 0x4109f4
fld dword [esp + 0x28]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x90], eax
call fcn.00403cb0
mov dword [esp + 0x90], eax
inc ebp
push ebp
lea eax, [esp + 0x440]
push eax
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 + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x43c]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x88], eax
call fcn.00403cb0
mov dword [esp + 0x88], eax
inc ebp
push ebp
lea eax, [esp + 0x350]
push eax
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 + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x34c]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa8], eax
call fcn.00403cb0
mov dword [esp + 0xa8], eax
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x4f4]
call fcn.004f0210
push 0
push 0
push eax
lea ecx, [esp + 0x57c]
mov byte [esp + 0x5e0], 0x11
call fcn.00516c80
lea ecx, [esp + 0x4e8]
mov byte [esp + 0x5d4], 0x13
call fcn.004f08d0
lea eax, [esp + 0x570]
push eax
lea ecx, [esp + 0xec]
call fcn.0052f5e0
lea ecx, [esp + 0x570]
jmp 0x4109e7
cmp dword [esp + 0x18], 1
je 0x4109f4
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa0], eax
call fcn.00403cb0
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0xa4], eax
call fcn.0052f580
jmp 0x4109f4
fld dword [esp + 0x28]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb0], eax
call fcn.00403cb0
inc ebp
push ebp
lea edx, [esp + 0x468]
push edx
mov ecx, edi
mov dword [esp + 0xb8], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x464]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
fmul qword [0x5eede8]
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00403cb0
mov dword [esp + 0x14], eax
inc ebp
push ebp
lea eax, [esp + 0x2ec]
push eax
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 + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x2e8]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
mov dword [esp + 0x30], 0
fst qword [esp + 0xb4]
fld dword [esp + 0x2c]
fst qword [esp + 0x64]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x410865
mov dword [esp + 0x30], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x1e4]
mov dword [esp + 0x40], esp
push eax
lea ecx, [esp + 0x70]
call fcn.005ba5e0
fld qword [esp + 0x1dc]
fst qword [esp + 0x64]
fcomp qword [0x5eee00]
fnstsw ax
test ah, 1
jne 0x410960
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x410950
push 0
lea ecx, [esp + 0x1fc]
push ecx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
push 4
lea edx, [esp + 0x1e8]
push edx
mov ecx, edi
mov byte [esp + 0x5dc], 0xc
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
fld dword [esp + 0x204]
fld dword [esp + 0x1f0]
mov byte [esp + 0x5d4], 0xd
fucompp
fnstsw ax
test ah, 0x44
jp 0x41092c
fld dword [esp + 0x208]
fld dword [esp + 0x1f4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x41092c
push 0
lea ecx, [esp + 0xec]
call fcn.00531cf0
fld qword [esp + 0xb4]
fstp qword [esp + 0x64]
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x5d4], 0xc
call ebx
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x5d4], 0xb
call ebx
jmp 0x410960
cmp eax, 3
jne 0x410960
fld qword [esp + 0xb4]
fstp qword [esp + 0x64]
mov eax, dword [esp + 0x30]
fld qword [esp + 0x64]
mov ecx, dword [esp + 0x14]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x44], esp
fstp qword [eax]
fld qword [esp + 0xc0]
sub esp, 8
mov eax, esp
mov dword [esp + 0x4c], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xc4]
push edx
lea ecx, [esp + 0x528]
call fcn.004f0020
push 0
push 0
push eax
lea ecx, [esp + 0x5a8]
mov byte [esp + 0x5e0], 0xe
call fcn.00516c80
lea ecx, [esp + 0x50c]
mov byte [esp + 0x5d4], 0x10
call fcn.004f08d0
lea eax, [esp + 0x59c]
push eax
lea ecx, [esp + 0xec]
call fcn.0052f5e0
lea ecx, [esp + 0x59c]
mov byte [esp + 0x5d4], 0xb
call fcn.00516cb0
inc ebp
cmp ebp, dword [edi + 0x10]
jl 0x410537
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
push eax
lea ecx, [esp + 0xf0]
call fcn.0052f2e0
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0xec]
call fcn.0052e3a0
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x5d8], 0x14
call fcn.004eede0
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x5d4], 0x16
call fcn.00481ef0
mov edx, dword [esp + 0x144]
sub edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x40]
cmp edx, eax
jge 0x410a84
mov ecx, dword [esp + 0x148]
sub ecx, dword [esp + 0x140]
cmp ecx, eax
jl 0x410df3
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x4d8]
call fcn.005383f0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5d4], 0x17
call fcn.004f8ab0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x4e0]
mov byte [esp + 0x5ec], 0x18
call fcn.0053a6e0
mov eax, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x30], ebp
test eax, eax
jle 0x410dc5
cmp ebp, eax
jge 0x410af1
mov ecx, dword [esp + 0x74]
lea eax, [ecx + ebp*4]
jmp 0x410afb
push ebp
lea ecx, [esp + 0x70]
call fcn.005be2d0
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x164]
call fcn.00521600
cmp dword [esp + 0x604], 1
mov byte [esp + 0x5d4], 0x19
jne 0x410c1e
lea ecx, [esp + 0x44]
call fcn.00492140
lea ecx, [esp + 0x44]
call fcn.00492110
test eax, eax
je 0x410da0
lea ebx, [ebx]
lea ecx, [esp + 0x44]
call fcn.00492110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x410bfb
lea ecx, [esp + 0x44]
call fcn.00492110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x410bfb
lea ecx, [esp + 0x160]
push ecx
mov ecx, ebp
call fcn.00514450
cmp eax, 1
jne 0x410bfb
push ebp
push 0x24
call fcn.00515d00
add esp, 8
mov dword [esp + 0x38], eax
mov byte [esp + 0x5d4], 0x1a
test eax, eax
je 0x410bbf
lea edx, [esp + 0x160]
push edx
mov ecx, eax
call fcn.005150d0
mov dword [esp + 0x18], eax
jmp 0x410bc7
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, esi
mov byte [esp + 0x5dc], 0x19
call fcn.00404bf0
test eax, eax
jne 0x410bfb
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00515d90
mov edx, dword [ebp]
mov eax, dword [edx + 0x78]
push 0xff
mov ecx, ebp
call eax
lea ecx, [esp + 0x44]
call fcn.00492170
lea ecx, [esp + 0x44]
call fcn.00492110
test eax, eax
jne 0x410b40
mov ebp, dword [esp + 0x30]
jmp 0x410da0
cmp dword [esp + 0x5f4], 1
jne 0x410da0
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x288]
call fcn.00514070
push 0xff
lea ecx, [esp + 0x288]
mov byte [esp + 0x5d8], 0x1b
mov dword [esp + 0x294], 0
call fcn.00515ea0
lea ecx, [esp + 0x284]
call fcn.00524310
cmp eax, 3
jl 0x410d8c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x284]
push edx
push eax
call fcn.00493290
test eax, eax
jne 0x410d8c
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 + 0x38]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x490]
push eax
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 + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x48c]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5eeb1c
push str.Hole
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x284]
mov byte [esp + 0x5d4], 0x19
call fcn.00516bd0
lea ecx, [esp + 0x160]
mov byte [esp + 0x5d4], 0x18
call fcn.00526cc0
mov eax, dword [esp + 0x6c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x30], ebp
jl 0x410ae8
lea ecx, [esp + 0x6c]
call fcn.004f8b10
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5d4], 0x17
call fcn.004f8ae0
lea ecx, [esp + 0x4c8]
mov byte [esp + 0x5d4], 0x16
call fcn.00538530
lea ecx, [esp + 0x138]
mov byte [esp + 0x5d4], 0xb
call fcn.004eee10
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5d4], 6
call fcn.0052f270
mov ebp, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
jmp case.0x40fed1.1
xor eax, eax
cmp dword [edi + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
jle 0x41113b
lea esp, [esp]
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x3a0]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x39c]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
cmp byte [esp + 0x24], 3
jne 0x41111e
fld dword [esp + 0x28]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x98], eax
call fcn.00403cb0
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x30]
inc eax
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3dc]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x3d8]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
fmul qword [0x5eede8]
mov ecx, esi
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00403cb0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
inc eax
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x3c8]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x3c4]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x2c]
fcom qword [0x5eee00]
fnstsw ax
test ah, 1
je 0x410f7a
fcomp qword [0x5ef348]
fnstsw ax
test ah, 0x41
jp 0x41111e
jmp 0x410f7c
fstp st(0)
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0x224]
mov dword [esp + 0x1c], 1
call fcn.004f6030
fild dword [esp + 0x18]
mov byte [esp + 0x5d4], 0x1c
fadd st(0), st(0)
fild dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 0x41
jp 0x41110a
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x21c]
push edx
push eax
call fcn.00492f10
lea ecx, [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x44], esp
push eax
push edx
mov ecx, esi
mov byte [esp + 0x5e8], 0x1d
call fcn.00404d20
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xc4]
mov byte [esp + 0x5d4], 0x1c
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
je 0x41104c
mov ecx, dword [esp + 0x18]
push 0
call fcn.00494840
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x18]
dec eax
push eax
call fcn.00494860
jmp 0x41110a
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 0x404]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x400]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5eeb1c
push str.Hole
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x21c]
mov byte [esp + 0x5d4], 6
call fcn.004f6120
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x30], eax
jl 0x410e40
cmp dword [esp + 0x14], 0
jne case.0x40fed1.1
lea ecx, [esp + 0x14c]
call fcn.00520f90
lea ecx, [esp + 0x14c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x1e
call fcn.00403e40
cmp dword [esp + 0x5f0], 1
jne 0x411223
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xc8]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetEMID_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5e8], 0x1f
call fcn.00404d20
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xd8]
push edx
mov byte [esp + 0x5e4], 0x20
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5f4], 0x21
call fcn.00404d20
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x168]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5f8], 0x22
call fcn.0040e860
lea ecx, [esp + 0xcc]
mov dword [esp + 0x14], eax
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5d4], 0x1e
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x4115e1
lea edx, [esp + 0x2d8]
push edx
lea ecx, [esp + 0x150]
call fcn.00528fa0
push eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x5d8], 0x23
call fcn.004eede0
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x5d4], 0x25
call fcn.00481ef0
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0x128]
cmp eax, dword [esp + 0x40]
jge 0x41128c
mov ecx, dword [esp + 0x134]
sub ecx, dword [esp + 0x12c]
cmp ecx, dword [esp + 0x40]
jl 0x4115cd
mov eax, 1
cmp dword [esp + 0x604], eax
jne 0x4113c0
lea ecx, [esp + 0x1b4]
call fcn.00520f90
lea edx, [esp + 0x1b4]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x26
call fcn.00403e40
lea ecx, [esp + 0x44]
call fcn.00492140
lea ecx, [esp + 0x44]
call fcn.00492110
test eax, eax
je 0x4113b4
lea esp, [esp]
lea ecx, [esp + 0x44]
call fcn.00492110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x41139a
lea ecx, [esp + 0x44]
call fcn.00492110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x41139a
lea ecx, [esp + 0x1b4]
push ecx
mov ecx, edi
call fcn.00514450
cmp eax, 1
jne 0x41139a
push edi
push 0x24
call fcn.00515d00
add esp, 8
mov dword [esp + 0x38], eax
mov byte [esp + 0x5d4], 0x27
test eax, eax
je 0x41135f
lea edx, [esp + 0x1b4]
push edx
mov ecx, eax
call fcn.005150d0
mov dword [esp + 0x18], eax
jmp 0x411367
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x26
call fcn.00404bf0
test eax, eax
jne 0x41139a
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00515d90
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
push 0xff
mov ecx, edi
call eax
lea ecx, [esp + 0x44]
call fcn.00492170
lea ecx, [esp + 0x44]
call fcn.00492110
test eax, eax
jne 0x4112e0
lea ecx, [esp + 0x1b4]
jmp 0x4115c0
cmp dword [esp + 0x5f4], eax
jne 0x4115cd
lea ecx, [esp + 0x1c8]
call fcn.00520f90
lea ecx, [esp + 0x1c8]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x28
call fcn.00403e40
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x25c]
call fcn.00514070
push 0xff
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d8], 0x29
mov dword [esp + 0x268], 0
call fcn.00515ea0
lea ecx, [esp + 0x258]
call fcn.00524310
cmp eax, 3
jl 0x4115a5
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x258]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493290
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0xd0]
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5e8], 0x2a
call fcn.00404d20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xd0]
mov byte [esp + 0x5d4], 0x29
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x4115a5
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
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x42c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x428]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x608]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x258]
mov byte [esp + 0x5d4], 0x28
call fcn.00516bd0
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x5d4], 0x25
call fcn.00526cc0
lea ecx, [esp + 0x124]
mov byte [esp + 0x5d4], 0x1e
call fcn.004eee10
lea ecx, [esp + 0x14c]
mov byte [esp + 0x5d4], 6
call fcn.00526cc0
jmp case.0x40fed1.1
cmp dword [esp + 0x5f4], 1
jne case.0x40fed1.1
push 0
lea edx, [esp + 0x47c]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x478]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403cb0
push 1
lea ecx, [esp + 0x418]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x128], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x24], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x414]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403cb0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403cb0
push 2
lea edx, [esp + 0x300]
push edx
mov ecx, edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x24], dl
lea ecx, [esp + 0x2fc]
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
call ebx
fld dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 8
fstp qword [esp]
push eax
push ecx
lea edx, [esp + 0x12c]
push edx
lea ecx, [esp + 0x564]
call fcn.004f4950
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x554]
mov byte [esp + 0x5d8], 0x2b
call fcn.004f5140
mov ecx, dword [esp + 0x194]
mov eax, dword [esp + 0x19c]
mov edx, dword [esp + 0x198]
mov dword [esp + 0x174], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x1a8]
mov dword [esp + 0x178], edx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x188], eax
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x1b0]
push 4
lea eax, [esp + 0x178]
mov dword [esp + 0x190], ecx
push eax
lea ecx, [esp + 0x234]
mov dword [esp + 0x198], edx
call fcn.00513da0
push 0xff
lea ecx, [esp + 0x230]
mov byte [esp + 0x5d8], 0x2c
mov dword [esp + 0x23c], 0
call fcn.00515ea0
lea ecx, [esp + 0x22c]
call fcn.00524310
cmp eax, 3
lea ecx, [esp + 0x22c]
jl 0x41196e
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493290
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x5e8], 0x2d
call fcn.00404d20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d90
lea ecx, [esp + 0xd8]
mov byte [esp + 0x5d4], 0x2c
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x411967
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
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea edx, [esp + 0x314]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x24], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x28]
lea ecx, [esp + 0x310]
fld dword [eax + 0x10]
fstp dword [esp + 0x2c]
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 + 0x2c]
push eax
push ecx
fstp dword [esp]
push 0x5eeb1c
fld dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x608]
fstp dword [esp]
push 0x5eeb1c
push ecx
push str.ERROR_HOLE_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___float_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x22c]
mov byte [esp + 0x5d4], 0x2b
call fcn.00516bd0
lea ecx, [esp + 0x550]
mov byte [esp + 0x5d4], 6
call fcn.004f4a20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5d4], 5
call ebx
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x34]
inc edi
mov dword [esp + 0x54], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
cmp edi, eax
jl 0x40fe94
mov eax, dword [esp + 0x58]
inc eax
cmp eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
jl 0x40fe40
lea ecx, [esp + 0x44]
mov byte [esp + 0x5d4], 1
call fcn.00481ef0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5d4], 0
call fcn.00481ef0
lea ecx, [esp + 0x5f8]
mov dword [esp + 0x5d4], 0xffffffff
call fcn.005b9130
xor eax, eax
mov ecx, dword [esp + 0x5cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5b4]
xor ecx, esp
call fcn.005bf276
add esp, 0x5c4
ret 0x2c