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

Disassembly:
push 0xffffffffffffffff
push 0x5d2e69
mov eax, dword fs:[0]
push eax
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov eax, dword [0x632da0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [ebx + 0x24]
push 5
mov dword [esp + 0x238], 1
call fcn.004c0db0
mov ecx, dword [ebx + 0x24]
push 2
mov esi, eax
call fcn.004c0db0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x58]
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0x7c]
call fcn.00492120
lea ecx, [esp + 0x78]
mov byte [esp + 0x234], 2
call fcn.00492140
test eax, eax
je 0x4077c5
lea ecx, [esp + 0x78]
call fcn.00492140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
je 0x4077fc
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
push eax
lea ecx, [esp + 0x7c]
call fcn.00492150
lea ecx, [esp + 0x78]
call fcn.00492140
test eax, eax
je 0x407812
lea ecx, [esp + 0x78]
call fcn.00492140
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x407812
lea ecx, [esp + 0x78]
call fcn.00492140
mov ecx, eax
call fcn.004a3560
mov dword [esp + 0x74], eax
jmp 0x40781a
mov dword [esp + 0x74], 0
mov ecx, dword [ebx + 0x20]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0044ff40
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov esi, dword [esp + 0x23c]
mov ecx, esi
mov byte [esp + 0x234], 3
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapMaterial____thiscall_BMBProduct::GetMapMaterial_void_]
lea ecx, [esp + 0x28]
mov dword [esp + 0xfc], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, esi
mov byte [esp + 0x234], 4
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapCapacitance____thiscall_BMBProduct::GetMapCapacitance_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0xcc], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov edx, dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [sym.imp.mfc90.dll_Ordinal_316]
push edx
push eax
push 2
push 4
lea ecx, [esp + 0x9c]
push ecx
mov byte [esp + 0x248], 5
call fcn.005bf50c
mov ecx, esi
mov byte [esp + 0x234], 6
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapResistance____thiscall_BMBProduct::GetMapResistance_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0xd0], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, esi
mov byte [esp + 0x234], 7
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapRating____thiscall_BMBProduct::GetMapRating_void_]
mov ecx, dword [esp + 0x240]
push 1
mov dword [esp + 0xcc], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
xor ecx, ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
test eax, eax
jle 0x408fc9
mov esi, dword [esp + 0xc0]
lea edi, [ecx + 1]
lea esp, [esp]
push ecx
mov ecx, dword [esp + 0x244]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBPart____thiscall_BMBSheet::GetPart_int_]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x254], edi
je 0x407aa4
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetRefName_void_]
mov byte [esp + 0x234], 8
cmp dword [esp + 0x250], edi
jne 0x407a1d
mov eax, dword [esp + 0x244]
xor ebp, ebp
mov dword [esp + 0x60], eax
test eax, eax
jle 0x407a02
xor edi, edi
jmp 0x407970
mov eax, dword [esp + 0x24c]
add eax, edi
push eax
lea ecx, [esp + 0x18c]
call fcn.005b9780
sub esp, 0xc
lea edx, [esp + 0x194]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x244], 9
call fcn.005b9780
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x118]
push eax
call fcn.00404d50
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x238], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
lea ecx, [esp + 0x10c]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x188]
mov byte [esp + 0x234], 8
call fcn.005b9130
test bl, bl
jne 0x407a19
inc ebp
add edi, 0xc
cmp ebp, dword [esp + 0x60]
jl 0x407970
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x408fa3
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x1d4]
push edx
mov ecx, ebx
call fcn.00404d20
mov ebp, dword [eax]
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + 0x34]
mov byte [esp + 0x234], 0xb
test esi, esi
je 0x407a65
mov eax, dword [esi + 8]
test eax, eax
jne 0x407a67
mov edi, dword [esi + 4]
and edi, 0x7f
call fcn.004da140
mov edi, dword [eax + edi*4 - 4]
push esi
mov ecx, edi
call fcn.004d9570
jmp 0x407a67
xor eax, eax
push ebp
mov ecx, eax
call fcn.004d2d10
lea ecx, [esp + 0x1d0]
mov esi, eax
mov byte [esp + 0x234], 8
call fcn.005b9130
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
test esi, esi
je 0x408fa3
jmp 0x407f96
mov ecx, dword [esp + 0x258]
xor edi, edi
test ecx, ecx
je 0x407e85
mov edx, ecx
mov eax, str.Part
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x407adc
test bl, bl
je 0x407ad8
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x407adc
add eax, 2
add edx, 2
test bl, bl
jne 0x407abc
xor eax, eax
jmp 0x407ae1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407c0e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetPartName_void_]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x23c], 0xc
call fcn.00404d20
lea ecx, [esp + 0x114]
mov byte [esp + 0x234], 0xe
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x17c]
call fcn.005b8eb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0xf
call fcn.0044ff20
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407bee
mov esi, ecx
call fcn.004b04a0
test eax, eax
je 0x407bd2
mov ecx, esi
call fcn.004b04a0
lea ecx, [eax + 0x28]
call fcn.004da670
push eax
lea ecx, [esp + 0x180]
call fcn.005b9840
mov eax, dword [esp + 0x17c]
test eax, eax
je 0x407bbe
mov ecx, dword [esp + 0x170]
test ecx, ecx
je 0x407bb9
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407bb2
test dl, dl
je 0x407bae
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407bb2
add eax, 2
add ecx, 2
test dl, dl
jne 0x407b92
xor eax, eax
jmp 0x407bce
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x407bce
movsx eax, byte [eax]
jmp 0x407bce
mov eax, dword [esp + 0x170]
test eax, eax
je 0x407be9
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x407be9
lea ecx, [esp + 0x48]
call fcn.00481e60
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407b55
jmp 0x407bee
mov edi, 1
lea ecx, [esp + 0x17c]
mov byte [esp + 0x234], 0xe
call fcn.005b9130
lea ecx, [esp + 0x170]
jmp 0x407f7d
mov edx, ecx
mov eax, str.Package
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x407c35
test bl, bl
je 0x407c31
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x407c35
add eax, 2
add edx, 2
test bl, bl
jne 0x407c15
xor eax, eax
jmp 0x407c3a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407d6c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetShapeName_void_]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x168]
push eax
mov byte [esp + 0x23c], 0x10
call fcn.00404d20
lea ecx, [esp + 0x110]
mov byte [esp + 0x234], 0x12
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x158]
call fcn.005b8eb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x13
call fcn.0044ff20
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407d4c
mov edi, edi
mov esi, ecx
call fcn.004a9040
test eax, eax
je 0x407d30
mov ecx, esi
call fcn.004a9040
lea ecx, [eax + 0x28]
call fcn.004da670
push eax
lea ecx, [esp + 0x15c]
call fcn.005b9840
mov eax, dword [esp + 0x158]
test eax, eax
je 0x407d1c
mov ecx, dword [esp + 0x164]
test ecx, ecx
je 0x407d17
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407d10
test dl, dl
je 0x407d0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407d10
add eax, 2
add ecx, 2
test dl, dl
jne 0x407cf0
xor eax, eax
jmp 0x407d2c
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x407d2c
movsx eax, byte [eax]
jmp 0x407d2c
mov eax, dword [esp + 0x164]
test eax, eax
je 0x407d47
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x407d47
lea ecx, [esp + 0x48]
call fcn.00481e60
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407cb0
jmp 0x407d4c
mov edi, 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x234], 0x12
call fcn.005b9130
lea ecx, [esp + 0x164]
jmp 0x407f7d
mov eax, str.StockInfo
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407d91
test dl, dl
je 0x407d8d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407d91
add eax, 2
add ecx, 2
test dl, dl
jne 0x407d71
xor eax, eax
jmp 0x407d96
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407e85
lea ecx, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x18]
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetDevName_void_]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
lea edx, [esp + 0x198]
push edx
mov byte [esp + 0x23c], 0x14
call fcn.00404d20
lea ecx, [esp + 0x100]
mov byte [esp + 0x234], 0x16
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14c]
call fcn.005b8eb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x17
call fcn.0044ff20
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407e65
mov esi, ecx
test ecx, ecx
je 0x407e4d
call fcn.004503d0
test eax, eax
je 0x407e4d
mov ecx, esi
call fcn.004503d0
lea ecx, [eax + 0x28]
call fcn.004da670
push eax
lea ecx, [esp + 0x150]
call fcn.005b9840
mov eax, dword [esp + 0x194]
mov ecx, dword [esp + 0x14c]
push eax
push ecx
call fcn.00403850
add esp, 8
test eax, eax
je 0x407e60
lea ecx, [esp + 0x48]
call fcn.00481e60
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407e06
jmp 0x407e65
mov edi, 1
lea ecx, [esp + 0x14c]
mov byte [esp + 0x234], 0x16
call fcn.005b9130
lea ecx, [esp + 0x194]
jmp 0x407f7d
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xec]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetUserProperty_void_]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x1a4]
push eax
mov byte [esp + 0x23c], 0x18
call fcn.00404d20
lea ecx, [esp + 0xec]
mov byte [esp + 0x234], 0x1a
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x140]
call fcn.005b8eb0
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x1b
call fcn.0044ff20
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407f62
mov esi, ecx
test ecx, ecx
je 0x407f4a
call fcn.004b04a0
test eax, eax
je 0x407f4a
mov ecx, dword [esp + 0x258]
push ecx
mov ecx, eax
call fcn.004d3490
test eax, eax
je 0x407f4a
mov dl, byte [eax + 2]
and dl, 3
cmp dl, 1
jne 0x407f4a
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x144]
call fcn.005b9840
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x140]
push eax
push ecx
call fcn.00403850
add esp, 8
test eax, eax
je 0x407f5d
lea ecx, [esp + 0x48]
call fcn.00481e60
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407ef1
jmp 0x407f62
mov edi, 1
lea ecx, [esp + 0x140]
mov byte [esp + 0x234], 0x1a
call fcn.005b9130
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x234], 7
call fcn.005b9130
test edi, edi
je 0x408fa3
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
lea edx, [esp + 0xf4]
push edx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetMaterialName_void_]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x238], 0x1c
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xf4]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5eeb66
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4082fe
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x4082fe
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMaterial____thiscall_BMBMapMaterial::ScanElement_char_const__]
mov edi, eax
test edi, edi
je 0x4082fe
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetMassDensity_void_]
fstp qword [esp + 0x6c]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetYoungModulus_void_]
fstp st(0)
push 0
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetThermalConductivity_int_]
fstp qword [esp + 0x1ac]
push 1
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetThermalConductivity_int_]
fstp qword [esp + 0x1b4]
push 2
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetThermalConductivity_int_]
fstp qword [esp + 0x1bc]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSpecificHeat_void_]
fstp qword [esp + 0x60]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSurfaceEmissivity_void_]
fstp qword [esp + 0x104]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSurfaceRoughness_void_]
fstp qword [esp + 0xb8]
lea ecx, [esp + 0x54]
call fcn.005b8eb0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x1d
call fcn.005b8eb0
push str.3D_MaterialName
lea ecx, [esp + 0x58]
mov byte [esp + 0x238], 0x1e
call fcn.005b9840
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x1c8]
push edx
mov ecx, ebx
call fcn.00404d20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 0x1f
call fcn.005b9150
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x234], 0x1e
call fcn.005b9130
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
push str.3D_MassDensity
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_YoungModulus
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d3530
push str.3D_ThermalConductivity
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0x1ac]
push 0x5eeb1c
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b98c0
mov ecx, eax
call fcn.005b9920
fld qword [esp + 0x1b4]
push 0x5eeb1c
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b98c0
mov ecx, eax
call fcn.005b9920
fld qword [esp + 0x1bc]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
push str.3D_SpecificHeat
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0x60]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_SurfaceEmissivity
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0x104]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
push 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push ecx
push edx
mov ecx, esi
call fcn.004d3530
push str.3D_SurfaceRoughness
lea ecx, [esp + 0x58]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x20]
call fcn.005b9840
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005b98c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x1d
call fcn.005b9130
lea ecx, [esp + 0x54]
mov byte [esp + 0x234], 7
call fcn.005b9130
lea edx, [esp + 0xe0]
push edx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetCapacitanceName_void_]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x238], 0x20
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5eeb66
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x408557
cmp dword [esp + 0xcc], 0
je 0x408557
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xcc]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBCapacitance____thiscall_BMBMapCapacitance::ScanElement_char_const__]
mov edi, eax
test edi, edi
je 0x408557
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetCapacitance_void_]
fstp qword [esp + 0xb8]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetHeatLoadFraction_void_]
fstp qword [esp + 0x104]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetArea_void_]
fstp qword [esp + 0x6c]
lea ecx, [esp + 0xac]
call fcn.005b8eb0
lea ecx, [esp + 0x80]
mov byte [esp + 0x234], 0x21
call fcn.005b8eb0
push str.3D_CapacitanceName
lea ecx, [esp + 0xb0]
mov byte [esp + 0x238], 0x22
call fcn.005b9840
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x1ec]
push edx
mov ecx, ebx
call fcn.00404d20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x23c], 0x23
call fcn.005b9150
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x234], 0x22
call fcn.005b9130
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
push str.3D_Capacitance
lea ecx, [esp + 0xb0]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x84]
call fcn.005b9840
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b98c0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xac]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_HeatLoadFraction
lea ecx, [esp + 0xb0]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x84]
call fcn.005b9840
fld qword [esp + 0x104]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b98c0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xac]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d3530
push str.3D_Area
lea ecx, [esp + 0xb0]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x84]
call fcn.005b9840
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b98c0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
lea ecx, [esp + 0x80]
mov byte [esp + 0x234], 0x21
call fcn.005b9130
lea ecx, [esp + 0xac]
mov byte [esp + 0x234], 7
call fcn.005b9130
lea edx, [esp + 0xe4]
push edx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetResistanceName_void_]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x238], 0x24
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5eeb66
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5eeb66
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5eeb66
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4087fd
cmp dword [esp + 0xd0], 0
je 0x4087fd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xd0]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBResistance____thiscall_BMBMapResistance::ScanElement_char_const__]
mov edi, eax
test edi, edi
je 0x4087fd
push 0
lea ecx, [esp + 0xec]
push ecx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBResistance::GetNameCapacitance_int_]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x238], 0x25
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xe8]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
lea edx, [esp + 0xf4]
push edx
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBResistance::GetNameCapacitance_int_]
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x238], 0x26
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBResistance::GetResistance_void_]
fstp qword [esp + 0xb8]
lea ecx, [esp + 0xd4]
call fcn.005b8eb0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x234], 0x27
call fcn.005b8eb0
push str.3D_ResistanceName
lea ecx, [esp + 0xd8]
mov byte [esp + 0x238], 0x28
call fcn.005b9840
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x204]
push ecx
mov ecx, ebx
call fcn.00404d20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x23c], 0x29
call fcn.005b9150
lea ecx, [esp + 0x200]
mov byte [esp + 0x234], 0x28
call fcn.005b9130
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xd4]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_NameCapacitance
lea ecx, [esp + 0xd8]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0xa4]
call fcn.005b9840
mov ecx, dword [esp + 0x8c]
push 0x5eeb1c
push ecx
lea ecx, [esp + 0xa8]
call fcn.005b9920
mov ecx, eax
call fcn.005b9920
mov edx, dword [esp + 0x90]
push edx
lea ecx, [esp + 0xa4]
call fcn.005b9920
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xd4]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
push str.3D_Resistance
lea ecx, [esp + 0xd8]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0xa4]
call fcn.005b9840
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0xa8]
fstp qword [esp]
call fcn.005b98c0
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xd4]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
lea ecx, [esp + 0xa0]
mov byte [esp + 0x234], 0x27
call fcn.005b9130
lea ecx, [esp + 0xd4]
mov byte [esp + 0x234], 7
call fcn.005b9130
lea ecx, [esp + 0xf8]
push ecx
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBPart::GetRatingName_void_]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x238], 0x2a
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xf8]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5eeb66
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x408b43
cmp dword [esp + 0xc8], 0
je 0x408b43
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0xc8]
push edx
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBRating____thiscall_BMBMapRating::ScanElement_char_const__]
mov edi, eax
test edi, edi
je 0x408b43
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetPower_void_]
fstp qword [esp + 0x6c]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMinPower_void_]
fstp qword [esp + 0x128]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMaxPower_void_]
fst qword [esp + 0x130]
fldz
fcom qword [esp + 0x128]
fnstsw ax
test ah, 0x44
jp 0x4088bb
fld qword [esp + 0x6c]
fstp qword [esp + 0x128]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4088cf
fld qword [esp + 0x6c]
fstp qword [esp + 0x130]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetHeatDssp_void_]
fstp qword [esp + 0x60]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMinHeatDssp_void_]
fstp qword [esp + 0x118]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMaxHeatDssp_void_]
fst qword [esp + 0x120]
fldz
fcom qword [esp + 0x118]
fnstsw ax
test ah, 0x44
jp 0x408914
fld qword [esp + 0x60]
fstp qword [esp + 0x118]
fucompp
fnstsw ax
test ah, 0x44
jp 0x408928
fld qword [esp + 0x60]
fstp qword [esp + 0x120]
lea ecx, [esp + 0x94]
call fcn.005b8eb0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 0x2b
call fcn.005b8eb0
push str.3D_RatingName
lea ecx, [esp + 0x98]
mov byte [esp + 0x238], 0x2c
call fcn.005b9840
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x1e0]
push ecx
mov ecx, ebx
call fcn.00404d20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x23c], 0x2d
call fcn.005b9150
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x234], 0x2c
call fcn.005b9130
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_NominalPower
lea ecx, [esp + 0x98]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x40]
call fcn.005b9840
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b98c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d3530
push str.3D_PowerRange
lea ecx, [esp + 0x98]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x40]
call fcn.005b9840
fld qword [esp + 0x128]
push 0x5eeb1c
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005b98c0
mov ecx, eax
call fcn.005b9920
fld qword [esp + 0x130]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b98c0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x94]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d3530
push str.3D_NominalHeatDssp
lea ecx, [esp + 0x98]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x40]
call fcn.005b9840
fld qword [esp + 0x60]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b98c0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d3530
push str.3D_HeatDsspRange
lea ecx, [esp + 0x98]
call fcn.005b9840
push 0x5eeb66
lea ecx, [esp + 0x40]
call fcn.005b9840
fld qword [esp + 0x118]
push 0x5eeb1c
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005b98c0
mov ecx, eax
call fcn.005b9920
fld qword [esp + 0x120]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b98c0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d3530
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 0x2b
call fcn.005b9130
lea ecx, [esp + 0x94]
mov byte [esp + 0x234], 7
call fcn.005b9130
cmp dword [esp + 0x268], 1
jne 0x408c0a
lea eax, [esp + 0x68]
push eax
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_BMBElement::GetOwner_void_]
mov ecx, dword [esp + 0x68]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x234], 0x2e
jle 0x408bf8
push 0x5eee30
mov ecx, esi
call fcn.004d3490
mov edi, eax
test edi, edi
je 0x408bb7
mov edx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x210]
push eax
mov ecx, ebx
call fcn.00404d20
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x23c], 0x2f
call fcn.004d37d0
lea ecx, [esp + 0x20c]
jmp 0x408beb
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x1f8]
push edx
mov ecx, ebx
call fcn.00404d20
mov eax, dword [eax]
push 1
push eax
push 0x5eee30
mov ecx, esi
mov byte [esp + 0x240], 0x30
call fcn.004d3530
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x234], 0x2e
call fcn.005b9130
lea ecx, [esp + 0x68]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esi + 0x2c]
lea edi, [ebx + 0x30]
push eax
mov ecx, edi
call fcn.005b9840
push 1
mov ecx, esi
call fcn.00450720
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMBPart::GetRotation_void_]
fstp dword [esp + 0x60]
fld dword [esp + 0x60]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.00451660
test eax, eax
jne 0x408cbe
mov eax, dword [esi + 0x2c]
push eax
push str.COMP:__s_angle_error_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
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____]
add esp, 0xc
push eax
push str.InternalError_kind_Comment
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str._angle_error
push edi
push str.ERROR_COMP_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.005b9ad0
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x408fa3
mov ecx, dword [esp + 0x14]
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMBPart::GetX_void_]
push ecx
mov ecx, ebx
fstp dword [esp]
call fcn.00403cb0
mov ecx, dword [esp + 0x14]
mov ebp, eax
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMBPart::GetY_void_]
push ecx
mov ecx, ebx
fstp dword [esp]
call fcn.00403cb0
lea edx, [esp + 0x138]
push edx
mov ecx, esi
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], eax
call fcn.00451710
test eax, eax
jne 0x408d85
push str.COMP:_location_error_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
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____]
add esp, 8
push eax
push str.InternalError_kind_Comment
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ecx
push str._location_error
push edi
push str.ERROR_COMP_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.005b9ad0
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x408fa3
test byte [esi + 0x3c], 2
mov ecx, dword [esp + 0x14]
je 0x408e13
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
cmp al, 1
je 0x408ed5
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x408db3
push 0
mov ecx, esi
call fcn.00450720
mov ecx, esi
call fcn.00450780
push 0
mov ecx, esi
call fcn.0044ffa0
test eax, eax
jne 0x408ec1
mov eax, dword [esi + 0x2c]
push eax
push str.COMP_:__s_side_error_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
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____]
add esp, 0xc
push edx
push str.InternalError_kind_Comment
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
jmp 0x408e8f
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
test al, al
je 0x408ed5
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x408e33
push 0
mov ecx, esi
call fcn.00450720
mov ecx, esi
call fcn.00450780
push 1
mov ecx, esi
call fcn.0044ffa0
test eax, eax
jne 0x408ec1
mov eax, dword [esi + 0x2c]
push eax
push str.COMP_:__s_side_error_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
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____]
add esp, 0xc
push ecx
push str.InternalError_kind_Comment
push 0x632f68
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
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._side_error
push edi
push str.ERROR_COMP_
push 0x632f68
call fcn.00401320
add esp, 8
push eax
call fcn.005b9ad0
add esp, 8
push eax
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, esi
call fcn.00451790
test ebx, ebx
je 0x408ed5
push 1
mov ecx, esi
call fcn.00450720
movzx eax, word [esi + 0x3c]
test al, 1
je 0x408f4d
cmp dword [esp + 0x74], 0
mov ecx, esi
je 0x408f3f
lea eax, [esp + 0x218]
push eax
call fcn.00450020
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov byte [esp + 0x23c], 0x31
call fcn.00532e50
add esp, 8
cmp eax, 1
lea ecx, [esp + 0x218]
sete bl
mov byte [esp + 0x234], 7
call fcn.004eee10
mov ecx, esi
test bl, bl
je 0x408f34
mov edx, 0xfeff
and word [esi + 0x3c], dx
jmp 0x408f48
mov eax, 0x100
or word [esi + 0x3c], ax
jmp 0x408f48
or eax, 0x100
mov word [esi + 0x3c], ax
call fcn.004d8c00
cmp dword [esp + 0x264], 1
jne 0x408fa3
mov edi, dword [esp + 0x14]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsLocateLock_void_]
cmp al, 1
jne 0x408f73
or word [esi + 0x3c], 4
mov ecx, esi
call fcn.004d8c00
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsAngleLock_void_]
cmp al, 1
jne 0x408f8b
or word [esi + 0x3c], 8
mov ecx, esi
call fcn.004d8c00
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsSideLock_void_]
cmp al, 1
jne 0x408fa3
or word [esi + 0x3c], 0x10
mov ecx, esi
call fcn.004d8c00
mov ecx, dword [esp + 0xc4]
mov ebx, dword [esp + 0x18]
mov edi, 1
add ecx, edi
cmp ecx, dword [esp + 0xc0]
mov dword [esp + 0xc4], ecx
jl 0x407910
mov ecx, dword [ebx + 0x20]
or dword [ecx + 0x2c], 8
call fcn.004d8c00
mov ecx, dword [ebx + 0x20]
or dword [ecx + 0x2c], 1
call fcn.004d8c00
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
push 2
push 4
lea edx, [esp + 0x98]
push edx
mov byte [esp + 0x244], 5
call fcn.005bf4a9
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x78]
mov byte [esp + 0x234], 1
call fcn.00481ef0
lea ecx, [esp + 0x244]
mov byte [esp + 0x234], 0
call fcn.005b9ba0
lea ecx, [esp + 0x258]
mov dword [esp + 0x234], 0xffffffff
call fcn.005b9130
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x224
ret 0x34