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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf04
push ebx
push esi
push edi
mov dword [esp + 0x30], str.ProbeType
mov dword [esp + 0x34], str.VersionNumber
mov dword [esp + 0x38], str.Comment
mov dword [esp + 0x3c], str.CE_PlatK
mov dword [esp + 0x40], str.CE_PlatL
mov dword [esp + 0x44], str.CE_Target
mov dword [esp + 0x48], str.CE_MinLim
mov dword [esp + 0x4c], str.CE_MaxLim
mov dword [esp + 0x50], str.CE_MaxLim2
mov dword [esp + 0x54], str.CE_MinQuality
mov dword [esp + 0x58], str.CE_MinWarn
mov dword [esp + 0x5c], str.CE_MaxWarn
mov dword [esp + 0x60], str.CEI_MaxGraph
mov dword [esp + 0x64], 0x42d700
mov dword [esp + 0x68], 0x42d6f8
mov dword [esp + 0x6c], str.MGM_MinLim
mov dword [esp + 0x70], str.MGM_MaxLim
mov dword [esp + 0x74], str.MGM_MGIMax
mov dword [esp + 0x78], str.MGM_MinWarn
mov dword [esp + 0x7c], str.MGM_MaxWarn
mov dword [esp + 0x80], str.MGM_Range
mov dword [esp + 0x84], str.BIM_MaxGraph
mov dword [esp + 0x88], str.kIndMg
mov dword [esp + 0x8c], 0x42d638
mov dword [esp + 0x90], 0x42d630
mov dword [esp + 0x94], str.MGI_MinLim
mov dword [esp + 0x98], str.MGI_MaxLim
mov dword [esp + 0x9c], str.MGI_MGMMax
mov dword [esp + 0xa0], str.MGI_MinWarn
mov dword [esp + 0xa4], str.MGI_MaxWarn
mov dword [esp + 0xa8], str.MGI_Range
mov dword [esp + 0xac], str.BII_MaxGraph
mov dword [esp + 0xb0], str.TAN_Ratio
mov dword [esp + 0xb4], str.TAN_Offset
mov dword [esp + 0xb8], str.kIndInoc
mov dword [esp + 0xbc], str.UseTreated
mov dword [esp + 0xc0], str.mMeltNom
mov dword [esp + 0xc4], str.cBT_Start
mov dword [esp + 0xc8], str.mMeltStart
mov dword [esp + 0xcc], str.Tnom
mov dword [esp + 0xd0], str.TPour
mov dword [esp + 0xd4], str.xSnom
mov dword [esp + 0xd8], str.mFurnNom
mov dword [esp + 0xdc], str.mMouldNom
mov dword [esp + 0xe0], str.mSpoutNom
mov dword [esp + 0xe4], str.cMouldMin_Inoc
mov dword [esp + 0xe8], str.xRE_BT
mov dword [esp + 0xec], str.kRE_S
mov dword [esp + 0xf0], str.xMgNom
mov dword [esp + 0xf4], str.xMgFurnNom
mov dword [esp + 0xf8], str.xMgMin
mov dword [esp + 0xfc], str.xMgMax
mov dword [esp + 0x100], str.xMgChangeMax
mov dword [esp + 0x104], str.InocNom
mov dword [esp + 0x108], str.InocMin
mov dword [esp + 0x10c], str.InocMax
mov dword [esp + 0x110], str.InocChangeMax
mov dword [esp + 0x114], str.CECalc_MGMMin
mov dword [esp + 0x118], str.xCENom
mov dword [esp + 0x11c], str.xCEUpMax
mov dword [esp + 0x120], str.xCEDownMax
mov dword [esp + 0x124], str.xCEChangeMax
mov dword [esp + 0x128], str.mCECalc
mov dword [esp + 0x12c], str.kFFade
mov dword [esp + 0x130], str.xFFadeRef
mov dword [esp + 0x134], str.tFFadeTime
mov dword [esp + 0x138], str.kStartupFade
mov dword [esp + 0x13c], str.xStartupFade
mov dword [esp + 0x140], str.kMgS
mov dword [esp + 0x144], str.kMgRE
mov dword [esp + 0x148], str.xFsmMg
mov dword [esp + 0x14c], str.nFsmMg
mov dword [esp + 0x150], str.xFsmRE
mov dword [esp + 0x154], str.nFsmRE
mov dword [esp + 0x158], str.xFsmSi
mov dword [esp + 0x15c], str.mFsm2Fixed
mov dword [esp + 0x160], str.xFsm2Mg
mov dword [esp + 0x164], str.nFsm2Mg
mov dword [esp + 0x168], str.xFsm2RE
mov dword [esp + 0x16c], str.nFsm2RE
mov dword [esp + 0x170], 0x42d1e4
mov dword [esp + 0x174], 0x42d1dc
mov dword [esp + 0x178], str.kTCompMg
mov dword [esp + 0x17c], str.kMg_Up
mov dword [esp + 0x180], str.kMg_Dn
mov dword [esp + 0x184], str.kMg_Sup
mov dword [esp + 0x188], str.xInoc
mov dword [esp + 0x18c], str.xInocSi
mov dword [esp + 0x190], str.kInoc
mov dword [esp + 0x194], str.xCE_Si
mov dword [esp + 0x198], str.xCEup
mov dword [esp + 0x19c], str.nCEup
mov dword [esp + 0x1a0], str.xCEdownC
mov dword [esp + 0x1a4], str.nCEdown
mov dword [esp + 0x1a8], 0x42d11c
mov dword [esp + 0x1ac], str.stepFeSiMg
mov dword [esp + 0x1b0], str.stepFeSiMg2
mov dword [esp + 0x1b4], str.stepInoc
mov dword [esp + 0x1b8], str.stepRE
mov dword [esp + 0x1bc], str.StepCeUp
mov dword [esp + 0x1c0], str.StepCeDown
mov dword [esp + 0x1c4], str.stepSx
mov dword [esp + 0x1c8], str.stepMx
mov dword [esp + 0x1cc], str.StepMmould
mov dword [esp + 0x1d0], str.stepTx
mov dword [esp + 0x1d4], str.CG_CM_FadeK
mov dword [esp + 0x1d8], str.CG_CM_Fade_PLo
mov dword [esp + 0x1dc], str.CG_CM_Fade_PHi
mov dword [esp + 0x1e0], str.CG_CI_FadeK
mov dword [esp + 0x1e4], str.CG_CI_Fade_PLo
mov dword [esp + 0x1e8], str.CG_CI_Fade_PHi
mov dword [esp + 0x1ec], str.CG_Fade_PRef
mov dword [esp + 0x1f0], str.CG_CorrFadeTime
mov dword [esp + 0x1f4], str.CG_CorrFadeStart
mov dword [esp + 0x1f8], str.CG_PourFadeTime
mov dword [esp + 0x1fc], str.CG_xMgW
mov dword [esp + 0x200], str.CG_xInW
mov dword [esp + 0x204], str.CG_nMgW
mov dword [esp + 0x208], str.CG_nMgW_PLo
mov dword [esp + 0x20c], str.CG_nMgW_PHi
mov dword [esp + 0x210], str.CG_nInW
mov dword [esp + 0x214], str.CG_nInW_PLo
mov dword [esp + 0x218], str.CG_nInW_PHi
mov dword [esp + 0x21c], str.CG_nW_PRef
mov dword [esp + 0x220], str.CG_nW_Limit
mov dword [esp + 0x224], str.CG_MgW_Corr
mov dword [esp + 0x228], str.CG_InW_Corr
mov dword [esp + 0x22c], str.CG_MgW_Fixed
mov dword [esp + 0x230], str.CG_InW_Fixed
mov dword [esp + 0x234], str.CG_MgW_Min
mov dword [esp + 0x238], str.CG_InW_Min
mov dword [esp + 0x23c], str.AddInoc_offset
mov dword [esp + 0x240], str.AddInoc_const
mov dword [esp + 0x244], str.AutoUpTries
mov dword [esp + 0x248], str.AUpMg_Adjust
mov dword [esp + 0x24c], str.AUpInoc_Adjust
mov dword [esp + 0x250], str.AUpMg
mov dword [esp + 0x254], str.AUpInoc
mov dword [esp + 0x258], str.AUpCE_Lim
mov dword [esp + 0x25c], str.MgWireSpeed
mov dword [esp + 0x260], str.InocWireSpeed
mov dword [esp + 0x264], str.MgRetractionDist
mov dword [esp + 0x268], str.InocRetractionDist
mov dword [esp + 0x26c], str.MgRetractionSpeed
mov dword [esp + 0x270], str.InocRetractionSpeed
mov dword [esp + 0x274], str.MgBurnOffTime
mov dword [esp + 0x278], str.InocBurnOffTime
mov dword [esp + 0x27c], str.SpeedTolerance
mov dword [esp + 0x280], str.WireLengthTolerance
mov dword [esp + 0x284], str.FilterOrder_noise
mov dword [esp + 0x288], str.FilterOrder_d
mov dword [esp + 0x28c], str.FilterOrder_d2
mov dword [esp + 0x290], str.FilterOrder_POWER
mov dword [esp + 0x294], str.FilterConstant
mov dword [esp + 0x298], str.NoiseCurrentOrder
mov dword [esp + 0x29c], str.NoiseAverageOrder
mov dword [esp + 0x2a0], str.NoiseFilterConstant
mov dword [esp + 0x2a4], str.TolMinMax
mov dword [esp + 0x2a8], str.TolInflex
mov dword [esp + 0x2ac], str.TolInflex2
mov dword [esp + 0x2b0], str.TolPowMM
mov dword [esp + 0x2b4], str.TolPowInf
mov dword [esp + 0x2b8], str.Max_increase_noise
mov dword [esp + 0x2bc], str.Max_tolerable_noise
mov dword [esp + 0x2c0], str.2nd_der_compensation
mov dword [esp + 0x2c4], str.NoiseBackground
mov dword [esp + 0x2c8], str.CupFailDetect
mov dword [esp + 0x2cc], str.CupStuckDetect
mov dword [esp + 0x2d0], str.Ttop_Low
mov dword [esp + 0x2d4], str.Ttop_High
mov dword [esp + 0x2d8], str.Ttop_WarnLow
mov dword [esp + 0x2dc], str.Ttop_WarnHigh
mov dword [esp + 0x2e0], str.Ttop_ShowFunc
mov dword [esp + 0x2e4], str.Ttop_LocMinT
mov dword [esp + 0x2e8], str.Ttop_LocDer
mov dword [esp + 0x2ec], str.ElimTtopTol
mov dword [esp + 0x2f0], str.ElimMinTime
mov dword [esp + 0x2f4], str.TAN_TimeMax
mov dword [esp + 0x2f8], str.TAN_InflexWt
mov dword [esp + 0x2fc], str.TBNunderTAN
mov dword [esp + 0x300], str.TAXsearchStart
mov dword [esp + 0x304], str.TBNsearchStart
mov dword [esp + 0x308], str.PowPeakMin
mov dword [esp + 0x30c], str.PowDiffMin
mov dword [esp + 0x310], str.PriEndMaxPDer
mov dword [esp + 0x314], str.EuPeakAMinH
mov dword [esp + 0x318], str.EuPeakBMaxH
mov dword [esp + 0x31c], str.FrzMaxDer
mov dword [esp + 0x320], str.HFusionAv
mov dword [esp + 0x324], str.MinAnaTemp
mov dword [esp + 0x328], str.CR_Temp
mov dword [esp + 0x32c], str.CR_TempMax
mov dword [esp + 0x330], str.CR_TempComp
mov dword [esp + 0x334], str.CR_Fast
mov dword [esp + 0x338], str.CR_Slow
mov dword [esp + 0x33c], str.CR_DerDiff
mov dword [esp + 0x340], str.CR_MaxTempDiff
mov dword [esp + 0x344], str.CR_MinTempDiff
mov dword [esp + 0x348], str.CR_AtoBTarget
mov dword [esp + 0x34c], str.TC_Adj_Balance
mov dword [esp + 0x350], str.CR_Target
mov dword [esp + 0x354], str.CR_Der2Max
mov dword [esp + 0x358], str.TAPMinDer
mov dword [esp + 0x35c], str.TAPPowMinDer
mov dword [esp + 0x360], str.TAPMinIndex
mov dword [esp + 0x364], str.ETAPMinIndex
mov dword [esp + 0x368], str.ETAPoverTAN
mov dword [esp + 0x36c], str.TAP_Pow2Plat
mov dword [esp + 0x370], str.TAPWeightLimit
mov dword [esp + 0x374], str.TAPOffset1
mov dword [esp + 0x378], str.TAPOffset2
mov dword [esp + 0x37c], str.TAPOffset3
mov dword [esp + 0x380], str.TAPOffset4
mov dword [esp + 0x384], str.TAPOffset5
mov dword [esp + 0x388], str.TAPConst1
mov dword [esp + 0x38c], str.TAPConst2
mov dword [esp + 0x390], str.TAPConst3
mov dword [esp + 0x394], str.TAPConst4
mov dword [esp + 0x398], str.TAPConst5
mov dword [esp + 0x39c], str.CarbMaxT
mov dword [esp + 0x3a0], str.CarbDerRatio
mov dword [esp + 0x3a4], str.CarbDerRatio2
mov dword [esp + 0x3a8], str.CarbDerTol
mov dword [esp + 0x3ac], str.CarbPeakDer2
mov dword [esp + 0x3b0], str.HeatCoef_A
mov dword [esp + 0x3b4], str.HeatCoef_B
mov dword [esp + 0x3b8], str.AC_Coefs
mov dword [esp + 0x3bc], str.Heat_AmbientT
mov dword [esp + 0x3c0], str.Heat_Cp
mov dword [esp + 0x3c4], str.Heat_MinPow
mov dword [esp + 0x3c8], str.WiggleLimit
mov dword [esp + 0x3cc], str.EuHeatCorrConst
mov dword [esp + 0x3d0], str.EuHeatCorrOffset
mov dword [esp + 0x3d4], str.EuHeatCorrHMin
mov dword [esp + 0x3d8], str.PriAustConst
mov dword [esp + 0x3dc], str.PriAustOffset
mov dword [esp + 0x3e0], str.PriAustType2or3
mov dword [esp + 0x3e4], str.EuPB_CheckTimes
mov dword [esp + 0x3e8], str.EuPB_RelPAfter
mov dword [esp + 0x3ec], 0x42c240
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x3f8], 0x42c224
mov dword [esp + 0x3fc], 0x42c204
mov dword [esp + 0x400], 0x42c1f0
mov dword [esp + 0x404], 0x42c1d4
mov dword [esp + 0x408], 0x42c1c4
mov dword [esp + 0x40c], 0x42c1b4
mov dword [esp + 0x410], 0x42c198
mov dword [esp + 0x414], 0x42c184
mov dword [esp + 0x18], 0
call fcn.00404320
add esp, 8
test eax, eax
jne 0x40caaf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov ecx, 0xa4a
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xd10]
push eax
push ecx
push eax
push eax
push esi
call dword [sym.imp.MSVCRT.dll__wsplitpath]
lea edx, [esp + 0xd24]
push 0x20
push edx
push ebx
call fcn.00422fc0
push esi
call fcn.00423010
fstp qword [esp + 0x1c]
add esp, 0x1c
call fcn.00423490
fstp qword [ebx + 0x40]
lea eax, [ebx + 0x48]
push 0
push eax
push 0
push str.ProbeType
lea ecx, [esp + 0x28]
push str.Identification
push ecx
push esi
call fcn.00405b10
lea edx, [esp + 0x434]
mov edi, eax
push 0x200
push edx
neg edi
push str.VersionNumber
lea eax, [esp + 0x40]
push str.Identification
push eax
sbb edi, edi
push esi
inc edi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x44c]
push 0x28
lea edx, [ebx + 0x50]
inc eax
push ecx
push edx
add edi, eax
call fcn.00422fc0
add esp, 0x48
lea eax, [esp + 0x410]
lea ecx, [esp + 0x10]
push 0x200
push eax
push str.Comment
push str.Identification
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [esp + 0x428]
inc eax
push 0x28
add edi, eax
lea eax, [ebx + 0xa0]
push edx
push eax
call fcn.00422fc0
lea ecx, [ebx + 0xf0]
push 0
push ecx
push 0
push str.CE_PlatK
lea edx, [esp + 0x44]
push 0x42c17c
push edx
push esi
call fcn.00405b10
add esp, 0x40
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xf8]
push eax
push 0
push str.CE_PlatL
push 0x42c17c
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x100]
push eax
push 0
push str.CE_Target
push 0x42c17c
push edx
push esi
call fcn.00405b10
fld qword [ebx + 0x100]
neg eax
fmul qword [0x4262c8]
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [esp + 0x44c]
fstp qword [ebx + 0x100]
push eax
push str.CE_MinLim
push 0x42c17c
push ecx
push esi
call fcn.00405c40
add esp, 0x50
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x3f847ae1
inc eax
push 0x47ae147b
add edi, eax
lea eax, [ebx + 0x120]
push edx
push eax
call fcn.0040bf80
lea ecx, [esp + 0x420]
push 0x200
push ecx
push str.CE_MaxLim
lea edx, [esp + 0x2c]
push 0x42c17c
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0x3f847ae1
inc eax
push 0x47ae147b
add edi, eax
lea eax, [esp + 0x440]
lea ecx, [ebx + 0x108]
push eax
push ecx
call fcn.0040bf80
lea edx, [esp + 0x448]
push 0x200
push edx
push str.CE_MaxLim2
lea eax, [esp + 0x54]
push 0x42c17c
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x3f847ae1
inc eax
push 0x47ae147b
add edi, eax
push ecx
mov dword [esp + 0x20], edi
lea edi, [ebx + 0x138]
push edi
call fcn.0040bf80
add esp, 0x10
mov ecx, 3
fld qword [edi]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40cd21
mov edx, dword [edi - 0x30]
mov dword [edi], edx
mov eax, dword [edi - 0x2c]
mov dword [edi + 4], eax
add edi, 8
dec ecx
jne 0x40cd07
lea ecx, [esp + 0x410]
push 0x200
push ecx
mov eax, 0xc0f86a00
push str.CE_MinQuality
lea edx, [esp + 0x1c]
mov dword [ebx + 0x158], 0
push 0x42c17c
mov dword [ebx + 0x15c], eax
push edx
mov dword [ebx + 0x150], 0
push esi
mov dword [ebx + 0x154], eax
call fcn.00405c40
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x428]
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 0x158]
push eax
lea eax, [ebx + 0x150]
push eax
push str._lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
cmp eax, 2
je 0x40cdbb
push str.CE_MinQuality
push 0x42c17c
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [esp + 0x410]
push 0x200
push edx
push str.CE_MinWarn
lea eax, [esp + 0x1c]
push 0x42c17c
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0x3f847ae1
lea ecx, [esp + 0x42c]
push 0x47ae147b
lea edx, [ebx + 0x178]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x438]
push 0x200
push eax
push str.CE_MaxWarn
lea ecx, [esp + 0x44]
push 0x42c17c
push ecx
push esi
call fcn.00405c40
add esp, 0x40
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x3f847ae1
inc eax
push 0x47ae147b
add edi, eax
lea eax, [ebx + 0x160]
push edx
push eax
call fcn.0040bf80
lea eax, [ebx + 0x190]
push 0
push eax
push 0
push str.CEI_MaxGraph
lea ecx, [esp + 0x30]
push 0x42c17c
push ecx
push esi
call fcn.00405b10
fld qword [ebx + 0x190]
fmul qword [0x4262c8]
neg eax
sbb eax, eax
lea edx, [ebx + 0x198]
inc eax
push 0
fstp qword [ebx + 0x190]
push edx
add edi, eax
push 0
push 0x42d700
lea eax, [esp + 0x4c]
push 0x42c174
push eax
push esi
call fcn.00405b10
add esp, 0x48
lea ecx, [ebx + 0x1a0]
neg eax
push 0
push ecx
sbb eax, eax
push 0
inc eax
push 0x42d6f8
lea edx, [esp + 0x20]
push 0x42c174
add edi, eax
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [esp + 0x430]
push eax
push str.MGM_MinLim
push 0x42c174
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x448]
add edi, eax
push 0
lea eax, [ebx + 0x1c0]
push edx
push eax
call fcn.0040bf80
add esp, 0x44
lea ecx, [esp + 0x410]
lea edx, [esp + 0x10]
push 0x200
push ecx
push str.MGM_MaxLim
push 0x42c174
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x430]
lea ecx, [ebx + 0x1a8]
push eax
push ecx
call fcn.0040bf80
lea edx, [ebx + 0x1d8]
push 0
push edx
push 0
push str.MGM_MGIMax
lea eax, [esp + 0x48]
push 0x42c174
push eax
push esi
call fcn.00405b10
add esp, 0x44
lea ecx, [esp + 0x410]
neg eax
push 0x200
push ecx
sbb eax, eax
push str.MGM_MinWarn
lea edx, [esp + 0x1c]
push 0x42c174
inc eax
push edx
push esi
add edi, eax
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x430]
lea ecx, [ebx + 0x1f8]
push eax
push ecx
call fcn.0040bf80
lea edx, [esp + 0x438]
push 0x200
push edx
push str.MGM_MaxWarn
lea eax, [esp + 0x44]
push 0x42c174
push eax
push esi
call fcn.00405c40
add esp, 0x40
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
push 0
push 0
lea edx, [ebx + 0x1e0]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x420]
push 0x200
push eax
push str.MGM_Range
lea ecx, [esp + 0x2c]
push 0x42c174
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [esp + 0x50]
inc eax
push edx
add edi, eax
lea eax, [ebx + 0x218]
lea ecx, [ebx + 0x210]
push eax
push ecx
lea edx, [esp + 0x444]
push str._lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x3c
cmp eax, 2
je 0x40d075
push str.MGM_Range
push 0x42c174
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea eax, [ebx + 0x220]
push 0
push eax
push 0
push str.BIM_MaxGraph
lea ecx, [esp + 0x20]
push 0x42c174
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x228]
push eax
push 0
push str.kIndMg
push 0x42c174
push edx
push esi
call fcn.00405b10
fld qword [0x4262c8]
fdiv qword [ebx + 0x228]
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x230]
push eax
push 0
push 0x42d638
push str.INOC
push ecx
push esi
fstp qword [ebx + 0x228]
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x238]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push 0x42d630
lea eax, [esp + 0x20]
push str.INOC
push eax
push esi
call fcn.00405b10
lea ecx, [esp + 0x42c]
push 0x200
neg eax
push ecx
push str.MGI_MinLim
sbb eax, eax
lea edx, [esp + 0x38]
push str.INOC
inc eax
push edx
push esi
add edi, eax
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x44c]
lea ecx, [ebx + 0x258]
push eax
push ecx
call fcn.0040bf80
add esp, 0x44
lea edx, [esp + 0x410]
push 0x200
push edx
push str.MGI_MaxLim
lea eax, [esp + 0x1c]
push str.INOC
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
lea ecx, [esp + 0x42c]
push 0
lea edx, [ebx + 0x240]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [ebx + 0x270]
push 0
push eax
push 0
push str.MGI_MGMMax
lea ecx, [esp + 0x48]
push str.INOC
push ecx
push esi
call fcn.00405b10
add esp, 0x44
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
inc eax
push edx
add edi, eax
push str.MGI_MinWarn
lea eax, [esp + 0x1c]
push str.INOC
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
lea ecx, [esp + 0x42c]
push 0
lea edx, [ebx + 0x290]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x438]
push 0x200
push eax
push str.MGI_MaxWarn
lea ecx, [esp + 0x44]
push str.INOC
push ecx
push esi
call fcn.00405c40
add esp, 0x40
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [ebx + 0x278]
push edx
push eax
call fcn.0040bf80
lea ecx, [esp + 0x420]
push 0x200
push ecx
push str.MGI_Range
push str.INOC
lea edx, [esp + 0x30]
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x2b0]
inc eax
lea edx, [ebx + 0x2a8]
add edi, eax
lea eax, [esp + 0x50]
push eax
push ecx
push edx
lea eax, [esp + 0x444]
push str._lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x3c
cmp eax, 2
je 0x40d2c5
push str.MGI_Range
push str.INOC
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea ecx, [ebx + 0x2b8]
push 0
push ecx
push 0
push str.BII_MaxGraph
lea edx, [esp + 0x20]
push str.INOC
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x2c0]
push eax
push 0
push str.TAN_Ratio
push str.INOC
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x2c8]
inc eax
push 0
push edx
add edi, eax
push 0
push str.TAN_Offset
lea eax, [esp + 0x58]
push str.INOC
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x2d0]
push eax
push 0
push str.kIndInoc
push str.INOC
push ecx
push esi
call fcn.00405b10
fld qword [0x4262c8]
fdiv qword [ebx + 0x2d0]
neg eax
sbb eax, eax
lea edx, [esp + 0x42c]
inc eax
push 0x200
add edi, eax
push edx
push str.UseTreated
lea eax, [esp + 0x38]
push str.AlloyCalc
push eax
push esi
fstp qword [ebx + 0x2d0]
call fcn.00405c40
add esp, 0x34
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], 0
inc eax
mov dword [esp + 0x20], ecx
add edi, eax
cmp word [esp + 0x410], 0
je 0x40d433
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40d433
cmp dword [esp + 0x1c], 4
jge 0x40d433
mov eax, dword [esp + 0x20]
push 0x200
lea edx, [esp + 0x914]
push 0
push edx
push eax
call fcn.00422ce0
lea ecx, [esp + 0x920]
push str.treated
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
jne 0x40d41f
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x2d8]
mov edx, 1
shl edx, cl
or eax, edx
mov dword [ebx + 0x2d8], eax
mov ecx, dword [esp + 0x1c]
inc ecx
cmp word [esp + 0x410], 0
mov dword [esp + 0x1c], ecx
jne 0x40d3c0
lea eax, [esp + 0x410]
push 0x200
push eax
push str.mMeltNom
lea ecx, [esp + 0x1c]
push str.AlloyCalc
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x2e8]
inc eax
lea edx, [ebx + 0x2e0]
add edi, eax
lea eax, [ebx + 0x2f0]
push eax
push ecx
push edx
lea eax, [esp + 0x434]
push str._lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
cmp eax, 3
je 0x40d4a6
xor eax, eax
mov dword [ebx + 0x2f0], eax
mov dword [ebx + 0x2f4], eax
mov dword [ebx + 0x2e8], eax
mov dword [ebx + 0x2ec], eax
push 0
lea ecx, [ebx + 0x2f8]
push 0
push ecx
push str.cBT_Start
lea edx, [esp + 0x20]
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x300]
push eax
push 0
push str.mMeltStart
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [esp + 0x448]
inc eax
push 0x200
add edi, eax
push edx
push str.Tnom
lea eax, [esp + 0x54]
push str.AlloyCalc
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0x310]
neg eax
sbb eax, eax
lea edx, [esp + 0x410]
inc eax
add edi, eax
lea eax, [ebx + 0x318]
push eax
push ecx
lea ecx, [ebx + 0x308]
push ecx
push str._lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x14
cmp eax, 3
je 0x40d56a
xor eax, eax
mov dword [ebx + 0x318], eax
mov dword [ebx + 0x31c], eax
mov dword [ebx + 0x310], eax
mov dword [ebx + 0x314], eax
lea eax, [esp + 0x410]
push 0x200
push eax
push str.TPour
lea ecx, [esp + 0x1c]
push str.AlloyCalc
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x328]
inc eax
lea edx, [ebx + 0x320]
add edi, eax
lea eax, [ebx + 0x330]
push eax
push ecx
push edx
lea edx, [esp + 0x434]
push str._lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
cmp eax, 3
je 0x40d5e9
xor eax, eax
mov dword [ebx + 0x330], eax
mov dword [ebx + 0x334], eax
mov dword [ebx + 0x328], eax
mov dword [ebx + 0x32c], eax
mov dword [ebx + 0x320], eax
mov dword [ebx + 0x324], eax
lea eax, [esp + 0x410]
push 0x200
push eax
push str.xSnom
lea ecx, [esp + 0x1c]
push str.AlloyCalc
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x340]
inc eax
lea edx, [ebx + 0x338]
add edi, eax
lea eax, [ebx + 0x348]
push eax
push ecx
push edx
lea edx, [esp + 0x434]
push str._lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
cmp eax, 3
je 0x40d65c
xor eax, eax
mov dword [ebx + 0x348], eax
mov dword [ebx + 0x34c], eax
mov dword [ebx + 0x340], eax
mov dword [ebx + 0x344], eax
fld qword [ebx + 0x338]
fmul qword [0x4262c8]
lea eax, [ebx + 0x350]
push 0
push eax
push 0
push str.mFurnNom
lea ecx, [esp + 0x20]
fstp qword [ebx + 0x338]
fld qword [ebx + 0x340]
fmul qword [0x4262c8]
push str.AlloyCalc
push ecx
push esi
fstp qword [ebx + 0x340]
fld qword [ebx + 0x348]
fmul qword [0x4262c8]
fstp qword [ebx + 0x348]
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x358]
inc eax
push 0
push edx
add edi, eax
push 0
push str.mMouldNom
lea eax, [esp + 0x3c]
push str.AlloyCalc
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x360]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.mSpoutNom
lea edx, [esp + 0x58]
push str.AlloyCalc
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [ebx + 0x368]
push eax
push str.cMouldMin_Inoc
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x370]
push eax
push 0
push str.xRE_BT
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
fld qword [ebx + 0x370]
neg eax
sbb eax, eax
inc eax
add edi, eax
fmul qword [0x4262c8]
lea eax, [ebx + 0x378]
push 0
push eax
push 0
push str.kRE_S
lea ecx, [esp + 0x58]
fstp qword [ebx + 0x370]
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x380]
push eax
push 0
push str.xMgNom
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x380]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x388]
push eax
push 0
fstp qword [ebx + 0x380]
push str.xMgFurnNom
lea eax, [esp + 0x3c]
push str.AlloyCalc
push eax
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x388]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x390]
push eax
push 0
fstp qword [ebx + 0x388]
push str.xMgMin
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x10]
neg eax
fld qword [ebx + 0x390]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x398]
push eax
push 0
fstp qword [ebx + 0x390]
push str.xMgMax
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
fld qword [ebx + 0x398]
fmul qword [0x4262c8]
inc eax
push 0
add edi, eax
lea eax, [ebx + 0x3a0]
push eax
push 0
fstp qword [ebx + 0x398]
push str.xMgChangeMax
lea eax, [esp + 0x3c]
push str.AlloyCalc
push eax
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x3a0]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x3a8]
push eax
push 0
fstp qword [ebx + 0x3a0]
push str.InocNom
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x10]
neg eax
fld qword [ebx + 0x3a8]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x3b0]
push eax
push 0
fstp qword [ebx + 0x3a8]
push str.InocMin
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x3b0]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x3b8]
push eax
push 0
fstp qword [ebx + 0x3b0]
push str.InocMax
lea eax, [esp + 0x3c]
push str.AlloyCalc
push eax
push esi
call fcn.00405b10
fld qword [ebx + 0x3b8]
fmul qword [0x4262c8]
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
fstp qword [ebx + 0x3b8]
add edi, eax
lea eax, [ebx + 0x3c0]
push eax
push 0
push str.InocChangeMax
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
fld qword [ebx + 0x3c0]
fmul qword [0x4262c8]
add esp, 0x54
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
fstp qword [ebx + 0x3c0]
inc eax
push edx
add edi, eax
push str.CECalc_MGMMin
lea eax, [esp + 0x1c]
push str.AlloyCalc
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x428]
inc eax
add edi, eax
lea eax, [ebx + 0x3c8]
push eax
push 0x42c13c
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x24
cmp eax, 1
je 0x40d9fd
mov dword [ebx + 0x3c8], 0
mov dword [ebx + 0x3cc], 0xc0f86a00
lea eax, [ebx + 0x3d0]
push 0
push eax
push 0
push str.xCENom
lea edx, [esp + 0x20]
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x3d0]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x3d8]
push eax
push 0
fstp qword [ebx + 0x3d0]
push str.xCEUpMax
lea eax, [esp + 0x3c]
push str.AlloyCalc
push eax
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x3d8]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x3e0]
push eax
push 0
fstp qword [ebx + 0x3d8]
push str.xCEDownMax
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x10]
neg eax
fld qword [ebx + 0x3e0]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
add edi, eax
lea eax, [ebx + 0x3e8]
push eax
push 0
fstp qword [ebx + 0x3e0]
push str.xCEChangeMax
push str.AlloyCalc
push edx
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x3e8]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x3f0]
push eax
push 0
fstp qword [ebx + 0x3e8]
push str.mCECalc
push str.AlloyCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
inc eax
push 0
add edi, eax
lea eax, [ebx + 0x3f8]
push eax
push 0
push str.kFFade
lea edx, [esp + 0x58]
push str.AlloyCalcFFade
push edx
push esi
call fcn.00405b10
add esp, 0x54
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x400]
push eax
push 0
push str.xFFadeRef
lea eax, [esp + 0x20]
push str.AlloyCalcFFade
push eax
push esi
call fcn.00405b10
fld qword [ebx + 0x400]
fmul qword [0x4262c8]
add esp, 0x1c
neg eax
sbb eax, eax
fst qword [ebx + 0x400]
fsubr qword [ebx + 0x380]
inc eax
add edi, eax
fcom qword [0x426300]
fnstsw ax
test ah, 0x41
jne 0x40db98
fmul qword [0x426380]
fdivr qword [ebx + 0x3f8]
fstp qword [ebx + 0x3f8]
jmp 0x40dbae
mov dword [ebx + 0x3f8], 0
mov dword [ebx + 0x3fc], 0
fstp st(0)
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.tFFadeTime
lea edx, [esp + 0x1c]
push str.AlloyCalcFFade
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [esp + 0x40]
inc eax
push edx
add edi, eax
lea eax, [ebx + 0x418]
lea ecx, [ebx + 0x410]
push eax
lea eax, [ebx + 0x408]
push ecx
push eax
lea eax, [esp + 0x438]
push str._lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x30
cmp eax, 3
je 0x40dc20
push str.tFFadeTime
push str.AlloyCalcFFade
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
fld qword [ebx + 0x408]
fmul qword [0x426378]
lea eax, [ebx + 0x420]
push 0
push eax
push 0
push str.kStartupFade
lea ecx, [esp + 0x20]
fstp qword [ebx + 0x408]
fld qword [ebx + 0x410]
fmul qword [0x426378]
push str.AlloyCalcFFade
push ecx
push esi
fstp qword [ebx + 0x410]
fld qword [ebx + 0x418]
fmul qword [0x426378]
fstp qword [ebx + 0x418]
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x428]
push eax
push 0
push str.xStartupFade
push str.AlloyCalcFFade
push edx
push esi
call fcn.00405b10
fld qword [ebx + 0x428]
fmul qword [0x4262c8]
add esp, 0x38
neg eax
fcom qword [0x426300]
sbb eax, eax
fst qword [ebx + 0x428]
inc eax
add edi, eax
fnstsw ax
test ah, 0x41
jne 0x40dcda
fmul qword [0x426380]
fdivr qword [ebx + 0x420]
fstp qword [ebx + 0x420]
jmp 0x40dcf0
mov dword [ebx + 0x420], 0
mov dword [ebx + 0x424], 0
fstp st(0)
lea eax, [ebx + 0x430]
push 0
push eax
push 0
push str.kMgS
lea eax, [esp + 0x20]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
fld qword [0x426370]
fdiv qword [ebx + 0x430]
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x438]
push eax
push 0
push str.kMgRE
push str.AlloyCalcConst
push ecx
push esi
fstp qword [ebx + 0x430]
call fcn.00405b10
fld qword [0x426340]
fdiv qword [ebx + 0x438]
neg eax
sbb eax, eax
lea edx, [ebx + 0x440]
inc eax
push 0
push edx
add edi, eax
push 0
push str.xFsmMg
lea eax, [esp + 0x58]
push str.AlloyCalcConst
push eax
push esi
fstp qword [ebx + 0x438]
call fcn.00405b10
add esp, 0x54
lea ecx, [ebx + 0x448]
neg eax
push 0
push ecx
push 0
push str.nFsmMg
sbb eax, eax
lea edx, [esp + 0x20]
push str.AlloyCalcConst
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x450]
push eax
push 0
push str.xFsmRE
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x458]
push eax
push 0
push str.nFsmRE
lea edx, [esp + 0x58]
push str.AlloyCalcConst
push edx
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x460]
push eax
push 0
push str.xFsmSi
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x468]
inc eax
push 0
push edx
add edi, eax
push 0
push str.mFsm2Fixed
lea eax, [esp + 0x3c]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x470]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.xFsm2Mg
lea edx, [esp + 0x58]
push str.AlloyCalcConst
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x478]
push eax
push 0
push str.nFsm2Mg
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x480]
inc eax
push 0
push edx
add edi, eax
push 0
push str.xFsm2RE
lea eax, [esp + 0x3c]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [ebx + 0x488]
push 0
push eax
push 0
push str.nFsm2RE
lea ecx, [esp + 0x58]
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x490]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push 0x42d1e4
lea eax, [esp + 0x20]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x498]
push eax
push 0
push 0x42d1dc
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [esp + 0x448]
inc eax
push 0x200
add edi, eax
push edx
push str.kTCompMg
lea eax, [esp + 0x54]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0x4a8]
neg eax
sbb eax, eax
lea edx, [ebx + 0x4a0]
inc eax
add edi, eax
lea eax, [ebx + 0x4b0]
push eax
push ecx
push edx
lea ecx, [esp + 0x41c]
push str._lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x14
cmp eax, 2
jge 0x40dfb6
mov edx, dword [ebx + 0x4a0]
mov dword [ebx + 0x4a8], edx
mov ecx, dword [ebx + 0x4a4]
mov dword [ebx + 0x4ac], ecx
cmp eax, 3
jge 0x40dfcf
mov dword [ebx + 0x4b0], 0
mov dword [ebx + 0x4b4], 0x40590000
lea edx, [esp + 0x410]
push 0x200
push edx
push str.kMg_Up
lea eax, [esp + 0x1c]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405c40
add esp, 0x18
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
lea ecx, [esp + 0x410]
inc eax
mov dword [esp + 0x1c], 1
add edi, eax
mov dword [esp + 0x20], ecx
test edx, edx
je 0x40e082
lea eax, [ebx + 0x4c0]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x20]
cmp word [ecx], 0
je 0x40e082
mov eax, dword [esp + 0x1c]
cmp eax, 0xa
jge 0x40e086
push 0x200
lea edx, [esp + 0x914]
push 0
mov eax, ecx
push edx
push eax
call fcn.00422ce0
lea ecx, [esp + 0x920]
push 0
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstod]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x18
inc edx
fstp qword [eax]
add eax, 8
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e023
mov eax, dword [esp + 0x1c]
lea edx, [eax - 1]
cmp eax, 1
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fstp qword [ebx + 0x4b8]
jne 0x40e0b0
push str.kMg_Up
push str.AlloyCalcConst
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea eax, [esp + 0x410]
push 0x200
push eax
push str.kMg_Dn
lea ecx, [esp + 0x1c]
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405c40
add esp, 0x18
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], 1
inc eax
mov dword [esp + 0x20], edx
add edi, eax
lea eax, [esp + 0x410]
test eax, eax
mov dword [esp + 0x14], edi
je 0x40e167
lea ecx, [ebx + 0x518]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x20]
cmp word [edx], 0
je 0x40e167
mov eax, dword [esp + 0x1c]
cmp eax, 0xa
jge 0x40e16b
push 0x200
lea eax, [esp + 0x914]
push 0
mov ecx, edx
push eax
push ecx
call fcn.00422ce0
lea edx, [esp + 0x920]
push 0
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstod]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add esp, 0x18
inc edx
fstp qword [eax]
add eax, 8
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40e108
mov eax, dword [esp + 0x1c]
lea ecx, [eax - 1]
lea edx, [ebx + 0x510]
mov dword [esp + 0x18], ecx
cmp eax, 1
fild dword [esp + 0x18]
fstp qword [edx]
jne 0x40e199
push str.kMg_Dn
push str.AlloyCalcConst
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
jmp 0x40e1c2
fld qword [ebx + 0x518]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40e1c2
mov ecx, 0x16
lea esi, [ebx + 0x4b8]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
lea edx, [ebx + 0x568]
push 0
push edx
push 0
push str.kMg_Sup
lea eax, [esp + 0x20]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x570]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.xInoc
lea edx, [esp + 0x3c]
push str.AlloyCalcConst
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x578]
push eax
push 0
push str.xInocSi
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x580]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.kInoc
lea eax, [esp + 0x20]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x588]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.xCE_Si
lea edx, [esp + 0x3c]
push str.AlloyCalcConst
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x590]
push eax
push 0
push str.xCEup
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x598]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.nCEup
lea eax, [esp + 0x20]
push str.AlloyCalcConst
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x5a0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.xCEdownC
lea edx, [esp + 0x3c]
push str.AlloyCalcConst
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x5a8]
push eax
push 0
push str.nCEdown
push str.AlloyCalcConst
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x5b0]
push eax
push 0
push 0x42d11c
push str.AlloyCalcConst
push edx
push esi
call fcn.00405b10
fld qword [ebx + 0x5b0]
fcomp qword [0x426300]
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
add edi, eax
fnstsw ax
test ah, 1
je 0x40e37b
mov dword [ebx + 0x5b0], 0
mov dword [ebx + 0x5b4], 0xbff00000
fld qword [ebx + 0x458]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40e3a6
mov eax, dword [ebx + 0x498]
mov ecx, dword [ebx + 0x49c]
mov dword [ebx + 0x458], eax
mov dword [ebx + 0x45c], ecx
fld qword [ebx + 0x488]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40e3d1
mov edx, dword [ebx + 0x498]
mov eax, dword [ebx + 0x49c]
mov dword [ebx + 0x488], edx
mov dword [ebx + 0x48c], eax
lea ecx, [ebx + 0x5b8]
push 0
push ecx
push 0
push str.stepFeSiMg
lea edx, [esp + 0x20]
push str.AlloyCalcSteps
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x5c0]
push eax
push 0
push str.stepFeSiMg2
push str.AlloyCalcSteps
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x5c8]
inc eax
push 0
push edx
add edi, eax
push 0
push str.stepInoc
lea eax, [esp + 0x58]
push str.AlloyCalcSteps
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [ebx + 0x5d0]
neg eax
push 0
push ecx
push 0
push str.stepRE
sbb eax, eax
lea edx, [esp + 0x20]
push str.AlloyCalcSteps
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x5d8]
push eax
push 0
push str.StepCeUp
push str.AlloyCalcSteps
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x5e0]
inc eax
push 0
push edx
add edi, eax
push 0
push str.StepCeDown
lea eax, [esp + 0x58]
push str.AlloyCalcSteps
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x5e8]
push eax
push 0
push str.stepSx
push str.AlloyCalcSteps
push ecx
push esi
call fcn.00405b10
fld qword [ebx + 0x5e8]
fmul qword [0x4262c8]
neg eax
sbb eax, eax
lea edx, [ebx + 0x5f0]
inc eax
push 0
fstp qword [ebx + 0x5e8]
push edx
add edi, eax
push 0
push str.stepMx
lea eax, [esp + 0x3c]
push str.AlloyCalcSteps
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x5f8]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.StepMmould
lea edx, [esp + 0x58]
push str.AlloyCalcSteps
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x600]
push eax
push 0
push str.stepTx
push str.AlloyCalcSteps
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x608]
inc eax
push 0
push edx
add edi, eax
push 0
push str.CG_CM_FadeK
lea eax, [esp + 0x3c]
push str.CorrectionFade
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x44c]
add edi, eax
push ecx
push str.CG_CM_Fade_PLo
lea edx, [esp + 0x54]
push str.CorrectionFade
push edx
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0x638]
neg eax
sbb eax, eax
push ecx
inc eax
lea edx, [ebx + 0x630]
add edi, eax
lea ecx, [ebx + 0x628]
lea eax, [ebx + 0x620]
push edx
push ecx
push eax
lea edx, [ebx + 0x618]
lea eax, [ebx + 0x610]
push edx
push eax
lea ecx, [esp + 0x428]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x620]
fmul qword [0x4262d8]
lea edx, [esp + 0x430]
push 0x200
push edx
push str.CG_CM_Fade_PHi
lea eax, [esp + 0x3c]
push str.CorrectionFade
fstp qword [ebx + 0x620]
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x668]
inc eax
push ecx
lea edx, [ebx + 0x660]
add edi, eax
lea ecx, [ebx + 0x658]
lea eax, [ebx + 0x650]
push edx
push ecx
push eax
lea edx, [ebx + 0x648]
lea eax, [ebx + 0x640]
push edx
push eax
lea ecx, [esp + 0x460]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x650]
fmul qword [0x4262d8]
add esp, 0x58
lea edx, [ebx + 0x670]
lea eax, [esp + 0x10]
push 0
push edx
fstp qword [ebx + 0x650]
push 0
push str.CG_CI_FadeK
push str.CorrectionFade
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea ecx, [esp + 0x42c]
inc eax
push 0x200
add edi, eax
push ecx
push str.CG_CI_Fade_PLo
lea edx, [esp + 0x38]
push str.CorrectionFade
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x6a0]
inc eax
push ecx
lea edx, [ebx + 0x698]
add edi, eax
lea ecx, [ebx + 0x690]
lea eax, [ebx + 0x688]
push edx
push ecx
push eax
lea edx, [ebx + 0x680]
lea eax, [ebx + 0x678]
push edx
push eax
lea ecx, [esp + 0x45c]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x688]
fmul qword [0x4262d8]
add esp, 0x54
lea edx, [esp + 0x410]
lea eax, [esp + 0x10]
push 0x200
push edx
fstp qword [ebx + 0x688]
push str.CG_CI_Fade_PHi
push str.CorrectionFade
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x6d0]
inc eax
push ecx
lea edx, [ebx + 0x6c8]
add edi, eax
lea ecx, [ebx + 0x6c0]
lea eax, [ebx + 0x6b8]
push edx
push ecx
push eax
lea edx, [ebx + 0x6b0]
lea eax, [ebx + 0x6a8]
push edx
push eax
lea ecx, [esp + 0x440]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x6b8]
fmul qword [0x4262d8]
lea edx, [esp + 0x448]
push 0x200
push edx
push str.CG_Fade_PRef
lea eax, [esp + 0x54]
push str.CorrectionFade
fstp qword [ebx + 0x6b8]
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0x700]
neg eax
sbb eax, eax
push ecx
inc eax
lea edx, [ebx + 0x6f8]
add edi, eax
mov dword [esp + 0x18], edi
lea edi, [ebx + 0x6e8]
lea eax, [ebx + 0x6f0]
push edx
push eax
lea ecx, [ebx + 0x6e0]
push edi
lea edx, [ebx + 0x6d8]
push ecx
push edx
lea eax, [esp + 0x428]
push str._lf_lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [edi]
fmul qword [0x4262c8]
add esp, 0x20
inc eax
cmp eax, 6
fstp qword [edi]
jge 0x40e852
mov ecx, 5
lea esi, [ebx + eax*8 + 0x6d8]
sub ecx, eax
shl ecx, 3
mov dword [esi], 0
lea edi, [esi + 8]
shr ecx, 2
mov dword [esi + 4], 0xbff00000
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.CG_CorrFadeTime
lea edx, [esp + 0x1c]
push str.CorrectionFade
push edx
push esi
call fcn.00405c40
mov edi, dword [esp + 0x2c]
lea ecx, [ebx + 0x708]
neg eax
sbb eax, eax
lea edx, [esp + 0x428]
inc eax
add edi, eax
lea eax, [ebx + 0x70c]
push eax
push ecx
push str._d_d
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
push 0
lea eax, [ebx + 0x710]
push 0
push eax
push str.CG_CorrFadeStart
lea ecx, [esp + 0x48]
push str.CorrectionFade
push ecx
push esi
call fcn.00405b10
add esp, 0x44
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
inc eax
push edx
add edi, eax
push str.CG_PourFadeTime
lea eax, [esp + 0x1c]
push str.CorrectionFade
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x720]
inc eax
lea edx, [ebx + 0x718]
add edi, eax
push ecx
lea eax, [ebx + 0x714]
push edx
push eax
lea ecx, [esp + 0x434]
push str._d_d_lf
push ecx
mov dword [esp + 0x40], edi
call dword [sym.imp.MSVCRT.dll_swscanf]
lea edi, [ebx + 0x728]
mov ecx, 0x14
xor eax, eax
lea edx, [esp + 0x43c]
push 0x200
push edx
rep stosd dword es:[edi], eax
push str.CG_xMgW
lea eax, [esp + 0x48]
push str.CorrectionCalc
push eax
push esi
call fcn.00405c40
mov edi, dword [esp + 0x58]
add esp, 0x44
neg eax
sbb eax, eax
inc eax
add edi, eax
mov dword [esp + 0x14], edi
lea ecx, [ebx + 0x770]
lea edx, [ebx + 0x768]
push ecx
lea eax, [ebx + 0x760]
push edx
lea ecx, [ebx + 0x758]
push eax
lea edx, [ebx + 0x750]
push ecx
lea eax, [ebx + 0x748]
push edx
lea ecx, [ebx + 0x740]
push eax
lea edx, [ebx + 0x738]
lea edi, [ebx + 0x730]
push ecx
push edx
push edi
lea eax, [esp + 0x434]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
test eax, eax
jne 0x40e9dc
push str.CG_xMgW
push str.CorrectionCalc
push esi
call fcn.00405ff0
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
mov dword [esp + 0x14], eax
jmp 0x40ea63
xor edx, edx
mov ecx, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 9
fld qword [ecx]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
jne 0x40ea12
fld qword [ecx]
fmul qword [0x426368]
inc edx
fst qword [ecx]
fadd qword [ebx + 0x728]
fstp qword [ebx + 0x728]
mov eax, dword [esp + 0x18]
add ecx, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x40e9ec
test edx, edx
mov dword [esp + 0x1c], edx
je 0x40ea38
fild dword [esp + 0x1c]
fdivr qword [ebx + 0x728]
fstp qword [ebx + 0x728]
mov ecx, 9
fld qword [edi]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40ea5d
mov edx, dword [ebx + 0x728]
mov dword [edi], edx
mov eax, dword [ebx + 0x72c]
mov dword [edi + 4], eax
add edi, 8
dec ecx
jne 0x40ea3d
lea edi, [ebx + 0x778]
mov ecx, 0x14
xor eax, eax
push 0x200
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x414]
lea edx, [esp + 0x14]
push ecx
push str.CG_xInW
push str.CorrectionCalc
push edx
push esi
call fcn.00405c40
mov edx, dword [esp + 0x2c]
lea ecx, [ebx + 0x7b8]
neg eax
sbb eax, eax
lea edi, [ebx + 0x780]
inc eax
add edx, eax
lea eax, [ebx + 0x7c0]
mov dword [esp + 0x2c], edx
push eax
lea edx, [ebx + 0x7b0]
push ecx
lea eax, [ebx + 0x7a8]
push edx
lea ecx, [ebx + 0x7a0]
push eax
lea edx, [ebx + 0x798]
push ecx
lea eax, [ebx + 0x790]
push edx
lea ecx, [ebx + 0x788]
push eax
push ecx
push edi
lea edx, [esp + 0x44c]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x44
test eax, eax
jne 0x40eb1d
push str.CG_xInW
push str.CorrectionCalc
push esi
call fcn.00405ff0
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
mov dword [esp + 0x14], eax
jmp 0x40eba4
xor edx, edx
mov ecx, edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 9
fld qword [ecx]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
jne 0x40eb53
fld qword [ecx]
fmul qword [0x426368]
inc edx
fst qword [ecx]
fadd qword [ebx + 0x778]
fstp qword [ebx + 0x778]
mov eax, dword [esp + 0x18]
add ecx, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x40eb2d
test edx, edx
mov dword [esp + 0x1c], edx
je 0x40eb79
fild dword [esp + 0x1c]
fdivr qword [ebx + 0x778]
fstp qword [ebx + 0x778]
mov ecx, 9
fld qword [edi]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x40
je 0x40eb9e
mov eax, dword [ebx + 0x778]
mov dword [edi], eax
mov edx, dword [ebx + 0x77c]
mov dword [edi + 4], edx
add edi, 8
dec ecx
jne 0x40eb7e
lea eax, [esp + 0x410]
push 0x200
push eax
push str.CG_nMgW
lea ecx, [esp + 0x1c]
push str.CorrectionCalc
push ecx
push esi
call fcn.00405c40
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x428]
neg eax
sbb eax, eax
push str.fixed_corr
inc eax
push edx
add edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x20
test eax, eax
jne 0x40ebfd
mov dword [ebx + 0x7c8], eax
mov dword [ebx + 0x7cc], 0xbff00000
jmp 0x40ec16
lea eax, [esp + 0x410]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [ebx + 0x7c8]
add esp, 8
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.CG_nMgW_PLo
lea edx, [esp + 0x1c]
push str.CorrectionCalc
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x7f8]
inc eax
push ecx
lea edx, [ebx + 0x7f0]
add edi, eax
lea ecx, [ebx + 0x7e8]
lea eax, [ebx + 0x7e0]
push edx
push ecx
push eax
lea edx, [ebx + 0x7d8]
lea eax, [ebx + 0x7d0]
push edx
push eax
lea ecx, [esp + 0x440]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x7e0]
fmul qword [0x4262d8]
lea edx, [esp + 0x448]
push 0x200
push edx
push str.CG_nMgW_PHi
lea eax, [esp + 0x54]
push str.CorrectionCalc
fstp qword [ebx + 0x7e0]
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0x828]
neg eax
sbb eax, eax
push ecx
inc eax
lea edx, [ebx + 0x820]
add edi, eax
lea ecx, [ebx + 0x818]
lea eax, [ebx + 0x810]
push edx
push ecx
push eax
lea edx, [ebx + 0x808]
lea eax, [ebx + 0x800]
push edx
push eax
lea ecx, [esp + 0x428]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x810]
fmul qword [0x4262d8]
lea edx, [esp + 0x430]
push 0x200
push edx
push str.CG_nInW
lea eax, [esp + 0x3c]
push str.CorrectionCalc
fstp qword [ebx + 0x810]
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x448]
inc eax
push str.fixed_corr
add edi, eax
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x40
test eax, eax
jne 0x40ed5e
mov dword [ebx + 0x830], eax
mov dword [ebx + 0x834], 0xbff00000
jmp 0x40ed77
lea edx, [esp + 0x410]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [ebx + 0x830]
add esp, 8
lea eax, [esp + 0x410]
push 0x200
push eax
push str.CG_nInW_PLo
lea ecx, [esp + 0x1c]
push str.CorrectionCalc
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0x860]
inc eax
push edx
lea ecx, [ebx + 0x858]
add edi, eax
lea edx, [ebx + 0x850]
lea eax, [ebx + 0x848]
push ecx
push edx
push eax
lea eax, [ebx + 0x840]
lea ecx, [ebx + 0x838]
push eax
push ecx
lea edx, [esp + 0x440]
push str._lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x848]
fmul qword [0x4262d8]
lea eax, [esp + 0x448]
push 0x200
push eax
push str.CG_nInW_PHi
lea ecx, [esp + 0x54]
push str.CorrectionCalc
fstp qword [ebx + 0x848]
push ecx
push esi
call fcn.00405c40
add esp, 0x50
lea edx, [ebx + 0x890]
neg eax
sbb eax, eax
push edx
inc eax
lea ecx, [ebx + 0x888]
add edi, eax
lea edx, [ebx + 0x880]
lea eax, [ebx + 0x878]
push ecx
push edx
push eax
lea eax, [ebx + 0x870]
lea ecx, [ebx + 0x868]
push eax
push ecx
lea edx, [esp + 0x428]
push str._lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x878]
fmul qword [0x4262d8]
lea eax, [esp + 0x430]
push 0x200
push eax
push str.CG_nW_PRef
lea ecx, [esp + 0x3c]
push str.CorrectionCalc
fstp qword [ebx + 0x878]
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0x8c0]
inc eax
add edi, eax
lea eax, [ebx + 0x8a8]
mov dword [esp + 0x4c], edi
push edx
lea ecx, [ebx + 0x8b8]
lea edx, [ebx + 0x8b0]
push ecx
push edx
push eax
lea eax, [ebx + 0x8a0]
lea ecx, [ebx + 0x898]
push eax
push ecx
lea edx, [esp + 0x460]
push str._lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x8a8]
fmul qword [0x4262c8]
add esp, 0x58
inc eax
cmp eax, 6
fstp qword [ebx + 0x8a8]
jge 0x40ef1c
mov ecx, 5
lea esi, [ebx + eax*8 + 0x898]
sub ecx, eax
shl ecx, 3
mov dword [esi], 0
lea edi, [esi + 8]
shr ecx, 2
mov dword [esi + 4], 0xbff00000
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
lea eax, [ebx + 0x8c8]
push 0
push eax
push 0
push str.CG_nW_Limit
lea ecx, [esp + 0x20]
push str.CorrectionCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x8d0]
inc eax
push 0
push edx
add edi, eax
push 0
push str.CG_MgW_Corr
lea eax, [esp + 0x3c]
push str.CorrectionCalc
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x8d8]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.CG_InW_Corr
lea edx, [esp + 0x58]
push str.CorrectionCalc
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x8e0]
push eax
push 0
push str.CG_MgW_Fixed
push str.CorrectionCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x8e8]
inc eax
push 0
push edx
add edi, eax
push 0
push str.CG_InW_Fixed
lea eax, [esp + 0x3c]
push str.CorrectionCalc
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0x8f0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.CG_MgW_Min
lea edx, [esp + 0x58]
push str.CorrectionCalc
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0x8f8]
push eax
push 0
push str.CG_InW_Min
push str.CorrectionCalc
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x900]
push eax
push 0
push str.AddInoc_offset
push str.CorrectionCalc
push edx
push esi
call fcn.00405b10
neg eax
fld qword [ebx + 0x900]
sbb eax, eax
push 0
fmul qword [0x4262c8]
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0x908]
push eax
push 0
fstp qword [ebx + 0x900]
push str.AddInoc_const
push str.CorrectionCalc
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x910]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
push edx
push str.AutoUpTries
lea eax, [esp + 0x20]
push str.CorrectionCalc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0x918]
push eax
push 0
push str.AUpMg_Adjust
push str.CorrectionCalc
push ecx
push esi
call fcn.00405b10
fld qword [ebx + 0x918]
fmul qword [0x4262c8]
neg eax
sbb eax, eax
inc eax
add edi, eax
fadd qword [0x426340]
lea eax, [ebx + 0x920]
push 0
push eax
push 0
push str.AUpInoc_Adjust
lea edx, [esp + 0x58]
fstp qword [ebx + 0x918]
push str.CorrectionCalc
push edx
push esi
call fcn.00405b10
fld qword [ebx + 0x920]
fmul qword [0x4262c8]
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
fadd qword [0x426340]
sbb eax, eax
push 0x200
inc eax
add edi, eax
lea eax, [esp + 0x414]
fstp qword [ebx + 0x920]
push eax
push str.AUpMg
push str.CorrectionCalc
push ecx
push esi
call fcn.00405c40
lea edx, [esp + 0x40]
lea ecx, [ebx + 0x978]
push edx
lea edx, [ebx + 0x970]
push ecx
push edx
lea ecx, [ebx + 0x968]
lea edx, [ebx + 0x960]
push ecx
push edx
lea ecx, [ebx + 0x958]
lea edx, [ebx + 0x950]
neg eax
push ecx
push edx
sbb eax, eax
lea ecx, [ebx + 0x948]
lea edx, [ebx + 0x940]
inc eax
push ecx
push edx
lea ecx, [ebx + 0x938]
add edi, eax
lea edx, [ebx + 0x930]
lea eax, [ebx + 0x928]
push ecx
push edx
push eax
lea eax, [esp + 0x458]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x50
cmp eax, 0xb
je 0x40f1ea
push str.AUpMg
push str.CorrectionCalc
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
jmp 0x40f206
lea eax, [ebx + 0x928]
mov ecx, 0xb
fld qword [eax]
fmul qword [0x4262c8]
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x40f1f5
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.AUpInoc
lea edx, [esp + 0x1c]
push str.CorrectionCalc
push edx
push esi
call fcn.00405c40
lea ecx, [esp + 0x40]
lea edx, [ebx + 0x9d0]
push ecx
lea ecx, [ebx + 0x9c8]
push edx
push ecx
lea edx, [ebx + 0x9c0]
lea ecx, [ebx + 0x9b8]
push edx
push ecx
lea edx, [ebx + 0x9b0]
lea ecx, [ebx + 0x9a8]
neg eax
push edx
push ecx
sbb eax, eax
lea edx, [ebx + 0x9a0]
lea ecx, [ebx + 0x998]
inc eax
push edx
push ecx
lea edx, [ebx + 0x990]
add edi, eax
lea ecx, [ebx + 0x988]
lea eax, [ebx + 0x980]
push edx
push ecx
push eax
lea edx, [esp + 0x458]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x50
cmp eax, 0xb
je 0x40f2b2
push str.AUpInoc
push str.CorrectionCalc
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
jmp 0x40f2ce
lea eax, [ebx + 0x980]
mov ecx, 0xb
fld qword [eax]
fmul qword [0x4262c8]
add eax, 8
dec ecx
fstp qword [eax - 8]
jne 0x40f2bd
lea eax, [esp + 0x410]
push 0x200
push eax
push str.AUpCE_Lim
lea ecx, [esp + 0x1c]
push str.CorrectionCalc
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0x9d8]
inc eax
add edi, eax
lea eax, [ebx + 0x9e0]
push eax
push edx
lea eax, [esp + 0x430]
push 0x42bb14
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [ebx + 0x9e0]
fmul qword [0x4262c8]
lea ecx, [esp + 0x438]
push 0x200
push ecx
push str.MgWireSpeed
lea edx, [esp + 0x44]
push str.WireFeedCTRL
fstp qword [ebx + 0x9e0]
push edx
push esi
call fcn.00405c40
add esp, 0x40
lea ecx, [ebx + 0xa00]
neg eax
sbb eax, eax
lea edx, [ebx + 0x9f8]
inc eax
add edi, eax
lea eax, [ebx + 0xa08]
push eax
push ecx
lea eax, [ebx + 0x9f0]
push edx
lea ecx, [ebx + 0x9e8]
push eax
push ecx
lea edx, [esp + 0x424]
push str._lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x1c
cmp eax, 1
jge 0x40f3a8
push str.MgWireSpeed
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea eax, [esp + 0x410]
push 0x200
push eax
push str.InocWireSpeed
lea ecx, [esp + 0x1c]
push str.WireFeedCTRL
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0xa30]
inc eax
push edx
add edi, eax
lea eax, [ebx + 0xa28]
lea ecx, [ebx + 0xa20]
push eax
lea edx, [ebx + 0xa18]
push ecx
lea eax, [ebx + 0xa10]
push edx
push eax
lea ecx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f423
push str.InocWireSpeed
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [esp + 0x410]
push 0x200
push edx
push str.MgRetractionDist
lea eax, [esp + 0x1c]
push str.WireFeedCTRL
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xa58]
inc eax
lea edx, [ebx + 0xa50]
add edi, eax
push ecx
lea eax, [ebx + 0xa48]
push edx
lea ecx, [ebx + 0xa40]
push eax
lea edx, [ebx + 0xa38]
push ecx
push edx
lea eax, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f49e
push str.MgRetractionDist
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.InocRetractionDist
lea edx, [esp + 0x1c]
push str.WireFeedCTRL
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xa78]
inc eax
lea edx, [ebx + 0xa70]
add edi, eax
lea eax, [ebx + 0xa80]
push eax
push ecx
lea eax, [ebx + 0xa68]
push edx
lea ecx, [ebx + 0xa60]
push eax
push ecx
lea edx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f519
push str.InocRetractionDist
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea eax, [esp + 0x410]
push 0x200
push eax
push str.MgRetractionSpeed
lea ecx, [esp + 0x1c]
push str.WireFeedCTRL
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0xaa8]
inc eax
push edx
add edi, eax
lea eax, [ebx + 0xaa0]
lea ecx, [ebx + 0xa98]
push eax
lea edx, [ebx + 0xa90]
push ecx
lea eax, [ebx + 0xa88]
push edx
push eax
lea ecx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f594
push str.MgRetractionSpeed
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [esp + 0x410]
push 0x200
push edx
push str.InocRetractionSpeed
lea eax, [esp + 0x1c]
push str.WireFeedCTRL
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xad0]
inc eax
lea edx, [ebx + 0xac8]
add edi, eax
push ecx
lea eax, [ebx + 0xac0]
push edx
lea ecx, [ebx + 0xab8]
push eax
lea edx, [ebx + 0xab0]
push ecx
push edx
lea eax, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f60f
push str.InocRetractionSpeed
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.MgBurnOffTime
lea edx, [esp + 0x1c]
push str.WireFeedCTRL
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xaf0]
inc eax
lea edx, [ebx + 0xae8]
add edi, eax
lea eax, [ebx + 0xaf8]
push eax
push ecx
lea eax, [ebx + 0xae0]
push edx
lea ecx, [ebx + 0xad8]
push eax
push ecx
lea edx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f68a
push str.MgBurnOffTime
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea eax, [esp + 0x410]
push 0x200
push eax
push str.InocBurnOffTime
lea ecx, [esp + 0x1c]
push str.WireFeedCTRL
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [ebx + 0xb20]
inc eax
push edx
add edi, eax
lea eax, [ebx + 0xb18]
lea ecx, [ebx + 0xb10]
push eax
lea edx, [ebx + 0xb08]
push ecx
lea eax, [ebx + 0xb00]
push edx
push eax
lea ecx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f705
push str.InocBurnOffTime
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [esp + 0x410]
push 0x200
push edx
push str.SpeedTolerance
lea eax, [esp + 0x1c]
push str.WireFeedCTRL
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xb48]
inc eax
lea edx, [ebx + 0xb40]
add edi, eax
push ecx
lea eax, [ebx + 0xb38]
push edx
lea ecx, [ebx + 0xb30]
push eax
lea edx, [ebx + 0xb28]
push ecx
push edx
lea eax, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f780
push str.SpeedTolerance
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.WireLengthTolerance
lea edx, [esp + 0x1c]
push str.WireFeedCTRL
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xb68]
inc eax
lea edx, [ebx + 0xb60]
add edi, eax
lea eax, [ebx + 0xb70]
push eax
push ecx
lea eax, [ebx + 0xb58]
push edx
lea ecx, [ebx + 0xb50]
push eax
push ecx
lea edx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 1
jge 0x40f7fb
push str.WireLengthTolerance
push str.WireFeedCTRL
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
push 0
lea eax, [ebx + 0xb78]
push 0
push eax
push str.FilterOrder_noise
lea ecx, [esp + 0x20]
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [ebx + 0xb7c]
push 0
add edi, eax
push edx
push str.FilterOrder_d
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
push 0
lea ecx, [ebx + 0xb80]
neg eax
push 0
push ecx
sbb eax, eax
push str.FilterOrder_d2
lea edx, [esp + 0x58]
push str.DSP_Parameters
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [ebx + 0xb84]
push eax
push str.FilterOrder_POWER
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xb88]
inc eax
push 0
push edx
add edi, eax
push 0
push str.FilterConstant
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
push 0
lea ecx, [ebx + 0xbb8]
neg eax
push 0
push ecx
sbb eax, eax
push str.NoiseCurrentOrder
lea edx, [esp + 0x58]
push str.DSP_Parameters
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [ebx + 0xbbc]
push eax
push str.NoiseAverageOrder
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xbc0]
inc eax
push 0
push edx
add edi, eax
push 0
push str.NoiseFilterConstant
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xb90]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.TolMinMax
lea edx, [esp + 0x58]
push str.DSP_Parameters
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xb98]
push eax
push 0
push str.TolInflex
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xba0]
inc eax
push 0
push edx
add edi, eax
push 0
push str.TolInflex2
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea ecx, [ebx + 0xba8]
push 0
inc eax
push ecx
push 0
add edi, eax
push str.TolPowMM
lea edx, [esp + 0x58]
push str.DSP_Parameters
push edx
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xbb0]
push eax
push 0
push str.TolPowInf
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xbc8]
inc eax
push 0
push edx
add edi, eax
push 0
push str.Max_increase_noise
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xbd0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.Max_tolerable_noise
lea edx, [esp + 0x58]
push str.DSP_Parameters
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xbd8]
push eax
push 0
push str.2nd_der_compensation
push str.DSP_Parameters
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xbe0]
inc eax
push 0
push edx
add edi, eax
push 0
push str.NoiseBackground
lea eax, [esp + 0x3c]
push str.DSP_Parameters
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
inc eax
add edi, eax
lea ecx, [esp + 0x448]
push 0x200
push ecx
push str.CupFailDetect
lea edx, [esp + 0x54]
push str.DSP_Parameters
push edx
push 0
call fcn.00405c40
add esp, 0x50
lea eax, [ebx + 0xc18]
lea ecx, [ebx + 0xc10]
lea edx, [ebx + 0xbe8]
push eax
lea eax, [ebx + 0xc08]
push ecx
push eax
lea eax, [ebx + 0xc00]
push eax
lea eax, [ebx + 0xbf8]
push eax
lea eax, [ebx + 0xbf0]
push eax
push edx
lea eax, [esp + 0x42c]
push str._d_lf_d_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x24
cmp eax, 7
jne 0x40fb29
mov ecx, dword [ebx + 0xbe8]
xor eax, eax
cmp ecx, eax
jl 0x40fb2b
cmp dword [ebx + 0xbf8], eax
jge 0x40fb73
jmp 0x40fb2b
xor eax, eax
mov dword [ebx + 0xc18], eax
mov dword [ebx + 0xc00], eax
mov dword [ebx + 0xc10], eax
mov dword [ebx + 0xc08], eax
mov dword [ebx + 0xbf0], eax
mov dword [ebx + 0xc1c], eax
mov dword [ebx + 0xc04], eax
mov dword [ebx + 0xbf8], eax
mov dword [ebx + 0xbe8], eax
mov dword [ebx + 0xc14], eax
mov dword [ebx + 0xc0c], eax
mov dword [ebx + 0xbf4], eax
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.CupStuckDetect
lea edx, [esp + 0x1c]
push str.DSP_Parameters
push edx
push 0
call fcn.00405c40
lea eax, [ebx + 0xc28]
lea ecx, [ebx + 0xc20]
push eax
push ecx
lea eax, [esp + 0x430]
push 0x42bb14
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x28
cmp eax, 2
je 0x40fbd9
xor eax, eax
mov dword [ebx + 0xc28], eax
mov dword [ebx + 0xc20], eax
mov dword [ebx + 0xc2c], eax
mov dword [ebx + 0xc24], eax
lea ecx, [esp + 0x410]
push 0x200
push ecx
push str.Ttop_Low
lea edx, [esp + 0x1c]
push str.Curve_Framing
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x430]
lea ecx, [ebx + 0xc30]
push eax
push ecx
call fcn.0040bf80
lea edx, [esp + 0x438]
push 0x200
push edx
push str.Ttop_High
lea eax, [esp + 0x44]
push str.Curve_Framing
push eax
push esi
call fcn.00405c40
add esp, 0x40
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
push 0
push 0
lea edx, [ebx + 0xc48]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x420]
push 0x200
push eax
push str.Ttop_WarnLow
lea ecx, [esp + 0x2c]
push str.Curve_Framing
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x43c]
add edi, eax
push 0
lea eax, [ebx + 0xc60]
push edx
push eax
call fcn.0040bf80
lea ecx, [esp + 0x448]
push 0x200
push ecx
push str.Ttop_WarnHigh
lea edx, [esp + 0x54]
push str.Curve_Framing
push edx
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0xc78]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x418]
push eax
push ecx
call fcn.0040bf80
lea edx, [esp + 0x420]
push 0x200
push edx
push str.Ttop_ShowFunc
lea eax, [esp + 0x2c]
push str.Curve_Framing
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x50]
inc eax
lea edx, [ebx + 0xc98]
add edi, eax
push ecx
lea eax, [ebx + 0xc90]
push edx
push eax
lea ecx, [esp + 0x444]
push str._lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x3c
cmp eax, 2
je 0x40fd4e
push str.Ttop_ShowFunc
push str.Curve_Framing
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [ebx + 0xca0]
push 0
push edx
push 0
push str.Ttop_LocMinT
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xca8]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.Ttop_LocDer
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0xcb0]
push eax
push 0
push str.ElimTtopTol
push str.Curve_Framing
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xcb8]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.ElimMinTime
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xcc0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.TAN_TimeMax
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0xcc8]
push eax
push 0
push str.TAN_InflexWt
push str.Curve_Framing
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xcd0]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.TBNunderTAN
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xcd8]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.TAXsearchStart
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0xce0]
push eax
push 0
push str.TBNsearchStart
push str.Curve_Framing
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xce8]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.PowPeakMin
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xcf0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.PowDiffMin
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xcf8]
push eax
push 0
push str.PriEndMaxPDer
lea ecx, [esp + 0x58]
push str.Curve_Framing
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xd00]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.EuPeakAMinH
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xd08]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.EuPeakBMaxH
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [ebx + 0xd10]
push eax
push 0
push str.FrzMaxDer
push str.Curve_Framing
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xd18]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.HFusionAv
lea eax, [esp + 0x20]
push str.Curve_Framing
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xd20]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.MinAnaTemp
lea edx, [esp + 0x3c]
push str.Curve_Framing
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [ebx + 0xd28]
push 0
push eax
push 0
push str.CR_Temp
lea ecx, [esp + 0x58]
push str.Good_CR
push ecx
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0xd30]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.CR_TempMax
lea eax, [esp + 0x20]
push str.Good_CR
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
lea ecx, [esp + 0x30]
add edi, eax
lea eax, [ebx + 0xd38]
push eax
push 0
push str.CR_TempComp
push str.Good_CR
push ecx
push esi
call fcn.00405b10
fld qword [ebx + 0xd38]
fmul qword [0x4262c8]
neg eax
sbb eax, eax
lea edx, [esp + 0x448]
inc eax
push 0x200
fstp qword [ebx + 0xd38]
add edi, eax
push edx
push str.CR_Fast
lea eax, [esp + 0x54]
push str.Good_CR
push eax
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
push 0
push 0
lea edx, [ebx + 0xd40]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x420]
push 0x200
push eax
push str.CR_Slow
lea ecx, [esp + 0x2c]
push str.Good_CR
push ecx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea edx, [esp + 0x43c]
push 0
lea eax, [ebx + 0xd58]
push edx
push eax
call fcn.0040bf80
lea ecx, [esp + 0x448]
push 0x200
push ecx
push str.CR_DerDiff
lea edx, [esp + 0x54]
push str.Good_CR
push edx
push esi
call fcn.00405c40
add esp, 0x50
lea ecx, [ebx + 0xd70]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [esp + 0x418]
push eax
push ecx
call fcn.0040bf80
lea edx, [esp + 0x420]
push 0x200
push edx
push str.CR_MaxTempDiff
lea eax, [esp + 0x2c]
push str.Good_CR
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
push 0
lea ecx, [esp + 0x43c]
push 0
lea edx, [ebx + 0xd88]
inc eax
push ecx
push edx
add edi, eax
call fcn.0040bf80
lea eax, [esp + 0x448]
push 0x200
push eax
push str.CR_MinTempDiff
lea ecx, [esp + 0x54]
push str.Good_CR
push ecx
push esi
call fcn.00405c40
add esp, 0x50
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0
inc eax
push 0
add edi, eax
lea eax, [ebx + 0xda0]
push edx
push eax
call fcn.0040bf80
lea ecx, [ebx + 0xdb8]
push 0
push ecx
push 0
push str.CR_AtoBTarget
lea edx, [esp + 0x30]
push str.Good_CR
push edx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [ebx + 0xdc0]
push 0
push eax
push 0
push str.TC_Adj_Balance
lea ecx, [esp + 0x4c]
push str.Good_CR
push ecx
push esi
call fcn.00405b10
add esp, 0x48
lea edx, [ebx + 0xdc8]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
push 0
push str.CR_Target
lea eax, [esp + 0x20]
push str.Good_CR
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xdd0]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.CR_Der2Max
lea edx, [esp + 0x3c]
push str.Good_CR
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x4c]
add edi, eax
lea eax, [esp + 0x44c]
push eax
push str.TAPMinDer
push str.TAP_Search
push ecx
push esi
call fcn.00405c40
add esp, 0x50
lea edx, [ebx + 0xde0]
neg eax
sbb eax, eax
push edx
inc eax
lea ecx, [esp + 0x414]
add edi, eax
lea eax, [ebx + 0xdd8]
push eax
push 0x42bb14
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
lea edx, [esp + 0x420]
push 0x200
push edx
push str.TAPPowMinDer
lea eax, [esp + 0x2c]
push str.TAP_Search
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0xdf0]
inc eax
push ecx
add edi, eax
lea edx, [ebx + 0xde8]
lea eax, [esp + 0x43c]
push edx
push 0x42bb14
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
lea ecx, [ebx + 0xdf8]
push 0
push ecx
push 0
push str.TAPMinIndex
lea edx, [esp + 0x58]
push str.TAP_Search
push edx
push esi
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0
inc eax
add edi, eax
lea eax, [ebx + 0xe00]
push eax
push 0
push str.ETAPMinIndex
push str.TAP_Search
push ecx
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0xe08]
inc eax
push 0
push edx
add edi, eax
push 0
push str.ETAPoverTAN
lea eax, [esp + 0x3c]
push str.TAP_Search
push eax
push esi
call fcn.00405b10
lea ecx, [ebx + 0xe10]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.TAP_Pow2Plat
lea edx, [esp + 0x58]
push str.TAP_Search
inc eax
push edx
push esi
add edi, eax
call fcn.00405b10
add esp, 0x54
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
inc eax
push ecx
push str.TAPWeightLimit
lea edx, [esp + 0x1c]
add edi, eax
push str.TAP_Search
lea eax, [esp + 0x384]
push edx
push esi
mov dword [esp + 0x2c], eax
call fcn.00405c40
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0xe58]
lea edx, [ebx + 0xe50]
push ecx
lea eax, [ebx + 0xe48]
push edx
lea ecx, [ebx + 0xe40]
push eax
lea edx, [ebx + 0xe38]
push ecx
lea eax, [ebx + 0xe30]
push edx
lea ecx, [ebx + 0xe28]
push eax
lea edx, [ebx + 0xe20]
push ecx
lea eax, [ebx + 0xe18]
push edx
push eax
lea ecx, [esp + 0x450]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
cmp eax, 9
je 0x41044b
push str.TAPWeightLimit
push str.TAP_Search
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
lea edx, [ebx + 0xee0]
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x410]
push 0x200
push ecx
mov eax, dword [eax]
lea edx, [esp + 0x18]
push eax
push str.TAP_Search
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [eax + 8]
lea edx, [eax - 8]
push ecx
push eax
lea ecx, [eax - 0x10]
push edx
push ecx
lea edx, [eax - 0x18]
lea ecx, [eax - 0x20]
push edx
push ecx
lea edx, [eax - 0x28]
lea ecx, [eax - 0x30]
push edx
add eax, 0xffffffc8
push ecx
push eax
lea edx, [esp + 0x450]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
cmp eax, 9
je 0x4104e3
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push eax
push str.TAP_Search
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add edx, 0x48
add ecx, 4
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jne 0x41045d
lea ecx, [ebx + 0x1090]
mov dword [esp + 0x24], 5
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x410]
push 0x200
push ecx
mov eax, dword [edx]
lea edx, [esp + 0x18]
push eax
push str.TAP_Search
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x34]
lea ecx, [eax + 8]
lea edx, [eax - 8]
push ecx
push eax
lea ecx, [eax - 0x10]
push edx
push ecx
lea edx, [eax - 0x18]
lea ecx, [eax - 0x20]
push edx
push ecx
lea edx, [eax - 0x28]
lea ecx, [eax - 0x30]
push edx
add eax, 0xffffffc8
push ecx
push eax
lea edx, [esp + 0x450]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
cmp eax, 9
je 0x4105a0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push eax
push str.TAP_Search
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add edx, 0x48
add ecx, 4
dec eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jne 0x41051a
mov eax, ecx
lea edx, [ebx + 0x11c0]
push 0
push edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
push 0
push ecx
lea eax, [esp + 0x20]
push str.Carbide_Search
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x11c8]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x34]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
push ecx
lea eax, [esp + 0x3c]
push str.Carbide_Search
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x11d0]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x50]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x58], eax
push ecx
lea eax, [esp + 0x58]
push str.Carbide_Search
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
inc eax
push edx
add edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
push ecx
lea eax, [esp + 0x1c]
push str.Carbide_Search
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x11f8]
inc eax
lea edx, [ebx + 0x11f0]
add edi, eax
lea eax, [ebx + 0x1200]
push eax
push ecx
lea eax, [ebx + 0x11e8]
push edx
push eax
lea ecx, [ebx + 0x11e0]
lea edx, [ebx + 0x11d8]
push ecx
push edx
lea eax, [esp + 0x440]
push str._lf_lf_lf_lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x38
cmp eax, 1
jge 0x4106e4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
push edx
push str.Carbide_Search
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov ecx, dword [esp + 0x14]
push 0
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0x1200]
push ecx
push 0
push eax
lea eax, [esp + 0x20]
push str.Carbide_Search
push eax
push esi
call fcn.00405b10
mov ecx, dword [esp + 0x30]
push 0x200
neg eax
sbb eax, eax
add ecx, 4
inc eax
mov dword [esp + 0x34], ecx
add edi, eax
mov eax, dword [ecx - 4]
lea ecx, [esp + 0x430]
lea edx, [esp + 0x30]
push ecx
push eax
push str.Heat_Calc
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x1210]
inc eax
lea edx, [ebx + 0x1218]
add edi, eax
lea eax, [esp + 0x5c]
push eax
push ecx
lea eax, [ebx + 0x1208]
push edx
push eax
lea ecx, [esp + 0x454]
push str._lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x4c
cmp eax, 3
je 0x410793
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 4]
push eax
push str.Heat_Calc
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov ecx, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x14]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x414]
push ecx
push eax
push str.Heat_Calc
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x1228]
inc eax
lea edx, [ebx + 0x1230]
add edi, eax
lea eax, [esp + 0x40]
push eax
push ecx
lea eax, [ebx + 0x1220]
push edx
push eax
lea ecx, [esp + 0x438]
push str._lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x30
cmp eax, 3
je 0x410811
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 4]
push eax
push str.Heat_Calc
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x410]
push 0x200
push edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
push ecx
lea eax, [esp + 0x1c]
push str.Heat_Calc
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x1260]
inc eax
lea edx, [ebx + 0x1258]
add edi, eax
push ecx
lea eax, [ebx + 0x1250]
push edx
lea ecx, [ebx + 0x1248]
push eax
lea edx, [ebx + 0x1240]
push ecx
lea eax, [ebx + 0x1238]
push edx
push eax
lea ecx, [esp + 0x440]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
mov eax, dword [esp + 0x4c]
lea edx, [ebx + 0x1268]
push 0
push edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x54], eax
push 0
push ecx
lea eax, [esp + 0x58]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x1270]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
push ecx
lea eax, [esp + 0x20]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x1278]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x34]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
push ecx
push str.Heat_Calc
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x1280]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x50]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x58], eax
push ecx
lea eax, [esp + 0x58]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [ebx + 0x1288]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add edi, eax
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
push ecx
lea eax, [esp + 0x20]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x1290]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x34]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
push ecx
lea eax, [esp + 0x3c]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x1298]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x50]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x58], eax
push ecx
lea eax, [esp + 0x58]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
add esp, 0x54
neg eax
sbb eax, eax
inc eax
add edi, eax
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x12a0]
push 0
push edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
push 0
push ecx
lea eax, [esp + 0x20]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x12a8]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x34]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x3c], eax
push ecx
lea eax, [esp + 0x3c]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [ebx + 0x12b0]
inc eax
push 0
add edi, eax
mov eax, dword [esp + 0x50]
push edx
push 0
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x58], eax
push ecx
lea eax, [esp + 0x58]
push str.Heat_Calc
push eax
push esi
call fcn.00405b10
add esp, 0x54
lea edx, [esp + 0x410]
neg eax
sbb eax, eax
push 0x200
inc eax
push edx
add edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
push ecx
lea eax, [esp + 0x1c]
push str.Late_WallRx
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x40]
inc eax
lea edx, [ebx + 0x12c0]
add edi, eax
push ecx
lea eax, [ebx + 0x12b8]
push edx
push eax
lea ecx, [esp + 0x434]
push str._lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x2c
cmp eax, 2
je 0x410ae3
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 4]
push eax
push str.Late_WallRx
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x14]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
lea ecx, [ebx + 0x12c8]
push ecx
push 0
push eax
push str.Late_WallRx
push edx
push esi
call fcn.00405b10
mov ecx, dword [esp + 0x30]
push 0x200
neg eax
sbb eax, eax
add ecx, 4
inc eax
mov dword [esp + 0x34], ecx
add edi, eax
mov eax, dword [ecx - 4]
lea ecx, [esp + 0x430]
lea edx, [esp + 0x30]
push ecx
push eax
push str.Late_WallRx
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x12d8]
inc eax
lea edx, [ebx + 0x12d0]
add edi, eax
lea eax, [esp + 0x5c]
push eax
push ecx
push edx
lea eax, [esp + 0x450]
push str._lf_lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
cmp eax, 2
je 0x410b8b
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx - 4]
push edx
push str.Late_WallRx
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov ecx, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x14]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x414]
push ecx
push eax
push str.Late_WallRx
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [ebx + 0x12f8]
inc eax
lea edx, [ebx + 0x12f0]
add edi, eax
lea eax, [esp + 0x40]
push eax
push ecx
lea eax, [ebx + 0x12e8]
push edx
lea ecx, [ebx + 0x12e0]
push eax
push ecx
lea edx, [esp + 0x43c]
push str._lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x34
cmp eax, 4
je 0x410c10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 4]
push ecx
push str.Late_WallRx
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov ecx, dword [esp + 0x14]
lea edx, [ebx + 0x1300]
push 0
push edx
mov eax, dword [ecx]
push 0
push eax
lea eax, [esp + 0x20]
push str.Late_WallRx
add ecx, 4
push eax
push esi
mov dword [esp + 0x30], ecx
call fcn.00405b10
mov ecx, dword [esp + 0x30]
add esp, 0x1c
neg eax
mov edx, dword [ecx]
mov dword [esp + 0x1c], 1
sbb eax, eax
mov dword [esp + 0x24], edx
inc eax
add edi, eax
lea eax, [ebx + 0x13f8]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x818]
push str._s_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
lea ecx, [esp + 0x420]
push 0x200
lea edx, [esp + 0x824]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.CGCategoryMatrix
push eax
push esi
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esp + 0x50]
inc eax
push ecx
add edi, eax
mov eax, dword [esp + 0x44]
lea edx, [eax + 8]
lea ecx, [eax - 8]
push edx
push eax
push ecx
lea edx, [eax - 0x10]
lea ecx, [eax - 0x18]
push edx
push ecx
lea edx, [eax - 0x20]
lea ecx, [eax - 0x28]
push edx
push ecx
lea edx, [eax - 0x30]
lea ecx, [eax - 0x38]
push edx
push ecx
lea edx, [eax - 0x40]
lea ecx, [eax - 0x48]
push edx
push ecx
lea edx, [eax - 0x50]
lea ecx, [eax - 0x58]
push edx
push ecx
lea edx, [eax - 0x60]
lea ecx, [eax - 0x68]
push edx
add eax, 0xffffff90
push ecx
push eax
lea edx, [esp + 0x47c]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x74
cmp eax, 0x10
je 0x410d20
lea eax, [esp + 0x810]
push eax
push str.CGCategoryMatrix
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0x80
cmp eax, 0x13
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jle 0x410c5f
mov eax, dword [esp + 0x14]
lea edx, [ebx + 0x1dc8]
add eax, 4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x818]
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x420]
push 0x200
lea ecx, [esp + 0x824]
push eax
push ecx
lea edx, [esp + 0x2c]
push str.CGMgInocCategoryDependent
push edx
push esi
call fcn.00405c40
neg eax
sbb eax, eax
inc eax
add edi, eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + 8]
lea edx, [eax - 8]
push ecx
push eax
lea ecx, [eax - 0x10]
push edx
push ecx
lea edx, [eax - 0x18]
lea ecx, [eax - 0x20]
push edx
push ecx
lea edx, [eax - 0x28]
lea ecx, [eax - 0x30]
push edx
push ecx
lea edx, [eax - 0x38]
lea ecx, [eax - 0x40]
push edx
push ecx
lea edx, [eax - 0x48]
lea ecx, [eax - 0x50]
push edx
add eax, 0xffffffa8
push ecx
push eax
lea edx, [esp + 0x470]
push str._lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x68
cmp eax, 0xd
je 0x410e18
lea eax, [esp + 0x810]
push eax
push str.CGMgInocCategoryDependent
push esi
call fcn.00405ff0
add esp, 0xc
inc edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0x68
cmp eax, 0x13
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
jle 0x410d63
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], 0
add eax, 4
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x14]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x414]
push ecx
push eax
push str.SG_Calc
push edx
push esi
call fcn.00405c40
add esp, 0x18
lea ecx, [esp + 0x410]
neg eax
sbb eax, eax
mov dword [esp + 0x1c], 0
inc eax
add edi, eax
lea eax, [esp + 0x410]
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x410f88
lea edx, [ebx + 0x2628]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x20]
cmp word [eax], 0
je 0x410f88
cmp dword [esp + 0x1c], 0x20
jge 0x410f88
mov edx, dword [esp + 0x20]
push 0x80
lea ecx, [esp + 0x814]
push 0
push ecx
push edx
call fcn.00422ce0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 3
ja case.default.0x410eeb
jmp dword [eax*4 + 0x410fb8]
lea ecx, [esp + 0x810]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstod]
mov edx, dword [esp + 0x2c]
add esp, 8
fstp qword [edx - 0x100]
jmp case.default.0x410eeb
lea eax, [esp + 0x810]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
mov ecx, dword [esp + 0x2c]
add esp, 8
fstp qword [ecx]
jmp case.default.0x410eeb
lea edx, [esp + 0x810]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstod]
mov eax, dword [esp + 0x2c]
add esp, 8
fstp qword [eax + 0x100]
jmp case.default.0x410eeb
lea ecx, [esp + 0x810]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstod]
mov edx, dword [esp + 0x2c]
add esp, 8
fstp qword [edx + 0x200]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc edx
add ecx, 8
mov dword [esp + 0x1c], edx
test eax, eax
mov dword [esp + 0x24], ecx
jne 0x410ea9
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
inc eax
cmp eax, 4
jle 0x410e48
lea eax, [esp + 0x10]
push eax
call fcn.004047b0
add esp, 4
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret