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

Disassembly:
mov eax, 0x1770
call fcn.00424d50
mov eax, str.ComPort
push ebp
push edi
mov dword [esp + 0x38], str.SystemName
mov dword [esp + 0x3c], str.SystemVersion
mov dword [esp + 0x40], str.ParamSetNames
mov dword [esp + 0x44], str.UserList
mov dword [esp + 0x48], str.ConfigDir
mov dword [esp + 0x4c], str.ProductDir
mov dword [esp + 0x50], str.BackupDir
mov dword [esp + 0x54], str.ArchiveDir
mov dword [esp + 0x58], str.ArchiveCount
mov dword [esp + 0x5c], str.ArchiveBkUp
mov dword [esp + 0x60], str.MainDatabaseFile
mov dword [esp + 0x64], str.LiveDatabaseFile
mov dword [esp + 0x68], str.TCDatabaseFile
mov dword [esp + 0x6c], str.ADCDatabaseFile
mov dword [esp + 0x70], str.BackupFiles
mov dword [esp + 0x74], str.FreeSpaceAlarm
mov dword [esp + 0x78], str.DumpTicks
mov dword [esp + 0x7c], str.ProdChangeMode
mov dword [esp + 0x80], str.AlloyCalcUpdate
mov dword [esp + 0x84], str.AlloyCalcRstTreated
mov dword [esp + 0x88], str.AlloyCalcBlock
mov dword [esp + 0x8c], str.BT_SulfurUpdate
mov dword [esp + 0x90], str.BT_ACReset
mov dword [esp + 0x94], str.MeltLifeTime
mov dword [esp + 0x98], str.ExtraSampleLogic
mov dword [esp + 0x9c], str.AC_SampleTrigger
mov dword [esp + 0xa0], str.SimultaneousSAM
mov dword [esp + 0xa4], str.TCCorr
mov dword [esp + 0xa8], str.MaxSampPerTC
mov dword [esp + 0xac], str.ABCheckSamples
mov dword [esp + 0xb0], str.ABCheck_TDiff
mov dword [esp + 0xb4], str.ABCheckFailRate
mov dword [esp + 0xb8], str.SpawnType
mov dword [esp + 0xbc], str.UnblockBT
mov dword [esp + 0xc0], str.BTFromSpawn
mov dword [esp + 0xc4], str.SampleFromBT
mov dword [esp + 0xc8], str.CorrectFromSAM
mov dword [esp + 0xcc], str.BT_WtDetect
mov dword [esp + 0xd0], str.BT_dWdN_Sens
mov dword [esp + 0xd4], str.FC_WtLow
mov dword [esp + 0xd8], str.FC_WtDetectDelta
mov dword [esp + 0xdc], str.FC_WtDetectFilter
mov dword [esp + 0xe0], str.Mould_WtDetect
mov dword [esp + 0xe4], str.Dribble_Comp
mov dword [esp + 0xe8], str.LogFileName
mov dword [esp + 0xec], str.LogMaxSize
mov dword [esp + 0xf0], str.DisplayFrom_ANA
mov dword [esp + 0xf4], str.DisplayFrom_SAM
mov dword [esp + 0xf8], str.DisplayFrom_WF
mov dword [esp + 0xfc], str.DisplayFrom_OCM
mov dword [esp + 0x100], str.DisplayFrom_ECM
mov dword [esp + 0x104], str.DisplayFrom_PIM
mov dword [esp + 0x108], str.TrackingEvents
mov dword [esp + 0x10c], str.SocketPort
mov dword [esp + 0x110], str.ServerIP
mov dword [esp + 0x114], str.TimeError
mov dword [esp + 0x118], str.TimeUpdateDelay
mov dword [esp + 0x11c], str.DongleCode
mov dword [esp + 0x120], str.DongleLowWarn
mov dword [esp + 0x124], str.ECM_Codes
mov dword [esp + 0x128], str.OCMViewersAllowed
mov dword [esp + 0x12c], str.OCMViewerIOKeys
mov dword [esp + 0x130], str.CTB_Prefix
mov dword [esp + 0x134], str.LT_Status_LUT
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], str.RequestString
mov dword [esp + 0x140], str.CycleTiming
mov dword [esp + 0x144], str.MainsStatus
mov dword [esp + 0x148], str.BatStatus
mov dword [esp + 0x14c], str.ShutDownDelay
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], str.Delimiter
mov dword [esp + 0x158], str.Terminator
mov dword [esp + 0x15c], str.CheckSum
mov dword [esp + 0x160], str.SendHeader
mov dword [esp + 0x164], str.DB_fields
mov ebp, dword [esp + 0x1780]
lea eax, [esp + 8]
xor edi, edi
push eax
push ebp
mov dword [esp + 0x170], str.ARSType
mov dword [esp + 0x174], str.Header
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
call fcn.00404320
add esp, 8
test eax, eax
jne 0x406f49
pop edi
pop ebp
add esp, 0x1770
ret
push ebx
push esi
mov esi, dword [esp + 0x178c]
push 0x10
push esi
push str.SystemName
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.00405c40
mov ebx, eax
push 9
neg ebx
sbb ebx, ebx
push esi
inc ebx
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 0x20
cmp eax, edi
je 0x406f96
push 9
push esi
mov word [eax], 0x20
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, edi
jne 0x406f81
lea eax, [esi + 0x20]
push 0x28
push eax
push str.SystemVersion
lea edx, [esp + 0x1c]
push str.Identification
push edx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 9
inc eax
add ebx, eax
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 0x20
cmp eax, edi
je 0x406fe3
mov word [eax], 0x20
lea eax, [esi + 0x20]
push 9
push eax
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, edi
jne 0x406fcb
lea eax, [esp + 0x580]
push 0x800
push eax
push str.ParamSetNames
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esi + 0x1590], edi
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], di
je 0x4070dc
lea ecx, [esp + 0x580]
lea edx, [esp + 0x580]
lea eax, [esp + 0x580]
mov dword [esp + 0x14], edi
test ecx, ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
je 0x4070d2
lea edx, [esi + 0x590]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0x40
jge 0x4070d2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x20
push 9
push eax
push ecx
call fcn.00422ce0
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x407087
mov edx, dword [esp + 0x20]
mov ecx, eax
sub eax, edx
sar eax, 1
jmp 0x40709a
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x20]
add esp, 4
inc eax
cmp eax, 0x20
jbe 0x4070b6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec edx
mov word [eax], di
sub eax, 0x40
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
inc eax
add edx, 0x40
cmp ecx, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jne 0x407056
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1590], eax
mov dword [esi + 0x58c], edi
lea ecx, [esi + 0x70]
lea edx, [esi + 0x84]
mov dword [esi + 0x588], edi
mov dword [esi + 0x584], edi
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, 0x40
lea edx, [esp + 0x1580]
mov dword [eax], 0
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x24]
push ecx
push str.UserList
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x590]
push 0x800
lea ecx, [esp + 0x1594]
push eax
push ecx
lea edx, [esp + 0x2c]
push str.Identification
push edx
push ebp
call fcn.00405c40
add esp, 0x28
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x4072a7
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x580]
push str.LADLE_TRACKER
push eax
call edi
add esp, 8
test eax, eax
jne 0x4071b6
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x584], 1
mov dword [esi + 0x588], ecx
jmp 0x4072a7
cmp word [esp + 0x580], 0
je 0x4072a7
lea edx, [esp + 0x580]
push str.FURNACE_TRACKER
push edx
call edi
add esp, 8
test eax, eax
jne 0x4071f4
mov eax, dword [esp + 0x24]
mov dword [esi + 0x584], 2
mov dword [esi + 0x588], eax
jmp 0x4072a7
cmp word [esp + 0x580], 0
je 0x4072a7
lea ecx, [esp + 0x580]
push str.TEMP_TRACKER
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40722f
mov edx, dword [esp + 0x24]
mov dword [esi + 0x584], 3
mov dword [esi + 0x588], edx
jmp 0x4072a7
cmp word [esp + 0x580], 0
je 0x4072a7
lea eax, [esp + 0x580]
push str.LT_FURNNO
push eax
call edi
add esp, 8
test eax, eax
jne 0x40725c
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x58c], ecx
jmp 0x4072a7
cmp word [esp + 0x580], 0
je 0x4072a7
lea edx, [esp + 0x580]
xor edi, edi
test edx, edx
lea eax, [esp + 0x580]
je 0x4072a1
cmp edi, 0x10
jge 0x4072a1
mov ecx, dword [esp + 0x1c]
push 8
push 0
lea edx, [edi + ecx]
shl edx, 4
lea ecx, [edx + esi - 0x7c]
push ecx
push eax
call fcn.00422ce0
add esp, 0x10
inc edi
test eax, eax
jne 0x40727b
mov edx, dword [esp + 0x18]
mov dword [edx], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
inc ecx
add edi, 0x100
cmp eax, 0x50
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
jle 0x40710f
lea edi, [esi + 0x1598]
push 0x104
push edi
push str.ConfigDir
lea eax, [esp + 0x1c]
push str.IniFilePaths
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea edi, [esi + 0x17a0]
push 0x104
push edi
push str.ProductDir
lea ecx, [esp + 0x40]
push str.IniFilePaths
push ecx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
add esp, 0x48
lea edx, [esp + 0x580]
lea eax, [esp + 0x10]
push 0x800
push edx
push str.BackupDir
push str.IniFilePaths
push eax
push ebp
call fcn.00405c40
neg eax
lea ecx, [esi + 0x1bb0]
lea edi, [esi + 0x19a8]
sbb eax, eax
push ecx
lea edx, [esp + 0x59c]
inc eax
push edi
push edx
add ebx, eax
call fcn.004111a0
push 1
push 0
push edi
call fcn.00422ac0
lea edi, [esi + 0x1db8]
push 0x104
push edi
push str.ArchiveDir
lea eax, [esp + 0x4c]
push str.IniFilePaths
push eax
push ebp
call fcn.00405c40
add esp, 0x48
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
push 0
lea ecx, [esi + 0x1fc0]
push 0
push ecx
push str.ArchiveCount
lea edx, [esp + 0x2c]
push str.IniFilePaths
push edx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
push 0x800
inc eax
lea ecx, [esp + 0x3c]
add ebx, eax
lea eax, [esp + 0x5ac]
push eax
push str.ArchiveBkUp
push str.IniFilePaths
push ecx
push ebp
call fcn.00405c40
add esp, 0x40
lea edx, [esi + 0x21cc]
neg eax
sbb eax, eax
lea edi, [esi + 0x1fc4]
inc eax
push edx
add ebx, eax
lea eax, [esp + 0x584]
push edi
push eax
call fcn.004111a0
push 1
push 0
push edi
call fcn.00422ac0
lea edi, [esi + 0x23d4]
push 0x104
push edi
push str.MainDatabaseFile
lea ecx, [esp + 0x34]
push str.IniFilePaths
push ecx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea edi, [esi + 0x25dc]
push 0x104
push edi
push str.LiveDatabaseFile
lea edx, [esp + 0x58]
push str.IniFilePaths
push edx
push ebp
call fcn.00405c40
add esp, 0x54
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea edi, [esi + 0x27e4]
push 0x104
push edi
push str.TCDatabaseFile
lea eax, [esp + 0x28]
push str.IniFilePaths
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea edi, [esi + 0x29ec]
push 0x104
push edi
push str.ADCDatabaseFile
lea ecx, [esp + 0x4c]
push str.IniFilePaths
push ecx
push ebp
call fcn.00405c40
add esp, 0x48
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea edx, [esp + 0x58c]
push 0x800
push edx
push str.BackupFiles
lea eax, [esp + 0x28]
push str.IniFilePaths
push eax
push ebp
call fcn.00405c40
add esp, 0x24
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x4075bb
lea ecx, [esi + 0x2bf4]
mov dword [esp + 0x20], ecx
test edi, edi
je 0x4075bb
cmp dword [esp + 0x14], 0xa
jge 0x4075bb
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push edi
call fcn.00422ce0
mov ecx, dword [esp + 0x30]
mov edi, eax
lea eax, [esp + 0x190]
push 0x200
push eax
push ecx
call fcn.00422fc0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
inc edx
add ecx, 0x208
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ecx
jne 0x40755d
lea edi, [esi + 0x4048]
push 0
push edi
push 0
push str.FreeSpaceAlarm
lea edx, [esp + 0x20]
push str.IniFilePaths
push edx
push ebp
call fcn.00405b10
neg eax
fld qword [edi]
sbb eax, eax
lea ecx, [esp + 0x2c]
fmul qword [0x4262c8]
inc eax
add ebx, eax
lea eax, [esi + 0x4050]
push eax
push 0
fstp qword [edi]
push 0
push str.DumpTicks
push str.Analyse
push ecx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [esp + 0x1b8]
inc eax
push 0x200
add ebx, eax
push edx
push str.ProdChangeMode
lea eax, [esp + 0x54]
push str.SystemControl
push eax
push ebp
call fcn.00405c40
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x50
neg eax
sbb eax, eax
lea ecx, [esp + 0x180]
inc eax
push str.RESET
push ecx
add ebx, eax
call edi
add esp, 8
test eax, eax
jne 0x407667
mov dword [esi + 0x4058], 3
jmp 0x4076b5
lea edx, [esp + 0x180]
push str.MELT
push edx
call edi
add esp, 8
test eax, eax
jne 0x407689
mov dword [esi + 0x4058], 2
jmp 0x4076b5
lea eax, [esp + 0x180]
push str.FURNACE
push eax
call edi
add esp, 8
test eax, eax
jne 0x4076ab
mov dword [esi + 0x4058], 1
jmp 0x4076b5
mov dword [esi + 0x4058], 0
lea ecx, [esp + 0x180]
push 0x200
push ecx
push str.AlloyCalcUpdate
lea edx, [esp + 0x1c]
push str.SystemControl
push edx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push str.MANUAL
inc eax
add ebx, eax
lea eax, [esp + 0x19c]
push eax
call edi
add esp, 0x20
test eax, eax
jne 0x407700
mov dword [esi + 0x405c], 0xffffffff
jmp 0x407770
lea ecx, [esp + 0x180]
push str.AUTO
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40771e
mov dword [esi + 0x405c], eax
jmp 0x407770
lea edx, [esp + 0x180]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x426348]
fcomp qword [0x426300]
add esp, 8
fnstsw ax
test ah, 1
je 0x40774c
fld qword [0x426300]
jmp 0x407765
lea eax, [esp + 0x180]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x426348]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x405c], eax
lea ecx, [esi + 0x4060]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push str.AlloyCalcRstTreated
push str.SystemControl
push edx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
push 0x800
inc eax
lea edi, [esi + 0x4070]
add ebx, eax
lea eax, [esp + 0x5a0]
push eax
push str.AlloyCalcBlock
lea ecx, [esp + 0x38]
push str.SystemControl
push ecx
mov dword [edi], 0
push ebp
mov dword [esi + 0x4068], 0
mov dword [edi + 4], 0
call fcn.00405c40
neg eax
sbb eax, eax
push edi
inc eax
lea edx, [esp + 0x1b8]
add ebx, eax
lea eax, [esi + 0x4068]
push eax
push edx
lea eax, [esp + 0x5c0]
push str._ls_t_d_t_lg
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
lea ecx, [esp + 0x180]
push str.PRODUCT
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40782c
mov dword [esi + 0x4064], 1
jmp 0x4078e9
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x180]
push str.USERLIST1
push edx
call edi
add esp, 8
test eax, eax
jne 0x407857
mov dword [esi + 0x4064], 2
jmp 0x4078e9
lea eax, [esp + 0x180]
push str.USERLIST2
push eax
call edi
add esp, 8
test eax, eax
jne 0x407879
mov dword [esi + 0x4064], 3
jmp 0x4078e9
lea ecx, [esp + 0x180]
push str.USERLIST3
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40789b
mov dword [esi + 0x4064], 4
jmp 0x4078e9
lea edx, [esp + 0x180]
push str.USERLIST4
push edx
call edi
add esp, 8
test eax, eax
jne 0x4078bd
mov dword [esi + 0x4064], 5
jmp 0x4078e9
lea eax, [esp + 0x180]
push str.USERLIST5
push eax
call edi
add esp, 8
test eax, eax
jne 0x4078df
mov dword [esi + 0x4064], 6
jmp 0x4078e9
mov dword [esi + 0x4064], 0
lea ecx, [esp + 0x580]
push 0x800
push ecx
lea edi, [esi + 0x4080]
push str.BT_SulfurUpdate
lea edx, [esp + 0x1c]
push str.SystemControl
push edx
mov dword [edi], 0
push ebp
mov dword [esi + 0x407c], 0
mov dword [edi + 4], 0
call fcn.00405c40
neg eax
sbb eax, eax
push edi
inc eax
lea ecx, [esp + 0x59c]
add ebx, eax
lea eax, [esi + 0x407c]
push eax
lea eax, [esp + 0x1a0]
push eax
push str._ls_t_d_t_lg
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
lea edx, [esp + 0x1ac]
push str.PRODUCT
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x34
test eax, eax
jne 0x40797b
mov dword [esi + 0x4078], 1
jmp 0x407a38
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x180]
push str.USERLIST1
push eax
call edi
add esp, 8
test eax, eax
jne 0x4079a6
mov dword [esi + 0x4078], 2
jmp 0x407a38
lea ecx, [esp + 0x180]
push str.USERLIST2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4079c8
mov dword [esi + 0x4078], 3
jmp 0x407a38
lea edx, [esp + 0x180]
push str.USERLIST3
push edx
call edi
add esp, 8
test eax, eax
jne 0x4079ea
mov dword [esi + 0x4078], 4
jmp 0x407a38
lea eax, [esp + 0x180]
push str.USERLIST4
push eax
call edi
add esp, 8
test eax, eax
jne 0x407a0c
mov dword [esi + 0x4078], 5
jmp 0x407a38
lea ecx, [esp + 0x180]
push str.USERLIST5
push ecx
call edi
add esp, 8
test eax, eax
jne 0x407a2e
mov dword [esi + 0x4078], 6
jmp 0x407a38
mov dword [esi + 0x4078], 0
lea edx, [esp + 0x580]
push 0x800
push edx
push str.BT_ACReset
lea eax, [esp + 0x1c]
push str.SystemControl
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea edi, [esi + 0x4088]
inc eax
lea ecx, [esp + 0x598]
add ebx, eax
lea eax, [esi + 0x4090]
push eax
push edi
push str._lg_t_lg
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [edi]
fcomp qword [0x426300]
add esp, 0x28
fnstsw ax
test ah, 1
je 0x407aa1
mov dword [edi], 0
mov dword [edi + 4], 0
fld qword [esi + 0x4090]
fcomp qword [0x426300]
fnstsw ax
test ah, 0x41
jne 0x407ac6
fld qword [esi + 0x4090]
fmul qword [0x4262c8]
fstp qword [esi + 0x4090]
lea edx, [esi + 0x4098]
push 0
push edx
push 0
push str.MeltLifeTime
lea eax, [esp + 0x20]
push str.SystemControl
push eax
push ebp
call fcn.00405b10
lea ecx, [esp + 0x19c]
push 0x200
neg eax
push ecx
push str.ExtraSampleLogic
sbb eax, eax
lea edx, [esp + 0x38]
push str.SystemControl
inc eax
push edx
push ebp
add ebx, eax
call fcn.00405c40
neg eax
sbb eax, eax
push 0x429660
inc eax
add ebx, eax
lea eax, [esp + 0x1b8]
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x3c
test eax, eax
jne 0x407b3c
mov dword [esi + 0x40b8], 0xfffffffe
jmp 0x407b6b
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x407b61
push 0xa
lea ecx, [esp + 0x184]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov dword [esi + 0x40b8], eax
jmp 0x407b6b
mov dword [esi + 0x40b8], 0xffffffff
lea edi, [esi + 0x40bc]
mov ecx, 0x14
xor eax, eax
lea edx, [esp + 0x580]
push 0x800
push edx
rep stosd dword es:[edi], eax
push str.AC_SampleTrigger
lea eax, [esp + 0x1c]
push str.SystemControl
push eax
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x407c22
lea eax, [esi + 0x40bc]
mov dword [esp + 0x20], eax
test edi, edi
je 0x407c22
cmp dword [esp + 0x14], 0x14
jge 0x407c22
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
push 0xa
lea edx, [esp + 0x194]
push 0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jne 0x407bca
lea eax, [esi + 0x410c]
lea ecx, [esp + 0x10]
push eax
push 0
push 0
push str.SimultaneousSAM
push str.SystemControl
push ecx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
lea edx, [esp + 0x19c]
inc eax
push 0x200
add ebx, eax
push edx
push str.TCCorr
lea eax, [esp + 0x38]
push str.SystemControl
push eax
push ebp
call fcn.00405c40
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x1b4]
neg eax
sbb eax, eax
push str.Adjustable
inc eax
push ecx
add ebx, eax
call edi
add esp, 0x3c
test eax, eax
jne 0x407c9e
mov dword [esi + 0x4110], eax
mov dword [esi + 0x4114], 0x40f86a00
lea edx, [esp + 0x180]
push str.AutoLoad
push edx
call edi
add esp, 8
test eax, eax
jne 0x407cc6
mov dword [esi + 0x4110], eax
mov dword [esi + 0x4114], 0xc0f86a00
jmp 0x407cdf
lea eax, [esp + 0x180]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [esi + 0x4110]
add esp, 8
lea ecx, [esp + 0x180]
push 0x200
push ecx
push str.MaxSampPerTC
lea edx, [esp + 0x1c]
lea edi, [esi + 0x411c]
push str.SystemControl
push edx
push ebp
mov dword [edi], closesocket
mov dword [esi + 0x4118], 0x7fffffff
call fcn.00405c40
neg eax
sbb eax, eax
push edi
inc eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
add ebx, eax
lea eax, [esi + 0x4118]
push eax
lea eax, [esp + 0x1a0]
push str._d_d
push eax
call edi
push 0
lea ecx, [esi + 0x4120]
push 0
push ecx
push str.ABCheckSamples
lea edx, [esp + 0x48]
push str.SystemControl
push edx
push ebp
call fcn.00405b10
add esp, 0x44
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0x200
inc eax
add ebx, eax
lea eax, [esp + 0x184]
push eax
push str.ABCheck_TDiff
push str.SystemControl
push ecx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea edx, [esi + 0x4130]
inc eax
push edx
add ebx, eax
lea eax, [esi + 0x4128]
push eax
lea ecx, [esp + 0x1a0]
push str._lg_lg
push ecx
call edi
lea edx, [esi + 0x4138]
push 0
push edx
push 0
push str.ABCheckFailRate
lea eax, [esp + 0x48]
push str.SystemControl
push eax
push ebp
call fcn.00405b10
add esp, 0x44
lea ecx, [esp + 0x580]
neg eax
sbb eax, eax
push 0x800
inc eax
push ecx
push str.SpawnType
add ebx, eax
push str.ProcessFlow
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esp + 0x598]
push eax
call fcn.00401ec0
lea ecx, [esi + 0x4144]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push str.UnblockBT
push str.ProcessFlow
push edx
push ebp
mov dword [esi + 0x4140], eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0x800
inc eax
lea ecx, [esp + 0x4c]
add ebx, eax
lea eax, [esp + 0x5bc]
push eax
push str.BTFromSpawn
push str.ProcessFlow
push ecx
push ebp
call fcn.00405c40
add esp, 0x50
lea edi, [esi + 0x4148]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
lea edx, [esp + 0x580]
add ebx, eax
xor eax, eax
cmp word [esp + 0x580], ax
mov dword [esp + 0x14], 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], edx
je 0x407f0e
lea edi, [esi + 0x4170]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407f0e
cmp dword [esp + 0x14], 0xa
jge 0x407f0e
mov eax, dword [esp + 0x1c]
push 0x200
push 0
push edi
push eax
call fcn.00422ce0
push 0x42abbc
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x407ef2
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x407ef2
cmp word [edi], 0
je 0x407ef7
mov word [esi + 0x4148], 0x31
jmp 0x407ef7
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
jne 0x407e96
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.SampleFromBT
lea edx, [esp + 0x1c]
push str.ProcessFlow
push edx
push ebp
call fcn.00405c40
add esp, 0x18
lea edi, [esi + 0x42d8]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
mov dword [esp + 0x14], 1
add ebx, eax
xor eax, eax
cmp word [esp + 0x580], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x580]
mov dword [esp + 0x1c], eax
je 0x407fe5
lea edi, [esi + 0x4300]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407fe5
cmp dword [esp + 0x14], 0xa
jge 0x407fe5
mov ecx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push ecx
call fcn.00422ce0
push 0x42abbc
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x407fc9
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x407fc9
cmp word [edi], 0
je 0x407fce
mov word [esi + 0x42d8], 0x31
jmp 0x407fce
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
jne 0x407f6d
lea edx, [esp + 0x580]
push 0x800
push edx
push str.CorrectFromSAM
lea eax, [esp + 0x1c]
push str.ProcessFlow
push eax
push ebp
call fcn.00405c40
add esp, 0x18
lea edi, [esi + 0x4468]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
mov dword [esp + 0x14], 1
add ebx, eax
xor eax, eax
cmp word [esp + 0x580], ax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x580]
mov dword [esp + 0x1c], ecx
je 0x4080bb
lea edi, [esi + 0x4490]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4080bb
cmp dword [esp + 0x14], 0xa
jge 0x4080bb
mov edx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push edx
call fcn.00422ce0
push 0x42abbc
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40809f
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40809f
cmp word [edi], 0
je 0x4080a4
mov word [esi + 0x4468], 0x31
jmp 0x4080a4
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
jne 0x408043
lea eax, [esp + 0x180]
push 0x200
push eax
push str.BT_WtDetect
lea ecx, [esp + 0x1c]
push str.FC_Control
push ecx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
inc eax
lea edx, [esi + 0x4600]
add ebx, eax
lea eax, [esi + 0x45f8]
push edx
push eax
lea ecx, [esp + 0x1a0]
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x1a8]
push 0x200
push edx
push str.BT_dWdN_Sens
lea eax, [esp + 0x44]
push str.FC_Control
push eax
push ebp
call fcn.00405c40
add esp, 0x40
lea ecx, [esi + 0x4610]
neg eax
sbb eax, eax
lea edx, [esi + 0x4608]
inc eax
push ecx
add ebx, eax
push edx
lea eax, [esp + 0x188]
push str._lg_lg
push eax
call edi
lea ecx, [esp + 0x190]
push 0x200
push ecx
push str.FC_WtLow
lea edx, [esp + 0x2c]
push str.FC_Control
push edx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esi + 0x4618]
inc eax
lea edx, [esp + 0x1a8]
add ebx, eax
lea eax, [esi + 0x4620]
push eax
push ecx
push str._lg_lg
push edx
call edi
lea eax, [esp + 0x1b8]
push 0x200
push eax
push str.FC_WtDetectDelta
lea ecx, [esp + 0x54]
push str.FC_Control
push ecx
push ebp
call fcn.00405c40
add esp, 0x50
lea edx, [esi + 0x4630]
neg eax
sbb eax, eax
push edx
inc eax
add ebx, eax
lea eax, [esi + 0x4628]
lea ecx, [esp + 0x184]
push eax
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x190]
push 0x200
push edx
push str.FC_WtDetectFilter
lea eax, [esp + 0x2c]
push str.FC_Control
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esi + 0x4638]
inc eax
add ebx, eax
lea eax, [esi + 0x4640]
push eax
push ecx
lea ecx, [esp + 0x1b0]
push str._d_lg
push ecx
call edi
mov eax, dword [esi + 0x4638]
add esp, 0x38
test eax, eax
jg 0x408246
mov dword [esi + 0x4640], 0
mov dword [esi + 0x4644], 0x3ff00000
cmp eax, 1
jl 0x408255
cmp eax, 0x13
jge 0x40825c
cmp eax, 1
jge 0x408261
mov eax, 1
jmp 0x408261
mov eax, 0x13
lea edx, [esp + 0x180]
push 0x200
mov dword [esi + 0x4638], eax
push edx
push str.Mould_WtDetect
lea eax, [esp + 0x1c]
push str.FC_Control
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esi + 0x4650]
inc eax
lea edx, [esi + 0x4648]
add ebx, eax
push ecx
push edx
lea eax, [esp + 0x1a0]
push str._lg_lg
push eax
call edi
lea ecx, [esp + 0x1a8]
push 0x200
push ecx
push str.Dribble_Comp
lea edx, [esp + 0x44]
push str.FC_Control
push edx
push ebp
call fcn.00405c40
add esp, 0x40
lea ecx, [esp + 0x178]
neg eax
sbb eax, eax
push ecx
inc eax
lea edx, [esp + 0x30]
add ebx, eax
lea eax, [esi + 0x4660]
push eax
push edx
lea eax, [esp + 0x18c]
push str._lg_lg_lg
push eax
call edi
fld qword [esp + 0x40]
fmul qword [0x426348]
add esp, 0x14
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x4660]
fcomp qword [0x426300]
mov dword [esi + 0x4658], eax
fnstsw ax
test ah, 1
jne 0x40833a
fld qword [esi + 0x4660]
fcomp qword [0x426340]
fnstsw ax
test ah, 1
je 0x40835d
fld qword [esi + 0x4660]
fcomp qword [0x426300]
fnstsw ax
test ah, 1
je 0x408355
fld qword [0x426300]
jmp 0x408363
fld qword [esi + 0x4660]
jmp 0x408363
fld qword [0x426340]
fstp qword [esi + 0x4660]
fld qword [esp + 0x178]
fmul qword [0x426348]
call sub.MSVCRT.dll__ftol
xor ecx, ecx
lea edi, [esi + 0x4670]
test eax, eax
setle cl
push 0x104
push edi
dec ecx
push str.LogFileName
lea edx, [esp + 0x1c]
push str.SystemMessageLog
and eax, ecx
push edx
push ebp
mov dword [esi + 0x4668], eax
call fcn.00405c40
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00422ac0
lea eax, [esp + 0x50]
push 0
push eax
push 0
push str.LogMaxSize
lea ecx, [esp + 0x44]
push str.SystemMessageLog
push ecx
push ebp
call fcn.00405b10
fld qword [esp + 0x6c]
fmul qword [0x426338]
add esp, 0x40
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
lea edx, [esi + 0x4880]
mov dword [esi + 0x4878], eax
push edx
push 0
push 0
push str.DisplayFrom_ANA
lea eax, [esp + 0x20]
push str.SystemMessageLog
push eax
push ebp
mov dword [esi + 0x487c], 1
call fcn.00405b10
lea ecx, [esp + 0x59c]
push 0x800
neg eax
push ecx
push str.DisplayFrom_SAM
sbb eax, eax
lea edx, [esp + 0x38]
push str.SystemMessageLog
inc eax
push edx
push ebp
add ebx, eax
call fcn.00405c40
add esp, 0x34
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408530
lea eax, [esi + 0x491c]
mov dword [esp + 0x18], eax
test edi, edi
je 0x408530
cmp dword [esp + 0x14], 0xa
jge 0x408530
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
push 0x42a5d0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x408503
lea eax, [esp + 0x180]
push 0x42a5c8
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408503
lea ecx, [esp + 0x180]
push 0x42a5c4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408503
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40850d
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x40847f
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.DisplayFrom_WF
lea edx, [esp + 0x1c]
push str.SystemMessageLog
push edx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408635
lea eax, [esi + 0x48a4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x408635
cmp dword [esp + 0x14], 0xa
jge 0x408635
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
push 0x42a5d0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x408608
lea eax, [esp + 0x180]
push 0x42a5c8
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408608
lea ecx, [esp + 0x180]
push 0x42a5c4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408608
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x408612
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x408584
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.DisplayFrom_OCM
lea edx, [esp + 0x1c]
push str.SystemMessageLog
push edx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x40873a
lea eax, [esi + 0x48cc]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40873a
cmp dword [esp + 0x14], 0xa
jge 0x40873a
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
push 0x42a5d0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40870d
lea eax, [esp + 0x180]
push 0x42a5c8
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40870d
lea ecx, [esp + 0x180]
push 0x42a5c4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40870d
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x408717
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x408689
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.DisplayFrom_ECM
lea edx, [esp + 0x1c]
push str.SystemMessageLog
push edx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x40884a
lea eax, [esi + 0x48f4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40883f
cmp dword [esp + 0x14], 0xa
jge 0x408863
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
push 0x42ab40
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x408812
lea eax, [esp + 0x180]
push 0x42ab38
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408812
lea ecx, [esp + 0x180]
push 0x42ab34
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x408812
mov edx, dword [esp + 0x18]
mov dword [edx], 1
jmp 0x40881c
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x40878e
mov eax, dword [esp + 0x14]
cmp eax, 0xa
jge 0x408863
jmp 0x40884e
mov eax, dword [esp + 0x14]
mov ecx, 0xa
lea edi, [esi + eax*4 + 0x48f4]
sub ecx, eax
mov eax, 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.DisplayFrom_PIM
lea edx, [esp + 0x1c]
push str.SystemMessageLog
push edx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408968
lea eax, [esi + 0x4944]
mov dword [esp + 0x18], eax
test edi, edi
je 0x408968
cmp dword [esp + 0x14], 0xa
jge 0x408968
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
push 0x42a5d0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40893b
lea eax, [esp + 0x180]
push 0x42a5c8
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40893b
lea ecx, [esp + 0x180]
push 0x42a5c4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40893b
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x408945
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x4088b7
lea ecx, [esi + 0x4994]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push str.TrackingEvents
push str.SystemMessageLog
push edx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
push 0
add ebx, eax
lea eax, [esp + 0x4c]
push eax
push str.SocketPort
lea ecx, [esp + 0x3c]
push str.Server
push ecx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
mov dx, word [esp + 0x60]
inc eax
push 0x200
add ebx, eax
lea eax, [esp + 0x1bc]
push eax
push str.ServerIP
lea ecx, [esp + 0x54]
push str.Server
push ecx
push ebp
mov word [esi + 0x4998], dx
call fcn.00405c40
add esp, 0x50
lea edx, [esi + 0x499a]
neg eax
sbb eax, eax
push 0x20
inc eax
push edx
add ebx, eax
lea eax, [esp + 0x188]
push eax
call fcn.00424260
lea edi, [esi + 0x49c0]
push 0
push edi
push 0
push str.TimeError
lea ecx, [esp + 0x2c]
push str.Server
push ecx
push ebp
call fcn.00405b10
fld qword [edi]
add esp, 0x28
neg eax
fcomp qword [0x426330]
sbb eax, eax
inc eax
add ebx, eax
fnstsw ax
test ah, 1
jne 0x408a4a
fld qword [edi]
fcomp qword [0x426328]
fnstsw ax
test ah, 1
je 0x408a65
fld qword [edi]
fcomp qword [0x426330]
fnstsw ax
test ah, 1
je 0x408a61
fld qword [0x426330]
jmp 0x408a6b
fld qword [edi]
jmp 0x408a6b
fld qword [0x426328]
fstp qword [edi]
lea edx, [esp + 0x2c]
push 0
push edx
push 0
push str.TimeUpdateDelay
lea eax, [esp + 0x20]
push str.Server
push eax
push ebp
call fcn.00405b10
fld qword [esp + 0x48]
fmul qword [0x426348]
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
push 0
lea ecx, [esi + 0x49cc]
push 0
push ecx
push str.DongleCode
lea edx, [esp + 0x3c]
push str.Server
push edx
push ebp
mov dword [esi + 0x49c8], eax
call fcn.00405b10
neg eax
sbb eax, eax
push 0
inc eax
push 0
add ebx, eax
lea eax, [esi + 0x49d0]
push eax
push str.DongleLowWarn
lea ecx, [esp + 0x58]
push str.Server
push ecx
push ebp
call fcn.00405b10
add esp, 0x54
lea edi, [esi + 0x49d4]
neg eax
sbb eax, eax
mov ecx, 0xa
inc eax
lea edx, [esp + 0x580]
add ebx, eax
xor eax, eax
push 0x800
push edx
rep stosd dword es:[edi], eax
push str.ECM_Codes
lea eax, [esp + 0x1c]
push str.Server
push eax
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408baf
lea eax, [esi + 0x49d4]
mov dword [esp + 0x20], eax
test edi, edi
je 0x408baf
cmp dword [esp + 0x14], 0xa
jge 0x408baf
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
push 0xa
lea edx, [esp + 0x194]
push 0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jne 0x408b57
push 0
lea eax, [esi + 0x4a24]
push 0
push eax
push str.OCMViewersAllowed
lea ecx, [esp + 0x20]
push str.Server
push ecx
push ebp
call fcn.00405b10
neg eax
sbb eax, eax
lea edi, [esi + 0x4a28]
inc eax
mov ecx, 0xa
add ebx, eax
xor eax, eax
lea edx, [esp + 0x59c]
push 0x800
rep stosd dword es:[edi], eax
push edx
push str.OCMViewerIOKeys
lea eax, [esp + 0x38]
push str.Server
push eax
push ebp
call fcn.00405c40
add esp, 0x34
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408c88
lea eax, [esi + 0x4a28]
mov dword [esp + 0x20], eax
test edi, edi
je 0x408c88
cmp dword [esp + 0x14], 0xa
jge 0x408c88
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00422ce0
lea edx, [esp + 0x190]
mov edi, eax
push edx
call fcn.00404ca0
mov ecx, dword [esp + 0x34]
add esp, 0x14
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jne 0x408c35
lea edi, [esi + 0x4a50]
push 0
push 0
push edi
push str.CTB_Prefix
lea eax, [esp + 0x20]
push str.Server
push eax
push 0
call fcn.00405b10
add esp, 0x1c
test eax, eax
jne 0x408cb6
mov dword [edi], 0x4d
lea edi, [esi + 0x4a54]
mov ecx, 6
xor eax, eax
push 0x800
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x584]
lea edx, [esp + 0x14]
push ecx
push str.LT_Status_LUT
push str.Server
push edx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x580]
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x408d6d
lea eax, [esi + 0x4a54]
mov dword [esp + 0x20], eax
test edi, edi
je 0x408d6d
cmp dword [esp + 0x14], 6
jge 0x408d6d
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push edi
call fcn.00422ce0
push 0xa
lea ecx, [esp + 0x194]
push 0
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
jne 0x408d15
lea edx, [esp + 0x180]
push 0x200
push edx
push str.ComPort
lea eax, [esp + 0x1c]
push str.UPS_Mon
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
push 0
lea ecx, [esi + 0x4a70]
push 0x2580
lea edx, [esp + 0x1a0]
inc eax
push ecx
push edx
add ebx, eax
call fcn.00405d20
lea eax, [esi + 0x4b48]
push 0x200
push eax
push str.RequestString
lea ecx, [esp + 0x44]
push str.UPS_Mon
push ecx
push ebp
call fcn.00405c40
add esp, 0x40
lea edx, [esp + 0x2c]
neg eax
sbb eax, eax
push 0
inc eax
push edx
add ebx, eax
push 0
push str.CycleTiming
lea eax, [esp + 0x20]
push str.UPS_Mon
push eax
push ebp
call fcn.00405b10
fld qword [esp + 0x48]
fmul qword [0x426348]
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
xor ecx, ecx
lea edx, [esp + 0x19c]
test eax, eax
setl cl
dec ecx
push 0x200
and eax, ecx
push edx
mov dword [esi + 0x4f48], eax
push str.MainsStatus
lea eax, [esp + 0x38]
push str.UPS_Mon
push eax
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esi + 0x4f8c]
inc eax
lea edx, [esi + 0x4f4c]
add ebx, eax
push ecx
lea eax, [esp + 0x1b8]
push edx
push eax
call fcn.004111a0
add esp, 0x40
lea ecx, [esp + 0x180]
push 0x200
push ecx
push str.BatStatus
lea edx, [esp + 0x1c]
push str.UPS_Mon
push edx
push ebp
call fcn.00405c40
neg eax
sbb eax, eax
lea ecx, [esi + 0x4fcc]
inc eax
lea edx, [esp + 0x198]
add ebx, eax
lea eax, [esi + 0x500c]
push eax
push ecx
push edx
call fcn.004111a0
push 0
lea eax, [esi + 0x504c]
push 0
push eax
push str.ShutDownDelay
lea ecx, [esp + 0x44]
push str.UPS_Mon
push ecx
push ebp
call fcn.00405b10
add esp, 0x40
lea edx, [esp + 0x180]
neg eax
sbb eax, eax
push 0x200
inc eax
push edx
add ebx, eax
push str.ComPort
lea eax, [esp + 0x1c]
push str.ARS_Setup
push eax
push ebp
call fcn.00405c40
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x180], 0x3e
jne 0x408f30
lea ecx, [esi + 0x5090]
push 0x20
push ecx
lea edx, [esp + 0x188]
push 9
push edx
mov dword [esi + 0x50d0], 0
call fcn.00405cb0
jmp 0x408f4b
push 0
lea eax, [esi + 0x5050]
push 0x2580
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.00405d20
add esp, 0x10
lea edx, [esp + 0x580]
lea eax, [esp + 0x10]
push 0x800
push edx
push str.Delimiter
push str.ARS_Setup
push eax
push ebp
call fcn.00405c40
add esp, 0x18
lea ecx, [esp + 0x580]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], ecx
add ebx, eax
cmp word [esp + 0x580], di
je 0x409074
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409074
cmp edi, 0xf
jge 0x409074
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push eax
call fcn.00422ce0
push 0xa
lea ecx, [esp + 0x194]
push 0
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x1c
test eax, eax
je 0x408ffa
push 0xa
lea edx, [esp + 0x184]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov byte [edi + esi + 0x5128], al
jmp 0x409064
lea eax, [esp + 0x180]
push str.SPACE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40901e
mov byte [edi + esi + 0x5128], 0x20
jmp 0x409064
lea ecx, [esp + 0x180]
push str.COMMA
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409042
mov byte [edi + esi + 0x5128], 0x2c
jmp 0x409064
lea edx, [esp + 0x180]
push 0x42aae0
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409074
mov byte [edi + esi + 0x5128], 9
inc edi
cmp word [esp + 0x580], 0
jne 0x408f95
lea eax, [esp + 0x580]
push 0x800
push eax
push str.Terminator
lea ecx, [esp + 0x1c]
push str.ARS_Setup
push ecx
push ebp
mov byte [edi + esi + 0x5128], 0
call fcn.00405c40
add esp, 0x18
lea edx, [esp + 0x580]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], edx
add ebx, eax
cmp word [esp + 0x580], di
je 0x409182
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x409182
cmp edi, 0xf
jge 0x409182
mov ecx, dword [esp + 0x1c]
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push ecx
call fcn.00422ce0
push 0xa
lea edx, [esp + 0x194]
push 0
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x1c
test eax, eax
je 0x40912c
push 0xa
lea eax, [esp + 0x184]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov byte [edi + esi + 0x5138], al
jmp 0x409172
lea ecx, [esp + 0x180]
push 0x42aad8
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409150
mov byte [edi + esi + 0x5138], 0xd
jmp 0x409172
lea edx, [esp + 0x180]
push 0x42aad0
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409182
mov byte [edi + esi + 0x5138], 0xa
inc edi
cmp word [esp + 0x580], 0
jne 0x4090c3
lea eax, [esi + 0x5148]
lea ecx, [esp + 0x10]
push eax
push 0
push 0
push str.CheckSum
push str.ARS_Setup
push ecx
push ebp
mov byte [edi + esi + 0x5138], 0
call fcn.00405b10
neg eax
sbb eax, eax
lea ecx, [esp + 0x2c]
inc eax
lea edx, [esp + 0x188]
add ebx, eax
lea eax, [esi + 0x514c]
push eax
push 0
push 0
push str.SendHeader
push str.ARS_Setup
push ecx
push ebp
mov dword [esp + 0x50], edx
call fcn.00405b10
add esp, 0x38
lea edx, [esi + 0x5154]
neg eax
sbb eax, eax
mov dword [esp + 0x24], 0x1856
inc eax
mov dword [esp + 0x20], edx
add ebx, eax
xor eax, eax
inc eax
mov dword [esp + 0x3c], eax
push eax
push str.ARS_
lea eax, [esp + 0x1688]
push str._s_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x14], 1
mov word [esp + 0x580], 0
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x1588]
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x1590]
lea ecx, [esp + 0x1690]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00404c50
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [esp + 0x34], edi
je 0x40932b
mov eax, dword [edi + 4]
mov ax, word [eax]
test ax, ax
je 0x409319
cmp ax, 9
je 0x4092d1
cmp word [esp + 0x580], 0
je 0x4092d1
lea ecx, [esp + 0x580]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0x57e], 9
je 0x4092d1
lea edx, [esp + 0x580]
push 0x4290dc
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [esp + 0x580]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [edi + 4]
mov edx, eax
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edx, dword [esp + 0x40]
add esp, 8
add edx, eax
cmp edx, 0x7ff
jae 0x409319
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x580]
mov ecx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xf
mov dword [esp + 0x14], eax
jle 0x409237
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x580]
push eax
call edi
add esp, 4
inc eax
cmp eax, 0x800
jae 0x40934d
mov eax, 0x800
jmp 0x40935b
lea ecx, [esp + 0x580]
push ecx
call edi
add esp, 4
inc eax
cmp word [esp + 0x580], 9
jne 0x409393
lea edi, [eax + eax]
mov eax, edi
lea edx, [esp + 0x582]
push eax
lea eax, [esp + 0x584]
push edx
push eax
sub edi, 2
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
cmp word [esp + 0x580], 9
je 0x409369
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x580]
push edi
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4093cd
lea edx, [esp + 0x580]
push 0x800
push edx
push edi
mov dword [edi + 0x1000], 0
call fcn.00422fc0
add esp, 0xc
cmp word [edi], 0
je 0x40966c
mov eax, dword [esp + 0x18]
push 0x800
add eax, 4
lea edx, [esp + 0x14]
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x584]
push eax
push ecx
lea ecx, [esp + 0x168c]
push ecx
push edx
push ebp
call fcn.00405c40
add esp, 0x18
neg eax
sbb eax, eax
xor edi, edi
inc eax
add ebx, eax
cmp word [esp + 0x580], di
lea eax, [esp + 0x580]
mov dword [esp + 0x1c], eax
je 0x4095d1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4095d1
cmp edi, 8
jge 0x4095d1
push 0x200
lea ecx, [esp + 0x184]
push 0
mov edx, eax
push ecx
push edx
call fcn.00422ce0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x190]
push str.ANALYSIS
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
jne 0x409489
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 1
jmp 0x4095c1
lea edx, [esp + 0x180]
push str.CALC_ALLOYS
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4094b5
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 2
jmp 0x4095c1
lea ecx, [esp + 0x180]
push str.BT_ADDED
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4094e1
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 3
jmp 0x4095c1
lea eax, [esp + 0x180]
push str.CORRECTED
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40950d
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 4
jmp 0x4095c1
lea edx, [esp + 0x180]
push str.POUR_TEMP
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409539
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 5
jmp 0x4095c1
lea ecx, [esp + 0x180]
push str.POUR_ARRIVE
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x409562
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 6
jmp 0x4095c1
lea eax, [esp + 0x180]
push str.POUR_LEAVE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40958b
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 7
jmp 0x4095c1
lea edx, [esp + 0x180]
push 0x42aa24
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4095b4
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 8
jmp 0x4095c1
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 0
inc edi
cmp word [esp + 0x580], 0
jne 0x40942d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x580]
push 0x800
push edx
mov eax, dword [ecx]
add ecx, 4
push eax
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x168c]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.00405c40
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
lea eax, [esp + 0x580]
je 0x40965d
mov edx, dword [esp + 0x20]
lea edi, [edx + 0x1024]
test eax, eax
je 0x40965d
cmp dword [esp + 0x14], 8
jge 0x40965d
push 0x20
push 9
push edi
push eax
call fcn.00422ce0
mov ecx, dword [esp + 0x24]
add esp, 0x10
inc ecx
add edi, 0x40
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], ecx
jne 0x40962d
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
sub eax, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add ecx, 0x489
add edi, 0x1224
cmp ecx, 0x3c9e
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
jl 0x4091fa
lea eax, [esp + 0x10]
push eax
call fcn.004047b0
add esp, 4
xor eax, eax
test ebx, ebx
pop esi
pop ebx
pop edi
pop ebp
sete al
add esp, 0x1770
ret