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

Disassembly:
mov eax, 0x1770
call fcn.00428bc0
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.00406d10
add esp, 8
test eax, eax
jne 0x40a0a9
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.00408a80
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 0x40a0f6
push 9
push esi
mov word [eax], 0x20
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, edi
jne 0x40a0e1
lea eax, [esi + 0x20]
push 0x28
push eax
push str.SystemVersion
lea edx, [esp + 0x1c]
push str.Identification
push edx
push ebp
call fcn.00408a80
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 0x40a143
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 0x40a12b
lea eax, [esp + 0x580]
push 0x800
push eax
push str.ParamSetNames
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.00408a80
add esp, 0x18
mov dword [esi + 0x1590], edi
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], di
je 0x40a23c
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 0x40a232
lea edx, [esi + 0x590]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0x40
jge 0x40a232
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x20
push 9
push eax
push ecx
call fcn.0041b3b0
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x40a1e7
mov edx, dword [esp + 0x20]
mov ecx, eax
sub eax, edx
sar eax, 1
jmp 0x40a1fa
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 0x40a216
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 0x40a1b6
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.00408a80
add esp, 0x28
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x40a407
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 0x40a316
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x584], 1
mov dword [esi + 0x588], ecx
jmp 0x40a407
cmp word [esp + 0x580], 0
je 0x40a407
lea edx, [esp + 0x580]
push str.FURNACE_TRACKER
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a354
mov eax, dword [esp + 0x24]
mov dword [esi + 0x584], 2
mov dword [esi + 0x588], eax
jmp 0x40a407
cmp word [esp + 0x580], 0
je 0x40a407
lea ecx, [esp + 0x580]
push str.TEMP_TRACKER
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a38f
mov edx, dword [esp + 0x24]
mov dword [esi + 0x584], 3
mov dword [esi + 0x588], edx
jmp 0x40a407
cmp word [esp + 0x580], 0
je 0x40a407
lea eax, [esp + 0x580]
push str.LT_FURNNO
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a3bc
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x58c], ecx
jmp 0x40a407
cmp word [esp + 0x580], 0
je 0x40a407
lea edx, [esp + 0x580]
xor edi, edi
test edx, edx
lea eax, [esp + 0x580]
je 0x40a401
cmp edi, 0x10
jge 0x40a401
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.0041b3b0
add esp, 0x10
inc edi
test eax, eax
jne 0x40a3db
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 0x40a26f
lea edi, [esi + 0x1598]
push 0x104
push edi
push str.ConfigDir
lea eax, [esp + 0x1c]
push str.IniFilePaths
push eax
push ebp
call fcn.00408a80
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
lea edi, [esi + 0x17a0]
push 0x104
push edi
push str.ProductDir
lea ecx, [esp + 0x40]
push str.IniFilePaths
push ecx
push ebp
call fcn.00408a80
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
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.00408a80
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.00414300
push 1
push 0
push edi
call fcn.0041b190
lea edi, [esi + 0x1db8]
push 0x104
push edi
push str.ArchiveDir
lea eax, [esp + 0x4c]
push str.IniFilePaths
push eax
push ebp
call fcn.00408a80
add esp, 0x48
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
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.00408950
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.00408a80
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.00414300
push 1
push 0
push edi
call fcn.0041b190
lea edi, [esi + 0x23d4]
push 0x104
push edi
push str.MainDatabaseFile
lea ecx, [esp + 0x34]
push str.IniFilePaths
push ecx
push ebp
call fcn.00408a80
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
lea edi, [esi + 0x25dc]
push 0x104
push edi
push str.LiveDatabaseFile
lea edx, [esp + 0x58]
push str.IniFilePaths
push edx
push ebp
call fcn.00408a80
add esp, 0x54
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
lea edi, [esi + 0x27e4]
push 0x104
push edi
push str.TCDatabaseFile
lea eax, [esp + 0x28]
push str.IniFilePaths
push eax
push ebp
call fcn.00408a80
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
lea edi, [esi + 0x29ec]
push 0x104
push edi
push str.ADCDatabaseFile
lea ecx, [esp + 0x4c]
push str.IniFilePaths
push ecx
push ebp
call fcn.00408a80
add esp, 0x48
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
lea edx, [esp + 0x58c]
push 0x800
push edx
push str.BackupFiles
lea eax, [esp + 0x28]
push str.IniFilePaths
push eax
push ebp
call fcn.00408a80
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 0x40a71b
lea ecx, [esi + 0x2bf4]
mov dword [esp + 0x20], ecx
test edi, edi
je 0x40a71b
cmp dword [esp + 0x14], 0xa
jge 0x40a71b
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push edi
call fcn.0041b3b0
mov ecx, dword [esp + 0x30]
mov edi, eax
lea eax, [esp + 0x190]
push 0x200
push eax
push ecx
call fcn.0041b690
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 0x40a6bd
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.00408950
neg eax
fld qword [edi]
sbb eax, eax
lea ecx, [esp + 0x2c]
fmul qword [0x42a3c8]
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.00408950
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.00408a80
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 0x40a7c7
mov dword [esi + 0x4058], 3
jmp 0x40a815
lea edx, [esp + 0x180]
push str.MELT
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a7e9
mov dword [esi + 0x4058], 2
jmp 0x40a815
lea eax, [esp + 0x180]
push str.FURNACE
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a80b
mov dword [esi + 0x4058], 1
jmp 0x40a815
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.00408a80
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 0x40a860
mov dword [esi + 0x405c], 0xffffffff
jmp 0x40a8d0
lea ecx, [esp + 0x180]
push str.AUTO
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a87e
mov dword [esi + 0x405c], eax
jmp 0x40a8d0
lea edx, [esp + 0x180]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x42a3c0]
fcomp qword [0x42a368]
add esp, 8
fnstsw ax
test ah, 1
je 0x40a8ac
fld qword [0x42a368]
jmp 0x40a8c5
lea eax, [esp + 0x180]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x42a3c0]
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.00408950
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.00408a80
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 0x40a98c
mov dword [esi + 0x4064], 1
jmp 0x40aa49
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 0x40a9b7
mov dword [esi + 0x4064], 2
jmp 0x40aa49
lea eax, [esp + 0x180]
push str.USERLIST2
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a9d9
mov dword [esi + 0x4064], 3
jmp 0x40aa49
lea ecx, [esp + 0x180]
push str.USERLIST3
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a9fb
mov dword [esi + 0x4064], 4
jmp 0x40aa49
lea edx, [esp + 0x180]
push str.USERLIST4
push edx
call edi
add esp, 8
test eax, eax
jne 0x40aa1d
mov dword [esi + 0x4064], 5
jmp 0x40aa49
lea eax, [esp + 0x180]
push str.USERLIST5
push eax
call edi
add esp, 8
test eax, eax
jne 0x40aa3f
mov dword [esi + 0x4064], 6
jmp 0x40aa49
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.00408a80
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 0x40aadb
mov dword [esi + 0x4078], 1
jmp 0x40ab98
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 0x40ab06
mov dword [esi + 0x4078], 2
jmp 0x40ab98
lea ecx, [esp + 0x180]
push str.USERLIST2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40ab28
mov dword [esi + 0x4078], 3
jmp 0x40ab98
lea edx, [esp + 0x180]
push str.USERLIST3
push edx
call edi
add esp, 8
test eax, eax
jne 0x40ab4a
mov dword [esi + 0x4078], 4
jmp 0x40ab98
lea eax, [esp + 0x180]
push str.USERLIST4
push eax
call edi
add esp, 8
test eax, eax
jne 0x40ab6c
mov dword [esi + 0x4078], 5
jmp 0x40ab98
lea ecx, [esp + 0x180]
push str.USERLIST5
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40ab8e
mov dword [esi + 0x4078], 6
jmp 0x40ab98
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.00408a80
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 [0x42a368]
add esp, 0x28
fnstsw ax
test ah, 1
je 0x40ac01
mov dword [edi], 0
mov dword [edi + 4], 0
fld qword [esi + 0x4090]
fcomp qword [0x42a368]
fnstsw ax
test ah, 0x41
jne 0x40ac26
fld qword [esi + 0x4090]
fmul qword [0x42a3c8]
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.00408950
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.00408a80
neg eax
sbb eax, eax
push 0x42d6e4
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 0x40ac9c
mov dword [esi + 0x40b8], 0xfffffffe
jmp 0x40accb
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x40acc1
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 0x40accb
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.00408a80
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 0x40ad82
lea eax, [esi + 0x40bc]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40ad82
cmp dword [esp + 0x14], 0x14
jge 0x40ad82
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
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 0x40ad2a
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.00408950
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.00408a80
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 0x40adfe
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 0x40ae26
mov dword [esi + 0x4110], eax
mov dword [esi + 0x4114], 0xc0f86a00
jmp 0x40ae3f
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.00408a80
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.00408950
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.00408a80
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.00408950
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.00408a80
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esp + 0x598]
push eax
call fcn.00402c40
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.00408950
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.00408a80
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 0x40b06e
lea edi, [esi + 0x4170]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b06e
cmp dword [esp + 0x14], 0xa
jge 0x40b06e
mov eax, dword [esp + 0x1c]
push 0x200
push 0
push edi
push eax
call fcn.0041b3b0
push 0x42edf8
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b052
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40b052
cmp word [edi], 0
je 0x40b057
mov word [esi + 0x4148], 0x31
jmp 0x40b057
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 0x40aff6
lea ecx, [esp + 0x580]
push 0x800
push ecx
push str.SampleFromBT
lea edx, [esp + 0x1c]
push str.ProcessFlow
push edx
push ebp
call fcn.00408a80
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 0x40b145
lea edi, [esi + 0x4300]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b145
cmp dword [esp + 0x14], 0xa
jge 0x40b145
mov ecx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push ecx
call fcn.0041b3b0
push 0x42edf8
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b129
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40b129
cmp word [edi], 0
je 0x40b12e
mov word [esi + 0x42d8], 0x31
jmp 0x40b12e
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 0x40b0cd
lea edx, [esp + 0x580]
push 0x800
push edx
push str.CorrectFromSAM
lea eax, [esp + 0x1c]
push str.ProcessFlow
push eax
push ebp
call fcn.00408a80
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 0x40b21b
lea edi, [esi + 0x4490]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40b21b
cmp dword [esp + 0x14], 0xa
jge 0x40b21b
mov edx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push edx
call fcn.0041b3b0
push 0x42edf8
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b1ff
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40b1ff
cmp word [edi], 0
je 0x40b204
mov word [esi + 0x4468], 0x31
jmp 0x40b204
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 0x40b1a3
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.00408a80
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.00408a80
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.00408a80
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.00408a80
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.00408a80
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 0x40b3a6
mov dword [esi + 0x4640], 0
mov dword [esi + 0x4644], 0x3ff00000
cmp eax, 1
jl 0x40b3b5
cmp eax, 0x13
jge 0x40b3bc
cmp eax, 1
jge 0x40b3c1
mov eax, 1
jmp 0x40b3c1
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.00408a80
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.00408a80
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 [0x42a3c0]
add esp, 0x14
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x4660]
fcomp qword [0x42a368]
mov dword [esi + 0x4658], eax
fnstsw ax
test ah, 1
jne 0x40b49a
fld qword [esi + 0x4660]
fcomp qword [0x42a358]
fnstsw ax
test ah, 1
je 0x40b4bd
fld qword [esi + 0x4660]
fcomp qword [0x42a368]
fnstsw ax
test ah, 1
je 0x40b4b5
fld qword [0x42a368]
jmp 0x40b4c3
fld qword [esi + 0x4660]
jmp 0x40b4c3
fld qword [0x42a358]
fstp qword [esi + 0x4660]
fld qword [esp + 0x178]
fmul qword [0x42a3c0]
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.00408a80
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.0041b190
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.00408950
fld qword [esp + 0x6c]
fmul qword [0x42a3b8]
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.00408950
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.00408a80
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 0x40b690
lea eax, [esi + 0x491c]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b690
cmp dword [esp + 0x14], 0xa
jge 0x40b690
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
push 0x42e80c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b663
lea eax, [esp + 0x180]
push 0x42e804
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b663
lea ecx, [esp + 0x180]
push 0x42e800
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b663
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b66d
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 0x40b5df
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.00408a80
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 0x40b795
lea eax, [esi + 0x48a4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b795
cmp dword [esp + 0x14], 0xa
jge 0x40b795
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
push 0x42e80c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b768
lea eax, [esp + 0x180]
push 0x42e804
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b768
lea ecx, [esp + 0x180]
push 0x42e800
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b768
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b772
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 0x40b6e4
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.00408a80
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 0x40b89a
lea eax, [esi + 0x48cc]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b89a
cmp dword [esp + 0x14], 0xa
jge 0x40b89a
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
push 0x42e80c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b86d
lea eax, [esp + 0x180]
push 0x42e804
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b86d
lea ecx, [esp + 0x180]
push 0x42e800
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b86d
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b877
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 0x40b7e9
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.00408a80
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 0x40b9aa
lea eax, [esi + 0x48f4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b99f
cmp dword [esp + 0x14], 0xa
jge 0x40b9c3
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
push 0x42ed7c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b972
lea eax, [esp + 0x180]
push 0x42ed74
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b972
lea ecx, [esp + 0x180]
push 0x42ed70
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b972
mov edx, dword [esp + 0x18]
mov dword [edx], 1
jmp 0x40b97c
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 0x40b8ee
mov eax, dword [esp + 0x14]
cmp eax, 0xa
jge 0x40b9c3
jmp 0x40b9ae
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.00408a80
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 0x40bac8
lea eax, [esi + 0x4944]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40bac8
cmp dword [esp + 0x14], 0xa
jge 0x40bac8
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
push 0x42e80c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40ba9b
lea eax, [esp + 0x180]
push 0x42e804
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40ba9b
lea ecx, [esp + 0x180]
push 0x42e800
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40ba9b
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40baa5
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 0x40ba17
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.00408950
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.00408950
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.00408a80
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.0041d4f0
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.00408950
fld qword [edi]
add esp, 0x28
neg eax
fcomp qword [0x42a3b0]
sbb eax, eax
inc eax
add ebx, eax
fnstsw ax
test ah, 1
jne 0x40bbaa
fld qword [edi]
fcomp qword [0x42a3a8]
fnstsw ax
test ah, 1
je 0x40bbc5
fld qword [edi]
fcomp qword [0x42a3b0]
fnstsw ax
test ah, 1
je 0x40bbc1
fld qword [0x42a3b0]
jmp 0x40bbcb
fld qword [edi]
jmp 0x40bbcb
fld qword [0x42a3a8]
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.00408950
fld qword [esp + 0x48]
fmul qword [0x42a3c0]
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.00408950
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.00408950
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.00408a80
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 0x40bd0f
lea eax, [esi + 0x49d4]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40bd0f
cmp dword [esp + 0x14], 0xa
jge 0x40bd0f
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
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 0x40bcb7
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.00408950
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.00408a80
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 0x40bde8
lea eax, [esi + 0x4a28]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40bde8
cmp dword [esp + 0x14], 0xa
jge 0x40bde8
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.0041b3b0
lea edx, [esp + 0x190]
mov edi, eax
push edx
call fcn.00407710
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 0x40bd95
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.00408950
add esp, 0x1c
test eax, eax
jne 0x40be16
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.00408a80
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 0x40becd
lea eax, [esi + 0x4a54]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40becd
cmp dword [esp + 0x14], 6
jge 0x40becd
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push edi
call fcn.0041b3b0
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 0x40be75
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.00408a80
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.00408b60
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.00408a80
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.00408950
fld qword [esp + 0x48]
fmul qword [0x42a3c0]
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.00408a80
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.00414300
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.00408a80
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.00414300
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.00408950
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.00408a80
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x180], 0x3e
jne 0x40c090
lea ecx, [esi + 0x5090]
push 0x20
push ecx
lea edx, [esp + 0x188]
push 9
push edx
mov dword [esi + 0x50d0], 0
call fcn.00408af0
jmp 0x40c0ab
push 0
lea eax, [esi + 0x5050]
push 0x2580
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.00408b60
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.00408a80
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 0x40c1d4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c1d4
cmp edi, 0xf
jge 0x40c1d4
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push eax
call fcn.0041b3b0
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 0x40c15a
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 0x40c1c4
lea eax, [esp + 0x180]
push str.SPACE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c17e
mov byte [edi + esi + 0x5128], 0x20
jmp 0x40c1c4
lea ecx, [esp + 0x180]
push str.COMMA
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c1a2
mov byte [edi + esi + 0x5128], 0x2c
jmp 0x40c1c4
lea edx, [esp + 0x180]
push 0x42ed1c
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c1d4
mov byte [edi + esi + 0x5128], 9
inc edi
cmp word [esp + 0x580], 0
jne 0x40c0f5
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.00408a80
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 0x40c2e2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c2e2
cmp edi, 0xf
jge 0x40c2e2
mov ecx, dword [esp + 0x1c]
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push ecx
call fcn.0041b3b0
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 0x40c28c
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 0x40c2d2
lea ecx, [esp + 0x180]
push 0x42ed14
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c2b0
mov byte [edi + esi + 0x5138], 0xd
jmp 0x40c2d2
lea edx, [esp + 0x180]
push 0x42ed0c
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c2e2
mov byte [edi + esi + 0x5138], 0xa
inc edi
cmp word [esp + 0x580], 0
jne 0x40c223
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.00408950
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.00408950
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.00407660
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [esp + 0x34], edi
je 0x40c48b
mov eax, dword [edi + 4]
mov ax, word [eax]
test ax, ax
je 0x40c479
cmp ax, 9
je 0x40c431
cmp word [esp + 0x580], 0
je 0x40c431
lea ecx, [esp + 0x580]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0x57e], 9
je 0x40c431
lea edx, [esp + 0x580]
push 0x42cff8
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 0x40c479
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 0x40c397
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 0x40c4ad
mov eax, 0x800
jmp 0x40c4bb
lea ecx, [esp + 0x580]
push ecx
call edi
add esp, 4
inc eax
cmp word [esp + 0x580], 9
jne 0x40c4f3
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 0x40c4c9
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 0x40c52d
lea edx, [esp + 0x580]
push 0x800
push edx
push edi
mov dword [edi + 0x1000], 0
call fcn.0041b690
add esp, 0xc
cmp word [edi], 0
je 0x40c7cc
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.00408a80
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 0x40c731
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c731
cmp edi, 8
jge 0x40c731
push 0x200
lea ecx, [esp + 0x184]
push 0
mov edx, eax
push ecx
push edx
call fcn.0041b3b0
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 0x40c5e9
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 1
jmp 0x40c721
lea edx, [esp + 0x180]
push str.CALC_ALLOYS
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c615
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 2
jmp 0x40c721
lea ecx, [esp + 0x180]
push str.BT_ADDED
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c641
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 3
jmp 0x40c721
lea eax, [esp + 0x180]
push str.CORRECTED
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c66d
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 4
jmp 0x40c721
lea edx, [esp + 0x180]
push str.POUR_TEMP
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c699
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 5
jmp 0x40c721
lea ecx, [esp + 0x180]
push str.POUR_ARRIVE
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c6c2
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 6
jmp 0x40c721
lea eax, [esp + 0x180]
push str.POUR_LEAVE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c6eb
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 7
jmp 0x40c721
lea edx, [esp + 0x180]
push 0x42ec60
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c714
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 8
jmp 0x40c721
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 0
inc edi
cmp word [esp + 0x580], 0
jne 0x40c58d
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.00408a80
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 0x40c7bd
mov edx, dword [esp + 0x20]
lea edi, [edx + 0x1024]
test eax, eax
je 0x40c7bd
cmp dword [esp + 0x14], 8
jge 0x40c7bd
push 0x20
push 9
push edi
push eax
call fcn.0041b3b0
mov ecx, dword [esp + 0x24]
add esp, 0x10
inc ecx
add edi, 0x40
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], ecx
jne 0x40c78d
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 0x40c35a
lea eax, [esp + 0x10]
push eax
call fcn.004071a0
add esp, 4
xor eax, eax
test ebx, ebx
pop esi
pop ebx
pop edi
pop ebp
sete al
add esp, 0x1770
ret