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

Disassembly:
push 0xffffffffffffffff
push 0x5d83a9
mov eax, dword fs:[0]
push eax
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov eax, dword [0x638190]
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.004c19c0
mov ecx, dword [ebx + 0x24]
push 2
mov esi, eax
call fcn.004c19c0
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.00492c00
lea ecx, [esp + 0x78]
mov byte [esp + 0x234], 2
call fcn.00492c20
test eax, eax
je 0x407765
lea ecx, [esp + 0x78]
call fcn.00492c20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
je 0x40779c
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
push eax
lea ecx, [esp + 0x7c]
call fcn.00492c30
lea ecx, [esp + 0x78]
call fcn.00492c20
test eax, eax
je 0x4077b2
lea ecx, [esp + 0x78]
call fcn.00492c20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x4077b2
lea ecx, [esp + 0x78]
call fcn.00492c20
mov ecx, eax
call fcn.004b51d0
mov dword [esp + 0x74], eax
jmp 0x4077ba
mov dword [esp + 0x74], 0
mov ecx, dword [ebx + 0x20]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00450750
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.005c3e4c
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 0x408f69
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 0x407a44
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 0x4079bd
mov eax, dword [esp + 0x244]
xor ebp, ebp
mov dword [esp + 0x60], eax
test eax, eax
jle 0x4079a2
xor edi, edi
jmp 0x407910
mov eax, dword [esp + 0x24c]
add eax, edi
push eax
lea ecx, [esp + 0x18c]
call fcn.005be070
sub esp, 0xc
lea edx, [esp + 0x194]
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
mov byte [esp + 0x244], 9
call fcn.005be070
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x118]
push eax
call fcn.00404d00
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.005bd9f0
test bl, bl
jne 0x4079b9
inc ebp
add edi, 0xc
cmp ebp, dword [esp + 0x60]
jl 0x407910
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x408f43
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x1d4]
push edx
mov ecx, ebx
call fcn.00416f20
mov ebp, dword [eax]
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + 0x34]
mov byte [esp + 0x234], 0xb
test esi, esi
je 0x407a05
mov eax, dword [esi + 8]
test eax, eax
jne 0x407a07
mov edi, dword [esi + 4]
and edi, 0x7f
call fcn.004db3c0
mov edi, dword [eax + edi*4 - 4]
push esi
mov ecx, edi
call fcn.004da850
jmp 0x407a07
xor eax, eax
push ebp
mov ecx, eax
call fcn.004d3ee0
lea ecx, [esp + 0x1d0]
mov esi, eax
mov byte [esp + 0x234], 8
call fcn.005bd9f0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
test esi, esi
je 0x408f43
jmp 0x407f36
mov ecx, dword [esp + 0x258]
xor edi, edi
test ecx, ecx
je 0x407e25
mov edx, ecx
mov eax, str.Part
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x407a7c
test bl, bl
je 0x407a78
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x407a7c
add eax, 2
add edx, 2
test bl, bl
jne 0x407a5c
xor eax, eax
jmp 0x407a81
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407bae
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.00416f20
lea ecx, [esp + 0x114]
mov byte [esp + 0x234], 0xe
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x17c]
call fcn.005bd770
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0xf
call fcn.00450730
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407b8e
mov esi, ecx
call fcn.00450bb0
test eax, eax
je 0x407b72
mov ecx, esi
call fcn.00450bb0
lea ecx, [eax + 0x28]
call fcn.004db920
push eax
lea ecx, [esp + 0x180]
call fcn.005be130
mov eax, dword [esp + 0x17c]
test eax, eax
je 0x407b5e
mov ecx, dword [esp + 0x170]
test ecx, ecx
je 0x407b59
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407b52
test dl, dl
je 0x407b4e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407b52
add eax, 2
add ecx, 2
test dl, dl
jne 0x407b32
xor eax, eax
jmp 0x407b6e
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x407b6e
movsx eax, byte [eax]
jmp 0x407b6e
mov eax, dword [esp + 0x170]
test eax, eax
je 0x407b89
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x407b89
lea ecx, [esp + 0x48]
call fcn.004899f0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407af5
jmp 0x407b8e
mov edi, 1
lea ecx, [esp + 0x17c]
mov byte [esp + 0x234], 0xe
call fcn.005bd9f0
lea ecx, [esp + 0x170]
jmp 0x407f1d
mov edx, ecx
mov eax, str.Package
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x407bd5
test bl, bl
je 0x407bd1
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x407bd5
add eax, 2
add edx, 2
test bl, bl
jne 0x407bb5
xor eax, eax
jmp 0x407bda
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407d0c
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.00416f20
lea ecx, [esp + 0x110]
mov byte [esp + 0x234], 0x12
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x158]
call fcn.005bd770
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x13
call fcn.00450730
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407cec
mov edi, edi
mov esi, ecx
call fcn.004b5800
test eax, eax
je 0x407cd0
mov ecx, esi
call fcn.004b5800
lea ecx, [eax + 0x28]
call fcn.004db920
push eax
lea ecx, [esp + 0x15c]
call fcn.005be130
mov eax, dword [esp + 0x158]
test eax, eax
je 0x407cbc
mov ecx, dword [esp + 0x164]
test ecx, ecx
je 0x407cb7
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407cb0
test dl, dl
je 0x407cac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407cb0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407c90
xor eax, eax
jmp 0x407ccc
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x407ccc
movsx eax, byte [eax]
jmp 0x407ccc
mov eax, dword [esp + 0x164]
test eax, eax
je 0x407ce7
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x407ce7
lea ecx, [esp + 0x48]
call fcn.004899f0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407c50
jmp 0x407cec
mov edi, 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x234], 0x12
call fcn.005bd9f0
lea ecx, [esp + 0x164]
jmp 0x407f1d
mov eax, str.StockInfo
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407d31
test dl, dl
je 0x407d2d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407d31
add eax, 2
add ecx, 2
test dl, dl
jne 0x407d11
xor eax, eax
jmp 0x407d36
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407e25
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.00416f20
lea ecx, [esp + 0x100]
mov byte [esp + 0x234], 0x16
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14c]
call fcn.005bd770
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x17
call fcn.00450730
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407e05
mov esi, ecx
test ecx, ecx
je 0x407ded
call fcn.00450be0
test eax, eax
je 0x407ded
mov ecx, esi
call fcn.00450be0
lea ecx, [eax + 0x28]
call fcn.004db920
push eax
lea ecx, [esp + 0x150]
call fcn.005be130
mov eax, dword [esp + 0x194]
mov ecx, dword [esp + 0x14c]
push eax
push ecx
call fcn.00403850
add esp, 8
test eax, eax
je 0x407e00
lea ecx, [esp + 0x48]
call fcn.004899f0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407da6
jmp 0x407e05
mov edi, 1
lea ecx, [esp + 0x14c]
mov byte [esp + 0x234], 0x16
call fcn.005bd9f0
lea ecx, [esp + 0x194]
jmp 0x407f1d
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.00416f20
lea ecx, [esp + 0xec]
mov byte [esp + 0x234], 0x1a
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x140]
call fcn.005bd770
lea ecx, [esp + 0x48]
mov byte [esp + 0x234], 0x1b
call fcn.00450730
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x407f02
mov esi, ecx
test ecx, ecx
je 0x407eea
call fcn.00450bb0
test eax, eax
je 0x407eea
mov ecx, dword [esp + 0x258]
push ecx
mov ecx, eax
call fcn.004d4660
test eax, eax
je 0x407eea
mov dl, byte [eax + 2]
and dl, 3
cmp dl, 1
jne 0x407eea
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x144]
call fcn.005be130
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x140]
push eax
push ecx
call fcn.00403850
add esp, 8
test eax, eax
je 0x407efd
lea ecx, [esp + 0x48]
call fcn.004899f0
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x407e91
jmp 0x407f02
mov edi, 1
lea ecx, [esp + 0x140]
mov byte [esp + 0x234], 0x1a
call fcn.005bd9f0
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x234], 7
call fcn.005bd9f0
test edi, edi
je 0x408f43
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 0x5f3b6e
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x40829e
mov ecx, dword [esp + 0xfc]
test ecx, ecx
je 0x40829e
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 0x40829e
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.005bd770
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x1d
call fcn.005bd770
push str.3D_MaterialName
lea ecx, [esp + 0x58]
mov byte [esp + 0x238], 0x1e
call fcn.005be130
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x1c8]
push edx
mov ecx, ebx
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x23c], 0x1f
call fcn.005bda10
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x234], 0x1e
call fcn.005bd9f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
push str.3D_MassDensity
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_YoungModulus
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x54]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d4700
push str.3D_ThermalConductivity
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0x1ac]
push 0x5f3b24
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005be1b0
mov ecx, eax
call fcn.005be210
fld qword [esp + 0x1b4]
push 0x5f3b24
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005be1b0
mov ecx, eax
call fcn.005be210
fld qword [esp + 0x1bc]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
push str.3D_SpecificHeat
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0x60]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_SurfaceEmissivity
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0x104]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
push 1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push ecx
push edx
mov ecx, esi
call fcn.004d4700
push str.3D_SurfaceRoughness
lea ecx, [esp + 0x58]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x20]
call fcn.005be130
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.005be1b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x1d
call fcn.005bd9f0
lea ecx, [esp + 0x54]
mov byte [esp + 0x234], 7
call fcn.005bd9f0
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 0x5f3b6e
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4084f7
cmp dword [esp + 0xcc], 0
je 0x4084f7
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 0x4084f7
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.005bd770
lea ecx, [esp + 0x80]
mov byte [esp + 0x234], 0x21
call fcn.005bd770
push str.3D_CapacitanceName
lea ecx, [esp + 0xb0]
mov byte [esp + 0x238], 0x22
call fcn.005be130
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x1ec]
push edx
mov ecx, ebx
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x23c], 0x23
call fcn.005bda10
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x234], 0x22
call fcn.005bd9f0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
push str.3D_Capacitance
lea ecx, [esp + 0xb0]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x84]
call fcn.005be130
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005be1b0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xac]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_HeatLoadFraction
lea ecx, [esp + 0xb0]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x84]
call fcn.005be130
fld qword [esp + 0x104]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005be1b0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xac]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d4700
push str.3D_Area
lea ecx, [esp + 0xb0]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x84]
call fcn.005be130
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005be1b0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
lea ecx, [esp + 0x80]
mov byte [esp + 0x234], 0x21
call fcn.005bd9f0
lea ecx, [esp + 0xac]
mov byte [esp + 0x234], 7
call fcn.005bd9f0
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 0x5f3b6e
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5f3b6e
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5f3b6e
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x40879d
cmp dword [esp + 0xd0], 0
je 0x40879d
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 0x40879d
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.005bd770
lea ecx, [esp + 0xa0]
mov byte [esp + 0x234], 0x27
call fcn.005bd770
push str.3D_ResistanceName
lea ecx, [esp + 0xd8]
mov byte [esp + 0x238], 0x28
call fcn.005be130
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x204]
push ecx
mov ecx, ebx
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x23c], 0x29
call fcn.005bda10
lea ecx, [esp + 0x200]
mov byte [esp + 0x234], 0x28
call fcn.005bd9f0
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xd4]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_NameCapacitance
lea ecx, [esp + 0xd8]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0xa4]
call fcn.005be130
mov ecx, dword [esp + 0x8c]
push 0x5f3b24
push ecx
lea ecx, [esp + 0xa8]
call fcn.005be210
mov ecx, eax
call fcn.005be210
mov edx, dword [esp + 0x90]
push edx
lea ecx, [esp + 0xa4]
call fcn.005be210
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xd4]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
push str.3D_Resistance
lea ecx, [esp + 0xd8]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0xa4]
call fcn.005be130
fld qword [esp + 0xb8]
sub esp, 8
lea ecx, [esp + 0xa8]
fstp qword [esp]
call fcn.005be1b0
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0xd4]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
lea ecx, [esp + 0xa0]
mov byte [esp + 0x234], 0x27
call fcn.005bd9f0
lea ecx, [esp + 0xd4]
mov byte [esp + 0x234], 7
call fcn.005bd9f0
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 0x5f3b6e
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x408ae3
cmp dword [esp + 0xc8], 0
je 0x408ae3
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 0x408ae3
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 0x40885b
fld qword [esp + 0x6c]
fstp qword [esp + 0x128]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40886f
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 0x4088b4
fld qword [esp + 0x60]
fstp qword [esp + 0x118]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4088c8
fld qword [esp + 0x60]
fstp qword [esp + 0x120]
lea ecx, [esp + 0x94]
call fcn.005bd770
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 0x2b
call fcn.005bd770
push str.3D_RatingName
lea ecx, [esp + 0x98]
mov byte [esp + 0x238], 0x2c
call fcn.005be130
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x1e0]
push ecx
mov ecx, ebx
call fcn.00416f20
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x23c], 0x2d
call fcn.005bda10
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x234], 0x2c
call fcn.005bd9f0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_NominalPower
lea ecx, [esp + 0x98]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x40]
call fcn.005be130
fld qword [esp + 0x6c]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005be1b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d4700
push str.3D_PowerRange
lea ecx, [esp + 0x98]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x40]
call fcn.005be130
fld qword [esp + 0x128]
push 0x5f3b24
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005be1b0
mov ecx, eax
call fcn.005be210
fld qword [esp + 0x130]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005be1b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x94]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d4700
push str.3D_NominalHeatDssp
lea ecx, [esp + 0x98]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x40]
call fcn.005be130
fld qword [esp + 0x60]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005be1b0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d4700
push str.3D_HeatDsspRange
lea ecx, [esp + 0x98]
call fcn.005be130
push 0x5f3b6e
lea ecx, [esp + 0x40]
call fcn.005be130
fld qword [esp + 0x118]
push 0x5f3b24
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005be1b0
mov ecx, eax
call fcn.005be210
fld qword [esp + 0x120]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005be1b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d4700
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 0x2b
call fcn.005bd9f0
lea ecx, [esp + 0x94]
mov byte [esp + 0x234], 7
call fcn.005bd9f0
cmp dword [esp + 0x268], 1
jne 0x408baa
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 0x408b98
push 0x5f3e38
mov ecx, esi
call fcn.004d4660
mov edi, eax
test edi, edi
je 0x408b57
mov edx, dword [esp + 0x68]
push edx
lea eax, [esp + 0x210]
push eax
mov ecx, ebx
call fcn.00416f20
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x23c], 0x2f
call fcn.004d49a0
lea ecx, [esp + 0x20c]
jmp 0x408b8b
mov ecx, dword [esp + 0x68]
push ecx
lea edx, [esp + 0x1f8]
push edx
mov ecx, ebx
call fcn.00416f20
mov eax, dword [eax]
push 1
push eax
push 0x5f3e38
mov ecx, esi
mov byte [esp + 0x240], 0x30
call fcn.004d4700
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x234], 0x2e
call fcn.005bd9f0
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.005be130
push 1
mov ecx, esi
call fcn.00450f30
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.00451df0
test eax, eax
jne 0x408c5e
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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
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 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 0x408f43
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.00403c90
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.00403c90
lea edx, [esp + 0x138]
push edx
mov ecx, esi
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x140], eax
call fcn.00451ea0
test eax, eax
jne 0x408d25
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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
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 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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 0x408f43
test byte [esi + 0x3c], 2
mov ecx, dword [esp + 0x14]
je 0x408db3
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
cmp al, 1
je 0x408e75
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x408d53
push 0
mov ecx, esi
call fcn.00450f30
mov ecx, esi
call fcn.00450f90
push 0
mov ecx, esi
call fcn.004507b0
test eax, eax
jne 0x408e61
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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
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 0x408e2f
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
test al, al
je 0x408e75
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x408dd3
push 0
mov ecx, esi
call fcn.00450f30
mov ecx, esi
call fcn.00450f90
push 1
mov ecx, esi
call fcn.004507b0
test eax, eax
jne 0x408e61
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 0x638398
call fcn.00401320
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
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 0x638398
call fcn.00401320
add esp, 8
push eax
call fcn.005be3c0
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.00451f20
test ebx, ebx
je 0x408e75
push 1
mov ecx, esi
call fcn.00450f30
movzx eax, word [esi + 0x3c]
test al, 1
je 0x408eed
cmp dword [esp + 0x74], 0
mov ecx, esi
je 0x408edf
lea eax, [esp + 0x218]
push eax
call fcn.00450830
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov byte [esp + 0x23c], 0x31
call fcn.00536e70
add esp, 8
cmp eax, 1
lea ecx, [esp + 0x218]
sete bl
mov byte [esp + 0x234], 7
call fcn.004f0040
mov ecx, esi
test bl, bl
je 0x408ed4
mov edx, 0xfeff
and word [esi + 0x3c], dx
jmp 0x408ee8
mov eax, 0x100
or word [esi + 0x3c], ax
jmp 0x408ee8
or eax, 0x100
mov word [esi + 0x3c], ax
call fcn.004d9ef0
cmp dword [esp + 0x264], 1
jne 0x408f43
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 0x408f13
or word [esi + 0x3c], 4
mov ecx, esi
call fcn.004d9ef0
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsAngleLock_void_]
cmp al, 1
jne 0x408f2b
or word [esi + 0x3c], 8
mov ecx, esi
call fcn.004d9ef0
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsSideLock_void_]
cmp al, 1
jne 0x408f43
or word [esi + 0x3c], 0x10
mov ecx, esi
call fcn.004d9ef0
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 0x4078b0
mov ecx, dword [ebx + 0x20]
or dword [ecx + 0x2c], 8
call fcn.004d9ef0
mov ecx, dword [ebx + 0x20]
or dword [ecx + 0x2c], 1
call fcn.004d9ef0
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.005c3de9
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.00440ab0
lea ecx, [esp + 0x244]
mov byte [esp + 0x234], 0
call fcn.005be3e0
lea ecx, [esp + 0x258]
mov dword [esp + 0x234], 0xffffffff
call fcn.005bd9f0
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