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

Disassembly:
push 0xffffffffffffffff
push 0x5d8c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x5b8
mov eax, dword [0x638190]
xor eax, esp
mov dword [esp + 0x5b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
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.004c19c0
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.00492c00
mov ebx, 1
mov byte [esp + 0x5d4], bl
cmp dword [esp + 0x5e4], ebx
jne 0x40fbb0
lea ecx, [esp + 0x78]
call fcn.005bfee0
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x5d8], 2
call fcn.005c2c20
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], ebp
call fcn.00492c20
lea ecx, [esp + 0x5c]
call fcn.00459330
test eax, eax
je 0x40fb72
mov edi, edi
lea ecx, [esp + 0x5c]
call fcn.00459330
mov ebx, eax
mov ecx, ebx
call fcn.0047ea40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40fb5c
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 6
je 0x40fb4c
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 8
je 0x40fb4c
mov edx, dword [ebx]
mov eax, dword [edx + 0x38]
mov ecx, ebx
call eax
cmp eax, 7
jne 0x40fb5c
mov ecx, dword [esp + 0x78]
push ecx
lea ecx, [esp + 0x7c]
call fcn.005c2c20
mov dword [eax], ebx
lea ecx, [esp + 0x5c]
call fcn.00492c50
lea ecx, [esp + 0x5c]
call fcn.00459330
test eax, eax
jne 0x40fb00
mov ebp, dword [esp + 0x78]
xor ebx, ebx
test ebp, ebp
jle 0x40fb98
lea esp, [esp]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.004932c0
inc ebx
cmp ebx, ebp
jl 0x40fb80
lea ecx, [esp + 0x78]
mov byte [esp + 0x5d4], 1
call fcn.005c2ee0
xor ebp, ebp
mov ebx, 1
mov dword [esp + 0x4c], ebp
cmp dword [esp + 0x5f4], ebx
jne 0x40fd5f
lea eax, [esp + 0x5f8]
push ebp
push eax
call fcn.005be010
add esp, 8
test eax, eax
je 0x40fbe2
mov dword [esp + 0x5f4], ebp
jmp 0x40fd5f
lea ecx, [esp + 0x5f8]
push ebp
push ecx
call fcn.005be020
add esp, 8
test eax, eax
je 0x40fd5f
mov edx, dword [esp + 0x5f8]
mov ecx, dword [esi + 0x24]
push edx
call fcn.004c1a00
cmp eax, ebp
jne 0x40fc5e
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 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_____]
mov dword [esp + 0x5f4], ebp
mov dword [esp + 0x4c], ebp
jmp 0x40fd5f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov dword [esp + 0x4c], eax
cmp eax, ebp
jne 0x40fc7b
mov dword [esp + 0x5f4], ebp
jmp 0x40fd5f
cmp dword [esp + 0x5e4], ebx
jne 0x40fd5f
push eax
lea ecx, [esp + 0x3c]
call fcn.00492c00
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5d4], 3
call fcn.005bfee0
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d4], 4
call fcn.00492c20
lea ecx, [esp + 0x38]
call fcn.00459330
test eax, eax
je 0x40fd12
lea ecx, [esp + 0x38]
call fcn.00459330
mov ebx, eax
mov ecx, ebx
call fcn.0047ea40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x3c]
call eax
cmp eax, 0xcd
je 0x40fcfc
mov ecx, dword [esp + 0xdc]
push ecx
lea ecx, [esp + 0xe0]
call fcn.005c2c20
mov dword [eax], ebx
lea ecx, [esp + 0x38]
call fcn.00492c50
lea ecx, [esp + 0x38]
call fcn.00459330
test eax, eax
jne 0x40fcc4
mov ebp, dword [esp + 0xdc]
xor ebx, ebx
test ebp, ebp
jle 0x40fd38
nop
mov edx, dword [esp + 0xe4]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.004932c0
inc ebx
cmp ebx, ebp
jl 0x40fd20
lea ecx, [esp + 0xdc]
mov byte [esp + 0x5d4], 3
call fcn.005c2ee0
lea ecx, [esp + 0x38]
mov byte [esp + 0x5d4], 1
call fcn.00440ab0
xor ebp, ebp
mov ecx, dword [esi + 0x24]
push 2
call fcn.004c19c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x48]
call fcn.00492c00
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.00403c90
cmp ebx, ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ebp
jle 0x41196e
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 0x40fde7
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 0x411958
mov ecx, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBSymbol::GetType_void_]
cmp al, 3
je 0x411958
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 0x411958
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.0x40fe71.1
movzx eax, byte [eax + 0x4119e8]
jmp dword [eax*4 + 0x4119d4]
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.00403c90
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403c90
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.00403c90
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x214]
call fcn.004f73b0
fld dword [esp + 0x28]
fld dword [esp + 0x5ec]
mov byte [esp + 0x5d4], 7
fcompp
fnstsw ax
test ah, 0x41
jp 0x4100bd
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x20c]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493b30
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.00416f20
mov edx, dword [esp + 0x24]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xc0]
mov byte [esp + 0x5d4], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
je 0x40ffff
mov edi, dword [esp + 0x18]
push 0
mov ecx, edi
call fcn.004954b0
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x30]
dec eax
push eax
mov ecx, edi
call fcn.004954d0
lea ecx, [esp + 0x20c]
mov byte [esp + 0x5d4], 6
call fcn.004f74a0
jmp case.0x40fe71.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 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 + 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5f3b24
push str.Hole
push str.ERROR_HOLE_
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 + 0x20c]
mov byte [esp + 0x5d4], 6
call fcn.004f74a0
jmp case.0x40fe71.1
cmp dword [edi + 0x10], 2
jne 0x41033f
cmp dword [esp + 0x5f0], 1
jne 0x41033f
fld dword [edi + 0xc]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
mov dword [esp + 0x18], eax
test eax, eax
je case.0x40fe71.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.00403c90
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403c90
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.004f9f90
lea ecx, [esp + 0x2c0]
push ecx
lea ecx, [esp + 0x534]
mov byte [esp + 0x5d8], 9
call fcn.004f7e00
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x53c], edx
mov byte [esp + 0x5d4], 0xa
jge 0x410237
mov eax, edx
cmp dword [esp + 0x540], eax
jl 0x410312
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x530]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493c70
test eax, eax
jne 0x410312
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 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 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5f3b24
push str.Hole
push str.ERROR_HOLE_
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 + 0x530]
mov byte [esp + 0x5d4], 9
call fcn.004f7a50
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x5d4], 6
call fcn.004fa010
jmp case.0x40fe71.1
cmp dword [esp + 0x604], 0
jne 0x410357
cmp dword [esp + 0x5f4], 0
je case.0x40fe71.1
lea ecx, [esp + 0xe8]
call fcn.0052dcb0
xor ebp, ebp
cmp byte [esp + 0x30], 3
mov byte [esp + 0x5d4], 0xb
jne 0x4104ba
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 0x4103ec
sub eax, 1
je 0x4103e8
sub eax, 1
jne 0x4103fa
push 3
jmp 0x4103ee
push 2
jmp 0x4103ee
push 1
lea ecx, [esp + 0xec]
call fcn.005322b0
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.00403c90
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xf4]
call fcn.005311a0
xor eax, eax
cmp ebp, dword [edi + 0x10]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x18], eax
jge 0x41099e
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 0x41070a
cmp al, 6
je 0x4106ba
cmp al, 0xd
jne 0x410994
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x90], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x88], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa8], eax
call fcn.00403c90
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.004f14a0
push 0
push 0
push eax
lea ecx, [esp + 0x57c]
mov byte [esp + 0x5e0], 0x11
call fcn.0051a800
lea ecx, [esp + 0x4e8]
mov byte [esp + 0x5d4], 0x13
call fcn.004f1b60
lea eax, [esp + 0x570]
push eax
lea ecx, [esp + 0xec]
call fcn.00533340
lea ecx, [esp + 0x570]
jmp 0x410987
cmp dword [esp + 0x18], 1
je 0x410994
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa0], eax
call fcn.00403c90
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0xec]
mov dword [esp + 0xa4], eax
call fcn.005332e0
jmp 0x410994
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb0], eax
call fcn.00403c90
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 [0x5f3df0]
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00403c90
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 0x410805
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.005bee30
fld qword [esp + 0x1dc]
fst qword [esp + 0x64]
fcomp qword [0x5f3e08]
fnstsw ax
test ah, 1
jne 0x410900
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x4108f0
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 0x4108cc
fld dword [esp + 0x208]
fld dword [esp + 0x1f4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4108cc
push 0
lea ecx, [esp + 0xec]
call fcn.00535d10
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 0x410900
cmp eax, 3
jne 0x410900
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.004f12b0
push 0
push 0
push eax
lea ecx, [esp + 0x5a8]
mov byte [esp + 0x5e0], 0xe
call fcn.0051a800
lea ecx, [esp + 0x50c]
mov byte [esp + 0x5d4], 0x10
call fcn.004f1b60
lea eax, [esp + 0x59c]
push eax
lea ecx, [esp + 0xec]
call fcn.00533340
lea ecx, [esp + 0x59c]
mov byte [esp + 0x5d4], 0xb
call fcn.0051a830
inc ebp
cmp ebp, dword [edi + 0x10]
jl 0x4104d7
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00403c90
push eax
lea ecx, [esp + 0xf0]
call fcn.00533040
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0xec]
call fcn.00534000
push eax
lea ecx, [esp + 0x13c]
mov byte [esp + 0x5d8], 0x14
call fcn.004f0010
lea ecx, [esp + 0x2b0]
mov byte [esp + 0x5d4], 0x16
call fcn.00440ab0
mov edx, dword [esp + 0x144]
sub edx, dword [esp + 0x13c]
mov eax, dword [esp + 0x40]
cmp edx, eax
jge 0x410a24
mov ecx, dword [esp + 0x148]
sub ecx, dword [esp + 0x140]
cmp ecx, eax
jl 0x410d93
push 1
push 0
push 0
push 0
lea ecx, [esp + 0x4d8]
call fcn.0053c860
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5d4], 0x17
call fcn.004f9eb0
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.0053eba0
mov eax, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x30], ebp
test eax, eax
jle 0x410d65
cmp ebp, eax
jge 0x410a91
mov ecx, dword [esp + 0x74]
lea eax, [ecx + ebp*4]
jmp 0x410a9b
push ebp
lea ecx, [esp + 0x70]
call fcn.005c2c20
mov edx, dword [eax]
push edx
lea ecx, [esp + 0x164]
call fcn.00525180
cmp dword [esp + 0x604], 1
mov byte [esp + 0x5d4], 0x19
jne 0x410bbe
lea ecx, [esp + 0x44]
call fcn.00492c20
lea ecx, [esp + 0x44]
call fcn.00459330
test eax, eax
je 0x410d40
lea ebx, [ebx]
lea ecx, [esp + 0x44]
call fcn.00459330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x410b9b
lea ecx, [esp + 0x44]
call fcn.00459330
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 0x410b9b
lea ecx, [esp + 0x160]
push ecx
mov ecx, ebp
call fcn.00517fd0
cmp eax, 1
jne 0x410b9b
push ebp
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x38], eax
mov byte [esp + 0x5d4], 0x1a
test eax, eax
je 0x410b5f
lea edx, [esp + 0x160]
push edx
mov ecx, eax
call fcn.00518c50
mov dword [esp + 0x18], eax
jmp 0x410b67
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
push eax
push ebp
mov ecx, esi
mov byte [esp + 0x5dc], 0x19
call fcn.00404bd0
test eax, eax
jne 0x410b9b
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00519910
mov edx, dword [ebp]
mov eax, dword [edx + 0x78]
push 0xff
mov ecx, ebp
call eax
lea ecx, [esp + 0x44]
call fcn.00492c50
lea ecx, [esp + 0x44]
call fcn.00459330
test eax, eax
jne 0x410ae0
mov ebp, dword [esp + 0x30]
jmp 0x410d40
cmp dword [esp + 0x5f4], 1
jne 0x410d40
lea ecx, [esp + 0x160]
push ecx
lea ecx, [esp + 0x288]
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x288]
mov byte [esp + 0x5d8], 0x1b
mov dword [esp + 0x294], 0
call fcn.00519a20
lea ecx, [esp + 0x284]
call fcn.00527e90
cmp eax, 3
jl 0x410d2c
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x284]
push edx
push eax
call fcn.00493eb0
test eax, eax
jne 0x410d2c
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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5f3b24
push str.Hole
push str.ERROR_HOLE_
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 + 0x284]
mov byte [esp + 0x5d4], 0x19
call fcn.0051a750
lea ecx, [esp + 0x160]
mov byte [esp + 0x5d4], 0x18
call fcn.0052ac30
mov eax, dword [esp + 0x6c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x30], ebp
jl 0x410a88
lea ecx, [esp + 0x6c]
call fcn.004f9f00
lea ecx, [esp + 0x6c]
mov byte [esp + 0x5d4], 0x17
call fcn.00483100
lea ecx, [esp + 0x4c8]
mov byte [esp + 0x5d4], 0x16
call fcn.0053c9a0
lea ecx, [esp + 0x138]
mov byte [esp + 0x5d4], 0xb
call fcn.004f0040
lea ecx, [esp + 0xe8]
mov byte [esp + 0x5d4], 6
call fcn.00532fd0
mov ebp, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
jmp case.0x40fe71.1
xor eax, eax
cmp dword [edi + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
jle 0x4110db
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 0x4110be
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x98], eax
call fcn.00403c90
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 [0x5f3df0]
mov ecx, esi
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00403c90
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 [0x5f3e08]
fnstsw ax
test ah, 1
je 0x410f1a
fcomp qword [0x5f4350]
fnstsw ax
test ah, 0x41
jp 0x4110be
jmp 0x410f1c
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.004f73b0
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 0x4110aa
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x21c]
push edx
push eax
call fcn.00493b30
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.00416f20
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xc4]
mov byte [esp + 0x5d4], 0x1c
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x18], 0
je 0x410fec
mov ecx, dword [esp + 0x18]
push 0
call fcn.004954b0
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + 0x30]
mov ecx, dword [esp + 0x18]
dec eax
push eax
call fcn.004954d0
jmp 0x4110aa
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push edx
push str.InternalError_Kind_LayerName_PointX_PointY
push 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0
lea eax, [esp + 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
fstp dword [esp]
push 0x5f3b24
push str.Hole
push str.ERROR_HOLE_
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 + 0x21c]
mov byte [esp + 0x5d4], 6
call fcn.004f74a0
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x30], eax
jl 0x410de0
cmp dword [esp + 0x14], 0
jne case.0x40fe71.1
lea ecx, [esp + 0x14c]
call fcn.00524b10
lea ecx, [esp + 0x14c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x1e
call fcn.00403e20
cmp dword [esp + 0x5f0], 1
jne 0x4111c3
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.00416f20
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.00416f20
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.0040e800
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 0x411581
lea edx, [esp + 0x2d8]
push edx
lea ecx, [esp + 0x150]
call fcn.0052ce50
push eax
lea ecx, [esp + 0x128]
mov byte [esp + 0x5d8], 0x23
call fcn.004f0010
lea ecx, [esp + 0x2d8]
mov byte [esp + 0x5d4], 0x25
call fcn.00440ab0
mov eax, dword [esp + 0x130]
sub eax, dword [esp + 0x128]
cmp eax, dword [esp + 0x40]
jge 0x41122c
mov ecx, dword [esp + 0x134]
sub ecx, dword [esp + 0x12c]
cmp ecx, dword [esp + 0x40]
jl 0x41156d
mov eax, 1
cmp dword [esp + 0x604], eax
jne 0x411360
lea ecx, [esp + 0x1b4]
call fcn.00524b10
lea edx, [esp + 0x1b4]
push edx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x26
call fcn.00403e20
lea ecx, [esp + 0x44]
call fcn.00492c20
lea ecx, [esp + 0x44]
call fcn.00459330
test eax, eax
je 0x411354
lea esp, [esp]
lea ecx, [esp + 0x44]
call fcn.00459330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x41133a
lea ecx, [esp + 0x44]
call fcn.00459330
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 0x41133a
lea ecx, [esp + 0x1b4]
push ecx
mov ecx, edi
call fcn.00517fd0
cmp eax, 1
jne 0x41133a
push edi
push 0x24
call fcn.00519880
add esp, 8
mov dword [esp + 0x38], eax
mov byte [esp + 0x5d4], 0x27
test eax, eax
je 0x4112ff
lea edx, [esp + 0x1b4]
push edx
mov ecx, eax
call fcn.00518c50
mov dword [esp + 0x18], eax
jmp 0x411307
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x26
call fcn.00404bd0
test eax, eax
jne 0x41133a
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00519910
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
push 0xff
mov ecx, edi
call eax
lea ecx, [esp + 0x44]
call fcn.00492c50
lea ecx, [esp + 0x44]
call fcn.00459330
test eax, eax
jne 0x411280
lea ecx, [esp + 0x1b4]
jmp 0x411560
cmp dword [esp + 0x5f4], eax
jne 0x41156d
lea ecx, [esp + 0x1c8]
call fcn.00524b10
lea ecx, [esp + 0x1c8]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x5dc], 0x28
call fcn.00403e20
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x25c]
call fcn.00517bb0
push 0xff
lea ecx, [esp + 0x25c]
mov byte [esp + 0x5d8], 0x29
mov dword [esp + 0x268], 0
call fcn.00519a20
lea ecx, [esp + 0x258]
call fcn.00527e90
cmp eax, 3
jl 0x411545
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x258]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00493eb0
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.00416f20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xd0]
mov byte [esp + 0x5d4], 0x29
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x411545
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 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 + 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x608]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_HOLE_
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 + 0x258]
mov byte [esp + 0x5d4], 0x28
call fcn.0051a750
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x5d4], 0x25
call fcn.0052ac30
lea ecx, [esp + 0x124]
mov byte [esp + 0x5d4], 0x1e
call fcn.004f0040
lea ecx, [esp + 0x14c]
mov byte [esp + 0x5d4], 6
call fcn.0052ac30
jmp case.0x40fe71.1
cmp dword [esp + 0x5f4], 1
jne case.0x40fe71.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.00403c90
fld dword [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.00403c90
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.00403c90
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.00403c90
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.004f5cd0
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x554]
mov byte [esp + 0x5d8], 0x2b
call fcn.004f64c0
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.005178e0
push 0xff
lea ecx, [esp + 0x230]
mov byte [esp + 0x5d8], 0x2c
mov dword [esp + 0x23c], 0
call fcn.00519a20
lea ecx, [esp + 0x22c]
call fcn.00527e90
cmp eax, 3
lea ecx, [esp + 0x22c]
jl 0x41190e
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00493eb0
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.00416f20
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.00405d30
lea ecx, [esp + 0xd8]
mov byte [esp + 0x5d4], 0x2c
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [esp + 0x14], 0
jne 0x411907
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 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 + 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 0x5f3b24
fld dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x608]
fstp dword [esp]
push 0x5f3b24
push ecx
push str.ERROR_HOLE_
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 + 0x22c]
mov byte [esp + 0x5d4], 0x2b
call fcn.0051a750
lea ecx, [esp + 0x550]
mov byte [esp + 0x5d4], 6
call fcn.004f5da0
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 0x40fe34
mov eax, dword [esp + 0x58]
inc eax
cmp eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
jl 0x40fde0
lea ecx, [esp + 0x44]
mov byte [esp + 0x5d4], 1
call fcn.00440ab0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5d4], 0
call fcn.00440ab0
lea ecx, [esp + 0x5f8]
mov dword [esp + 0x5d4], 0xffffffff
call fcn.005bd9f0
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.005c3bb6
add esp, 0x5c4
ret 0x2c