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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6164cc
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x685e38]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x1c4], ebx
jne 0x42e9c4
cmp dword [esi + 0x4c], ebx
je 0x43037c
cmp dword [esi + 0x50], ebx
je 0x43037c
cmp dword [esi + 0x54], ebx
je 0x43037c
cmp dword [esi + 0x48], ebx
je 0x43037c
mov ecx, dword [0x68615c]
push ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutKind_unsigned_char_]
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x633c9c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x184], ebx
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x633c9c
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42ea5d
mov ecx, dword [0x68615c]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBProduct::GetCADPath_void_]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x184], 1
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 0
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x58]
push ecx
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutTitle_char_const__]
mov ecx, dword [0x68615c]
push str.BD_Translator_Version_1.0.0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutAuthor_char_const__]
mov ecx, dword [0x68615c]
push 2
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutHowToCreate_unsigned_char_]
push 0x170
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
mov byte [esp + 0x180], 2
cmp edi, ebx
je 0x42eab2
mov edx, dword [0x68615c]
push edx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::constructor_class_BMBProduct__]
mov dword [edi], vtable.BMBSheet.0
jmp 0x42eab4
xor edi, edi
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x58]
push eax
mov dword [esp + 0x98], edi
mov byte [esp + 0x184], 0
call fcn.0047d3b0
mov ebx, eax
test ebx, ebx
je 0x42eb82
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x34], ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042afc0
push ecx
lea eax, [esp + 0x38]
fstp dword [esp]
push eax
mov ecx, esi
call fcn.0042afc0
push ecx
mov ecx, edi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::PutGridPitch_float__float_]
push 0
push 0
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::PutGridEmpInterval_int__int_]
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::GetViewingRule_struct_BMB_ViewingRule___]
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042afc0
fstp dword [esp + 0xcc]
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xd0]
mov ecx, dword [0x68615c]
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0xdc], 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutViewingRule_struct_BMB_ViewingRule___]
push 0
push 0
lea ecx, [esp + 0xfc]
call fcn.00517c10
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x184], 3
call fcn.0047d320
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x184], 4
call fcn.00518050
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 3
call fcn.00517ca0
mov edx, dword [esp + 0xf8]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042afc0
fstp dword [esp + 0x30]
mov ecx, dword [esp + 0xfc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x100]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042afc0
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x104]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042afc0
fstp dword [esp + 0x1c]
push 0x18
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x180], 5
test ebx, ebx
je 0x42ec8d
fld dword [esp + 0x1c]
sub esp, 0x10
fstp dword [esp + 0xc]
mov ecx, ebx
fld dword [esp + 0x44]
fstp dword [esp + 8]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMB2DArea::constructor_float__float__float__float_]
mov dword [ebx], vtable.BMB2DArea.0
jmp 0x42ec8f
xor ebx, ebx
mov ecx, dword [sym.imp.EMXML_C9.dll_const_EMXMLInterface::vftable]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [sym.imp.BMB_NX_C9.dll_const_BMB2DArea::vftable]
mov dword [eax], ecx
fld dword [ebx + 8]
fstp dword [eax + 8]
mov ecx, edi
fld dword [ebx + 0xc]
mov byte [esp + 0x198], 3
fstp dword [eax + 0xc]
mov dword [esp + 0x44], esp
fld dword [ebx + 0x10]
fstp dword [eax + 0x10]
fld dword [ebx + 0x14]
fstp dword [eax + 0x14]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::PutArea_class_BMB2DArea_]
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
push edi
mov ecx, esi
call fcn.0042d6e0
push 0xb4
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x180], 6
test ebx, ebx
je 0x42ed25
mov ecx, dword [0x686164]
push ecx
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::constructor_int_]
mov dword [ebx], vtable.BMBBoard.1.0
mov dword [ebx + 0x70], vtable.BMBBoard.0
jmp 0x42ed27
xor ebx, ebx
mov edi, 1
add dword [0x686164], edi
push 0
mov ecx, ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x184], 3
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutLayerNumber_short_int_]
mov ecx, dword [esi + 0x4c]
call fcn.0047d460
mov eax, dword [eax + 0x24]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x38], esp
push eax
push edx
mov ecx, esi
mov dword [esp + 0xd8], eax
call fcn.0042ad20
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, ebx
mov byte [esp + 0x184], 7
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutMaterial_char_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esi + 0x4c]
call fcn.0047d460
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x42edb8
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 8]
test dword [ecx + 0xc8], 0x100
je 0x42edde
fldz
fcomp dword [esi + 0x15c]
fnstsw ax
test ah, 5
jp 0x42edde
fld dword [esi + 0x15c]
jmp 0x42edea
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0042afc0
push ecx
mov ecx, ebx
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutThickness_float_]
mov ecx, dword [0x68615c]
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::GetModelingRule_struct_BMB_ModelingRule___]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0x11c]
push edi
push str.ZPLS_INNERCOMP_CROSSMAP
call fcn.005f3f00
add esp, 8
push eax
lea ecx, [esp + 0x10c]
call fcn.005edd80
lea edx, [esp + 0x108]
push 0x634a6c
push edx
mov byte [esp + 0x188], 8
call fcn.005edad0
add esp, 8
test eax, eax
jne 0x42ee96
push 0x634b68
lea ecx, [esp + 0xa8]
call fcn.005edd80
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x108]
push eax
push ecx
mov byte [esp + 0x188], 9
mov dword [esp + 0x30], edi
call fcn.005f0970
add esp, 8
test eax, eax
je 0x42ee96
xor bl, bl
jmp 0x42ee98
mov bl, 1
test byte [esp + 0x28], 1
mov dword [esp + 0x180], 8
je 0x42eeb6
lea ecx, [esp + 0xa4]
call fcn.005ed430
test bl, bl
je 0x42eec2
mov byte [esp + 0x141], 1
fldz
mov ecx, dword [esi + 0x58]
fst dword [esp + 0x20]
test ecx, ecx
je 0x42ef78
fstp st(0)
call fcn.004a7c20
push eax
lea ecx, [esp + 0xa8]
call fcn.005edd80
mov edx, dword [esi + 0x58]
mov edi, dword [edx + 0x18]
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x180], 0xa
cmp ax, di
jae 0x42ef62
mov edi, edi
mov ecx, dword [esi + 0x58]
push ebx
call fcn.0048d660
test eax, eax
je 0x42ef5c
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x42ef5c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042afc0
fstp dword [esp + 0x28]
fldz
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42ef45
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42ef5c
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42ef5a
fstp dword [esp + 0x20]
jmp 0x42ef5c
fstp st(0)
inc ebx
cmp bx, di
jb 0x42ef00
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 8
call fcn.005ed430
fldz
fld dword [esp + 0x20]
mov eax, dword [esi + 0x50]
fstp dword [esp + 0x130]
fst dword [esp + 0x20]
test eax, eax
je 0x42f14e
mov eax, dword [eax + 0xa8]
xor edx, edx
xor edi, edi
mov dword [esp + 0x34], eax
cmp dx, ax
jae 0x42f14e
fstp st(0)
mov ecx, dword [esi + 0x50]
push edi
call fcn.0047f230
test eax, eax
je 0x42f140
mov ecx, dword [esi + 0x50]
push edi
call fcn.0047f230
mov ecx, dword [esi + 0x34]
push 0
push eax
call fcn.004b0b60
mov ecx, eax
call fcn.004b8050
test eax, eax
je 0x42f140
push 0
mov ecx, eax
call fcn.004b9f80
mov ebx, eax
test ebx, ebx
je 0x42f140
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42effe
call fcn.00502510
cmp dword [ebx + 4], 0
je 0x42f140
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42f014
call fcn.00502510
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
mov ebx, eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0xa4]
push eax
mov ecx, ebx
call edx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x184], 0xb
call fcn.00517c70
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0xd
call fcn.004f2200
mov eax, dword [esp + 0x7c]
sub eax, dword [esp + 0x74]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042afc0
fstp dword [esp + 0x28]
fldz
fld st(0)
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42f09d
fstp st(0)
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42f0c1
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42f0bd
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42f0bf
fstp dword [esp + 0x20]
jmp 0x42f0c1
fstp st(0)
fstp st(0)
mov edx, dword [esp + 0x80]
sub edx, dword [esp + 0x78]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042afc0
fstp dword [esp + 0x28]
fldz
fld st(0)
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42f101
fstp st(0)
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42f125
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42f121
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42f123
fstp dword [esp + 0x20]
jmp 0x42f125
fstp st(0)
fstp st(0)
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 8
call fcn.00517ca0
inc edi
cmp di, word [esp + 0x34]
jb 0x42efab
fldz
cmp dword [esi + 0x50], 0
fld dword [esp + 0x20]
fstp dword [esp + 0x134]
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
je 0x42f26e
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x60]
push eax
call fcn.0047d3b0
mov edi, eax
test edi, edi
je 0x42f1ab
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042afc0
fstp dword [esp + 0x24]
mov edx, dword [esi + 0x50]
mov eax, dword [edx + 0x168]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x34], eax
cmp cx, ax
jae 0x42f26e
mov ecx, dword [esi + 0x50]
push edi
call fcn.004801c0
test eax, eax
je 0x42f262
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x4c]
push eax
call fcn.0047d3b0
mov ebx, eax
test ebx, ebx
je 0x42f262
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042afc0
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42f223
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42f223
fstp dword [esp + 0x20]
jmp 0x42f225
fstp st(0)
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42f260
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42f260
fstp dword [esp + 0x24]
jmp 0x42f262
fstp st(0)
inc edi
cmp di, word [esp + 0x34]
jb 0x42f1c5
fld dword [esp + 0x20]
push 0x1a10
fstp dword [esp + 0x13c]
fld dword [esp + 0x28]
fstp dword [esp + 0x140]
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x180], 0xe
test eax, eax
je 0x42f2ac
mov ecx, eax
call fcn.004facf0
mov ebx, eax
jmp 0x42f2ae
xor ebx, ebx
mov byte [esp + 0x180], 8
test ebx, ebx
je 0x42f2e2
mov ecx, ebx
call fcn.004ffb90
test eax, eax
je 0x42f2d8
mov eax, dword [ebx + 8]
shr eax, 0x12
and eax, 1
je 0x42f2d8
mov byte [esp + 0x140], 1
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
lea ecx, [esp + 0x114]
push ecx
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutModelingRule_struct_BMB_ModelingRule___]
cmp dword [esi + 0x50], 0
je 0x42f3b9
mov ecx, dword [0x68615c]
lea edx, [esp + 0xa4]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::GetDesigningRule_struct_BMB_DesigningRule___]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xa4]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xa8]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x1c]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xac]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xb0]
mov eax, dword [esi + 0x50]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
push edx
mov ecx, esi
call fcn.0042afc0
fstp dword [esp + 0xb4]
mov ecx, dword [0x68615c]
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutDesigningRule_struct_BMB_DesigningRule___]
mov ecx, dword [esi + 0x4c]
call fcn.0047d460
fld dword [eax + 0x30]
fstp dword [esp + 0x24]
fldz
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x42f3db
fstp dword [esp + 0x24]
jmp 0x42f3dd
fstp st(0)
mov edi, dword [esp + 0x30]
fld dword [esp + 0x24]
push ecx
mov ecx, edi
fstp dword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutTConductive_float_]
cmp dword [esi + 0x280], 1
jne 0x43025a
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapMaterial____thiscall_BMBProduct::GetMapMaterial_void_]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x42f459
push 0x24
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x180], 0xf
test ebx, ebx
je 0x42f43e
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapMaterial::constructor_void_]
mov dword [ebx], vtable.BMBMapMaterial.0
jmp 0x42f440
xor ebx, ebx
mov ecx, dword [0x68615c]
push ebx
mov byte [esp + 0x184], 8
mov dword [esp + 0x2c], ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutMapMaterial_class_BMBMapMaterial__]
mov ecx, dword [esi + 0x48]
xor ebx, ebx
cmp dword [esi + 0x300], 1
mov dword [esp + 0x24], ebx
jae 0x42f483
push 2
call fcn.004e2900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x42f4a2
mov eax, dword [esi + 0x2fc]
push eax
call fcn.004e2940
test eax, eax
je 0x42f4a2
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ebx, eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x88]
call fcn.00517a80
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x184], 0x10
call fcn.005f3cc0
lea ecx, [esp + 0xb8]
mov dword [esp + 0x88], 0
call fcn.00517a80
push 0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x184], 0x11
call fcn.005f3cc0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb8], 0
call fcn.00517a80
push 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x184], 0x12
call fcn.005f3cc0
cmp dword [esi + 0x308], 0
mov dword [esp + 0xa4], 0
jle 0x42f541
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0042e170
cmp dword [esi + 0x2d8], 0
jle 0x42fb64
cmp dword [esi + 0x274], 1
jne 0x42fb64
test ebx, ebx
je 0x43021a
mov eax, dword [esi + 0x48]
xor edi, edi
cmp dword [eax + 0x3c], edi
mov dword [esp + 0x28], edi
jle 0x42f5fc
mov eax, dword [eax + 0x40]
movzx edx, di
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ebx, ebx
je 0x42f5ab
mov eax, dword [ebx + 8]
test eax, eax
jne 0x42f5a7
mov edi, dword [ebx + 4]
and edi, 0x7f
call fcn.005018f0
mov edi, dword [eax + edi*4 - 4]
push ebx
mov ecx, edi
call fcn.00500ce0
mov edi, dword [esp + 0x28]
mov ebx, eax
jmp 0x42f5ad
xor ebx, ebx
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
cmp eax, 1
jne 0x42f5eb
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
test eax, eax
je 0x42f5eb
fldz
mov edx, dword [esi + 0x24]
push 0
push ecx
fstp dword [esp]
push 1
lea ecx, [esp + 0x94]
push ecx
push 1
push 0
push eax
push edx
call fcn.004047a0
add esp, 0x20
mov eax, dword [esi + 0x48]
inc edi
cmp edi, dword [eax + 0x3c]
mov dword [esp + 0x28], edi
jl 0x42f575
mov eax, dword [esi + 0x2d8]
test eax, eax
jle 0x42f79d
xor ecx, ecx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x270], ecx
jne 0x42f61f
lea ebx, [ecx + 1]
cmp eax, 2
jne 0x42f62f
mov ebx, 1
xor edi, edi
mov dword [esp + 0x20], ebx
cmp eax, 3
jne 0x42f63a
xor ebx, ebx
xor edi, edi
jmp 0x42f658
cmp eax, 4
jne 0x42f64c
mov ebx, 1
mov edi, ebx
mov dword [esp + 0x20], ebx
jmp 0x42f65c
cmp eax, 5
jne 0x42f65c
mov edi, 1
mov ebx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x48]
push 3
call fcn.004e2900
test eax, eax
je 0x42f79d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
cmp dword [esi + 0x2d8], 3
mov dword [esp + 0x28], eax
jne 0x42f76f
mov ecx, dword [esi + 0x48]
push 3
call fcn.004e2900
mov dword [esp + 0x1c], eax
test eax, eax
je 0x42f6d5
lea ecx, [esp + 0x70]
call fcn.005f3af0
mov edx, dword [esp + 0x1c]
push 0
push 0
lea ecx, [esp + 0x78]
push ecx
push edx
lea ecx, [esi + 0x100]
mov byte [esp + 0x190], 0x13
call fcn.004067f0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x12
call fcn.005f3b00
fld dword [esi + 0x2dc]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push 1
push ecx
fstp dword [esp]
push eax
mov eax, dword [esi + 0x24]
push edi
lea ecx, [esp + 0xc8]
push ecx
push ebx
push 1
push edx
push eax
call fcn.00404cf0
xor ebx, ebx
add esp, 0x24
cmp dword [esp + 0xb8], ebx
jle 0x42f761
mov edi, edi
mov ecx, dword [esp + 0xc0]
mov ecx, dword [ecx + ebx*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 3
je 0x42f757
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x88]
mov edi, dword [ecx + ebx*4]
push edx
lea ecx, [esp + 0x8c]
call fcn.005f3cc0
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
mov ecx, edi
call edx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
inc ebx
cmp ebx, dword [esp + 0xb8]
jl 0x42f710
lea ecx, [esp + 0xb8]
call fcn.00517ad0
jmp 0x42f79d
fld dword [esi + 0x2dc]
mov edx, dword [esp + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x30]
fstp dword [esp]
push edx
mov edx, dword [esi + 0x24]
push edi
lea eax, [esp + 0x98]
push eax
push ebx
push 1
push ecx
push edx
call fcn.00404cf0
add esp, 0x24
mov edi, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x48]
call fcn.004bb830
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 0x14
call fcn.00517a80
push 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x184], 0x15
call fcn.005f3cc0
cmp dword [esi + 0x300], 1
mov dword [esp + 0x98], 0
jae 0x42f96d
lea ecx, [esp + 0x44]
call fcn.004bb850
lea ecx, [esp + 0x44]
call fcn.004f69c0
test eax, eax
je 0x42f95c
lea ecx, [esp + 0x44]
call fcn.004f69c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x42f942
lea ecx, [esp + 0x44]
call fcn.004f69c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00517a80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x16
call fcn.00517ad0
push 0
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x54]
push edi
push edx
call fcn.00540fe0
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x24], 0
jle 0x42f928
jmp 0x42f880
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x38]
call fcn.00517a80
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
mov byte [esp + 0x188], 0x17
call fcn.00541c40
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x42f8fb
mov edx, dword [esi + 0x350]
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + edi*4]
lea ecx, [esi + 0x350]
push edx
call fcn.005f3cc0
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + edi*4]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0040f310
inc edi
cmp edi, dword [esp + 0x38]
jl 0x42f8b2
lea ecx, [esp + 0x38]
call fcn.00517ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x16
call fcn.00405850
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x42f880
lea ecx, [esp + 0x4c]
call fcn.00517ad0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x15
call fcn.00405850
lea ecx, [esp + 0x44]
call fcn.004bb880
lea ecx, [esp + 0x44]
call fcn.004f69c0
test eax, eax
jne 0x42f807
lea ecx, [esp + 0x88]
call fcn.00517ad0
jmp 0x42fb2e
lea ecx, [esp + 0x70]
call fcn.00517a80
mov eax, dword [esi + 0x24]
push 1
lea edx, [esp + 0x74]
push edx
push 1
push 0
push edi
push eax
mov byte [esp + 0x198], 0x18
call fcn.00403eb0
add esp, 0x18
lea ecx, [esp + 0x64]
call fcn.00517a80
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0x188], 0x19
call fcn.0042dac0
test eax, eax
je 0x42fb03
cmp dword [esp + 0x64], 0
mov dword [esp + 0x20], 0
jle 0x42fb03
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x4c]
call fcn.00517a80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x1a
call fcn.00517ad0
push 0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.00540fe0
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x24], 0
jle 0x42fad6
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov edi, dword [ecx + edx*4]
lea ecx, [esp + 0x38]
call fcn.00517a80
push 1
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x188], 0x1b
call fcn.00541c40
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x42faa9
jmp 0x42fa60
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + edi*4]
mov edx, dword [esi + 0x350]
lea ecx, [esi + 0x350]
push edx
call fcn.005f3cc0
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x30]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov edx, dword [esp + 0x40]
mov eax, dword [edx + edi*4]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0040f310
inc edi
cmp edi, dword [esp + 0x38]
jl 0x42fa60
lea ecx, [esp + 0x38]
call fcn.00517ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x1a
call fcn.00405850
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x42fa23
lea ecx, [esp + 0x4c]
call fcn.00517ad0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x19
call fcn.00405850
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
jl 0x42f9d3
lea ecx, [esp + 0x64]
call fcn.00517ad0
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x18
call fcn.00405850
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x15
call fcn.00405850
lea ecx, [esp + 0x88]
call fcn.00517ad0
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 0x14
call fcn.00405850
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x12
call fcn.004f2200
jmp 0x43021a
test ebx, ebx
je 0x43020e
push ebx
lea ecx, [esp + 0x48]
call fcn.004bb830
cmp dword [esi + 0x300], 1
mov byte [esp + 0x180], 0x1c
jae 0x430162
lea ecx, [esp + 0x44]
call fcn.004bb850
lea ecx, [esp + 0x44]
call fcn.004f69c0
test eax, eax
je 0x4301fd
lea ecx, [esp + 0x44]
call fcn.004f69c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x43013e
lea ecx, [esp + 0x44]
call fcn.004f69c0
mov ecx, dword [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.0040cdd0
lea ecx, [esp + 0x44]
call fcn.004f69c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
call fcn.004f69c0
push eax
lea ecx, [esp + 0x9c]
call fcn.004f4df0
lea ecx, [esp + 0x98]
call fcn.004f4dd0
lea ecx, [esp + 0x4c]
call fcn.005ed1b0
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x1d
call fcn.005ed1b0
mov edx, dword [esp + 0xc4]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x190], 0x1e
call fcn.005edd80
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00406f20
mov ecx, dword [esp + 0x9c]
xor edi, edi
xor ebx, ebx
mov byte [esp + 0x180], 0x1f
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x42fff6
mov dl, byte [ecx + 2]
and dl, 3
cmp dl, 1
je 0x42fc84
mov ecx, dword [ecx + 8]
jmp 0x42ffe7
call fcn.004f4b50
push eax
lea ecx, [esp + 0x50]
call fcn.005edbf0
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x68]
call fcn.005edbf0
lea ecx, [esp + 0x4c]
push str.3D_MaterialName
push ecx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42fd87
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.005edb30
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00406f20
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 0x20
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 0x1f
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x2c]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMaterial____thiscall_BMBMapMaterial::ScanElement_char_const__]
mov ebx, eax
test ebx, ebx
jne 0x42ffdd
push 0x50
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x84], ebx
mov byte [esp + 0x180], 0x21
test ebx, ebx
je 0x42fd55
mov edx, dword [esp + 0x20]
push edx
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::constructor_char_const__]
mov dword [ebx], vtable.BMBMaterial.0
jmp 0x42fd57
xor ebx, ebx
mov ecx, dword [esp + 0x28]
mov edi, 1
push ebx
mov byte [esp + 0x184], 0x1f
mov dword [esp + 0x38], edi
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapMaterial::AddElement_class_BMBMaterial__]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBBoard::PutMaterialName_char_const__]
jmp 0x42ffdd
lea ecx, [esp + 0x4c]
push str.3D_MassDensity
push ecx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42fdce
cmp edi, 1
jne 0x42fdce
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x5c]
push edx
push 0x633eac
push eax
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
mov ecx, ebx
fstp qword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutMassDensity_double_]
jmp 0x42ffdd
lea ecx, [esp + 0x4c]
push str.3D_YoungModulus
push ecx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42fe15
cmp edi, 1
jne 0x42fe15
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x5c]
push edx
push 0x633eac
push eax
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
mov ecx, ebx
fstp qword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutYoungModulus_double_]
jmp 0x42ffdd
lea ecx, [esp + 0x4c]
push str.3D_ThermalConductivity
push ecx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42ff10
cmp edi, 1
jne 0x42ff10
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.005edb30
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.00406f20
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 0x22
call sub.mfc90.dll_Ordinal_580
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc8]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x188], 0x23
call fcn.0041fb20
mov eax, dword [esp + 0xd0]
xor edi, edi
test eax, eax
jle 0x42fee1
test edi, edi
jl 0x43015d
cmp edi, eax
jge 0x43015d
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + edi*4]
lea ecx, [esp + 0x5c]
push ecx
push 0x633eac
push eax
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
fstp qword [esp]
push edi
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutThermalConductivity_int__double_]
mov eax, dword [esp + 0xd0]
inc edi
cmp edi, eax
jl 0x42fe97
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 0x22
call sub.mfc90.dll_Ordinal_781
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 0x1f
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edi, dword [esp + 0x34]
jmp 0x42ffdd
lea edx, [esp + 0x4c]
push str.3D_SpecificHeat
push edx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42ff57
cmp edi, 1
jne 0x42ff57
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x633eac
push ecx
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
mov ecx, ebx
fstp qword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutSpecificHeat_double_]
jmp 0x42ffdd
lea edx, [esp + 0x4c]
push str.3D_SurfaceEmissivity
push edx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42ff9b
cmp edi, 1
jne 0x42ff9b
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x633eac
push ecx
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
mov ecx, ebx
fstp qword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutSurfaceEmissivity_double_]
jmp 0x42ffdd
lea edx, [esp + 0x4c]
push str.3D_SurfaceRoughness
push edx
call fcn.005edad0
add esp, 8
test eax, eax
je 0x42ffdd
cmp edi, 1
jne 0x42ffdd
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x633eac
push ecx
call dword [sym.imp.MSVCR90.dll_sscanf]
fld qword [esp + 0x68]
add esp, 4
mov ecx, ebx
fstp qword [esp]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMaterial::PutSurfaceRoughness_double_]
mov edx, dword [esp + 0x9c]
mov ecx, dword [edx + 8]
mov dword [esp + 0x9c], ecx
test ecx, ecx
jne 0x42fc71
cmp dword [esi + 0x1c4], 0
je 0x4300ff
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xcc]
call fcn.005443a0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x24
call fcn.00517a80
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, esi
mov byte [esp + 0x188], 0x25
call fcn.0042c4f0
xor edi, edi
cmp dword [esp + 0x70], edi
jle 0x4300cf
lea ecx, [ecx]
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + edi*4]
lea ecx, [esp + 0x38]
call fcn.00517a80
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x184], 0x26
call fcn.005f3cc0
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [esp + 0x40], 0
call fcn.00541c40
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jle 0x4300ae
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebx*4]
mov ecx, dword [esp + 0x30]
push 0
push eax
push ecx
mov ecx, esi
call fcn.0040f310
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x430091
lea ecx, [esp + 0x38]
call fcn.00517ad0
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x25
call fcn.00405850
inc edi
cmp edi, dword [esp + 0x70]
jl 0x430050
lea ecx, [esp + 0x70]
call fcn.00517ad0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x24
call fcn.00405850
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 0x1f
call fcn.00544ad0
jmp 0x430112
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
mov ecx, esi
call fcn.0040f310
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x1d
call fcn.005ed430
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x1c
call fcn.005ed430
lea ecx, [esp + 0x44]
call fcn.004bb880
lea ecx, [esp + 0x44]
call fcn.004f69c0
test eax, eax
jne 0x42fba5
jmp 0x4301fd
call fcn.005fc660
lea ecx, [esp + 0x38]
call fcn.00517a80
mov edx, dword [esi + 0x24]
push 1
lea ecx, [esp + 0x3c]
push ecx
push 1
push 0
push ebx
push edx
mov byte [esp + 0x198], 0x27
call fcn.00403eb0
add esp, 0x18
lea ecx, [esp + 0x70]
call fcn.00517a80
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov byte [esp + 0x188], 0x28
call fcn.0042dac0
test eax, eax
je 0x4301d2
xor ebx, ebx
cmp dword [esp + 0x70], ebx
jle 0x4301d2
mov edx, dword [esp + 0x78]
mov eax, dword [edx + ebx*4]
push 0
push eax
push edi
mov ecx, esi
call fcn.0040f310
inc ebx
cmp ebx, dword [esp + 0x70]
jl 0x4301b9
lea ecx, [esp + 0x70]
call fcn.00517ad0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x27
call fcn.00405850
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x1c
call fcn.00405850
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x12
call fcn.004f2200
lea ecx, [esp + 0x88]
call fcn.00517ad0
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0x11
call fcn.00405850
lea ecx, [esp + 0xb8]
mov byte [esp + 0x180], 0x10
call fcn.00405850
lea ecx, [esp + 0x88]
mov byte [esp + 0x180], 8
call fcn.00405850
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x94]
push edi
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::AddBoard_class_BMBBoard__]
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x14]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x90], esp
push eax
push edx
mov ecx, esi
call fcn.0042ad20
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, ebx
mov byte [esp + 0x184], 0x29
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::PutSheetName_char_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0xc]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x90], esp
push eax
push edx
mov ecx, esi
call fcn.0042ad20
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.00406f20
mov eax, dword [eax]
push eax
mov ecx, ebx
mov byte [esp + 0x184], 0x2a
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBSheet::PutClassification_char_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x180], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [0x68615c]
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBProduct::CountSheet_void_]
test eax, eax
jle 0x430320
mov ecx, dword [0x68615c]
push 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::DeleteSheet_short_int_]
mov ecx, dword [0x68615c]
push ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::AddSheet_class_BMBSheet__]
lea ecx, [esp + 0x108]
mov byte [esp + 0x180], 3
call fcn.005ed430
lea ecx, [esp + 0xf4]
mov byte [esp + 0x180], 0
call fcn.00517ca0
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4