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

Disassembly:
mov eax, 0x1784
call fcn.0042d810
mov ecx, str.ComPort
mov eax, str.Terminator
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.SystemCounter
mov dword [esp + 0x4c], str.ConfigDir
mov dword [esp + 0x50], str.ProductDir
mov dword [esp + 0x54], str.BackupDir
mov dword [esp + 0x58], str.ArchiveDir
mov dword [esp + 0x5c], str.ArchiveCount
mov dword [esp + 0x60], str.ArchiveBkUp
mov dword [esp + 0x64], str.MainDatabaseFile
mov dword [esp + 0x68], str.LiveDatabaseFile
mov dword [esp + 0x6c], str.TCDatabaseFile
mov dword [esp + 0x70], str.ADCDatabaseFile
mov dword [esp + 0x74], str.BackupFiles
mov dword [esp + 0x78], str.FreeSpaceAlarm
mov dword [esp + 0x7c], str.DumpTicks
mov dword [esp + 0x80], str.ProdChangeMode
mov dword [esp + 0x84], str.AlloyCalcUpdate
mov dword [esp + 0x88], str.AlloyCalcRstTreated
mov dword [esp + 0x8c], str.AlloyCalcBlock
mov dword [esp + 0x90], str.BT_SulfurUpdate
mov dword [esp + 0x94], str.BT_ACReset
mov dword [esp + 0x98], str.MeltLifeTime
mov dword [esp + 0x9c], str.ExtraSampleLogic
mov dword [esp + 0xa0], str.AC_SampleTrigger
mov dword [esp + 0xa4], str.SimultaneousSAM
mov dword [esp + 0xa8], str.TCCorr
mov dword [esp + 0xac], str.MaxSampPerTC
mov dword [esp + 0xb0], str.ABCheckSamples
mov dword [esp + 0xb4], str.ABCheck_TDiff
mov dword [esp + 0xb8], str.ABCheckFailRate
mov dword [esp + 0xbc], str.SpawnType
mov dword [esp + 0xc0], str.UnblockBT
mov dword [esp + 0xc4], str.BTFromSpawn
mov dword [esp + 0xc8], str.SampleFromBT
mov dword [esp + 0xcc], str.CorrectFromSAM
mov dword [esp + 0xd0], str.BT_WtDetect
mov dword [esp + 0xd4], str.BT_dWdN_Sens
mov dword [esp + 0xd8], str.FC_WtLow
mov dword [esp + 0xdc], str.FC_WtDetectDelta
mov dword [esp + 0xe0], str.FC_WtDetectFilter
mov dword [esp + 0xe4], str.Mould_WtDetect
mov dword [esp + 0xe8], str.Dribble_Comp
mov dword [esp + 0xec], str.LogFileName
mov dword [esp + 0xf0], str.LogMaxSize
mov dword [esp + 0xf4], str.DisplayFrom_ANA
mov dword [esp + 0xf8], str.DisplayFrom_SAM
mov dword [esp + 0xfc], str.DisplayFrom_WF
mov dword [esp + 0x100], str.DisplayFrom_OCM
mov dword [esp + 0x104], str.DisplayFrom_ECM
mov dword [esp + 0x108], str.DisplayFrom_PIM
mov dword [esp + 0x10c], str.DisplayFrom_DTM
mov dword [esp + 0x110], str.TrackingEvents
mov dword [esp + 0x114], str.DTMEvents
mov dword [esp + 0x118], str.SocketPort
mov dword [esp + 0x11c], str.ServerIP
mov dword [esp + 0x120], str.TimeError
mov dword [esp + 0x124], str.TimeUpdateDelay
mov dword [esp + 0x128], str.DongleCode
mov dword [esp + 0x12c], str.DongleLowWarn
mov dword [esp + 0x130], str.ECM_Codes
mov dword [esp + 0x134], str.OCMViewersAllowed
mov dword [esp + 0x138], str.OCMViewerIOKeys
mov dword [esp + 0x13c], str.CTB_Prefix
mov dword [esp + 0x140], str.LT_Status_LUT
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], str.RequestString
mov dword [esp + 0x150], str.CycleTiming
mov dword [esp + 0x154], str.MainsStatus
mov dword [esp + 0x158], str.BatStatus
mov dword [esp + 0x15c], str.ShutDownDelay
mov dword [esp + 0x160], ecx
mov ebp, dword [esp + 0x1794]
mov dword [esp + 0x168], eax
lea eax, [esp + 8]
xor edi, edi
push eax
push ebp
mov dword [esp + 0x16c], str.Delimiter
mov dword [esp + 0x174], str.CheckSum
mov dword [esp + 0x178], str.SendHeader
mov dword [esp + 0x17c], str.DB_fields
mov dword [esp + 0x180], str.ARSType
mov dword [esp + 0x184], str.Header
mov dword [esp + 0x188], str.DateFormat
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], edi
call fcn.00411180
add esp, 8
test eax, eax
jne 0x413f5d
pop edi
pop ebp
add esp, 0x1784
ret
push ebx
push esi
mov esi, dword [esp + 0x17a0]
push 0x10
push esi
push str.SystemName
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.00412af0
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 0x413faa
push 9
push esi
mov word [eax], 0x20
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, edi
jne 0x413f95
lea eax, [esi + 0x20]
push 0x28
push eax
push str.SystemVersion
lea edx, [esp + 0x1c]
push str.Identification
push edx
push ebp
call fcn.00412af0
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 0x413ff7
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 0x413fdf
lea eax, [esp + 0x594]
push 0x800
push eax
push str.ParamSetNames
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esi + 0x1598], edi
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x594], di
je 0x41408e
lea edx, [esp + 0x594]
mov dword [esp + 0x14], edi
test edx, edx
lea eax, [esp + 0x594]
je 0x414084
lea ecx, [esi + 0x598]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x14], 0x40
jge 0x414084
mov edx, dword [esp + 0x18]
push 0x20
push 9
push edx
push eax
call fcn.00423d90
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0x10
inc ecx
add edx, 0x40
cmp eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
jne 0x414053
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1598], 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 + 0x18], 1
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ecx, 0x40
lea edx, [esp + 0x1694]
mov dword [eax], 0
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push ecx
push str.UserList
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x5a4]
push 0x800
lea ecx, [esp + 0x16a8]
push eax
push ecx
lea edx, [esp + 0x2c]
push str.Identification
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 0x200
inc eax
push 0
add ebx, eax
lea eax, [esp + 0x1c4]
lea ecx, [esp + 0x5c4]
push eax
push ecx
call fcn.00423d90
add esp, 0x38
cmp word [esp + 0x194], 0
je 0x414268
lea edx, [esp + 0x194]
push str.LADLE_TRACKER
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x414182
mov eax, dword [esp + 0x18]
mov dword [esi + 0x584], 1
mov dword [esi + 0x588], eax
jmp 0x4142b2
cmp word [esp + 0x194], 0
je 0x414268
lea ecx, [esp + 0x194]
push str.FURNACE_TRACKER
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4141c4
mov edx, dword [esp + 0x18]
mov dword [esi + 0x584], 2
mov dword [esi + 0x588], edx
jmp 0x4142b2
cmp word [esp + 0x194], 0
je 0x414268
lea eax, [esp + 0x194]
push str.TEMP_TRACKER
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x414206
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x584], 3
mov dword [esi + 0x588], ecx
jmp 0x4142b2
cmp word [esp + 0x194], 0
je 0x414268
lea edx, [esp + 0x194]
push str.LT_FURNNO
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x414237
mov eax, dword [esp + 0x18]
mov dword [esi + 0x58c], eax
jmp 0x4142b2
cmp word [esp + 0x194], 0
je 0x414268
lea ecx, [esp + 0x194]
push str.SCANIA_CID
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x414268
mov edx, dword [esp + 0x24]
mov dword [edx], 0xffffffff
jmp 0x4142b2
cmp word [esp + 0x594], 0
je 0x4142b2
lea ecx, [esp + 0x594]
xor edi, edi
test ecx, ecx
lea eax, [esp + 0x594]
je 0x4142ac
cmp edi, 0x10
jge 0x4142ac
mov edx, dword [esp + 0x1c]
push 8
add edx, edi
push 0
shl edx, 4
lea ecx, [edx + esi - 0x7c]
push ecx
push eax
call fcn.00423d90
add esp, 0x10
inc edi
test eax, eax
jne 0x414287
mov edx, dword [esp + 0x24]
mov dword [edx], edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
inc ecx
add edi, 0x100
cmp eax, 0x50
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
jle 0x4140c1
lea eax, [esp + 0x594]
push 0x800
push eax
push str.SystemCounter
lea ecx, [esp + 0x1c]
xor edi, edi
push str.Identification
push ecx
mov dword [esi + 0x594], edi
push ebp
mov dword [esi + 0x590], edi
call fcn.00412af0
neg eax
sbb eax, eax
push 0x200
inc eax
lea edx, [esp + 0x1b0]
add ebx, eax
push edi
lea eax, [esp + 0x5b4]
push edx
push eax
call fcn.00423d90
add esp, 0x28
cmp word [esp + 0x194], 0
mov edi, eax
je 0x4143a1
lea ecx, [esp + 0x194]
push str.SAMPLES
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x414370
mov dword [esi + 0x590], 1
jmp 0x4143ab
cmp word [esp + 0x194], 0
je 0x4143a1
lea edx, [esp + 0x194]
push str.MELTS
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4143a1
mov dword [esi + 0x590], 2
jmp 0x4143ab
mov dword [esi + 0x590], 0
test edi, edi
je 0x414496
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
add esp, 0x10
cmp word [esp + 0x194], 0
je 0x41448c
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x194]
push str.NONE
push ecx
call edi
add esp, 8
test eax, eax
je 0x41448c
lea edx, [esp + 0x194]
push 0x433714
push edx
call edi
add esp, 8
test eax, eax
je 0x41448c
lea eax, [esp + 0x194]
push 0x43370c
push eax
call edi
add esp, 8
test eax, eax
je 0x41448c
lea ecx, [esp + 0x194]
push str.MIDNIGHT
push ecx
call edi
add esp, 8
test eax, eax
jne 0x414444
mov dword [esi + 0x594], eax
jmp 0x414496
lea edx, [esp + 0x194]
push str.RESTART
push edx
call edi
add esp, 8
test eax, eax
jne 0x414466
mov dword [esi + 0x594], 0xfffffffe
jmp 0x414496
lea eax, [esp + 0x194]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x42e520]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x594], eax
jmp 0x414496
mov dword [esi + 0x594], 0xffffffff
lea edi, [esi + 0x15a0]
push 0x104
push edi
push str.ConfigDir
lea ecx, [esp + 0x1c]
push str.IniFilePaths
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea edi, [esi + 0x17a8]
push 0x104
push edi
push str.ProductDir
lea edx, [esp + 0x40]
push str.IniFilePaths
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
add esp, 0x48
lea eax, [esp + 0x594]
lea ecx, [esp + 0x10]
push 0x800
push eax
push str.BackupDir
push str.IniFilePaths
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esi + 0x1bb8]
inc eax
lea edi, [esi + 0x19b0]
add ebx, eax
push edx
lea eax, [esp + 0x5b0]
push edi
push eax
call fcn.0041ed40
push 1
push 0
push edi
call fcn.00423bd0
lea edi, [esi + 0x1dc0]
push 0x104
push edi
push str.ArchiveDir
lea ecx, [esp + 0x4c]
push str.IniFilePaths
push ecx
push ebp
call fcn.00412af0
add esp, 0x48
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
push 0
lea edx, [esi + 0x1fc8]
push 0
push edx
push str.ArchiveCount
lea eax, [esp + 0x2c]
push str.IniFilePaths
push eax
push ebp
call fcn.00412980
lea ecx, [esp + 0x5bc]
push 0x800
neg eax
push ecx
push str.ArchiveBkUp
sbb eax, eax
lea edx, [esp + 0x44]
push str.IniFilePaths
inc eax
push edx
push ebp
add ebx, eax
call fcn.00412af0
add esp, 0x40
lea edi, [esi + 0x1fcc]
neg eax
sbb eax, eax
lea ecx, [esp + 0x594]
inc eax
add ebx, eax
lea eax, [esi + 0x21d4]
push eax
push edi
push ecx
call fcn.0041ed40
push 1
push 0
push edi
call fcn.00423bd0
lea edi, [esi + 0x23dc]
push 0x104
push edi
push str.MainDatabaseFile
lea edx, [esp + 0x34]
push str.IniFilePaths
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea edi, [esi + 0x25e4]
push 0x104
push edi
push str.LiveDatabaseFile
lea eax, [esp + 0x58]
push str.IniFilePaths
push eax
push ebp
call fcn.00412af0
add esp, 0x54
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea edi, [esi + 0x27ec]
push 0x104
push edi
push str.TCDatabaseFile
lea ecx, [esp + 0x28]
push str.IniFilePaths
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea edi, [esi + 0x29f4]
push 0x104
push edi
push str.ADCDatabaseFile
lea edx, [esp + 0x4c]
push str.IniFilePaths
push edx
push ebp
call fcn.00412af0
add esp, 0x48
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea eax, [esp + 0x5a0]
push 0x800
push eax
push str.BackupFiles
lea ecx, [esp + 0x28]
push str.IniFilePaths
push ecx
push ebp
call fcn.00412af0
add esp, 0x24
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x414774
lea edx, [esi + 0x2bfc]
mov dword [esp + 0x18], edx
test edi, edi
je 0x414774
cmp dword [esp + 0x14], 0xa
jge 0x414774
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1a4]
push 0x200
push ecx
push edx
mov edi, eax
call fcn.00423f90
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
inc edx
add ecx, 0x208
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x414716
lea edi, [esi + 0x4050]
push 0
push edi
push 0
push str.FreeSpaceAlarm
lea eax, [esp + 0x20]
push str.IniFilePaths
push eax
push ebp
call fcn.00412980
fld qword [edi]
fmul qword [0x42e498]
lea ecx, [esi + 0x4058]
lea edx, [esp + 0x2c]
push ecx
push 0
neg eax
fstp qword [edi]
push 0
push str.DumpTicks
sbb eax, eax
push str.Analyse
inc eax
push edx
push ebp
add ebx, eax
call fcn.00412980
neg eax
sbb eax, eax
push 0x800
inc eax
lea ecx, [esp + 0x4c]
add ebx, eax
lea eax, [esp + 0x5d0]
push eax
push str.ProdChangeMode
push str.SystemControl
push ecx
push ebp
call fcn.00412af0
add esp, 0x50
lea edx, [esp + 0x594]
neg eax
sbb eax, eax
push edx
inc eax
add ebx, eax
call fcn.004250f0
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x598]
push str.RESET
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x41482d
mov dword [esi + 0x4060], 3
jmp 0x41487b
lea ecx, [esp + 0x594]
push str.MELT
push ecx
call edi
add esp, 8
test eax, eax
jne 0x41484f
mov dword [esi + 0x4060], 2
jmp 0x41487b
lea edx, [esp + 0x594]
push str.FURNACE
push edx
call edi
add esp, 8
test eax, eax
jne 0x414871
mov dword [esi + 0x4060], 1
jmp 0x41487b
mov dword [esi + 0x4060], 0
lea eax, [esp + 0x594]
push 0x800
push eax
push str.AlloyCalcUpdate
lea ecx, [esp + 0x1c]
push str.SystemControl
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x5ac]
inc eax
push edx
add ebx, eax
call fcn.004250f0
lea eax, [esp + 0x5b0]
push str.MANUAL
push eax
call edi
add esp, 0x24
test eax, eax
jne 0x4148d3
mov dword [esi + 0x4064], 0xffffffff
jmp 0x414943
lea ecx, [esp + 0x594]
push str.AUTO
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4148f1
mov dword [esi + 0x4064], eax
jmp 0x414943
lea edx, [esp + 0x594]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x42e518]
fcomp qword [0x42e450]
add esp, 8
fnstsw ax
test ah, 1
je 0x41491f
fld qword [0x42e450]
jmp 0x414938
lea eax, [esp + 0x594]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x42e518]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x4064], eax
lea ecx, [esi + 0x4068]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push str.AlloyCalcRstTreated
push str.SystemControl
push edx
push ebp
call fcn.00412980
neg eax
sbb eax, eax
push 0x800
inc eax
lea edi, [esi + 0x4078]
add ebx, eax
lea eax, [esp + 0x5b4]
push eax
push str.AlloyCalcBlock
lea ecx, [esp + 0x38]
push str.SystemControl
push ecx
mov dword [edi], 0
push ebp
mov dword [esi + 0x4070], 0
mov dword [edi + 4], 0
call fcn.00412af0
neg eax
sbb eax, eax
push edi
inc eax
lea edx, [esp + 0x1cc]
add ebx, eax
lea eax, [esi + 0x4070]
push eax
push edx
lea eax, [esp + 0x5d4]
push str._ls_t_d_t_lg
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
lea ecx, [esp + 0x194]
push str.PRODUCT
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4149ff
mov dword [esi + 0x406c], 1
jmp 0x414abc
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x194]
push str.USERLIST1
push edx
call edi
add esp, 8
test eax, eax
jne 0x414a2a
mov dword [esi + 0x406c], 2
jmp 0x414abc
lea eax, [esp + 0x194]
push str.USERLIST2
push eax
call edi
add esp, 8
test eax, eax
jne 0x414a4c
mov dword [esi + 0x406c], 3
jmp 0x414abc
lea ecx, [esp + 0x194]
push str.USERLIST3
push ecx
call edi
add esp, 8
test eax, eax
jne 0x414a6e
mov dword [esi + 0x406c], 4
jmp 0x414abc
lea edx, [esp + 0x194]
push str.USERLIST4
push edx
call edi
add esp, 8
test eax, eax
jne 0x414a90
mov dword [esi + 0x406c], 5
jmp 0x414abc
lea eax, [esp + 0x194]
push str.USERLIST5
push eax
call edi
add esp, 8
test eax, eax
jne 0x414ab2
mov dword [esi + 0x406c], 6
jmp 0x414abc
mov dword [esi + 0x406c], 0
lea ecx, [esp + 0x594]
push 0x800
push ecx
lea edi, [esi + 0x4088]
push str.BT_SulfurUpdate
lea edx, [esp + 0x1c]
push str.SystemControl
push edx
mov dword [edi], 0
push ebp
mov dword [esi + 0x4084], 0
mov dword [edi + 4], 0
call fcn.00412af0
neg eax
sbb eax, eax
push edi
inc eax
lea ecx, [esp + 0x5b0]
add ebx, eax
lea eax, [esi + 0x4084]
push eax
lea eax, [esp + 0x1b4]
push eax
push str._ls_t_d_t_lg
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
lea edx, [esp + 0x1c0]
push str.PRODUCT
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x34
test eax, eax
jne 0x414b4e
mov dword [esi + 0x4080], 1
jmp 0x414c0b
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x194]
push str.USERLIST1
push eax
call edi
add esp, 8
test eax, eax
jne 0x414b79
mov dword [esi + 0x4080], 2
jmp 0x414c0b
lea ecx, [esp + 0x194]
push str.USERLIST2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x414b9b
mov dword [esi + 0x4080], 3
jmp 0x414c0b
lea edx, [esp + 0x194]
push str.USERLIST3
push edx
call edi
add esp, 8
test eax, eax
jne 0x414bbd
mov dword [esi + 0x4080], 4
jmp 0x414c0b
lea eax, [esp + 0x194]
push str.USERLIST4
push eax
call edi
add esp, 8
test eax, eax
jne 0x414bdf
mov dword [esi + 0x4080], 5
jmp 0x414c0b
lea ecx, [esp + 0x194]
push str.USERLIST5
push ecx
call edi
add esp, 8
test eax, eax
jne 0x414c01
mov dword [esi + 0x4080], 6
jmp 0x414c0b
mov dword [esi + 0x4080], 0
lea edx, [esp + 0x594]
push 0x800
push edx
push str.BT_ACReset
lea eax, [esp + 0x1c]
push str.SystemControl
push eax
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edi, [esi + 0x4090]
inc eax
lea ecx, [esp + 0x5ac]
add ebx, eax
lea eax, [esi + 0x4098]
push eax
push edi
push str._lg_t_lg
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [edi]
fcomp qword [0x42e450]
add esp, 0x28
fnstsw ax
test ah, 1
je 0x414c74
mov dword [edi], 0
mov dword [edi + 4], 0
fld qword [esi + 0x4098]
fcomp qword [0x42e450]
fnstsw ax
test ah, 0x41
jne 0x414c99
fld qword [esi + 0x4098]
fmul qword [0x42e498]
fstp qword [esi + 0x4098]
lea edx, [esi + 0x40a0]
push 0
push edx
push 0
push str.MeltLifeTime
lea eax, [esp + 0x20]
push str.SystemControl
push eax
push ebp
call fcn.00412980
lea ecx, [esp + 0x5b0]
push 0x800
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.00412af0
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esp + 0x5c8]
push eax
call fcn.004250f0
lea ecx, [esp + 0x5cc]
push 0x4335b8
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov edi, dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x40
test eax, eax
jne 0x414d22
mov dword [esi + 0x40c0], 0xfffffffe
jmp 0x414d5a
push 0xa
lea edx, [esp + 0x598]
push 0
push edx
call edi
add esp, 0xc
test eax, eax
jle 0x414d50
push 0xa
lea eax, [esp + 0x598]
push 0
push eax
call edi
add esp, 0xc
mov dword [esi + 0x40c0], eax
jmp 0x414d5a
mov dword [esi + 0x40c0], 0xffffffff
lea edi, [esi + 0x40c4]
mov ecx, 0x14
xor eax, eax
push 0x800
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x598]
lea edx, [esp + 0x14]
push ecx
push str.AC_SampleTrigger
push str.SystemControl
push edx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x414e11
lea eax, [esi + 0x40c4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x414e11
cmp dword [esp + 0x14], 0x14
jge 0x414e11
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
push 0xa
lea ecx, [esp + 0x1a8]
push 0
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x414db9
lea edx, [esi + 0x4114]
lea eax, [esp + 0x10]
push edx
push 0
push 0
push str.SimultaneousSAM
push str.SystemControl
push eax
push ebp
call fcn.00412980
lea ecx, [esp + 0x5b0]
push 0x800
neg eax
push ecx
push str.TCCorr
sbb eax, eax
lea edx, [esp + 0x38]
push str.SystemControl
inc eax
push edx
push ebp
add ebx, eax
call fcn.00412af0
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esp + 0x5c8]
push eax
call fcn.004250f0
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x5cc]
push str.Adjustable
push ecx
call edi
add esp, 0x40
test eax, eax
jne 0x414e9c
mov dword [esi + 0x4118], eax
mov dword [esi + 0x411c], 0x40f86a00
jmp 0x414edd
lea edx, [esp + 0x594]
push str.AutoLoad
push edx
call edi
add esp, 8
test eax, eax
jne 0x414ec4
mov dword [esi + 0x4118], eax
mov dword [esi + 0x411c], 0xc0f86a00
jmp 0x414edd
lea eax, [esp + 0x594]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [esi + 0x4118]
add esp, 8
lea ecx, [esp + 0x194]
push 0x200
push ecx
push str.MaxSampPerTC
lea edx, [esp + 0x1c]
lea edi, [esi + 0x4124]
push str.SystemControl
push edx
push ebp
mov dword [edi], connect
mov dword [esi + 0x4120], 0x7fffffff
call fcn.00412af0
neg eax
sbb eax, eax
push edi
inc eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
add ebx, eax
lea eax, [esi + 0x4120]
push eax
lea eax, [esp + 0x1b4]
push str._d_d
push eax
call edi
push 0
lea ecx, [esi + 0x4128]
push 0
push ecx
push str.ABCheckSamples
lea edx, [esp + 0x48]
push str.SystemControl
push edx
push ebp
call fcn.00412980
add esp, 0x44
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
push 0x200
inc eax
add ebx, eax
lea eax, [esp + 0x198]
push eax
push str.ABCheck_TDiff
push str.SystemControl
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esi + 0x4138]
inc eax
push edx
add ebx, eax
lea eax, [esi + 0x4130]
push eax
lea ecx, [esp + 0x1b4]
push str._lg_lg
push ecx
call edi
lea edx, [esi + 0x4140]
push 0
push edx
push 0
push str.ABCheckFailRate
lea eax, [esp + 0x48]
push str.SystemControl
push eax
push ebp
call fcn.00412980
add esp, 0x44
lea ecx, [esp + 0x594]
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.00412af0
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esp + 0x5ac]
push eax
call section..text
lea ecx, [esi + 0x414c]
lea edx, [esp + 0x2c]
push ecx
push 0
push 0
push str.UnblockBT
push str.ProcessFlow
push edx
push ebp
mov dword [esi + 0x4148], eax
call fcn.00412980
neg eax
sbb eax, eax
push 0x800
inc eax
lea ecx, [esp + 0x4c]
add ebx, eax
lea eax, [esp + 0x5d0]
push eax
push str.BTFromSpawn
push str.ProcessFlow
push ecx
push ebp
call fcn.00412af0
add esp, 0x50
lea edi, [esi + 0x4150]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
lea edx, [esp + 0x594]
add ebx, eax
xor eax, eax
cmp word [esp + 0x594], ax
mov dword [esp + 0x14], 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], edx
je 0x415116
lea edi, [esi + 0x4178]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x415116
cmp dword [esp + 0x14], 0xa
jge 0x415116
mov eax, dword [esp + 0x1c]
push 0x200
push 0
push edi
push eax
call fcn.00423d90
push edi
mov dword [esp + 0x30], eax
call fcn.004250f0
push 0x433550
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x4150fa
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x4150fa
cmp word [edi], 0
je 0x4150ff
mov word [esi + 0x4150], 0x31
jmp 0x4150ff
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
jne 0x415098
lea ecx, [esp + 0x594]
push 0x800
push ecx
push str.SampleFromBT
lea edx, [esp + 0x1c]
push str.ProcessFlow
push edx
push ebp
call fcn.00412af0
add esp, 0x18
lea edi, [esi + 0x42e0]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
mov dword [esp + 0x14], 1
add ebx, eax
xor eax, eax
cmp word [esp + 0x594], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x594]
mov dword [esp + 0x1c], eax
je 0x4151f7
lea edi, [esi + 0x4308]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4151f7
cmp dword [esp + 0x14], 0xa
jge 0x4151f7
mov ecx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push ecx
call fcn.00423d90
push edi
mov dword [esp + 0x30], eax
call fcn.004250f0
push 0x433550
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x4151db
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x4151db
cmp word [edi], 0
je 0x4151e0
mov word [esi + 0x42e0], 0x31
jmp 0x4151e0
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
jne 0x415179
lea edx, [esp + 0x594]
push 0x800
push edx
push str.CorrectFromSAM
lea eax, [esp + 0x1c]
push str.ProcessFlow
push eax
push ebp
call fcn.00412af0
add esp, 0x18
lea edi, [esi + 0x4470]
neg eax
sbb eax, eax
mov ecx, 0x64
inc eax
mov dword [esp + 0x14], 1
add ebx, eax
xor eax, eax
cmp word [esp + 0x594], ax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x594]
mov dword [esp + 0x1c], ecx
je 0x4152d7
lea edi, [esi + 0x4498]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4152d7
cmp dword [esp + 0x14], 0xa
jge 0x4152d7
mov edx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push edx
call fcn.00423d90
push edi
mov dword [esp + 0x30], eax
call fcn.004250f0
push 0x433550
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x4152bb
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x4152bb
cmp word [edi], 0
je 0x4152c0
mov word [esi + 0x4470], 0x31
jmp 0x4152c0
mov word [edi], 0
mov edx, dword [esp + 0x14]
add edi, 0x28
inc edx
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
jne 0x415259
lea eax, [esp + 0x194]
push 0x200
push eax
push str.BT_WtDetect
lea ecx, [esp + 0x1c]
push str.FC_Control
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
inc eax
lea edx, [esi + 0x4608]
add ebx, eax
lea eax, [esi + 0x4600]
push edx
push eax
lea ecx, [esp + 0x1b4]
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x1bc]
push 0x200
push edx
push str.BT_dWdN_Sens
lea eax, [esp + 0x44]
push str.FC_Control
push eax
push ebp
call fcn.00412af0
add esp, 0x40
lea ecx, [esi + 0x4618]
neg eax
sbb eax, eax
lea edx, [esi + 0x4610]
inc eax
push ecx
add ebx, eax
push edx
lea eax, [esp + 0x19c]
push str._lg_lg
push eax
call edi
lea ecx, [esp + 0x1a4]
push 0x200
push ecx
push str.FC_WtLow
lea edx, [esp + 0x2c]
push str.FC_Control
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4620]
inc eax
lea edx, [esp + 0x1bc]
add ebx, eax
lea eax, [esi + 0x4628]
push eax
push ecx
push str._lg_lg
push edx
call edi
lea eax, [esp + 0x1cc]
push 0x200
push eax
push str.FC_WtDetectDelta
lea ecx, [esp + 0x54]
push str.FC_Control
push ecx
push ebp
call fcn.00412af0
add esp, 0x50
lea edx, [esi + 0x4638]
neg eax
sbb eax, eax
push edx
inc eax
add ebx, eax
lea eax, [esi + 0x4630]
lea ecx, [esp + 0x198]
push eax
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x1a4]
push 0x200
push edx
push str.FC_WtDetectFilter
lea eax, [esp + 0x2c]
push str.FC_Control
push eax
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4640]
inc eax
add ebx, eax
lea eax, [esi + 0x4648]
push eax
push ecx
lea ecx, [esp + 0x1c4]
push str._d_lg
push ecx
call edi
mov eax, dword [esi + 0x4640]
add esp, 0x38
test eax, eax
jg 0x415462
mov dword [esi + 0x4648], 0
mov dword [esi + 0x464c], 0x3ff00000
cmp eax, 1
jl 0x415471
cmp eax, 0x13
jge 0x415478
cmp eax, 1
jge 0x41547d
mov eax, 1
jmp 0x41547d
mov eax, 0x13
lea edx, [esp + 0x194]
push 0x200
mov dword [esi + 0x4640], eax
push edx
push str.Mould_WtDetect
lea eax, [esp + 0x1c]
push str.FC_Control
push eax
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4658]
inc eax
lea edx, [esi + 0x4650]
add ebx, eax
push ecx
push edx
lea eax, [esp + 0x1b4]
push str._lg_lg
push eax
call edi
lea ecx, [esp + 0x1bc]
push 0x200
push ecx
push str.Dribble_Comp
lea edx, [esp + 0x44]
push str.FC_Control
push edx
push ebp
call fcn.00412af0
add esp, 0x40
lea ecx, [esp + 0x18c]
neg eax
sbb eax, eax
push ecx
inc eax
lea edx, [esp + 0x2c]
add ebx, eax
lea eax, [esi + 0x4668]
push eax
push edx
lea eax, [esp + 0x1a0]
push str._lg_lg_lg
push eax
call edi
fld qword [esp + 0x3c]
fmul qword [0x42e518]
add esp, 0x14
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x4668]
fcomp qword [0x42e450]
mov dword [esi + 0x4660], eax
fnstsw ax
test ah, 1
jne 0x415556
fld qword [esi + 0x4668]
fcomp qword [0x42e4a8]
fnstsw ax
test ah, 1
je 0x415579
fld qword [esi + 0x4668]
fcomp qword [0x42e450]
fnstsw ax
test ah, 1
je 0x415571
fld qword [0x42e450]
jmp 0x41557f
fld qword [esi + 0x4668]
jmp 0x41557f
fld qword [0x42e4a8]
fstp qword [esi + 0x4668]
fld qword [esp + 0x18c]
fmul qword [0x42e518]
call sub.MSVCRT.dll__ftol
xor ecx, ecx
lea edi, [esi + 0x4678]
test eax, eax
setle cl
push 0x104
push edi
dec ecx
push str.LogFileName
lea edx, [esp + 0x1c]
push 0x4334dc
and eax, ecx
push edx
push ebp
mov dword [esi + 0x4670], eax
call fcn.00412af0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00423bd0
lea eax, [esp + 0x4c]
push 0
push eax
push 0
push str.LogMaxSize
lea ecx, [esp + 0x44]
push 0x4334dc
push ecx
push ebp
call fcn.00412980
fld qword [esp + 0x68]
fmul qword [0x42e510]
add esp, 0x40
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
lea edx, [esi + 0x4888]
mov dword [esi + 0x4880], eax
push edx
push 0
push 0
push str.DisplayFrom_ANA
lea eax, [esp + 0x20]
push 0x4334dc
push eax
push ebp
mov dword [esi + 0x4884], 1
call fcn.00412980
lea ecx, [esp + 0x5b0]
push 0x800
neg eax
push ecx
push str.DisplayFrom_SAM
sbb eax, eax
lea edx, [esp + 0x38]
push 0x4334dc
inc eax
push edx
push ebp
add ebx, eax
call fcn.00412af0
add esp, 0x34
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x415759
lea eax, [esi + 0x4924]
mov dword [esp + 0x18], eax
test edi, edi
je 0x415759
cmp dword [esp + 0x14], 0xa
jge 0x415759
push 0x200
lea ecx, [esp + 0x198]
push 0
push ecx
push edi
call fcn.00423d90
lea edx, [esp + 0x1a4]
mov edi, eax
push edx
call fcn.004250f0
lea eax, [esp + 0x1a8]
push 0x432e74
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x41572c
lea ecx, [esp + 0x194]
push 0x432e6c
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41572c
lea edx, [esp + 0x194]
push 0x432e68
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41572c
mov eax, dword [esp + 0x18]
mov dword [eax], 0
jmp 0x415736
mov ecx, dword [esp + 0x18]
mov dword [ecx], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x41569b
lea edx, [esp + 0x594]
push 0x800
push edx
push str.DisplayFrom_WF
lea eax, [esp + 0x1c]
push 0x4334dc
push eax
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x41586b
lea ecx, [esi + 0x48ac]
mov dword [esp + 0x18], ecx
test edi, edi
je 0x41586b
cmp dword [esp + 0x14], 0xa
jge 0x41586b
push 0x200
lea edx, [esp + 0x198]
push 0
push edx
push edi
call fcn.00423d90
mov edi, eax
lea eax, [esp + 0x1a4]
push eax
call fcn.004250f0
lea ecx, [esp + 0x1a8]
push 0x432e74
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x41583e
lea edx, [esp + 0x194]
push 0x432e6c
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41583e
lea eax, [esp + 0x194]
push 0x432e68
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x41583e
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
jmp 0x415848
mov edx, dword [esp + 0x18]
mov dword [edx], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x4157ad
lea eax, [esp + 0x594]
push 0x800
push eax
push str.DisplayFrom_OCM
lea ecx, [esp + 0x1c]
push 0x4334dc
push ecx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x41597d
lea edx, [esi + 0x48d4]
mov dword [esp + 0x18], edx
test edi, edi
je 0x41597d
cmp dword [esp + 0x14], 0xa
jge 0x41597d
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
lea ecx, [esp + 0x1a4]
mov edi, eax
push ecx
call fcn.004250f0
lea edx, [esp + 0x1a8]
push 0x432e74
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x415950
lea eax, [esp + 0x194]
push 0x432e6c
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415950
lea ecx, [esp + 0x194]
push 0x432e68
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415950
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x41595a
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 + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x4158bf
lea ecx, [esp + 0x594]
push 0x800
push ecx
push str.DisplayFrom_ECM
lea edx, [esp + 0x1c]
push 0x4334dc
push edx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x415a9a
lea eax, [esi + 0x48fc]
mov dword [esp + 0x18], eax
test edi, edi
je 0x415a8f
cmp dword [esp + 0x14], 0xa
jge 0x415ab3
push 0x200
lea ecx, [esp + 0x198]
push 0
push ecx
push edi
call fcn.00423d90
lea edx, [esp + 0x1a4]
mov edi, eax
push edx
call fcn.004250f0
lea eax, [esp + 0x1a8]
push 0x433714
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x415a62
lea ecx, [esp + 0x194]
push 0x43370c
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415a62
lea edx, [esp + 0x194]
push 0x4334d8
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415a62
mov eax, dword [esp + 0x18]
mov dword [eax], 1
jmp 0x415a6c
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x4159d1
mov eax, dword [esp + 0x14]
cmp eax, 0xa
jge 0x415ab3
jmp 0x415a9e
mov eax, dword [esp + 0x14]
mov ecx, 0xa
lea edi, [esi + eax*4 + 0x48fc]
sub ecx, eax
mov eax, 1
rep stosd dword es:[edi], eax
lea edx, [esp + 0x594]
push 0x800
push edx
push str.DisplayFrom_PIM
lea eax, [esp + 0x1c]
push 0x4334dc
push eax
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x415bc5
lea ecx, [esi + 0x494c]
mov dword [esp + 0x18], ecx
test edi, edi
je 0x415bc5
cmp dword [esp + 0x14], 0xa
jge 0x415bc5
push 0x200
lea edx, [esp + 0x198]
push 0
push edx
push edi
call fcn.00423d90
mov edi, eax
lea eax, [esp + 0x1a4]
push eax
call fcn.004250f0
lea ecx, [esp + 0x1a8]
push 0x432e74
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x415b98
lea edx, [esp + 0x194]
push 0x432e6c
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415b98
lea eax, [esp + 0x194]
push 0x432e68
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415b98
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
jmp 0x415ba2
mov edx, dword [esp + 0x18]
mov dword [edx], 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x415b07
lea eax, [esp + 0x594]
push 0x800
push eax
push str.DisplayFrom_DTM
lea ecx, [esp + 0x1c]
push 0x4334dc
push ecx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x415cd7
lea edx, [esi + 0x4974]
mov dword [esp + 0x18], edx
test edi, edi
je 0x415cd7
cmp dword [esp + 0x14], 0xa
jge 0x415cd7
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
lea ecx, [esp + 0x1a4]
mov edi, eax
push ecx
call fcn.004250f0
lea edx, [esp + 0x1a8]
push 0x432e74
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x1c
test eax, eax
je 0x415caa
lea eax, [esp + 0x194]
push 0x432e6c
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415caa
lea ecx, [esp + 0x194]
push 0x432e68
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x415caa
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x415cb4
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 + 0x594], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jne 0x415c19
lea ecx, [esi + 0x499c]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push str.TrackingEvents
push 0x4334dc
push edx
push ebp
call fcn.00412980
neg eax
sbb eax, eax
lea ecx, [esp + 0x2c]
inc eax
add ebx, eax
lea eax, [esi + 0x49a0]
push eax
push 0
push 0
push str.DTMEvents
push 0x4334dc
push ecx
push ebp
call fcn.00412980
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esp + 0x6c]
push 0
add ebx, eax
push edx
push str.SocketPort
lea eax, [esp + 0x58]
push str.Server
push eax
push ebp
call fcn.00412980
add esp, 0x54
mov cx, word [esp + 0x30]
neg eax
sbb eax, eax
lea edx, [esp + 0x194]
inc eax
push 0x200
add ebx, eax
push edx
push str.ServerIP
lea eax, [esp + 0x1c]
push str.Server
push eax
push ebp
mov word [esi + 0x49a8], cx
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x49aa]
push 0x20
lea edx, [esp + 0x1b0]
inc eax
push ecx
push edx
add ebx, eax
call fcn.00425420
lea eax, [esp + 0x1b8]
push 0x200
push eax
push str.TimeError
lea ecx, [esp + 0x40]
push str.Server
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esi + 0x49d8]
inc eax
lea edi, [esi + 0x49d0]
push edx
add ebx, eax
push edi
lea eax, [esp + 0x1d8]
push str._lg_lg
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [edi]
fcomp qword [0x42e508]
add esp, 0x4c
fnstsw ax
test ah, 1
jne 0x415e03
fld qword [edi]
fcomp qword [0x42e500]
fnstsw ax
test ah, 1
je 0x415e1e
fld qword [edi]
fcomp qword [0x42e508]
fnstsw ax
test ah, 1
je 0x415e1a
fld qword [0x42e508]
jmp 0x415e24
fld qword [edi]
jmp 0x415e24
fld qword [0x42e500]
fstp qword [edi]
lea ecx, [esp + 0x28]
push 0
push ecx
push 0
push str.TimeUpdateDelay
lea edx, [esp + 0x20]
push str.Server
push edx
push ebp
call fcn.00412980
fld qword [esp + 0x44]
fmul qword [0x42e518]
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x49e0], eax
push 0
lea eax, [esi + 0x49e4]
push 0
push eax
push str.DongleCode
lea ecx, [esp + 0x3c]
push str.Server
push ecx
push ebp
call fcn.00412980
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esi + 0x49e8]
push 0
add ebx, eax
push edx
push str.DongleLowWarn
lea eax, [esp + 0x58]
push str.Server
push eax
push ebp
call fcn.00412980
add esp, 0x54
lea edi, [esi + 0x49ec]
neg eax
sbb eax, eax
mov ecx, 0xa
inc eax
push 0x800
add ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x598]
lea edx, [esp + 0x14]
push ecx
push str.ECM_Codes
push str.Server
push edx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x415f68
lea eax, [esi + 0x49ec]
mov dword [esp + 0x18], eax
test edi, edi
je 0x415f68
cmp dword [esp + 0x14], 0xa
jge 0x415f68
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
push 0xa
lea ecx, [esp + 0x1a8]
push 0
push ecx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x415f10
push 0
lea edx, [esi + 0x4a3c]
push 0
push edx
push str.OCMViewersAllowed
lea eax, [esp + 0x20]
push str.Server
push eax
push ebp
call fcn.00412980
neg eax
sbb eax, eax
lea edi, [esi + 0x4a40]
inc eax
mov ecx, 0xa
add ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x5b0]
push 0x800
push ecx
push str.OCMViewerIOKeys
lea edx, [esp + 0x38]
push str.Server
push edx
push ebp
call fcn.00412af0
add esp, 0x34
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x416041
lea eax, [esi + 0x4a40]
mov dword [esp + 0x18], eax
test edi, edi
je 0x416041
cmp dword [esp + 0x14], 0xa
jge 0x416041
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push edi
call fcn.00423d90
lea ecx, [esp + 0x1a4]
mov edi, eax
push ecx
call fcn.00411ad0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x415fee
lea edi, [esi + 0x4a68]
push 0
push 0
push edi
push str.CTB_Prefix
lea edx, [esp + 0x20]
push str.Server
push edx
push 0
call fcn.00412980
add esp, 0x1c
test eax, eax
jne 0x41606f
mov dword [edi], 0x4d
lea edi, [esi + 0x4a6c]
mov ecx, 6
xor eax, eax
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0x598]
lea ecx, [esp + 0x14]
push eax
push str.LT_Status_LUT
push str.Server
push ecx
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
lea edi, [esp + 0x594]
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
je 0x416126
lea eax, [esi + 0x4a6c]
mov dword [esp + 0x18], eax
test edi, edi
je 0x416126
cmp dword [esp + 0x14], 6
jge 0x416126
push 0x200
lea edx, [esp + 0x198]
push 0
push edx
push edi
call fcn.00423d90
mov edi, eax
push 0xa
lea eax, [esp + 0x1a8]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
inc eax
add ecx, 4
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x4160ce
lea ecx, [esp + 0x194]
push 0x200
push ecx
push str.ComPort
lea edx, [esp + 0x1c]
push str.UPS_Mon
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
push 0
inc eax
push 0x2580
add ebx, eax
lea eax, [esi + 0x4a88]
lea ecx, [esp + 0x1b4]
push eax
push ecx
call fcn.00412bd0
lea edx, [esp + 0x5bc]
push 0x800
push edx
push str.Terminator
lea eax, [esp + 0x44]
push str.UPS_Mon
push eax
push ebp
call fcn.00412af0
add esp, 0x40
lea ecx, [esp + 0x594]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], ecx
add ebx, eax
cmp word [esp + 0x594], di
je 0x41626c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41626c
cmp edi, 0xf
jge 0x41626c
push 0x200
lea edx, [esp + 0x198]
push 0
push edx
push eax
call fcn.00423d90
push 0xa
lea ecx, [esp + 0x1a8]
push 0
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x1c
test eax, eax
je 0x416216
push 0xa
lea edx, [esp + 0x198]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov byte [edi + esi + 0x4b60], al
jmp 0x41625c
lea eax, [esp + 0x194]
push 0x4334b0
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41623a
mov byte [edi + esi + 0x4b60], 0xd
jmp 0x41625c
lea ecx, [esp + 0x194]
push 0x4334a8
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41626c
mov byte [edi + esi + 0x4b60], 0xa
inc edi
cmp word [esp + 0x594], 0
jne 0x4161b1
lea edx, [esi + 0x4b70]
push 0x200
push edx
push str.RequestString
lea eax, [esp + 0x1c]
push str.UPS_Mon
push eax
push ebp
mov byte [edi + esi + 0x4b60], 0
call fcn.00412af0
lea ecx, [esp + 0x40]
push 0
neg eax
push ecx
push 0
sbb eax, eax
push str.CycleTiming
lea edx, [esp + 0x38]
push str.UPS_Mon
inc eax
push edx
push ebp
add ebx, eax
call fcn.00412980
fld qword [esp + 0x5c]
fmul qword [0x42e518]
neg eax
sbb eax, eax
inc eax
add ebx, eax
call sub.MSVCRT.dll__ftol
xor ecx, ecx
lea edx, [esp + 0x1c8]
test eax, eax
setl cl
dec ecx
push 0x200
and eax, ecx
push edx
mov dword [esi + 0x4f70], eax
push str.MainsStatus
lea eax, [esp + 0x50]
push str.UPS_Mon
push eax
push ebp
call fcn.00412af0
add esp, 0x4c
lea ecx, [esi + 0x4fb4]
neg eax
sbb eax, eax
lea edx, [esi + 0x4f74]
inc eax
push ecx
add ebx, eax
lea eax, [esp + 0x198]
push edx
push eax
call fcn.0041ed40
lea ecx, [esp + 0x1a0]
push 0x200
push ecx
push str.BatStatus
lea edx, [esp + 0x28]
push str.UPS_Mon
push edx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4ff4]
inc eax
lea edx, [esp + 0x1b8]
add ebx, eax
lea eax, [esi + 0x5034]
push eax
push ecx
push edx
call fcn.0041ed40
push 0
push 0
lea eax, [esi + 0x5074]
push eax
push str.ShutDownDelay
lea ecx, [esp + 0x50]
push str.UPS_Mon
push ecx
push ebp
call fcn.00412980
add esp, 0x4c
lea edx, [esp + 0x194]
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.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x194], 0x3e
jne 0x4163f0
lea ecx, [esi + 0x50b8]
push 0x20
push ecx
lea edx, [esp + 0x19c]
push 9
push edx
mov dword [esi + 0x50f8], 0
call fcn.00412b60
jmp 0x41640b
push 0
lea eax, [esi + 0x5078]
push 0x2580
lea ecx, [esp + 0x19c]
push eax
push ecx
call fcn.00412bd0
add esp, 0x10
lea edx, [esp + 0x594]
lea eax, [esp + 0x10]
push 0x800
push edx
push str.Delimiter
push str.ARS_Setup
push eax
push ebp
call fcn.00412af0
add esp, 0x18
lea ecx, [esp + 0x594]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], ecx
add ebx, eax
cmp word [esp + 0x594], di
je 0x416534
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x416534
cmp edi, 0xf
jge 0x416534
push 0x200
lea edx, [esp + 0x198]
push 0
push edx
push eax
call fcn.00423d90
push 0xa
lea ecx, [esp + 0x1a8]
push 0
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x1c
test eax, eax
je 0x4164ba
push 0xa
lea edx, [esp + 0x198]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov byte [edi + esi + 0x5150], al
jmp 0x416524
lea eax, [esp + 0x194]
push str.SPACE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4164de
mov byte [edi + esi + 0x5150], 0x20
jmp 0x416524
lea ecx, [esp + 0x194]
push str.COMMA
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416502
mov byte [edi + esi + 0x5150], 0x2c
jmp 0x416524
lea edx, [esp + 0x194]
push 0x433474
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416534
mov byte [edi + esi + 0x5150], 9
inc edi
cmp word [esp + 0x594], 0
jne 0x416455
lea eax, [esp + 0x594]
push 0x800
push eax
push str.Terminator
lea ecx, [esp + 0x1c]
push str.ARS_Setup
push ecx
push ebp
mov byte [edi + esi + 0x5150], 0
call fcn.00412af0
add esp, 0x18
lea edx, [esp + 0x594]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], edx
add ebx, eax
cmp word [esp + 0x594], di
je 0x416642
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x416642
cmp edi, 0xf
jge 0x416642
mov ecx, dword [esp + 0x1c]
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push ecx
call fcn.00423d90
push 0xa
lea edx, [esp + 0x1a8]
push 0
push edx
mov dword [esp + 0x38], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0x1c
test eax, eax
je 0x4165ec
push 0xa
lea eax, [esp + 0x198]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov byte [edi + esi + 0x5160], al
jmp 0x416632
lea ecx, [esp + 0x194]
push 0x4334b0
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416610
mov byte [edi + esi + 0x5160], 0xd
jmp 0x416632
lea edx, [esp + 0x194]
push 0x4334a8
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416642
mov byte [edi + esi + 0x5160], 0xa
inc edi
cmp word [esp + 0x594], 0
jne 0x416583
lea eax, [esi + 0x5170]
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 + 0x5160], 0
call fcn.00412980
neg eax
sbb eax, eax
lea ecx, [esp + 0x2c]
inc eax
lea edx, [esp + 0x198]
add ebx, eax
lea eax, [esi + 0x5174]
push eax
push 0
push 0
push str.SendHeader
push str.ARS_Setup
push ecx
push ebp
mov dword [esp + 0x50], edx
call fcn.00412980
add esp, 0x38
lea edx, [esi + 0x639c]
neg eax
sbb eax, eax
mov dword [esp + 0x20], 0x185f
inc eax
mov dword [esp + 0x24], edx
add ebx, eax
xor eax, eax
inc eax
mov dword [esp + 0x3c], eax
push eax
push str.ARS_
lea eax, [esp + 0x159c]
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 + 0x594], 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 + 0x169c]
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x16a4]
lea ecx, [esp + 0x15a4]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00411a80
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [esp + 0x34], edi
je 0x4167eb
mov eax, dword [edi + 4]
mov ax, word [eax]
test ax, ax
je 0x4167d9
cmp ax, 9
je 0x416791
cmp word [esp + 0x594], 0
je 0x416791
lea ecx, [esp + 0x594]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0x592], 9
je 0x416791
lea edx, [esp + 0x594]
push 0x430d60
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea eax, [esp + 0x594]
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 0x4167d9
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x594]
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 0x4166f7
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [esp + 0x594]
push eax
call edi
add esp, 4
inc eax
cmp eax, 0x800
jae 0x41680d
mov eax, 0x800
jmp 0x41681b
lea ecx, [esp + 0x594]
push ecx
call edi
add esp, 4
inc eax
cmp word [esp + 0x594], 9
jne 0x416853
lea edi, [eax + eax]
mov eax, edi
lea edx, [esp + 0x596]
push eax
lea eax, [esp + 0x598]
push edx
push eax
sub edi, 2
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
cmp word [esp + 0x594], 9
je 0x416829
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x594]
lea edi, [ecx - 0x1224]
push edi
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x416893
lea eax, [esp + 0x594]
push 0x800
push eax
push edi
mov dword [edi + 0x1000], 0
call fcn.00423f90
add esp, 0xc
cmp word [edi], 0
je 0x416d13
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x594]
add eax, 4
push 0x800
push edx
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x20], eax
push ecx
lea eax, [esp + 0x15a0]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.00412af0
add esp, 0x18
lea edx, [esp + 0x594]
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x1c], edx
add ebx, eax
cmp word [esp + 0x594], di
je 0x416b1d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x416b1d
cmp edi, 8
jge 0x416b1d
mov ecx, dword [esp + 0x1c]
push 0x200
lea eax, [esp + 0x198]
push 0
push eax
push ecx
call fcn.00423d90
lea edx, [esp + 0x1a4]
push str.ANALYSIS
push edx
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
jne 0x416951
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esi + eax*4], 1
jmp 0x416b0d
lea ecx, [esp + 0x194]
push str.CALC_ALLOYS
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41697d
mov edx, dword [esp + 0x20]
add edx, edi
mov dword [esi + edx*4], 2
jmp 0x416b0d
lea eax, [esp + 0x194]
push str.BT_ADDED
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4169a9
mov ecx, dword [esp + 0x20]
add ecx, edi
mov dword [esi + ecx*4], 3
jmp 0x416b0d
lea edx, [esp + 0x194]
push str.CORRECTED
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4169d5
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esi + eax*4], 4
jmp 0x416b0d
lea ecx, [esp + 0x194]
push str.POUR_TEMP
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416a01
mov edx, dword [esp + 0x20]
add edx, edi
mov dword [esi + edx*4], 5
jmp 0x416b0d
lea eax, [esp + 0x194]
push str.POUR_ARRIVE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416a2d
mov ecx, dword [esp + 0x20]
add ecx, edi
mov dword [esi + ecx*4], 6
jmp 0x416b0d
lea edx, [esp + 0x194]
push str.POUR_LEAVE
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416a59
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esi + eax*4], 7
jmp 0x416b0d
lea ecx, [esp + 0x194]
push 0x4333c8
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416a85
mov edx, dword [esp + 0x20]
add edx, edi
mov dword [esi + edx*4], 8
jmp 0x416b0d
lea eax, [esp + 0x194]
push str.ANA_CTRL
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416aae
mov ecx, dword [esp + 0x20]
add ecx, edi
mov dword [esi + ecx*4], 9
jmp 0x416b0d
lea edx, [esp + 0x194]
push str.ANA_EXTRA
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416ad7
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esi + eax*4], 0xa
jmp 0x416b0d
lea ecx, [esp + 0x194]
push str.ANA_AC
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x416b00
mov edx, dword [esp + 0x20]
add edx, edi
mov dword [esi + edx*4], 0xb
jmp 0x416b0d
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [esi + eax*4], 0
inc edi
cmp word [esp + 0x594], 0
jne 0x4168f3
mov ecx, dword [esp + 0x18]
push 0x800
lea edx, [esp + 0x1598]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x598]
push ecx
push eax
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
call fcn.00412af0
add esp, 0x18
mov dword [esp + 0x14], 0
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x594], 0
lea eax, [esp + 0x594]
je 0x416baf
mov ecx, dword [esp + 0x24]
lea edi, [ecx - 0x1224]
add edi, 0x1024
test eax, eax
je 0x416baf
cmp dword [esp + 0x14], 8
jge 0x416baf
push 0x20
push 9
push edi
push eax
call fcn.00423d90
mov ecx, dword [esp + 0x24]
add esp, 0x10
inc ecx
add edi, 0x40
cmp word [esp + 0x594], 0
mov dword [esp + 0x14], ecx
jne 0x416b7f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x594]
push 0x800
push edx
mov eax, dword [ecx]
add ecx, 4
push eax
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x15a0]
lea ecx, [esp + 0x1c]
push eax
push ecx
push ebp
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x5ac]
inc eax
push edx
add ebx, eax
call fcn.004250f0
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x5b0]
push str.D_M_YY
push eax
call edi
add esp, 0x24
test eax, eax
jne 0x416c18
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
jmp 0x416d0e
lea edx, [esp + 0x594]
push 0x433370
push edx
call edi
add esp, 8
test eax, eax
jne 0x416c3d
mov eax, dword [esp + 0x24]
mov dword [eax], 1
jmp 0x416d0e
lea ecx, [esp + 0x594]
push str.M_D_YY
push ecx
call edi
add esp, 8
test eax, eax
jne 0x416c62
mov edx, dword [esp + 0x24]
mov dword [edx], 2
jmp 0x416d0e
lea eax, [esp + 0x594]
push str.D_M_YYYY
push eax
call edi
add esp, 8
test eax, eax
jne 0x416c87
mov ecx, dword [esp + 0x24]
mov dword [ecx], 3
jmp 0x416d0e
lea edx, [esp + 0x594]
push str.DD_MM_YYYY
push edx
call edi
add esp, 8
test eax, eax
jne 0x416ca9
mov eax, dword [esp + 0x24]
mov dword [eax], 4
jmp 0x416d0e
lea ecx, [esp + 0x594]
push str.MM_DD_YYYY
push ecx
call edi
add esp, 8
test eax, eax
jne 0x416ccb
mov edx, dword [esp + 0x24]
mov dword [edx], 6
jmp 0x416d0e
lea eax, [esp + 0x594]
push str.YYYY_MM_DD
push eax
call edi
add esp, 8
test eax, eax
jne 0x416ced
mov ecx, dword [esp + 0x24]
mov dword [ecx], 7
jmp 0x416d0e
lea edx, [esp + 0x594]
push str.YYYYMMDD
push edx
call edi
mov ecx, dword [esp + 0x2c]
add esp, 8
neg eax
sbb eax, eax
and al, 0xfd
add eax, 8
mov dword [ecx], eax
sub dword [esp + 0x18], 0x10
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add ecx, 0x48a
add edi, 0x1228
cmp ecx, 0x3caf
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edi
jl 0x4166ba
lea edx, [esp + 0x10]
push edx
call fcn.00411610
add esp, 4
xor eax, eax
test ebx, ebx
pop esi
pop ebx
pop edi
pop ebp
sete al
add esp, 0x1784
ret