Function at 0x408fc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d111a
mov eax, dword fs:[0]
push eax
sub esp, 0x6bc
mov eax, dword [0x62fda0]
xor eax, esp
mov dword [esp + 0x6b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x6d0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6e0]
mov esi, ecx
mov dword [esp + 0x88], ebx
lea eax, [esp + 0x6e8]
xor ebp, ebp
push eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x6dc], ebp
mov dword [esp + 0x4c], ebp
call fcn.005b77d0
fld dword [esp + 0x6f4]
push ecx
mov ecx, esi
fstp dword [esp]
mov byte [esp + 0x6dc], 1
call fcn.004038a0
mov ecx, dword [esp + 0x124]
push ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x5c], eax
call fcn.004bee70
cmp eax, ebp
jne 0x4090d3
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._layer_is_Not_Found_in_Board_Designer.
lea eax, [esp + 0x6f0]
push eax
push str.BDExport::Warning_
push 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
add esp, 8
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x124]
mov byte [esp + 0x6d8], 0
call fcn.005b7180
lea ecx, [esp + 0x6e8]
mov dword [esp + 0x6d8], 0xffffffff
call fcn.005b7180
mov eax, 1
jmp 0x40aa8f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x60], eax
call fcn.00490160
cmp dword [esp + 0x6e4], 1
mov byte [esp + 0x6d8], 2
jne 0x4091ae
lea ecx, [esp + 0xfc]
call fcn.005bbf60
lea ecx, [esp + 0x70]
mov byte [esp + 0x6d8], 3
call fcn.00490180
lea ecx, [esp + 0x70]
call fcn.00459dc0
test eax, eax
je 0x409167
lea ebx, [ebx]
lea ecx, [esp + 0x70]
call fcn.00459dc0
mov ecx, dword [esp + 0xfc]
push ecx
lea ecx, [esp + 0x100]
mov edi, eax
call fcn.005bbe80
lea ecx, [esp + 0x70]
mov dword [eax], edi
call fcn.004901b0
lea ecx, [esp + 0x70]
call fcn.00459dc0
test eax, eax
jne 0x409130
mov ebp, dword [esp + 0xfc]
xor edi, edi
test ebp, ebp
jle 0x409198
jmp 0x409180
mov edx, dword [esp + 0x104]
mov eax, dword [edx + edi*4]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00490820
inc edi
cmp edi, ebp
jl 0x409180
lea ecx, [esp + 0xfc]
mov byte [esp + 0x6d8], 2
call fcn.005b9680
xor ebp, ebp
mov edi, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBBoard____thiscall_BMBSheet::GetBoard_void_]
mov ecx, ebx
call edi
mov dword [esp + 0x1c], eax
cmp eax, ebp
jne 0x4091d6
lea ecx, [esp + 0x70]
mov byte [esp + 0x6d8], 1
call fcn.0045c490
jmp 0x40909e
mov ecx, ebx
call edi
mov ecx, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
mov ebx, dword [sym.imp.BMB_NX_C9.dll_public_virtual:_void___thiscall_BMB2DGeUnit::destructor_void_]
mov dword [esp + 0x54], ebp
cmp eax, ebp
mov ebp, dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeUnit___thiscall_BMB2DGeometry::GetGeUnit_int_]
mov dword [esp + 0x64], eax
mov dword [esp + 0x94], eax
jle 0x409c9d
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x20]
mov edi, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DGeUnit::constructor_void_]
movzx ecx, byte [edi + 8]
mov byte [esp + 0x18], cl
lea ecx, [esp + 0xe0]
mov byte [esp + 0x6d8], 4
call fcn.00528000
mov cl, byte [esp + 0x18]
movzx eax, cl
mov byte [esp + 0x6d8], 5
cmp eax, 5
ja case.default.0x409254
jmp dword [eax*4 + 0x40aabc]
push 0
lea edx, [esp + 0x460]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x45c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.004038a0
push 1
lea ecx, [esp + 0x4ec]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, edi
mov dword [esp + 0x154], eax
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x4e8]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14c]
push edx
lea ecx, [esp + 0x1e4]
call fcn.004f2bd0
lea eax, [esp + 0x1dc]
push eax
lea ecx, [esp + 0x264]
mov byte [esp + 0x6dc], 6
call fcn.0051f700
lea ecx, [esp + 0x260]
push ecx
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x6dc], 7
call fcn.00512280
mov edx, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x2c0]
mov byte [esp + 0x6dc], 8
mov dword [esp + 0x2cc], edx
call fcn.005140a0
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x2c0]
call fcn.00526f80
mov byte [esp + 0x6d8], 7
lea ecx, [esp + 0x2bc]
call fcn.00514dd0
lea ecx, [esp + 0x260]
mov byte [esp + 0x6d8], 6
call fcn.00524ec0
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x6d8], 5
call fcn.004f2cc0
jmp case.default.0x409254
push 0
lea ecx, [esp + 0x500]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x4fc]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.004038a0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x138], eax
push 1
lea eax, [esp + 0x384]
push eax
mov ecx, edi
mov dword [esp + 0x144], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x380]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov edi, eax
call fcn.004038a0
fldz
sub esp, 8
fstp qword [esp]
push eax
push edi
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x5f0]
call fcn.004f3230
lea ecx, [esp + 0x29c]
push ecx
lea ecx, [esp + 0x5e0]
mov byte [esp + 0x6dc], 9
call fcn.004f3310
push eax
lea ecx, [esp + 0x228]
mov byte [esp + 0x6dc], 0xa
call fcn.004ecfc0
lea edx, [esp + 0x224]
push edx
lea ecx, [esp + 0x28c]
mov byte [esp + 0x6dc], 0xb
call fcn.0051f5f0
lea ecx, [esp + 0x224]
mov byte [esp + 0x6d8], 0xd
call fcn.004ecff0
lea ecx, [esp + 0x29c]
mov byte [esp + 0x6d8], 0xe
call fcn.0045c490
lea eax, [esp + 0x288]
push eax
lea ecx, [esp + 0x2ec]
call fcn.00512280
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2f4], ecx
push 0xff
lea ecx, [esp + 0x2ec]
mov byte [esp + 0x6dc], 0xf
call fcn.005140a0
lea edx, [esp + 0xe0]
push edx
lea ecx, [esp + 0x2ec]
call fcn.00526f80
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x6d8], 0xe
call fcn.00514dd0
lea ecx, [esp + 0x288]
mov byte [esp + 0x6d8], 9
call fcn.00524ec0
lea ecx, [esp + 0x5dc]
mov byte [esp + 0x6d8], 5
call fcn.004f3300
jmp case.default.0x409254
xor eax, eax
mov dword [esp + 0x18], eax
cmp cl, 3
jne 0x4096f4
push eax
lea eax, [esp + 0x3ac]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x28], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x3a8]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
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 + 0x18]
je 0x409628
sub eax, 1
je 0x409624
sub eax, 1
jne 0x409636
push 3
jmp 0x40962a
push 2
jmp 0x40962a
push 1
lea ecx, [esp + 0xe4]
call fcn.0052c7b0
push 1
lea eax, [esp + 0x3d4]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x3d0]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x54], eax
call fcn.004038a0
mov dword [esp + 0x14], eax
push 2
lea eax, [esp + 0x514]
push eax
mov ecx, edi
mov dword [esp + 0x20], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x510]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov ecx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0xec]
call fcn.0052b540
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, dword [edi + 0x10]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0x50], eax
jge case.default.0x409254
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x53c]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x28], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
lea ecx, [esp + 0x538]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
mov al, byte [esp + 0x28]
cmp al, 3
je 0x40994e
cmp al, 6
je 0x4098fe
cmp al, 0xd
jne 0x409bcf
fld dword [esp + 0x2c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xcc], eax
call fcn.004038a0
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x18]
inc eax
push eax
lea edx, [esp + 0x4b0]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x4ac]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xa4], eax
call fcn.004038a0
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x18]
inc eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x410]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x40c]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x84], eax
call fcn.004038a0
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x558]
call fcn.004ee430
push 0
push 0
push eax
lea ecx, [esp + 0x680]
mov byte [esp + 0x6e4], 0x15
call fcn.00514e80
lea ecx, [esp + 0x54c]
mov byte [esp + 0x6d8], 0x17
call fcn.004eeaf0
lea eax, [esp + 0x674]
push eax
lea ecx, [esp + 0xe4]
call fcn.0052d840
lea ecx, [esp + 0x674]
jmp 0x409bc2
cmp dword [esp + 0x50], 1
je 0x409bcf
fld dword [esp + 0x2c]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xdc], eax
call fcn.004038a0
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe0], eax
call fcn.0052d7e0
jmp 0x409bcf
fld dword [esp + 0x2c]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
call fcn.004038a0
fld dword [esp + 0x30]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xb4], eax
call fcn.004038a0
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x18]
inc eax
push eax
lea edx, [esp + 0x398]
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x394]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
push ecx
fmul qword [0x5ecc78]
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.004038a0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc eax
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x3fc]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x28], dl
lea ecx, [esp + 0x3f8]
fld dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [eax + 0x10]
fstp dword [esp + 0x30]
call ebx
fld dword [esp + 0x2c]
mov dword [esp + 0x4c], 0
fst qword [esp + 0x78]
fld dword [esp + 0x30]
fst qword [esp + 0x68]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x409a4e
mov dword [esp + 0x4c], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x174]
mov dword [esp + 0x68], esp
push eax
lea ecx, [esp + 0x74]
call fcn.005b8630
fld qword [esp + 0x16c]
fst qword [esp + 0x68]
fcomp qword [0x5ecc90]
fnstsw ax
test ah, 1
jne 0x409b3b
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x409b2e
push 0
lea ecx, [esp + 0x180]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x1a8]
push edx
mov ecx, edi
mov byte [esp + 0x6e0], 0x10
call ebp
fld dword [esp + 0x188]
fld dword [esp + 0x1b0]
mov byte [esp + 0x6d8], 0x11
fucompp
fnstsw ax
test ah, 0x44
jp 0x409b0a
fld dword [esp + 0x18c]
fld dword [esp + 0x1b4]
fucompp
fnstsw ax
test ah, 0x44
jp 0x409b0a
push 0
lea ecx, [esp + 0xe4]
call fcn.0052ff50
fld qword [esp + 0x78]
fstp qword [esp + 0x68]
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x6d8], 0x10
call ebx
lea ecx, [esp + 0x17c]
mov byte [esp + 0x6d8], 5
call ebx
jmp 0x409b3b
cmp eax, 3
jne 0x409b3b
fld qword [esp + 0x78]
fstp qword [esp + 0x68]
mov eax, dword [esp + 0x4c]
fld qword [esp + 0x68]
mov ecx, dword [esp + 0x14]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x6c], esp
fstp qword [eax]
fld qword [esp + 0x84]
sub esp, 8
mov eax, esp
mov dword [esp + 0x74], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xc8]
push edx
lea ecx, [esp + 0x5b0]
call fcn.004ee240
push 0
push 0
push eax
lea ecx, [esp + 0x628]
mov byte [esp + 0x6e4], 0x12
call fcn.00514e80
lea ecx, [esp + 0x594]
mov byte [esp + 0x6d8], 0x14
call fcn.004eeaf0
lea eax, [esp + 0x61c]
push eax
lea ecx, [esp + 0xe4]
call fcn.0052d840
lea ecx, [esp + 0x61c]
mov byte [esp + 0x6d8], 5
call fcn.00514eb0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
jl 0x409713
jmp case.default.0x409254
lea ecx, [esp + 0xe0]
push ecx
push edi
mov ecx, esi
call fcn.004040a0
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0xe8]
call fcn.0052d540
push 0xff
lea ecx, [esp + 0xe4]
call fcn.0052e6c0
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xe0]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00491200
test eax, eax
jne 0x409c68
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x1c]
inc dword [esp + 0x48]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x6d8], 4
call fcn.0052d4d0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6d8], 2
call ebx
mov eax, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x54], eax
jl 0x409205
cmp dword [esp + 0x6f8], 1
jne 0x40a997
mov ecx, dword [esp + 0x88]
push 0xb
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov ecx, dword [esp + 0x64]
add ecx, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x54], 0
test eax, eax
jle 0x40a997
nop
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBHole____thiscall_BMBSheet::GetHole_int_]
mov ecx, eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBSymbol::GetType_void_]
cmp al, 3
je 0x40a984
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
test eax, eax
jle 0x40a984
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMB2DGeometry____thiscall_BMBElement::Get2DShape_int_]
lea ecx, [esp + 0x34]
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 + 0x18], al
movzx eax, al
mov byte [esp + 0x6d8], 0x18
cmp eax, 5
ja case.default.0x409d56
jmp dword [eax*4 + 0x40aad4]
push 0
lea ecx, [esp + 0x3c0]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x3bc]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.004038a0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x130], eax
push 1
lea eax, [esp + 0x424]
push eax
mov ecx, edi
mov dword [esp + 0x13c], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x420]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x1d4]
call fcn.004f2bd0
lea ecx, [esp + 0x1cc]
push ecx
lea ecx, [esp + 0x250]
mov byte [esp + 0x6dc], 0x19
call fcn.0051f700
lea edx, [esp + 0x24c]
push edx
lea ecx, [esp + 0x344]
mov byte [esp + 0x6dc], 0x1a
call fcn.00512280
mov edi, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x344]
mov byte [esp + 0x6dc], 0x1b
mov dword [esp + 0x350], edi
call fcn.005140a0
lea ecx, [esp + 0x150]
call fcn.00528000
mov byte [esp + 0x6d8], 0x1c
push 1
lea ecx, [esp + 0x154]
call fcn.0052c7b0
push 0
push 0x64
push 0x64
lea ecx, [esp + 0x15c]
call fcn.0052b540
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x344]
call fcn.00526f80
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x158]
call fcn.0052d540
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x150]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00491200
test eax, eax
jne 0x409f23
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x4c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
inc dword [esp + 0x48]
lea ecx, [esp + 0x150]
mov byte [esp + 0x6d8], 0x1b
call fcn.0052d4d0
lea ecx, [esp + 0x340]
mov byte [esp + 0x6d8], 0x1a
call fcn.00514dd0
lea ecx, [esp + 0x24c]
mov byte [esp + 0x6d8], 0x19
call fcn.00524ec0
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x6d8], 0x18
call fcn.004f2cc0
jmp case.default.0x409d56
push 0
lea ecx, [esp + 0x3e8]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x3e4]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x18], eax
call fcn.004038a0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x140], eax
push 1
lea eax, [esp + 0x44c]
push eax
mov ecx, edi
mov dword [esp + 0x14c], edx
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x448]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov edi, eax
call fcn.004038a0
fldz
sub esp, 8
fstp qword [esp]
push eax
push edi
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x610]
call fcn.004f3230
lea ecx, [esp + 0x2ac]
push ecx
lea ecx, [esp + 0x600]
mov byte [esp + 0x6dc], 0x1d
call fcn.004f3310
push eax
lea ecx, [esp + 0x23c]
mov byte [esp + 0x6dc], 0x1e
call fcn.004ecfc0
lea edx, [esp + 0x238]
push edx
lea ecx, [esp + 0x278]
mov byte [esp + 0x6dc], 0x1f
call fcn.0051f5f0
lea ecx, [esp + 0x238]
mov byte [esp + 0x6d8], 0x21
call fcn.004ecff0
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x6d8], 0x22
call fcn.0045c490
lea eax, [esp + 0x274]
push eax
lea ecx, [esp + 0x318]
call fcn.00512280
mov edi, dword [esp + 0x58]
push 0xff
lea ecx, [esp + 0x318]
mov byte [esp + 0x6dc], 0x23
mov dword [esp + 0x324], edi
call fcn.005140a0
lea ecx, [esp + 0x208]
call fcn.00528000
lea ecx, [esp + 0x208]
push ecx
lea ecx, [esp + 0x318]
mov byte [esp + 0x6dc], 0x24
call fcn.00526f80
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x210]
call fcn.0052d540
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + 0x20]
lea edx, [esp + 0x208]
push edx
push eax
call fcn.00491200
test eax, eax
jne 0x40a185
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
mov ecx, dword [esp + 0x50]
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
inc dword [esp + 0x48]
lea ecx, [esp + 0x208]
mov byte [esp + 0x6d8], 0x23
call fcn.0052d4d0
lea ecx, [esp + 0x314]
mov byte [esp + 0x6d8], 0x22
call fcn.00514dd0
lea ecx, [esp + 0x274]
mov byte [esp + 0x6d8], 0x1d
call fcn.00524ec0
lea ecx, [esp + 0x5fc]
mov byte [esp + 0x6d8], 0x18
call fcn.004f3300
jmp case.default.0x409d56
lea ecx, [esp + 0x108]
call fcn.00528000
cmp byte [esp + 0x18], 3
mov byte [esp + 0x6d8], 0x25
mov dword [esp + 0x1c], 0
jne 0x40a33c
push 0
lea edx, [esp + 0x474]
push edx
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dl, byte [eax + 8]
mov byte [esp + 0x3c], dl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x470]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
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 + 0x18]
je 0x40a272
sub eax, 1
je 0x40a26e
sub eax, 1
jne 0x40a280
push 3
jmp 0x40a274
push 2
jmp 0x40a274
push 1
lea ecx, [esp + 0x10c]
call fcn.0052c7b0
push 1
lea eax, [esp + 0x4d8]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x4d4]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x1c], eax
call fcn.004038a0
mov dword [esp + 0x14], eax
push 2
lea eax, [esp + 0x438]
push eax
mov ecx, edi
mov dword [esp + 0x24], 2
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x434]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.0052b540
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp edx, dword [edi + 0x10]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0x18], eax
jge 0x40a846
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x528]
push ecx
mov ecx, edi
call ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov cl, byte [eax + 8]
mov byte [esp + 0x3c], cl
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
lea ecx, [esp + 0x524]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
mov al, byte [esp + 0x3c]
cmp al, 3
je 0x40a59b
cmp al, 6
je 0x40a54b
cmp al, 0xd
jne 0x40a834
fld dword [esp + 0x40]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0x9c], eax
call fcn.004038a0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
inc eax
push eax
lea edx, [esp + 0x370]
push edx
mov ecx, edi
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x36c]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xac], eax
call fcn.004038a0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x1c]
inc eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x49c]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x498]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xbc], eax
call fcn.004038a0
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0x57c]
call fcn.004ee430
push 0
push 0
push eax
lea ecx, [esp + 0x654]
mov byte [esp + 0x6e4], 0x2b
call fcn.00514e80
lea ecx, [esp + 0x570]
mov byte [esp + 0x6d8], 0x2d
call fcn.004eeaf0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x10c]
call fcn.0052d840
lea ecx, [esp + 0x648]
jmp 0x40a827
cmp dword [esp + 0x18], 1
je 0x40a834
fld dword [esp + 0x40]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xd4], eax
call fcn.004038a0
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0xd8], eax
call fcn.0052d7e0
jmp 0x40a834
fld dword [esp + 0x40]
xor eax, eax
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
call fcn.004038a0
fld dword [esp + 0x44]
push ecx
mov ecx, esi
fstp dword [esp]
mov dword [esp + 0xc4], eax
call fcn.004038a0
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x1c]
inc eax
push eax
lea edx, [esp + 0x488]
push edx
mov ecx, edi
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x484]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
push ecx
fmul qword [0x5ecc78]
mov ecx, esi
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.004038a0
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
inc eax
push eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x4c4]
push eax
mov ecx, edi
call ebp
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
movzx edx, byte [eax + 8]
mov byte [esp + 0x3c], dl
lea ecx, [esp + 0x4c0]
fld dword [eax + 0xc]
fstp dword [esp + 0x40]
fld dword [eax + 0x10]
fstp dword [esp + 0x44]
call ebx
fld dword [esp + 0x40]
mov dword [esp + 0x14], 0
fst qword [esp + 0x78]
fld dword [esp + 0x44]
fst qword [esp + 0x8c]
fldz
fcompp
fnstsw ax
test ah, 5
jnp 0x40a6a1
mov dword [esp + 0x14], 1
sub esp, 8
mov eax, esp
fstp qword [eax]
lea eax, [esp + 0x17c]
mov dword [esp + 0x70], esp
push eax
lea ecx, [esp + 0x98]
call fcn.005b8630
fld qword [esp + 0x174]
fst qword [esp + 0x8c]
fcomp qword [0x5ecc90]
fnstsw ax
test ah, 1
jne 0x40a79a
mov eax, dword [edi + 0x10]
cmp eax, 5
jne 0x40a78a
push 0
lea ecx, [esp + 0x194]
push ecx
mov ecx, edi
call ebp
push 4
lea edx, [esp + 0x1bc]
push edx
mov ecx, edi
mov byte [esp + 0x6e0], 0x26
call ebp
fld dword [esp + 0x19c]
fld dword [esp + 0x1c4]
mov byte [esp + 0x6d8], 0x27
fucompp
fnstsw ax
test ah, 0x44
jp 0x40a766
fld dword [esp + 0x1a0]
fld dword [esp + 0x1c8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40a766
push 0
lea ecx, [esp + 0x10c]
call fcn.0052ff50
fld qword [esp + 0x78]
fstp qword [esp + 0x8c]
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x6d8], 0x26
call ebx
lea ecx, [esp + 0x190]
mov byte [esp + 0x6d8], 0x25
call ebx
jmp 0x40a79a
cmp eax, 3
jne 0x40a79a
fld qword [esp + 0x78]
fstp qword [esp + 0x8c]
mov eax, dword [esp + 0x14]
fld qword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
push eax
sub esp, 8
mov eax, esp
mov dword [esp + 0x74], esp
fstp qword [eax]
fld qword [esp + 0x84]
sub esp, 8
mov eax, esp
mov dword [esp + 0x7c], esp
fstp qword [eax]
push ecx
lea edx, [esp + 0xd8]
push edx
lea ecx, [esp + 0x5d4]
call fcn.004ee240
push 0
push 0
push eax
lea ecx, [esp + 0x6ac]
mov byte [esp + 0x6e4], 0x28
call fcn.00514e80
lea ecx, [esp + 0x5b8]
mov byte [esp + 0x6d8], 0x2a
call fcn.004eeaf0
lea eax, [esp + 0x6a0]
push eax
lea ecx, [esp + 0x10c]
call fcn.0052d840
lea ecx, [esp + 0x6a0]
mov byte [esp + 0x6d8], 0x25
call fcn.00514eb0
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
jl 0x40a360
fld dword [edi + 0xc]
push 0xffffffffffffffff
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.004038a0
push eax
lea ecx, [esp + 0x110]
call fcn.0052d540
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x108]
push ecx
mov ecx, dword [esi + 0x20]
push edx
call fcn.00491200
test eax, eax
jne 0x40a8b3
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x4c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
inc dword [esp + 0x48]
lea ecx, [esp + 0x108]
jmp 0x40a94e
lea ecx, [esp + 0x1ec]
call fcn.00528000
lea ecx, [esp + 0x1ec]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x6e0], 0x2e
call fcn.004040a0
mov edx, dword [esp + 0x58]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x1f4]
call fcn.0052d540
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x1ec]
push eax
push ecx
mov ecx, dword [esi + 0x20]
call fcn.00491200
test eax, eax
jne 0x40a947
mov edx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ecx, dword [esp + 0x4c]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_long_int___thiscall_BMBElement::GetID_void_]
push eax
push str.BDExport::Export_Data_Error_ID:
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
inc dword [esp + 0x48]
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x6d8], 0x18
call fcn.0052d4d0
lea ecx, [esp + 0x34]
mov byte [esp + 0x6d8], 2
call ebx
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edi
mov dword [esp + 0x50], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBElement::Count2DShape_void_]
cmp edi, eax
jl 0x409d20
mov eax, dword [esp + 0x54]
inc eax
cmp eax, dword [esp + 0x60]
mov dword [esp + 0x54], eax
jl 0x409ce0
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
push eax
push str.ExportData_BMBCount_TargetCount_Success_Warning_Error
mov esi, ebx
push 0x62ff68
sub esi, edi
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov edx, dword [esp + 0x94]
push ecx
push edi
push 0x5eca60
push 0
push 0x5eca60
push esi
push 0x5eca60
push ebx
push 0x5eca60
push edx
push str.DOCUMENT_
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x70]
mov byte [esp + 0x6d8], 1
call fcn.0045c490
lea ecx, [esp + 0x124]
mov byte [esp + 0x6d8], 0
call fcn.005b7180
lea ecx, [esp + 0x6e8]
mov dword [esp + 0x6d8], 0xffffffff
call fcn.005b7180
xor eax, eax
mov ecx, dword [esp + 0x6d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6b8]
xor ecx, esp
call fcn.005bd2c6
add esp, 0x6c8
ret 0x1c