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

Disassembly:
push 0xffffffffffffffff
push 0x5d0e8a
mov eax, dword fs:[0]
push eax
sub esp, 0x204
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebx + 0x24]
xor ebp, ebp
push 5
mov dword [esp + 0x224], 1
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x1c], ebp
call fcn.004bee30
mov ecx, dword [ebx + 0x24]
push 2
mov esi, eax
call fcn.004bee30
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.00490160
lea ecx, [esp + 0x78]
mov byte [esp + 0x220], 2
call fcn.00490180
test eax, eax
je 0x406d82
lea ecx, [esp + 0x78]
call fcn.00490180
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
je 0x406db9
mov edx, dword [edi]
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
push eax
lea ecx, [esp + 0x7c]
call fcn.00490190
lea ecx, [esp + 0x78]
call fcn.00490180
test eax, eax
je 0x406dcf
lea ecx, [esp + 0x78]
call fcn.00490180
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x38]
call eax
cmp eax, 4
jne 0x406dcf
lea ecx, [esp + 0x78]
call fcn.00490180
mov ecx, eax
call fcn.00497750
mov dword [esp + 0x64], eax
jmp 0x406dd3
mov dword [esp + 0x64], ebp
mov ecx, dword [ebx + 0x20]
push ecx
lea ecx, [esp + 0x50]
call fcn.0044e370
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov esi, dword [esp + 0x228]
mov ecx, esi
mov byte [esp + 0x220], 3
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapMaterial____thiscall_BMBProduct::GetMapMaterial_void_]
lea ecx, [esp + 0x34]
mov dword [esp + 0xd8], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, esi
mov byte [esp + 0x220], 4
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapCapacitance____thiscall_BMBProduct::GetMapCapacitance_void_]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x118], 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 + 0x234], 5
call fcn.005bd55c
mov ecx, esi
mov byte [esp + 0x220], 6
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapResistance____thiscall_BMBProduct::GetMapResistance_void_]
lea ecx, [esp + 0x48]
mov dword [esp + 0xec], eax
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov ecx, esi
mov byte [esp + 0x220], 7
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBMapRating____thiscall_BMBProduct::GetMapRating_void_]
mov ecx, dword [esp + 0x22c]
push 1
mov dword [esp + 0x118], eax
call dword [sym.imp.BMB_NX_C9.dll_public:_int___thiscall_BMBSheet::CountElement_unsigned_char_]
mov edi, eax
xor eax, eax
cmp edi, ebp
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc8], eax
jle 0x4084a9
mov esi, dword [esp + 0xbc]
jmp 0x406ec7
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x22c]
push eax
call dword [sym.imp.BMB_NX_C9.dll_public:_class_BMBPart____thiscall_BMBSheet::GetPart_int_]
mov edi, 1
mov dword [esp + 0x14], eax
cmp dword [esp + 0x240], edi
je 0x407058
lea edx, [esp + 0x30]
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 + 0x220], 8
cmp dword [esp + 0x23c], edi
jne 0x406fd1
mov eax, dword [esp + 0x230]
xor ebp, ebp
mov dword [esp + 0x70], eax
test eax, eax
jle 0x406fb6
xor edi, edi
mov eax, dword [esp + 0x238]
add eax, edi
push eax
lea ecx, [esp + 0x148]
call fcn.005b77d0
sub esp, 0xc
lea edx, [esp + 0x150]
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
mov byte [esp + 0x230], 9
call fcn.005b77d0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x114]
push eax
call fcn.00404910
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x224], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
lea ecx, [esp + 0x108]
sete bl
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x144]
mov byte [esp + 0x220], 8
call fcn.005b7180
test bl, bl
jne 0x406fcd
inc ebp
add edi, 0xc
cmp ebp, dword [esp + 0x70]
jl 0x406f24
lea ecx, [esp + 0x30]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x40848b
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x1fc]
push edx
mov ecx, ebx
call fcn.00415100
mov ebp, dword [eax]
mov eax, dword [ebx + 0x20]
mov esi, dword [eax + 0x34]
mov byte [esp + 0x220], 0xb
test esi, esi
je 0x407019
mov eax, dword [esi + 8]
test eax, eax
jne 0x40701b
mov edi, dword [esi + 4]
and edi, 0x7f
call fcn.004d8300
mov edi, dword [eax + edi*4 - 4]
push esi
mov ecx, edi
call fcn.004d7790
jmp 0x40701b
xor eax, eax
push ebp
mov ecx, eax
call fcn.004d0e60
lea ecx, [esp + 0x1f8]
mov esi, eax
mov byte [esp + 0x220], 8
call fcn.005b7180
lea ecx, [esp + 0x30]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
test esi, esi
je 0x40848b
jmp 0x407555
mov ecx, dword [esp + 0x244]
xor edi, edi
test ecx, ecx
je 0x407445
mov edx, ecx
mov eax, str.Part
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x407090
test bl, bl
je 0x40708c
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x407090
add eax, 2
add edx, 2
test bl, bl
jne 0x407070
xor eax, eax
jmp 0x407095
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4071cc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x100]
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 + 0x184]
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x228], 0xc
call fcn.00415100
lea ecx, [esp + 0x100]
mov byte [esp + 0x220], 0xe
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18c]
call fcn.005b6f00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x220], 0xf
call fcn.0044e350
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4071ac
lea esp, [esp]
mov esi, ecx
call fcn.0044e840
test eax, eax
je 0x407190
mov ecx, esi
call fcn.0044e840
lea ecx, [eax + 0x28]
call fcn.004d8830
push eax
lea ecx, [esp + 0x190]
call fcn.005b7890
mov eax, dword [esp + 0x18c]
test eax, eax
je 0x40717c
mov ecx, dword [esp + 0x180]
test ecx, ecx
je 0x407177
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407170
test dl, dl
je 0x40716c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407170
add eax, 2
add ecx, 2
test dl, dl
jne 0x407150
xor eax, eax
jmp 0x40718c
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x40718c
movsx eax, byte [eax]
jmp 0x40718c
mov eax, dword [esp + 0x180]
test eax, eax
je 0x4071a7
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x4071a7
lea ecx, [esp + 0x4c]
call fcn.00480060
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x407110
jmp 0x4071ac
mov edi, 1
lea ecx, [esp + 0x18c]
mov byte [esp + 0x220], 0xe
call fcn.005b7180
lea ecx, [esp + 0x180]
jmp 0x40753c
mov edx, ecx
mov eax, str.Package
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x4071f3
test bl, bl
je 0x4071ef
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x4071f3
add eax, 2
add edx, 2
test bl, bl
jne 0x4071d3
xor eax, eax
jmp 0x4071f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40732c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xdc]
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 + 0x1c]
push eax
lea eax, [esp + 0x16c]
push eax
mov byte [esp + 0x228], 0x10
call fcn.00415100
lea ecx, [esp + 0xdc]
mov byte [esp + 0x220], 0x12
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x174]
call fcn.005b6f00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x220], 0x13
call fcn.0044e350
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x40730c
lea esp, [esp]
mov esi, ecx
call fcn.00473a70
test eax, eax
je 0x4072f0
mov ecx, esi
call fcn.00473a70
lea ecx, [eax + 0x28]
call fcn.004d8830
push eax
lea ecx, [esp + 0x178]
call fcn.005b7890
mov eax, dword [esp + 0x174]
test eax, eax
je 0x4072dc
mov ecx, dword [esp + 0x168]
test ecx, ecx
je 0x4072d7
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4072d0
test dl, dl
je 0x4072cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4072d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4072b0
xor eax, eax
jmp 0x4072ec
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x4072ec
movsx eax, byte [eax]
jmp 0x4072ec
mov eax, dword [esp + 0x168]
test eax, eax
je 0x407307
movsx eax, byte [eax]
neg eax
test eax, eax
je 0x407307
lea ecx, [esp + 0x4c]
call fcn.00480060
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x407270
jmp 0x40730c
mov edi, 1
lea ecx, [esp + 0x174]
mov byte [esp + 0x220], 0x12
call fcn.005b7180
lea ecx, [esp + 0x168]
jmp 0x40753c
mov eax, str.StockInfo
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407351
test dl, dl
je 0x40734d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407351
add eax, 2
add ecx, 2
test dl, dl
jne 0x407331
xor eax, eax
jmp 0x407356
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407445
lea ecx, [esp + 0xe0]
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 + 0x1c]
push eax
lea edx, [esp + 0x19c]
push edx
mov byte [esp + 0x228], 0x14
call fcn.00415100
lea ecx, [esp + 0xe0]
mov byte [esp + 0x220], 0x16
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x150]
call fcn.005b6f00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x220], 0x17
call fcn.0044e350
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x407425
mov esi, ecx
test ecx, ecx
je 0x40740d
call fcn.0044e870
test eax, eax
je 0x40740d
mov ecx, esi
call fcn.0044e870
lea ecx, [eax + 0x28]
call fcn.004d8830
push eax
lea ecx, [esp + 0x154]
call fcn.005b7890
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x150]
push eax
push ecx
call fcn.00403040
add esp, 8
test eax, eax
je 0x407420
lea ecx, [esp + 0x4c]
call fcn.00480060
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x4073c6
jmp 0x407425
mov edi, 1
lea ecx, [esp + 0x150]
mov byte [esp + 0x220], 0x16
call fcn.005b7180
lea ecx, [esp + 0x198]
jmp 0x40753c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xe8]
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 + 0x1c]
push eax
lea eax, [esp + 0x1a8]
push eax
mov byte [esp + 0x228], 0x18
call fcn.00415100
lea ecx, [esp + 0xe8]
mov byte [esp + 0x220], 0x1a
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x15c]
call fcn.005b6f00
lea ecx, [esp + 0x4c]
mov byte [esp + 0x220], 0x1b
call fcn.0044e350
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x407521
lea ecx, [ecx]
mov esi, ecx
test ecx, ecx
je 0x407509
call fcn.0044e840
test eax, eax
je 0x407509
mov ecx, dword [esp + 0x244]
push ecx
mov ecx, eax
call fcn.004d15e0
test eax, eax
je 0x407509
mov dl, byte [eax + 2]
and dl, 3
cmp dl, 1
jne 0x407509
mov eax, dword [eax + 4]
push eax
lea ecx, [esp + 0x160]
call fcn.005b7890
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x15c]
push eax
push ecx
call fcn.00403040
add esp, 8
test eax, eax
je 0x40751c
lea ecx, [esp + 0x4c]
call fcn.00480060
mov ecx, dword [esp + 0x54]
test ecx, ecx
jne 0x4074b0
jmp 0x407521
mov edi, 1
lea ecx, [esp + 0x15c]
mov byte [esp + 0x220], 0x1a
call fcn.005b7180
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x220], 7
call fcn.005b7180
test edi, edi
je 0x40848b
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
inc dword [esp + 0xa0]
lea edx, [esp + 0xf0]
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 + 0x224], 0x1c
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xf0]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5ecac2
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4078c4
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je 0x4078c4
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 0x4078c4
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetMassDensity_void_]
fstp qword [esp + 0x68]
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 + 0x1b0]
push 1
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetThermalConductivity_int_]
fstp qword [esp + 0x1b8]
push 2
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetThermalConductivity_int_]
fstp qword [esp + 0x1c0]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSpecificHeat_void_]
fstp qword [esp + 0x70]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSurfaceEmissivity_void_]
fstp qword [esp + 0xf4]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBMaterial::GetSurfaceRoughness_void_]
fstp qword [esp + 0xc0]
lea ecx, [esp + 0x58]
call fcn.005b6f00
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x1d
call fcn.005b6f00
push str.3D_MaterialName
lea ecx, [esp + 0x5c]
mov byte [esp + 0x224], 0x1e
call fcn.005b7890
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x1cc]
push edx
mov ecx, ebx
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x228], 0x1f
call fcn.005b71a0
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x220], 0x1e
call fcn.005b7180
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
push str.3D_MassDensity
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0x68]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_YoungModulus
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0x68]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d1680
push str.3D_ThermalConductivity
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0x1b0]
push 0x5eca60
sub esp, 8
lea ecx, [esp + 0x2c]
fstp qword [esp]
call fcn.005b7910
mov ecx, eax
call fcn.005b7970
fld qword [esp + 0x1b8]
push 0x5eca60
sub esp, 8
lea ecx, [esp + 0x2c]
fstp qword [esp]
call fcn.005b7910
mov ecx, eax
call fcn.005b7970
fld qword [esp + 0x1c0]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
push str.3D_SpecificHeat
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0x70]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_SurfaceEmissivity
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0xf4]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
push 1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
push ecx
push edx
mov ecx, esi
call fcn.004d1680
push 0x5eccc0
lea ecx, [esp + 0x5c]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x24]
call fcn.005b7890
fld qword [esp + 0xc0]
sub esp, 8
lea ecx, [esp + 0x28]
fstp qword [esp]
call fcn.005b7910
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
lea ecx, [esp + 0x20]
mov byte [esp + 0x220], 0x1d
call fcn.005b7180
lea ecx, [esp + 0x58]
mov byte [esp + 0x220], 7
call fcn.005b7180
lea edx, [esp + 0xfc]
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 + 0x38]
mov byte [esp + 0x224], 0x20
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xfc]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5ecac2
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x407b17
mov ecx, dword [esp + 0x118]
test ecx, ecx
je 0x407b17
mov eax, dword [esp + 0x34]
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 0x407b17
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetCapacitance_void_]
fstp qword [esp + 0xc0]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetHeatLoadFraction_void_]
fstp qword [esp + 0xf4]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBCapacitance::GetArea_void_]
fstp qword [esp + 0x68]
lea ecx, [esp + 0xb0]
call fcn.005b6f00
lea ecx, [esp + 0x80]
mov byte [esp + 0x220], 0x21
call fcn.005b6f00
push str.3D_CapacitanceName
lea ecx, [esp + 0xb4]
mov byte [esp + 0x224], 0x22
call fcn.005b7890
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x1d8]
push edx
mov ecx, ebx
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x228], 0x23
call fcn.005b71a0
lea ecx, [esp + 0x1d4]
mov byte [esp + 0x220], 0x22
call fcn.005b7180
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xb0]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
push str.3D_Capacitance
lea ecx, [esp + 0xb4]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x84]
call fcn.005b7890
fld qword [esp + 0xc0]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b7910
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xb0]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_HeatLoadFraction
lea ecx, [esp + 0xb4]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x84]
call fcn.005b7890
fld qword [esp + 0xf4]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b7910
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xb0]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d1680
push str.3D_Area
lea ecx, [esp + 0xb4]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x84]
call fcn.005b7890
fld qword [esp + 0x68]
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
call fcn.005b7910
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xb0]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
lea ecx, [esp + 0x80]
mov byte [esp + 0x220], 0x21
call fcn.005b7180
lea ecx, [esp + 0xb0]
mov byte [esp + 0x220], 7
call fcn.005b7180
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 + 0x30]
mov byte [esp + 0x224], 0x24
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5ecac2
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5ecac2
lea ecx, [esp + 0x94]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x5ecac2
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x407db9
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x407db9
mov eax, dword [esp + 0x2c]
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 0x407db9
mov ebp, 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 0
lea ecx, [esp + 0x114]
push ecx
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x224], 0x25
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x110]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
lea edx, [esp + 0x108]
push edx
mov ecx, edi
call ebp
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x224], 0x26
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x104]
mov byte [esp + 0x220], 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 + 0xc0]
lea ecx, [esp + 0xcc]
call fcn.005b6f00
lea ecx, [esp + 0xa4]
mov byte [esp + 0x220], 0x27
call fcn.005b6f00
push str.3D_ResistanceName
lea ecx, [esp + 0xd0]
mov byte [esp + 0x224], 0x28
call fcn.005b7890
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x1f0]
push ecx
mov ecx, ebx
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x228], 0x29
call fcn.005b71a0
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x220], 0x28
call fcn.005b7180
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xcc]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_NameCapacitance
lea ecx, [esp + 0xd0]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0xa8]
call fcn.005b7890
mov ecx, dword [esp + 0x8c]
push 0x5eca60
push ecx
lea ecx, [esp + 0xac]
call fcn.005b7970
mov ecx, eax
call fcn.005b7970
mov edx, dword [esp + 0x90]
push edx
lea ecx, [esp + 0xa8]
call fcn.005b7970
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xcc]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
push str.3D_Resistance
lea ecx, [esp + 0xd0]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0xa8]
call fcn.005b7890
fld qword [esp + 0xc0]
sub esp, 8
lea ecx, [esp + 0xac]
fstp qword [esp]
call fcn.005b7910
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xcc]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
lea ecx, [esp + 0xa4]
mov byte [esp + 0x220], 0x27
call fcn.005b7180
lea ecx, [esp + 0xcc]
mov byte [esp + 0x220], 7
call fcn.005b7180
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x10c]
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 + 0x4c]
mov byte [esp + 0x224], 0x2a
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x220], 7
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5ecac2
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4080f9
mov ecx, dword [esp + 0x114]
test ecx, ecx
je 0x4080f9
mov edx, dword [esp + 0x48]
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 0x4080f9
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetPower_void_]
fstp qword [esp + 0x68]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMinPower_void_]
fstp qword [esp + 0x12c]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMaxPower_void_]
fst qword [esp + 0x134]
fldz
fcom qword [esp + 0x12c]
fnstsw ax
test ah, 0x44
jp 0x407e71
fld qword [esp + 0x68]
fstp qword [esp + 0x12c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x407e85
fld qword [esp + 0x68]
fstp qword [esp + 0x134]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetHeatDssp_void_]
fstp qword [esp + 0x70]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMinHeatDssp_void_]
fstp qword [esp + 0x11c]
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_double___thiscall_BMBRating::GetMaxHeatDssp_void_]
fst qword [esp + 0x124]
fldz
fcom qword [esp + 0x11c]
fnstsw ax
test ah, 0x44
jp 0x407eca
fld qword [esp + 0x70]
fstp qword [esp + 0x11c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x407ede
fld qword [esp + 0x70]
fstp qword [esp + 0x124]
lea ecx, [esp + 0x94]
call fcn.005b6f00
lea ecx, [esp + 0x3c]
mov byte [esp + 0x220], 0x2b
call fcn.005b6f00
push str.3D_RatingName
lea ecx, [esp + 0x98]
mov byte [esp + 0x224], 0x2c
call fcn.005b7890
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x1e4]
push ecx
mov ecx, ebx
call fcn.00415100
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x228], 0x2d
call fcn.005b71a0
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x220], 0x2c
call fcn.005b7180
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_NominalPower
lea ecx, [esp + 0x98]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x40]
call fcn.005b7890
fld qword [esp + 0x68]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b7910
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d1680
push str.3D_PowerRange
lea ecx, [esp + 0x98]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x40]
call fcn.005b7890
fld qword [esp + 0x12c]
push 0x5eca60
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005b7910
mov ecx, eax
call fcn.005b7970
fld qword [esp + 0x134]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b7910
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x94]
push 1
push eax
push ecx
mov ecx, esi
call fcn.004d1680
push str.3D_NominalHeatDssp
lea ecx, [esp + 0x98]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x40]
call fcn.005b7890
fld qword [esp + 0x70]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b7910
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x94]
push 1
push edx
push eax
mov ecx, esi
call fcn.004d1680
push str.3D_HeatDsspRange
lea ecx, [esp + 0x98]
call fcn.005b7890
push 0x5ecac2
lea ecx, [esp + 0x40]
call fcn.005b7890
fld qword [esp + 0x11c]
push 0x5eca60
sub esp, 8
lea ecx, [esp + 0x48]
fstp qword [esp]
call fcn.005b7910
mov ecx, eax
call fcn.005b7970
fld qword [esp + 0x124]
sub esp, 8
lea ecx, [esp + 0x44]
fstp qword [esp]
call fcn.005b7910
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x94]
push 1
push ecx
push edx
mov ecx, esi
call fcn.004d1680
lea ecx, [esp + 0x3c]
mov byte [esp + 0x220], 0x2b
call fcn.005b7180
lea ecx, [esp + 0x94]
mov byte [esp + 0x220], 7
call fcn.005b7180
mov eax, dword [esi + 0x2c]
lea edi, [ebx + 0x30]
push eax
mov ecx, edi
call fcn.005b7890
push 1
mov ecx, esi
call fcn.0044ec00
mov ecx, ebp
call dword [sym.imp.BMB_NX_C9.dll_public:_float___thiscall_BMBPart::GetRotation_void_]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.0044fac0
test eax, eax
jne 0x4081ad
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____]
inc dword [esp + 0x24]
add esp, 0xc
push eax
push str.InternalError_kind_Comment
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___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 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
add esp, 8
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40848b
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.004038a0
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.004038a0
lea edx, [esp + 0x13c]
push edx
mov ecx, esi
mov dword [esp + 0x140], ebp
mov dword [esp + 0x144], eax
call fcn.0044fb70
test eax, eax
jne 0x408274
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____]
inc dword [esp + 0x20]
add esp, 8
push eax
push str.InternalError_kind_Comment
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___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 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
add esp, 8
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x40848b
test byte [esi + 0x3c], 2
mov ecx, dword [esp + 0x14]
je 0x4082fb
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
cmp al, 1
je 0x4083bd
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x40829e
push 0
mov ecx, esi
call fcn.0044ec00
mov ecx, esi
call fcn.0044ec60
push 0
mov ecx, esi
call fcn.0044e3e0
test eax, eax
jne 0x4083a9
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 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___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 0x408373
call dword [sym.imp.BMB_NX_C9.dll_public:_unsigned_char___thiscall_BMBPart::GetMountSide_void_]
test al, al
je 0x4083bd
movzx ebx, word [esi + 0x3c]
and ebx, 1
je 0x40831b
push 0
mov ecx, esi
call fcn.0044ec00
mov ecx, esi
call fcn.0044ec60
push 1
mov ecx, esi
call fcn.0044e3e0
test eax, eax
jne 0x4083a9
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 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___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 0x62ff68
call fcn.00401300
add esp, 8
push eax
call fcn.005b7b20
add esp, 8
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
inc dword [esp + 0x18]
mov ecx, esi
call fcn.0044fbf0
test ebx, ebx
je 0x4083bd
push 1
mov ecx, esi
call fcn.0044ec00
movzx eax, word [esi + 0x3c]
test al, 1
je 0x408435
cmp dword [esp + 0x64], 0
mov ecx, esi
je 0x408427
lea eax, [esp + 0x204]
push eax
call fcn.0044e460
mov ecx, dword [esp + 0x64]
push eax
push ecx
mov byte [esp + 0x228], 0x2e
call fcn.005310b0
add esp, 8
cmp eax, 1
lea ecx, [esp + 0x204]
sete bl
mov byte [esp + 0x220], 7
call fcn.004ecff0
mov ecx, esi
test bl, bl
je 0x40841c
mov edx, 0xfeff
and word [esi + 0x3c], dx
jmp 0x408430
mov eax, 0x100
or word [esi + 0x3c], ax
jmp 0x408430
or eax, 0x100
mov word [esi + 0x3c], ax
call fcn.004d6e30
cmp dword [esp + 0x250], 1
jne 0x40848b
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 0x40845b
or word [esi + 0x3c], 4
mov ecx, esi
call fcn.004d6e30
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsAngleLock_void_]
cmp al, 1
jne 0x408473
or word [esi + 0x3c], 8
mov ecx, esi
call fcn.004d6e30
mov ecx, edi
call dword [sym.imp.BMB_NX_C9.dll_public:_bool___thiscall_BMBPart::IsSideLock_void_]
cmp al, 1
jne 0x40848b
or word [esi + 0x3c], 0x10
mov ecx, esi
call fcn.004d6e30
mov eax, dword [esp + 0xc8]
mov edi, dword [esp + 0xbc]
inc eax
cmp eax, edi
mov dword [esp + 0xc8], eax
jl 0x406ec3
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
mov ebp, dword [esp + 0xa0]
mov ebx, dword [esp + 0x18]
push ecx
push str.ExportData_BMBCount_TargetCount_Success_Warning_Error
mov esi, ebp
push 0x62ff68
sub esi, ebx
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov 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 ebx
push 0x5eca60
push 0
push 0x5eca60
push esi
push 0x5eca60
push ebp
push 0x5eca60
push edi
push str.COMP_
push 0x62ff68
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
push eax
call fcn.00401300
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [sym.imp.mfc90.dll_Ordinal_601]
push eax
push 2
push 4
lea ecx, [esp + 0x98]
push ecx
mov byte [esp + 0x230], 5
call fcn.005bd4f9
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
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 + 0x220], 1
call fcn.0045c490
lea ecx, [esp + 0x230]
mov byte [esp + 0x220], 0
call fcn.005b7bf0
lea ecx, [esp + 0x244]
mov dword [esp + 0x220], 0xffffffff
call fcn.005b7180
xor eax, eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0x2c