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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x6145fc
mov eax, dword fs:[0]
push eax
sub esp, 0x168
push ebx
push esi
push edi
mov eax, dword [0x682d00]
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 0x42e6f4
cmp dword [esi + 0x4c], ebx
je 0x4300ac
cmp dword [esi + 0x50], ebx
je 0x4300ac
cmp dword [esi + 0x54], ebx
je 0x4300ac
cmp dword [esi + 0x48], ebx
je 0x4300ac
mov ecx, dword [0x683034]
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 0x631c94
lea ecx, [esp + 0x5c]
mov dword [esp + 0x184], ebx
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x631c94
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x42e78d
mov ecx, dword [0x683034]
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 [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutTitle_char_const__]
mov ecx, dword [0x683034]
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 [0x683034]
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 0x42e7e2
mov edx, dword [0x683034]
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 0x42e7e4
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.0047c750
mov ebx, eax
test ebx, ebx
je 0x42e8b2
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.0042ac80
push ecx
lea eax, [esp + 0x38]
fstp dword [esp]
push eax
mov ecx, esi
call fcn.0042ac80
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 [0x683034]
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.0042ac80
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.0042ac80
fstp dword [esp + 0xd0]
mov ecx, dword [0x683034]
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.00516ad0
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esi + 0x4c]
mov byte [esp + 0x184], 3
call fcn.0047c6c0
push eax
lea ecx, [esp + 0xf8]
mov byte [esp + 0x184], 4
call fcn.00516f10
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 3
call fcn.00516b60
mov edx, dword [esp + 0xf8]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042ac80
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.0042ac80
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.0042ac80
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.0042ac80
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 0x42e9bd
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 0x42e9bf
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.0042d410
push 0xb0
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 0x42ea55
mov ecx, dword [0x68303c]
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 + 0x6c], vtable.BMBBoard.0
jmp 0x42ea57
xor ebx, ebx
mov edi, 1
add dword [0x68303c], 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.0047c800
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.0042a9e0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.0042ad00
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.0047c800
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x24], eax
test eax, eax
jge 0x42eae8
mov dword [esp + 0x24], 0
mov ecx, dword [ebp + 8]
test dword [ecx + 0xc8], 0x100
je 0x42eb0e
fldz
fcomp dword [esi + 0x15c]
fnstsw ax
test ah, 5
jp 0x42eb0e
fld dword [esi + 0x15c]
jmp 0x42eb1a
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.0042ac80
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 [0x683034]
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.0042ac80
fstp dword [esp + 0x11c]
push edi
push str.ZPLS_INNERCOMP_CROSSMAP
call fcn.005f2190
add esp, 8
push eax
lea ecx, [esp + 0x10c]
call fcn.005ec6d0
lea edx, [esp + 0x108]
push 0x632a64
push edx
mov byte [esp + 0x188], 8
call fcn.005ec420
add esp, 8
test eax, eax
jne 0x42ebc6
push 0x632b60
lea ecx, [esp + 0xa8]
call fcn.005ec6d0
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.005eee70
add esp, 8
test eax, eax
je 0x42ebc6
xor bl, bl
jmp 0x42ebc8
mov bl, 1
test byte [esp + 0x28], 1
mov dword [esp + 0x180], 8
je 0x42ebe6
lea ecx, [esp + 0xa4]
call fcn.005ebd80
test bl, bl
je 0x42ebf2
mov byte [esp + 0x141], 1
fldz
mov ecx, dword [esi + 0x58]
fst dword [esp + 0x20]
test ecx, ecx
je 0x42eca8
fstp st(0)
call fcn.00503030
push eax
lea ecx, [esp + 0xa8]
call fcn.005ec6d0
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 0x42ec92
mov edi, edi
mov ecx, dword [esi + 0x58]
push ebx
call fcn.0048ca20
test eax, eax
je 0x42ec8c
mov eax, dword [eax + 0xc]
test eax, eax
jle 0x42ec8c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.0042ac80
fstp dword [esp + 0x28]
fldz
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42ec75
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42ec8c
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42ec8a
fstp dword [esp + 0x20]
jmp 0x42ec8c
fstp st(0)
inc ebx
cmp bx, di
jb 0x42ec30
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 8
call fcn.005ebd80
fldz
fld dword [esp + 0x20]
mov eax, dword [esi + 0x50]
fstp dword [esp + 0x130]
fst dword [esp + 0x20]
test eax, eax
je 0x42ee7e
mov eax, dword [eax + 0xa8]
xor edx, edx
xor edi, edi
mov dword [esp + 0x34], eax
cmp dx, ax
jae 0x42ee7e
fstp st(0)
mov ecx, dword [esi + 0x50]
push edi
call fcn.0047e5c0
test eax, eax
je 0x42ee70
mov ecx, dword [esi + 0x50]
push edi
call fcn.0047e5c0
mov ecx, dword [esi + 0x34]
push 0
push eax
call fcn.004afd30
mov ecx, eax
call fcn.004b71c0
test eax, eax
je 0x42ee70
push 0
mov ecx, eax
call fcn.004b9190
mov ebx, eax
test ebx, ebx
je 0x42ee70
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42ed2e
call fcn.00501750
cmp dword [ebx + 4], 0
je 0x42ee70
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x42ed44
call fcn.00501750
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.00516b30
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0xd
call fcn.0051a4a0
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.0042ac80
fstp dword [esp + 0x28]
fldz
fld st(0)
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42edcd
fstp st(0)
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42edf1
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42eded
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42edef
fstp dword [esp + 0x20]
jmp 0x42edf1
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.0042ac80
fstp dword [esp + 0x28]
fldz
fld st(0)
fld dword [esp + 0x20]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jp 0x42ee31
fstp st(0)
fstp st(0)
fld dword [esp + 0x28]
fstp dword [esp + 0x20]
jmp 0x42ee55
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42ee51
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42ee53
fstp dword [esp + 0x20]
jmp 0x42ee55
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.00516b60
inc edi
cmp di, word [esp + 0x34]
jb 0x42ecdb
fldz
cmp dword [esi + 0x50], 0
fld dword [esp + 0x20]
fstp dword [esp + 0x134]
fst dword [esp + 0x20]
fstp dword [esp + 0x24]
je 0x42ef9e
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx + 0x60]
push eax
call fcn.0047c750
mov edi, eax
test edi, edi
je 0x42eedb
mov ecx, dword [edi + 0x18]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042ac80
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.0042ac80
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 0x42ef9e
mov ecx, dword [esi + 0x50]
push edi
call fcn.0047f5e0
test eax, eax
je 0x42ef92
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 0x4c]
push eax
call fcn.0047c750
mov ebx, eax
test ebx, ebx
je 0x42ef92
mov edx, dword [ebx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], edx
call fcn.0042ac80
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42ef53
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42ef53
fstp dword [esp + 0x20]
jmp 0x42ef55
fstp st(0)
mov ecx, dword [ebx + 0x1c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.0042ac80
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x42ef90
fld dword [esp + 0x24]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42ef90
fstp dword [esp + 0x24]
jmp 0x42ef92
fstp st(0)
inc edi
cmp di, word [esp + 0x34]
jb 0x42eef5
fld dword [esp + 0x20]
push 0x1a08
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 0x42efdc
mov ecx, eax
call fcn.004f9fc0
mov ebx, eax
jmp 0x42efde
xor ebx, ebx
mov byte [esp + 0x180], 8
test ebx, ebx
je 0x42f012
mov ecx, ebx
call fcn.004fee20
test eax, eax
je 0x42f008
mov eax, dword [ebx + 8]
shr eax, 0x12
and eax, 1
je 0x42f008
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 [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::PutModelingRule_struct_BMB_ModelingRule___]
cmp dword [esi + 0x50], 0
je 0x42f0e9
mov ecx, dword [0x683034]
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.0042ac80
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.0042ac80
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.0042ac80
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.0042ac80
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.0042ac80
fstp dword [esp + 0xb4]
mov ecx, dword [0x683034]
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.0047c800
fld dword [eax + 0x30]
fstp dword [esp + 0x24]
fldz
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jne 0x42f10b
fstp dword [esp + 0x24]
jmp 0x42f10d
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 0x42ff8a
mov ecx, dword [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapMaterial____thiscall_BMBProduct::GetMapMaterial_void_]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x42f189
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 0x42f16e
mov ecx, ebx
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBMapMaterial::constructor_void_]
mov dword [ebx], vtable.BMBMapMaterial.0
jmp 0x42f170
xor ebx, ebx
mov ecx, dword [0x683034]
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 0x42f1b3
push 2
call fcn.004e1bd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x58]
call eax
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x42f1d2
mov eax, dword [esi + 0x2fc]
push eax
call fcn.004e1c10
test eax, eax
je 0x42f1d2
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.00516940
push 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x184], 0x10
call fcn.005f1b40
lea ecx, [esp + 0xb8]
mov dword [esp + 0x88], 0
call fcn.00516940
push 0
lea ecx, [esp + 0xbc]
mov byte [esp + 0x184], 0x11
call fcn.005f1b40
lea ecx, [esp + 0xa4]
mov dword [esp + 0xb8], 0
call fcn.00516940
push 0
lea ecx, [esp + 0xa8]
mov byte [esp + 0x184], 0x12
call fcn.005f1b40
cmp dword [esi + 0x308], 0
mov dword [esp + 0xa4], 0
jle 0x42f271
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.0042dea0
cmp dword [esi + 0x2d8], 0
jle 0x42f894
cmp dword [esi + 0x274], 1
jne 0x42f894
test ebx, ebx
je 0x42ff4a
mov eax, dword [esi + 0x48]
xor edi, edi
cmp dword [eax + 0x3c], edi
mov dword [esp + 0x28], edi
jle 0x42f32c
mov eax, dword [eax + 0x40]
movzx edx, di
mov ebx, dword [eax + edx*4]
lea eax, [eax + edx*4]
test ebx, ebx
je 0x42f2db
mov eax, dword [ebx + 8]
test eax, eax
jne 0x42f2d7
mov edi, dword [ebx + 4]
and edi, 0x7f
call fcn.00500b30
mov edi, dword [eax + edi*4 - 4]
push ebx
mov ecx, edi
call fcn.004fffc0
mov edi, dword [esp + 0x28]
mov ebx, eax
jmp 0x42f2dd
xor ebx, ebx
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
cmp eax, 1
jne 0x42f31b
mov edx, dword [ebx]
mov eax, dword [edx + 0x58]
mov ecx, ebx
call eax
test eax, eax
je 0x42f31b
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.004047d0
add esp, 0x20
mov eax, dword [esi + 0x48]
inc edi
cmp edi, dword [eax + 0x3c]
mov dword [esp + 0x28], edi
jl 0x42f2a5
mov eax, dword [esi + 0x2d8]
test eax, eax
jle 0x42f4cd
xor ecx, ecx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x270], ecx
jne 0x42f34f
lea ebx, [ecx + 1]
cmp eax, 2
jne 0x42f35f
mov ebx, 1
xor edi, edi
mov dword [esp + 0x20], ebx
cmp eax, 3
jne 0x42f36a
xor ebx, ebx
xor edi, edi
jmp 0x42f388
cmp eax, 4
jne 0x42f37c
mov ebx, 1
mov edi, ebx
mov dword [esp + 0x20], ebx
jmp 0x42f38c
cmp eax, 5
jne 0x42f38c
mov edi, 1
mov ebx, edi
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x48]
push 3
call fcn.004e1bd0
test eax, eax
je 0x42f4cd
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 0x42f49f
mov ecx, dword [esi + 0x48]
push 3
call fcn.004e1bd0
mov dword [esp + 0x1c], eax
test eax, eax
je 0x42f405
lea ecx, [esp + 0x70]
call fcn.005f1fa0
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.00406800
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x12
call fcn.005f1f90
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.00404d20
xor ebx, ebx
add esp, 0x24
cmp dword [esp + 0xb8], ebx
jle 0x42f491
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 0x42f487
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0x88]
mov edi, dword [ecx + ebx*4]
push edx
lea ecx, [esp + 0x8c]
call fcn.005f1b40
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 0x42f440
lea ecx, [esp + 0xb8]
call fcn.00516990
jmp 0x42f4cd
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.00404d20
add esp, 0x24
mov edi, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x48]
call fcn.004baa50
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 0x14
call fcn.00516940
push 0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x184], 0x15
call fcn.005f1b40
cmp dword [esi + 0x300], 1
mov dword [esp + 0x98], 0
jae 0x42f69d
lea ecx, [esp + 0x44]
call fcn.004baa70
lea ecx, [esp + 0x44]
call fcn.004baa40
test eax, eax
je 0x42f68c
lea ecx, [esp + 0x44]
call fcn.004baa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x42f672
lea ecx, [esp + 0x44]
call fcn.004baa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x68]
call eax
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.00516940
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x16
call fcn.00516990
push 0
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x54]
push edi
push edx
call fcn.0053fe10
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x24], 0
jle 0x42f658
jmp 0x42f5b0
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x38]
call fcn.00516940
push 1
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
mov byte [esp + 0x188], 0x17
call fcn.00540590
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x42f62b
mov edx, dword [esi + 0x350]
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + edi*4]
lea ecx, [esi + 0x350]
push edx
call fcn.005f1b40
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.0040f0d0
inc edi
cmp edi, dword [esp + 0x38]
jl 0x42f5e2
lea ecx, [esp + 0x38]
call fcn.00516990
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x16
call fcn.004925b0
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x42f5b0
lea ecx, [esp + 0x4c]
call fcn.00516990
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x15
call fcn.004925b0
lea ecx, [esp + 0x44]
call fcn.004baaa0
lea ecx, [esp + 0x44]
call fcn.004baa40
test eax, eax
jne 0x42f537
lea ecx, [esp + 0x88]
call fcn.00516990
jmp 0x42f85e
lea ecx, [esp + 0x70]
call fcn.00516940
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.00403ee0
add esp, 0x18
lea ecx, [esp + 0x64]
call fcn.00516940
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov byte [esp + 0x188], 0x19
call fcn.0042d7f0
test eax, eax
je 0x42f833
cmp dword [esp + 0x64], 0
mov dword [esp + 0x20], 0
jle 0x42f833
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax + ecx*4]
lea ecx, [esp + 0x4c]
call fcn.00516940
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x1a
call fcn.00516990
push 0
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x54]
push edi
push eax
call fcn.0053fe10
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x24], 0
jle 0x42f806
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x24]
mov edi, dword [ecx + edx*4]
lea ecx, [esp + 0x38]
call fcn.00516940
push 1
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
mov byte [esp + 0x188], 0x1b
call fcn.00540590
xor edi, edi
cmp dword [esp + 0x38], edi
jle 0x42f7d9
jmp 0x42f790
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + edi*4]
mov edx, dword [esi + 0x350]
lea ecx, [esi + 0x350]
push edx
call fcn.005f1b40
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.0040f0d0
inc edi
cmp edi, dword [esp + 0x38]
jl 0x42f790
lea ecx, [esp + 0x38]
call fcn.00516990
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x1a
call fcn.004925b0
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jl 0x42f753
lea ecx, [esp + 0x4c]
call fcn.00516990
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x19
call fcn.004925b0
mov eax, dword [esp + 0x20]
inc eax
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x20], eax
jl 0x42f703
lea ecx, [esp + 0x64]
call fcn.00516990
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x18
call fcn.004925b0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x15
call fcn.004925b0
lea ecx, [esp + 0x88]
call fcn.00516990
lea ecx, [esp + 0x98]
mov byte [esp + 0x180], 0x14
call fcn.004925b0
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x12
call fcn.0051a4a0
jmp 0x42ff4a
test ebx, ebx
je 0x42ff3e
push ebx
lea ecx, [esp + 0x48]
call fcn.004baa50
cmp dword [esi + 0x300], 1
mov byte [esp + 0x180], 0x1c
jae 0x42fe92
lea ecx, [esp + 0x44]
call fcn.004baa70
lea ecx, [esp + 0x44]
call fcn.004baa40
test eax, eax
je 0x42ff2d
lea ecx, [esp + 0x44]
call fcn.004baa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x42fe6e
lea ecx, [esp + 0x44]
call fcn.004baa40
mov ecx, dword [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.0040cde0
lea ecx, [esp + 0x44]
call fcn.004baa40
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.004baa40
push eax
lea ecx, [esp + 0x9c]
call fcn.004f4130
lea ecx, [esp + 0x98]
call fcn.004f4110
lea ecx, [esp + 0x4c]
call fcn.005ebb00
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x1d
call fcn.005ebb00
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.005ec6d0
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0042ad00
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 0x42fd26
mov dl, byte [ecx + 2]
and dl, 3
cmp dl, 1
je 0x42f9b4
mov ecx, dword [ecx + 8]
jmp 0x42fd17
call fcn.004f3e90
push eax
lea ecx, [esp + 0x50]
call fcn.005ec540
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x68]
call fcn.005ec540
lea ecx, [esp + 0x4c]
push str.3D_MaterialName
push ecx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fab7
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042ad00
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 0x42fd0d
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 0x42fa85
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 0x42fa87
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 0x42fd0d
lea ecx, [esp + 0x4c]
push str.3D_MassDensity
push ecx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fafe
cmp edi, 1
jne 0x42fafe
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x5c]
push edx
push 0x631ea4
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 0x42fd0d
lea ecx, [esp + 0x4c]
push str.3D_YoungModulus
push ecx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fb45
cmp edi, 1
jne 0x42fb45
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x5c]
push edx
push 0x631ea4
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 0x42fd0d
lea ecx, [esp + 0x4c]
push str.3D_ThermalConductivity
push ecx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fc40
cmp edi, 1
jne 0x42fc40
sub esp, 0xc
lea edx, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.005ec480
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0042ad00
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.0041f730
mov eax, dword [esp + 0xd0]
xor edi, edi
test eax, eax
jle 0x42fc11
test edi, edi
jl 0x42fe8d
cmp edi, eax
jge 0x42fe8d
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + edi*4]
lea ecx, [esp + 0x5c]
push ecx
push 0x631ea4
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 0x42fbc7
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 0x42fd0d
lea edx, [esp + 0x4c]
push str.3D_SpecificHeat
push edx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fc87
cmp edi, 1
jne 0x42fc87
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x631ea4
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 0x42fd0d
lea edx, [esp + 0x4c]
push str.3D_SurfaceEmissivity
push edx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fccb
cmp edi, 1
jne 0x42fccb
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x631ea4
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 0x42fd0d
lea edx, [esp + 0x4c]
push str.3D_SurfaceRoughness
push edx
call fcn.005ec420
add esp, 8
test eax, eax
je 0x42fd0d
cmp edi, 1
jne 0x42fd0d
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x5c]
push eax
push 0x631ea4
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 0x42f9a1
cmp dword [esi + 0x1c4], 0
je 0x42fe2f
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xcc]
call fcn.00542ce0
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x24
call fcn.00516940
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xcc]
push edx
mov ecx, esi
mov byte [esp + 0x188], 0x25
call fcn.0042c220
xor edi, edi
cmp dword [esp + 0x70], edi
jle 0x42fdff
lea ecx, [ecx]
mov eax, dword [esp + 0x78]
mov ebx, dword [eax + edi*4]
lea ecx, [esp + 0x38]
call fcn.00516940
push 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x184], 0x26
call fcn.005f1b40
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebx
mov dword [esp + 0x40], 0
call fcn.00540590
xor ebx, ebx
cmp dword [esp + 0x38], ebx
jle 0x42fdde
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.0040f0d0
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x42fdc1
lea ecx, [esp + 0x38]
call fcn.00516990
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x25
call fcn.004925b0
inc edi
cmp edi, dword [esp + 0x70]
jl 0x42fd80
lea ecx, [esp + 0x70]
call fcn.00516990
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x24
call fcn.004925b0
lea ecx, [esp + 0xc8]
mov byte [esp + 0x180], 0x1f
call fcn.00543410
jmp 0x42fe42
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
push 0
push edx
push eax
mov ecx, esi
call fcn.0040f0d0
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x64]
mov byte [esp + 0x180], 0x1d
call fcn.005ebd80
lea ecx, [esp + 0x4c]
mov byte [esp + 0x180], 0x1c
call fcn.005ebd80
lea ecx, [esp + 0x44]
call fcn.004baaa0
lea ecx, [esp + 0x44]
call fcn.004baa40
test eax, eax
jne 0x42f8d5
jmp 0x42ff2d
call fcn.005fa780
lea ecx, [esp + 0x38]
call fcn.00516940
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.00403ee0
add esp, 0x18
lea ecx, [esp + 0x70]
call fcn.00516940
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
mov byte [esp + 0x188], 0x28
call fcn.0042d7f0
test eax, eax
je 0x42ff02
xor ebx, ebx
cmp dword [esp + 0x70], ebx
jle 0x42ff02
mov edx, dword [esp + 0x78]
mov eax, dword [edx + ebx*4]
push 0
push eax
push edi
mov ecx, esi
call fcn.0040f0d0
inc ebx
cmp ebx, dword [esp + 0x70]
jl 0x42fee9
lea ecx, [esp + 0x70]
call fcn.00516990
lea ecx, [esp + 0x70]
mov byte [esp + 0x180], 0x27
call fcn.004925b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x180], 0x1c
call fcn.004925b0
lea ecx, [esp + 0x44]
mov byte [esp + 0x180], 0x12
call fcn.0051a4a0
lea ecx, [esp + 0x88]
call fcn.00516990
lea ecx, [esp + 0xa4]
mov byte [esp + 0x180], 0x11
call fcn.004925b0
lea ecx, [esp + 0xb8]
mov byte [esp + 0x180], 0x10
call fcn.004925b0
lea ecx, [esp + 0x88]
mov byte [esp + 0x180], 8
call fcn.004925b0
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.0042a9e0
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042ad00
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.0042a9e0
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042ad00
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 [0x683034]
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBProduct::CountSheet_void_]
test eax, eax
jle 0x430050
mov ecx, dword [0x683034]
push 0
call dword [sym.imp.BMB_NX_C9.dll_public:_void___thiscall_BMBProduct::DeleteSheet_short_int_]
mov ecx, dword [0x683034]
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.005ebd80
lea ecx, [esp + 0xf4]
mov byte [esp + 0x180], 0
call fcn.00516b60
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