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

Disassembly:
mov eax, 0x1770
call fcn.0044cc00
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.00406a40
add esp, 8
test eax, eax
jne 0x409d99
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.004087a0
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 0x409de6
push 9
push esi
mov word [eax], 0x20
call dword [sym.imp.MSVCRT.dll_wcschr]
add esp, 8
cmp eax, edi
jne 0x409dd1
lea eax, [esi + 0x20]
push 0x28
push eax
push str.SystemVersion
lea edx, [esp + 0x1c]
push str.Identification
push edx
push ebp
call fcn.004087a0
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 0x409e33
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 0x409e1b
lea eax, [esp + 0x580]
push 0x800
push eax
push str.ParamSetNames
lea ecx, [esp + 0x1c]
push str.Identification
push ecx
push ebp
call fcn.004087a0
add esp, 0x18
mov dword [esi + 0x1590], edi
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], di
je 0x409f2c
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 0x409f22
lea edx, [esi + 0x590]
mov dword [esp + 0x18], edx
cmp dword [esp + 0x14], 0x40
jge 0x409f22
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x20
push 9
push eax
push ecx
call fcn.00438680
add esp, 0x10
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x409ed7
mov edx, dword [esp + 0x20]
mov ecx, eax
sub eax, edx
sar eax, 1
jmp 0x409eea
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 0x409f06
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 0x409ea6
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 0x45468c
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.004087a0
add esp, 0x28
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x580], 0
je 0x40a0f6
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 0x40a006
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x584], 1
mov dword [esi + 0x588], ecx
jmp 0x40a0f6
cmp word [esp + 0x580], 0
je 0x40a0f6
lea edx, [esp + 0x580]
push str.FURNACE_TRACKER
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a044
mov eax, dword [esp + 0x24]
mov dword [esi + 0x584], 2
mov dword [esi + 0x588], eax
jmp 0x40a0f6
cmp word [esp + 0x580], 0
je 0x40a0f6
lea ecx, [esp + 0x580]
push str.TEMP_TRACKER
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a07f
mov edx, dword [esp + 0x24]
mov dword [esi + 0x584], 3
mov dword [esi + 0x588], edx
jmp 0x40a0f6
cmp word [esp + 0x580], 0
je 0x40a0f6
lea eax, [esp + 0x580]
push str.LT_FURNNO
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a0ac
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x58c], ecx
jmp 0x40a0f6
cmp word [esp + 0x580], 0
je 0x40a0f6
lea edx, [esp + 0x580]
xor edi, edi
test edx, edx
lea eax, [esp + 0x580]
je 0x40a0f0
cmp edi, 0x10
jge 0x40a0f0
mov ecx, dword [esp + 0x1c]
push 8
add ecx, edi
push 0
shl ecx, 4
lea edx, [ecx + esi - 0x7c]
push edx
push eax
call fcn.00438680
add esp, 0x10
inc edi
test eax, eax
jne 0x40a0cb
mov eax, dword [esp + 0x18]
mov dword [eax], 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 0x409f5f
lea edi, [esi + 0x1598]
push 0x104
push edi
push str.ConfigDir
lea ecx, [esp + 0x1c]
push str.IniFilePaths
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
lea edi, [esi + 0x17a0]
push 0x104
push edi
push str.ProductDir
lea edx, [esp + 0x40]
push str.IniFilePaths
push edx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
add esp, 0x48
lea eax, [esp + 0x580]
lea ecx, [esp + 0x10]
push 0x800
push eax
push str.BackupDir
push str.IniFilePaths
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea edx, [esi + 0x1bb0]
inc eax
lea edi, [esi + 0x19a8]
add ebx, eax
push edx
lea eax, [esp + 0x59c]
push edi
push eax
call fcn.00413fd0
push 1
push 0
push edi
call fcn.00438460
lea edi, [esi + 0x1db8]
push 0x104
push edi
push str.ArchiveDir
lea ecx, [esp + 0x4c]
push str.IniFilePaths
push ecx
push ebp
call fcn.004087a0
add esp, 0x48
neg eax
sbb eax, eax
push 1
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
push 0
lea edx, [esi + 0x1fc0]
push 0
push edx
push str.ArchiveCount
lea eax, [esp + 0x2c]
push str.IniFilePaths
push eax
push ebp
call fcn.00408670
lea ecx, [esp + 0x5a8]
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.004087a0
add esp, 0x40
lea edi, [esi + 0x1fc4]
neg eax
sbb eax, eax
lea ecx, [esp + 0x580]
inc eax
add ebx, eax
lea eax, [esi + 0x21cc]
push eax
push edi
push ecx
call fcn.00413fd0
push 1
push 0
push edi
call fcn.00438460
lea edi, [esi + 0x23d4]
push 0x104
push edi
push str.MainDatabaseFile
lea edx, [esp + 0x34]
push str.IniFilePaths
push edx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
lea edi, [esi + 0x25dc]
push 0x104
push edi
push str.LiveDatabaseFile
lea eax, [esp + 0x58]
push str.IniFilePaths
push eax
push ebp
call fcn.004087a0
add esp, 0x54
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
lea edi, [esi + 0x27e4]
push 0x104
push edi
push str.TCDatabaseFile
lea ecx, [esp + 0x28]
push str.IniFilePaths
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
lea edi, [esi + 0x29ec]
push 0x104
push edi
push str.ADCDatabaseFile
lea edx, [esp + 0x4c]
push str.IniFilePaths
push edx
push ebp
call fcn.004087a0
add esp, 0x48
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
lea eax, [esp + 0x58c]
push 0x800
push eax
push str.BackupFiles
lea ecx, [esp + 0x28]
push str.IniFilePaths
push ecx
push ebp
call fcn.004087a0
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 0x40a40a
lea edx, [esi + 0x2bf4]
mov dword [esp + 0x20], edx
test edi, edi
je 0x40a40a
cmp dword [esp + 0x14], 0xa
jge 0x40a40a
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push edi
call fcn.00438680
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x190]
push 0x200
push ecx
push edx
mov edi, eax
call fcn.00438940
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 0x40a3ac
lea edi, [esi + 0x4048]
push 0
push edi
push 0
push str.FreeSpaceAlarm
lea eax, [esp + 0x20]
push str.IniFilePaths
push eax
push ebp
call fcn.00408670
fld qword [edi]
fmul qword [0x44e4b0]
lea ecx, [esi + 0x4050]
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.00408670
neg eax
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x4c]
add ebx, eax
lea eax, [esp + 0x1bc]
push eax
push str.ProdChangeMode
push str.SystemControl
push ecx
push ebp
call fcn.004087a0
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x50
neg eax
sbb eax, eax
lea edx, [esp + 0x180]
inc eax
push str.RESET
push edx
add ebx, eax
call edi
add esp, 8
test eax, eax
jne 0x40a4b6
mov dword [esi + 0x4058], 3
jmp 0x40a504
lea eax, [esp + 0x180]
push str.MELT
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a4d8
mov dword [esi + 0x4058], 2
jmp 0x40a504
lea ecx, [esp + 0x180]
push str.FURNACE
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a4fa
mov dword [esi + 0x4058], 1
jmp 0x40a504
mov dword [esi + 0x4058], 0
lea edx, [esp + 0x180]
push 0x200
push edx
push str.AlloyCalcUpdate
lea eax, [esp + 0x1c]
push str.SystemControl
push eax
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esp + 0x198]
inc eax
push str.MANUAL
push ecx
add ebx, eax
call edi
add esp, 0x20
test eax, eax
jne 0x40a54f
mov dword [esi + 0x405c], 0xffffffff
jmp 0x40a5bf
lea edx, [esp + 0x180]
push str.AUTO
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a56d
mov dword [esi + 0x405c], eax
jmp 0x40a5bf
lea eax, [esp + 0x180]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x44e4a8]
fcomp qword [0x44e440]
add esp, 8
fnstsw ax
test ah, 1
je 0x40a59b
fld qword [0x44e440]
jmp 0x40a5b4
lea ecx, [esp + 0x180]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstod]
fmul qword [0x44e4a8]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x405c], eax
lea edx, [esi + 0x4060]
lea eax, [esp + 0x10]
push edx
push 0
push 0
push str.AlloyCalcRstTreated
push str.SystemControl
push eax
push ebp
call fcn.00408670
lea ecx, [esp + 0x59c]
push 0x800
neg eax
push ecx
lea edi, [esi + 0x4070]
sbb eax, eax
push str.AlloyCalcBlock
lea edx, [esp + 0x38]
push str.SystemControl
inc eax
push edx
mov dword [edi], 0
push ebp
add ebx, eax
mov dword [esi + 0x4068], 0
mov dword [edi + 4], 0
call fcn.004087a0
neg eax
sbb eax, eax
push edi
inc eax
lea ecx, [esp + 0x5b8]
add ebx, eax
lea eax, [esi + 0x4068]
push eax
lea eax, [esp + 0x1bc]
push eax
push str._ls_t_d_t_lg
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x48
lea edx, [esp + 0x180]
push str.PRODUCT
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40a67b
mov dword [esi + 0x4064], 1
jmp 0x40a738
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 0x40a6a6
mov dword [esi + 0x4064], 2
jmp 0x40a738
lea ecx, [esp + 0x180]
push str.USERLIST2
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a6c8
mov dword [esi + 0x4064], 3
jmp 0x40a738
lea edx, [esp + 0x180]
push str.USERLIST3
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a6ea
mov dword [esi + 0x4064], 4
jmp 0x40a738
lea eax, [esp + 0x180]
push str.USERLIST4
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a70c
mov dword [esi + 0x4064], 5
jmp 0x40a738
lea ecx, [esp + 0x180]
push str.USERLIST5
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a72e
mov dword [esi + 0x4064], 6
jmp 0x40a738
mov dword [esi + 0x4064], 0
lea edx, [esp + 0x580]
push 0x800
push edx
lea edi, [esi + 0x4080]
push str.BT_SulfurUpdate
lea eax, [esp + 0x1c]
push str.SystemControl
push eax
mov dword [edi], 0
push ebp
mov dword [esi + 0x407c], 0
mov dword [edi + 4], 0
call fcn.004087a0
neg eax
sbb eax, eax
push edi
inc eax
lea ecx, [esp + 0x19c]
add ebx, eax
lea eax, [esi + 0x407c]
push eax
push ecx
lea edx, [esp + 0x5a4]
push str._ls_t_d_t_lg
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
lea eax, [esp + 0x1ac]
push str.PRODUCT
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x34
test eax, eax
jne 0x40a7ca
mov dword [esi + 0x4078], 1
jmp 0x40a887
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea ecx, [esp + 0x180]
push str.USERLIST1
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a7f5
mov dword [esi + 0x4078], 2
jmp 0x40a887
lea edx, [esp + 0x180]
push str.USERLIST2
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a817
mov dword [esi + 0x4078], 3
jmp 0x40a887
lea eax, [esp + 0x180]
push str.USERLIST3
push eax
call edi
add esp, 8
test eax, eax
jne 0x40a839
mov dword [esi + 0x4078], 4
jmp 0x40a887
lea ecx, [esp + 0x180]
push str.USERLIST4
push ecx
call edi
add esp, 8
test eax, eax
jne 0x40a85b
mov dword [esi + 0x4078], 5
jmp 0x40a887
lea edx, [esp + 0x180]
push str.USERLIST5
push edx
call edi
add esp, 8
test eax, eax
jne 0x40a87d
mov dword [esi + 0x4078], 6
jmp 0x40a887
mov dword [esi + 0x4078], 0
lea eax, [esp + 0x580]
push 0x800
push eax
push str.BT_ACReset
lea ecx, [esp + 0x1c]
push str.SystemControl
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea edi, [esi + 0x4088]
inc eax
lea edx, [esp + 0x598]
add ebx, eax
lea eax, [esi + 0x4090]
push eax
push edi
push str._lg_t_lg
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [edi]
fcomp qword [0x44e440]
add esp, 0x28
fnstsw ax
test ah, 1
je 0x40a8f0
mov dword [edi], 0
mov dword [edi + 4], 0
fld qword [esi + 0x4090]
fcomp qword [0x44e440]
fnstsw ax
test ah, 0x41
jne 0x40a915
fld qword [esi + 0x4090]
fmul qword [0x44e4b0]
fstp qword [esi + 0x4090]
lea eax, [esi + 0x4098]
push 0
push eax
push 0
push str.MeltLifeTime
lea ecx, [esp + 0x20]
push str.SystemControl
push ecx
push ebp
call fcn.00408670
neg eax
sbb eax, eax
lea edx, [esp + 0x19c]
inc eax
push 0x200
add ebx, eax
push edx
push str.ExtraSampleLogic
lea eax, [esp + 0x38]
push str.SystemControl
push eax
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esp + 0x1b4]
inc eax
push 0x4544f0
push ecx
add ebx, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x3c
test eax, eax
jne 0x40a98b
mov dword [esi + 0x40b8], 0xfffffffe
jmp 0x40a9ba
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x40a9b0
push 0xa
lea edx, [esp + 0x184]
push 0
push edx
call dword [sym.imp.MSVCRT.dll_wcstol]
add esp, 0xc
mov dword [esi + 0x40b8], eax
jmp 0x40a9ba
mov dword [esi + 0x40b8], 0xffffffff
lea edi, [esi + 0x40bc]
mov ecx, 0x14
xor eax, eax
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0x584]
lea ecx, [esp + 0x14]
push eax
push str.AC_SampleTrigger
push str.SystemControl
push ecx
push ebp
call fcn.004087a0
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 0x40aa71
lea eax, [esi + 0x40bc]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40aa71
cmp dword [esp + 0x14], 0x14
jge 0x40aa71
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push edi
call fcn.00438680
mov edi, eax
push 0xa
lea eax, [esp + 0x194]
push 0
push 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 0x40aa19
lea ecx, [esi + 0x410c]
lea edx, [esp + 0x10]
push ecx
push 0
push 0
push str.SimultaneousSAM
push str.SystemControl
push edx
push ebp
call fcn.00408670
neg eax
sbb eax, eax
push 0x200
inc eax
lea ecx, [esp + 0x30]
add ebx, eax
lea eax, [esp + 0x1a0]
push eax
push str.TCCorr
push str.SystemControl
push ecx
push ebp
call fcn.004087a0
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x1b4]
neg eax
sbb eax, eax
push str.Adjustable
inc eax
push edx
add ebx, eax
call edi
add esp, 0x3c
test eax, eax
jne 0x40aaed
mov dword [esi + 0x4110], eax
mov dword [esi + 0x4114], 0x40f86a00
lea eax, [esp + 0x180]
push str.AutoLoad
push eax
call edi
add esp, 8
test eax, eax
jne 0x40ab15
mov dword [esi + 0x4110], eax
mov dword [esi + 0x4114], 0xc0f86a00
jmp 0x40ab2e
lea ecx, [esp + 0x180]
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstod]
fstp qword [esi + 0x4110]
add esp, 8
lea edx, [esp + 0x180]
push 0x200
push edx
push str.MaxSampPerTC
lea eax, [esp + 0x1c]
lea edi, [esi + 0x411c]
push str.SystemControl
push eax
push ebp
mov dword [edi], bind
mov dword [esi + 0x4118], 0x7fffffff
call fcn.004087a0
neg eax
sbb eax, eax
push edi
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
inc eax
add ebx, eax
lea eax, [esi + 0x4118]
push eax
lea ecx, [esp + 0x1a0]
push str._d_d
push ecx
call edi
push 0
lea edx, [esi + 0x4120]
push 0
push edx
push str.ABCheckSamples
lea eax, [esp + 0x48]
push str.SystemControl
push eax
push ebp
call fcn.00408670
add esp, 0x44
lea ecx, [esp + 0x180]
neg eax
push 0x200
push ecx
sbb eax, eax
push str.ABCheck_TDiff
lea edx, [esp + 0x1c]
push str.SystemControl
inc eax
push edx
push ebp
add ebx, eax
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4128]
inc eax
lea edx, [esp + 0x198]
add ebx, eax
lea eax, [esi + 0x4130]
push eax
push ecx
push str._lg_lg
push edx
call edi
lea eax, [esi + 0x4138]
push 0
push eax
push 0
push str.ABCheckFailRate
lea ecx, [esp + 0x48]
push str.SystemControl
push ecx
push ebp
call fcn.00408670
add esp, 0x44
lea edx, [esp + 0x580]
neg eax
sbb eax, eax
push 0x800
inc eax
push edx
add ebx, eax
push str.SpawnType
push str.ProcessFlow
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esp + 0x598]
inc eax
push ecx
add ebx, eax
call fcn.00405040
lea edx, [esi + 0x4144]
mov dword [esi + 0x4140], eax
push edx
push 0
push 0
push str.UnblockBT
lea eax, [esp + 0x3c]
push str.ProcessFlow
push eax
push ebp
call fcn.00408670
lea ecx, [esp + 0x5b8]
push 0x800
neg eax
push ecx
push str.BTFromSpawn
sbb eax, eax
lea edx, [esp + 0x54]
push str.ProcessFlow
inc eax
push edx
push ebp
add ebx, eax
call fcn.004087a0
add esp, 0x50
lea edi, [esi + 0x4148]
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 0x40ad5e
lea edi, [esi + 0x4170]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40ad5e
cmp dword [esp + 0x14], 0xa
jge 0x40ad5e
mov ecx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push ecx
call fcn.00438680
push 0x454488
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40ad42
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40ad42
cmp word [edi], 0
je 0x40ad47
mov word [esi + 0x4148], 0x31
jmp 0x40ad47
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 0x40ace6
lea edx, [esp + 0x580]
push 0x800
push edx
push str.SampleFromBT
lea eax, [esp + 0x1c]
push str.ProcessFlow
push eax
push ebp
call fcn.004087a0
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], ax
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x580]
mov dword [esp + 0x1c], ecx
je 0x40ae34
lea edi, [esi + 0x4300]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40ae34
cmp dword [esp + 0x14], 0xa
jge 0x40ae34
mov edx, dword [esp + 0x1c]
push 0x200
push 0
push edi
push edx
call fcn.00438680
push 0x454488
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40ae18
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40ae18
cmp word [edi], 0
je 0x40ae1d
mov word [esi + 0x42d8], 0x31
jmp 0x40ae1d
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 0x40adbc
lea eax, [esp + 0x580]
push 0x800
push eax
push str.CorrectFromSAM
lea ecx, [esp + 0x1c]
push str.ProcessFlow
push ecx
push ebp
call fcn.004087a0
add esp, 0x18
lea edi, [esi + 0x4468]
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 0x40af0a
lea edi, [esi + 0x4490]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40af0a
cmp dword [esp + 0x14], 0xa
jge 0x40af0a
mov eax, dword [esp + 0x1c]
push 0x200
push 0
push edi
push eax
call fcn.00438680
push 0x454488
push edi
mov dword [esp + 0x34], eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40aeee
push str.123456789_
push edi
call dword [sym.imp.MSVCRT.dll_wcsspn]
add esp, 8
test eax, eax
je 0x40aeee
cmp word [edi], 0
je 0x40aef3
mov word [esi + 0x4468], 0x31
jmp 0x40aef3
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 0x40ae92
lea ecx, [esp + 0x180]
push 0x200
push ecx
push str.BT_WtDetect
lea edx, [esp + 0x1c]
push str.FC_Control
push edx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
inc eax
lea ecx, [esi + 0x45f8]
add ebx, eax
lea eax, [esi + 0x4600]
push eax
push ecx
lea edx, [esp + 0x1a0]
push str._lg_lg
push edx
call edi
lea eax, [esp + 0x1a8]
push 0x200
push eax
push str.BT_dWdN_Sens
lea ecx, [esp + 0x44]
push str.FC_Control
push ecx
push ebp
call fcn.004087a0
add esp, 0x40
lea edx, [esi + 0x4610]
neg eax
sbb eax, eax
push edx
inc eax
lea ecx, [esp + 0x184]
add ebx, eax
lea eax, [esi + 0x4608]
push eax
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x190]
push 0x200
push edx
push str.FC_WtLow
lea eax, [esp + 0x2c]
push str.FC_Control
push eax
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4620]
inc eax
lea edx, [esi + 0x4618]
add ebx, eax
push ecx
push edx
lea eax, [esp + 0x1b0]
push str._lg_lg
push eax
call edi
lea ecx, [esp + 0x1b8]
push 0x200
push ecx
push str.FC_WtDetectDelta
lea edx, [esp + 0x54]
push str.FC_Control
push edx
push ebp
call fcn.004087a0
add esp, 0x50
neg eax
sbb eax, eax
inc eax
add ebx, eax
lea eax, [esi + 0x4630]
push eax
lea ecx, [esi + 0x4628]
lea edx, [esp + 0x184]
push ecx
push str._lg_lg
push edx
call edi
lea eax, [esp + 0x190]
push 0x200
push eax
push str.FC_WtDetectFilter
lea ecx, [esp + 0x2c]
push str.FC_Control
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4638]
inc eax
lea edx, [esp + 0x1a8]
add ebx, eax
lea eax, [esi + 0x4640]
push eax
push ecx
push str._d_lg
push edx
call edi
mov eax, dword [esi + 0x4638]
add esp, 0x38
test eax, eax
jg 0x40b095
mov dword [esi + 0x4640], 0
mov dword [esi + 0x4644], 0x3ff00000
cmp eax, 1
jl 0x40b0a4
cmp eax, 0x13
jge 0x40b0ab
cmp eax, 1
jge 0x40b0b0
mov eax, 1
jmp 0x40b0b0
mov eax, 0x13
mov dword [esi + 0x4638], eax
lea eax, [esp + 0x180]
push 0x200
push eax
push str.Mould_WtDetect
lea ecx, [esp + 0x1c]
push str.FC_Control
push ecx
push ebp
call fcn.004087a0
neg eax
sbb eax, eax
lea edx, [esi + 0x4650]
inc eax
push edx
add ebx, eax
lea eax, [esi + 0x4648]
push eax
lea ecx, [esp + 0x1a0]
push str._lg_lg
push ecx
call edi
lea edx, [esp + 0x1a8]
push 0x200
push edx
push str.Dribble_Comp
lea eax, [esp + 0x44]
push str.FC_Control
push eax
push ebp
call fcn.004087a0
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 [0x44e4a8]
add esp, 0x14
call sub.MSVCRT.dll__ftol
fld qword [esi + 0x4660]
fcomp qword [0x44e440]
mov dword [esi + 0x4658], eax
fnstsw ax
test ah, 1
jne 0x40b189
fld qword [esi + 0x4660]
fcomp qword [0x44e448]
fnstsw ax
test ah, 1
je 0x40b1ac
fld qword [esi + 0x4660]
fcomp qword [0x44e440]
fnstsw ax
test ah, 1
je 0x40b1a4
fld qword [0x44e440]
jmp 0x40b1b2
fld qword [esi + 0x4660]
jmp 0x40b1b2
fld qword [0x44e448]
fstp qword [esi + 0x4660]
fld qword [esp + 0x178]
fmul qword [0x44e4a8]
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.004087a0
neg eax
sbb eax, eax
push 0
inc eax
push 0
push edi
add ebx, eax
call fcn.00438460
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.00408670
fld qword [esp + 0x6c]
fmul qword [0x44e4a0]
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.00408670
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.004087a0
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 0x40b37f
lea eax, [esi + 0x491c]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b37f
cmp dword [esp + 0x14], 0xa
jge 0x40b37f
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
push 0x453e9c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b352
lea eax, [esp + 0x180]
push 0x453e94
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b352
lea ecx, [esp + 0x180]
push 0x453e90
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b352
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b35c
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 0x40b2ce
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.004087a0
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 0x40b484
lea eax, [esi + 0x48a4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b484
cmp dword [esp + 0x14], 0xa
jge 0x40b484
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
push 0x453e9c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b457
lea eax, [esp + 0x180]
push 0x453e94
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b457
lea ecx, [esp + 0x180]
push 0x453e90
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b457
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b461
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 0x40b3d3
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.004087a0
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 0x40b589
lea eax, [esi + 0x48cc]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b589
cmp dword [esp + 0x14], 0xa
jge 0x40b589
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
push 0x453e9c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b55c
lea eax, [esp + 0x180]
push 0x453e94
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b55c
lea ecx, [esp + 0x180]
push 0x453e90
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b55c
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b566
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 0x40b4d8
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.004087a0
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 0x40b699
lea eax, [esi + 0x48f4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b68e
cmp dword [esp + 0x14], 0xa
jge 0x40b6b2
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
push 0x45440c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b661
lea eax, [esp + 0x180]
push 0x454404
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b661
lea ecx, [esp + 0x180]
push 0x454400
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b661
mov edx, dword [esp + 0x18]
mov dword [edx], 1
jmp 0x40b66b
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 0x40b5dd
mov eax, dword [esp + 0x14]
cmp eax, 0xa
jge 0x40b6b2
jmp 0x40b69d
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.004087a0
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 0x40b7b7
lea eax, [esi + 0x4944]
mov dword [esp + 0x18], eax
test edi, edi
je 0x40b7b7
cmp dword [esp + 0x14], 0xa
jge 0x40b7b7
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
push 0x453e9c
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x18
test eax, eax
je 0x40b78a
lea eax, [esp + 0x180]
push 0x453e94
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b78a
lea ecx, [esp + 0x180]
push 0x453e90
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b78a
mov edx, dword [esp + 0x18]
mov dword [edx], 0
jmp 0x40b794
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 0x40b706
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.00408670
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 0x4543f0
push ecx
push ebp
call fcn.00408670
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 0x4543f0
push ecx
push ebp
mov word [esi + 0x4998], dx
call fcn.004087a0
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.0043a790
lea edi, [esi + 0x49c0]
push 0
push edi
push 0
push str.TimeError
lea ecx, [esp + 0x2c]
push 0x4543f0
push ecx
push ebp
call fcn.00408670
fld qword [edi]
add esp, 0x28
neg eax
fcomp qword [0x44e498]
sbb eax, eax
inc eax
add ebx, eax
fnstsw ax
test ah, 1
jne 0x40b899
fld qword [edi]
fcomp qword [0x44e490]
fnstsw ax
test ah, 1
je 0x40b8b4
fld qword [edi]
fcomp qword [0x44e498]
fnstsw ax
test ah, 1
je 0x40b8b0
fld qword [0x44e498]
jmp 0x40b8ba
fld qword [edi]
jmp 0x40b8ba
fld qword [0x44e490]
fstp qword [edi]
lea edx, [esp + 0x2c]
push 0
push edx
push 0
push str.TimeUpdateDelay
lea eax, [esp + 0x20]
push 0x4543f0
push eax
push ebp
call fcn.00408670
fld qword [esp + 0x48]
fmul qword [0x44e4a8]
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 0x4543f0
push edx
push ebp
mov dword [esi + 0x49c8], eax
call fcn.00408670
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 0x4543f0
push ecx
push ebp
call fcn.00408670
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 0x4543f0
push eax
push ebp
call fcn.004087a0
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 0x40b9fe
lea eax, [esi + 0x49d4]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40b9fe
cmp dword [esp + 0x14], 0xa
jge 0x40b9fe
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
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 0x40b9a6
push 0
lea eax, [esi + 0x4a24]
push 0
push eax
push str.OCMViewersAllowed
lea ecx, [esp + 0x20]
push 0x4543f0
push ecx
push ebp
call fcn.00408670
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 0x4543f0
push eax
push ebp
call fcn.004087a0
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 0x40bad7
lea eax, [esi + 0x4a28]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40bad7
cmp dword [esp + 0x14], 0xa
jge 0x40bad7
push 0x200
lea ecx, [esp + 0x184]
push 0
push ecx
push edi
call fcn.00438680
lea edx, [esp + 0x190]
mov edi, eax
push edx
call fcn.00407440
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 0x40ba84
lea edi, [esi + 0x4a50]
push 0
push 0
push edi
push str.CTB_Prefix
lea eax, [esp + 0x20]
push 0x4543f0
push eax
push 0
call fcn.00408670
add esp, 0x1c
test eax, eax
jne 0x40bb05
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 0x4543f0
push edx
push ebp
call fcn.004087a0
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 0x40bbbc
lea eax, [esi + 0x4a54]
mov dword [esp + 0x20], eax
test edi, edi
je 0x40bbbc
cmp dword [esp + 0x14], 6
jge 0x40bbbc
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push edi
call fcn.00438680
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 0x40bb64
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.004087a0
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.00408880
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.004087a0
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.00408670
fld qword [esp + 0x48]
fmul qword [0x44e4a8]
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.004087a0
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.00413fd0
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.004087a0
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.00413fd0
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.00408670
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.004087a0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x180], 0x3e
jne 0x40bd7f
lea ecx, [esi + 0x5090]
push 0x20
push ecx
lea edx, [esp + 0x188]
push 9
push edx
mov dword [esi + 0x50d0], 0
call fcn.00408810
jmp 0x40bd9a
push 0
lea eax, [esi + 0x5050]
push 0x2580
lea ecx, [esp + 0x188]
push eax
push ecx
call fcn.00408880
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.004087a0
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 0x40bec3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40bec3
cmp edi, 0xf
jge 0x40bec3
push 0x200
lea edx, [esp + 0x184]
push 0
push edx
push eax
call fcn.00438680
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 0x40be49
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 0x40beb3
lea eax, [esp + 0x180]
push str.SPACE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40be6d
mov byte [edi + esi + 0x5128], 0x20
jmp 0x40beb3
lea ecx, [esp + 0x180]
push str.COMMA
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40be91
mov byte [edi + esi + 0x5128], 0x2c
jmp 0x40beb3
lea edx, [esp + 0x180]
push 0x4543ac
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40bec3
mov byte [edi + esi + 0x5128], 9
inc edi
cmp word [esp + 0x580], 0
jne 0x40bde4
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.004087a0
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 0x40bfd1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40bfd1
cmp edi, 0xf
jge 0x40bfd1
mov ecx, dword [esp + 0x1c]
push 0x200
lea eax, [esp + 0x184]
push 0
push eax
push ecx
call fcn.00438680
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 0x40bf7b
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 0x40bfc1
lea ecx, [esp + 0x180]
push 0x4543a4
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40bf9f
mov byte [edi + esi + 0x5138], 0xd
jmp 0x40bfc1
lea edx, [esp + 0x180]
push 0x45439c
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40bfd1
mov byte [edi + esi + 0x5138], 0xa
inc edi
cmp word [esp + 0x580], 0
jne 0x40bf12
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.00408670
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.00408670
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 0x45468c
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 0x45468c
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.00407390
mov edi, eax
add esp, 0x1c
test edi, edi
mov dword [esp + 0x34], edi
je 0x40c17a
mov eax, dword [edi + 4]
mov ax, word [eax]
test ax, ax
je 0x40c168
cmp ax, 9
je 0x40c120
cmp word [esp + 0x580], 0
je 0x40c120
lea ecx, [esp + 0x580]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp word [esp + eax*2 + 0x57e], 9
je 0x40c120
lea edx, [esp + 0x580]
push 0x4531d8
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 0x40c168
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 0x40c086
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 0x40c19c
mov eax, 0x800
jmp 0x40c1aa
lea ecx, [esp + 0x580]
push ecx
call edi
add esp, 4
inc eax
cmp word [esp + 0x580], 9
jne 0x40c1e2
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 0x40c1b8
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 0x40c21c
lea edx, [esp + 0x580]
push 0x800
push edx
push edi
mov dword [edi + 0x1000], 0
call fcn.00438940
add esp, 0xc
cmp word [edi], 0
je 0x40c4bb
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.004087a0
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 0x40c420
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40c420
cmp edi, 8
jge 0x40c420
push 0x200
lea ecx, [esp + 0x184]
push 0
mov edx, eax
push ecx
push edx
call fcn.00438680
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 0x40c2d8
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 1
jmp 0x40c410
lea edx, [esp + 0x180]
push str.CALC_ALLOYS
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c304
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 2
jmp 0x40c410
lea ecx, [esp + 0x180]
push str.BT_ADDED
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c330
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 3
jmp 0x40c410
lea eax, [esp + 0x180]
push str.CORRECTED
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c35c
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 4
jmp 0x40c410
lea edx, [esp + 0x180]
push str.POUR_TEMP
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c388
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 5
jmp 0x40c410
lea ecx, [esp + 0x180]
push str.POUR_ARRIVE
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c3b1
mov edx, dword [esp + 0x24]
add edx, edi
mov dword [esi + edx*4], 6
jmp 0x40c410
lea eax, [esp + 0x180]
push str.POUR_LEAVE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c3da
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 7
jmp 0x40c410
lea edx, [esp + 0x180]
push 0x4542f0
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40c403
mov eax, dword [esp + 0x24]
add eax, edi
mov dword [esi + eax*4], 8
jmp 0x40c410
mov ecx, dword [esp + 0x24]
add ecx, edi
mov dword [esi + ecx*4], 0
inc edi
cmp word [esp + 0x580], 0
jne 0x40c27c
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.004087a0
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 0x40c4ac
mov edx, dword [esp + 0x20]
lea edi, [edx + 0x1024]
test eax, eax
je 0x40c4ac
cmp dword [esp + 0x14], 8
jge 0x40c4ac
push 0x20
push 9
push edi
push eax
call fcn.00438680
mov ecx, dword [esp + 0x24]
add esp, 0x10
inc ecx
add edi, 0x40
cmp word [esp + 0x580], 0
mov dword [esp + 0x14], ecx
jne 0x40c47c
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 0x40c049
lea eax, [esp + 0x10]
push eax
call fcn.00406ed0
add esp, 4
xor eax, eax
test ebx, ebx
pop esi
pop ebx
pop edi
pop ebp
sete al
add esp, 0x1770
ret