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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa34
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push edi
call fcn.00411180
add esp, 8
test eax, eax
jne 0x417f33
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
push 0
push 0
push esi
push str.SampleCycle
lea ecx, [esp + 0x1c]
push str.Configuration
push ecx
push edi
call fcn.00412980
lea edx, [esi + 4]
mov ebx, eax
push 0x104
push edx
neg ebx
push str.PIMLogName
lea eax, [esp + 0x34]
push str.Configuration
push eax
sbb ebx, ebx
push edi
inc ebx
call fcn.00412af0
lea ecx, [esi + 0x20c]
lea edx, [esp + 0x40]
push ecx
push 0
neg eax
push 0
push str.PIMLogRAW
sbb eax, eax
push str.Configuration
inc eax
push edx
push edi
add ebx, eax
call fcn.00412980
add esp, 0x50
lea ecx, [esp + 0xc]
neg eax
sbb eax, eax
push 0x200
inc eax
add ebx, eax
lea eax, [esp + 0x144]
push eax
push str.PIMLogTiming
push str.Configuration
push ecx
push edi
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x38]
inc eax
add ebx, eax
lea eax, [esi + 0x214]
push eax
push edx
lea eax, [esp + 0x160]
push str._lf_d
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x28
test eax, eax
je 0x418020
fld qword [esp + 0x20]
fmul qword [0x42e528]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x210], eax
mov eax, dword [esi + 0x214]
cmp eax, 1
jg 0x41801a
mov eax, 1
mov dword [esi + 0x214], eax
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
push str.LampFlashRate
lea edx, [esp + 0x1c]
push str.Configuration
push edx
push edi
call fcn.00412980
fld qword [esp + 0x3c]
fmul qword [0x42e518]
fld qword [0x42e450]
add esp, 0x1c
neg eax
sbb eax, eax
fcomp st(1)
inc eax
add ebx, eax
fnstsw ax
test ah, 0x41
jne 0x418069
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x218], eax
lea eax, [esp + 0x20]
push 0
push eax
push 0
push str.OBDisplayRate
lea ecx, [esp + 0x1c]
push str.Configuration
push ecx
push edi
call fcn.00412980
fld qword [esp + 0x3c]
fmul qword [0x42e518]
fld qword [0x42e450]
add esp, 0x1c
neg eax
sbb eax, eax
fcomp st(1)
inc eax
add ebx, eax
fnstsw ax
test ah, 0x41
jne 0x4180bd
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x140]
push 0x200
mov dword [esi + 0x21c], eax
push edx
push str.RFID_Viewer
lea eax, [esp + 0x18]
push str.Configuration
push eax
push edi
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x264]
inc eax
lea edx, [esi + 0x220]
add ebx, eax
push ecx
push edx
lea eax, [esp + 0x160]
push str._s_t_d
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
lea ecx, [esi + 0x260]
lea edx, [esp + 0x34]
push ecx
push 0
push 0
push str.DebugInfo
push str.Configuration
push edx
push edi
call fcn.00412980
add esp, 0x44
mov ecx, 0x64
neg eax
sbb eax, eax
lea edi, [esi + 0x268]
inc eax
add ebx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea edi, [esi + 0x280]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x540]
push eax
push str.SimInput
push str._s_d
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea edx, [esp + 0x550]
lea eax, [esp + 0x1c]
push edx
push str.Configuration
push eax
call fcn.00411a80
add esp, 0x1c
test eax, eax
je 0x4181ba
lea ecx, [edi + 8]
lea edx, [edi - 8]
push ecx
push edi
lea ecx, [edi - 0x10]
push edx
push ecx
lea edx, [edi - 0x14]
lea ecx, [edi - 0x18]
push edx
mov edx, dword [eax + 4]
push ecx
push str._d_d_d_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x20
mov eax, dword [esp + 0x10]
add edi, 0x28
inc eax
cmp eax, 0xa
mov dword [esp + 0x10], eax
jl 0x418158
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x140]
push 0x200
push eax
push str.DS_ComPort
lea ecx, [esp + 0x18]
push str.Hardware
push ecx
push edi
call fcn.00412af0
neg eax
sbb eax, eax
push 0
inc eax
lea edx, [esi + 0x678]
add ebx, eax
push 0x2580
lea eax, [esp + 0x160]
push edx
push eax
call fcn.00412bd0
lea ecx, [esp + 0x168]
push 0x104
lea edx, [esi + 0x750]
push ecx
push edx
call fcn.00423f90
lea eax, [esp + 0x174]
push 0x200
push eax
push str.OB_ComPort
lea ecx, [esp + 0x4c]
push str.Hardware
push ecx
push edi
call fcn.00412af0
add esp, 0x4c
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esi + 0x6b8], 0
lea eax, [esi + 0x6b8]
jne 0x41826d
lea eax, [esi + 0x700]
push eax
lea edx, [esi + 0x3fc]
push 0x12c0
lea eax, [esp + 0x148]
push edx
push eax
call fcn.00412bd0
lea ecx, [esp + 0x150]
push 0x200
push ecx
push str.OB_LButton
lea edx, [esp + 0x28]
push str.Hardware
push edx
push edi
call fcn.00412af0
add esp, 0x28
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x418335
lea eax, [esp + 0x140]
mov dword [esp + 0x10], 0
test eax, eax
lea edi, [esp + 0x140]
je 0x418335
lea ecx, [esi + 0x4e0]
mov dword [esp + 0x18], ecx
cmp word [edi], 0
je 0x418335
cmp dword [esp + 0x10], 3
jge 0x418335
push 0x200
lea edx, [esp + 0x544]
push 9
push edx
push edi
call fcn.00423d90
mov ecx, dword [esp + 0x28]
mov edi, eax
lea eax, [esp + 0x550]
push 0x20
push eax
push ecx
call fcn.00423f90
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
inc edx
add ecx, 0x40
mov dword [esp + 0x10], edx
test edi, edi
mov dword [esp + 0x18], ecx
jne 0x4182e2
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x140]
push 0x200
push edx
push str.OB_RButton
lea eax, [esp + 0x18]
push str.Hardware
push eax
push ecx
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x4183e6
lea edx, [esp + 0x140]
mov dword [esp + 0x10], 0
test edx, edx
lea edi, [esp + 0x140]
je 0x4183e6
lea eax, [esi + 0x5a0]
mov dword [esp + 0x18], eax
cmp word [edi], 0
je 0x4183e6
cmp dword [esp + 0x10], 3
jge 0x4183e6
push 0x200
lea ecx, [esp + 0x544]
push 9
push ecx
push edi
call fcn.00423d90
mov edi, eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x550]
push 0x20
push edx
push eax
call fcn.00423f90
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x1c
inc edx
add ecx, 0x40
mov dword [esp + 0x10], edx
test edi, edi
mov dword [esp + 0x18], ecx
jne 0x418393
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x140]
push 0x200
push ecx
push str.OB_Brightness
lea edx, [esp + 0x18]
push str.Hardware
push edx
push edi
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x4d8]
inc eax
lea edx, [esp + 0x158]
add ebx, eax
lea eax, [esi + 0x4dc]
push eax
push ecx
push str._d_d
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
lea eax, [esp + 0x168]
push 0x200
push eax
push str.OB_Colours
lea ecx, [esp + 0x40]
push str.Hardware
push ecx
push edi
call fcn.00412af0
add esp, 0x40
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41856e
lea eax, [esi + 0x660]
xor edx, edx
lea ecx, [esp + 0x140]
mov dword [esp + 0x10], 1
mov word [eax], dx
lea edi, [esp + 0x140]
test ecx, ecx
mov byte [eax + 2], dl
je 0x41856e
add esi, 0x664
cmp word [edi], 0
je 0x41856e
cmp dword [esp + 0x10], 8
jge 0x41856e
push 0x200
lea edx, [esp + 0x544]
push 9
push edx
push edi
call fcn.00423d90
mov edi, eax
push 0x80
lea eax, [esp + 0x954]
push 0x3b
lea ecx, [esp + 0x558]
push eax
push ecx
call fcn.00423d90
lea edx, [esp + 0x960]
mov dword [esp + 0x3c], eax
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ecx, dword [esp + 0x40]
mov byte [esi - 1], al
push 0x80
lea eax, [esp + 0x968]
push 0x3b
push eax
push ecx
call fcn.00423d90
lea edx, [esp + 0x974]
mov dword [esp + 0x50], eax
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ecx, dword [esp + 0x54]
mov byte [esi], al
push 0x80
lea eax, [esp + 0x97c]
push 0x3b
push eax
push ecx
call fcn.00423d90
add esp, 0x48
lea edx, [esp + 0x940]
push edx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov edx, dword [esp + 0x14]
add esp, 4
mov byte [esi + 1], al
inc edx
add esi, 3
mov dword [esp + 0x10], edx
test edi, edi
jne 0x4184a0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0x15
lea esi, [eax + 0xa00]
mov ecx, 0x2a
xor eax, eax
mov edi, esi
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
push str.Input
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x50]
push str.MessageNo
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00411a80
add esp, 0x1c
test eax, eax
je 0x418968
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x140]
push 0x200
push edx
lea eax, [esp + 0x48]
push str.MessageNo
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41864e
push 0x200
lea edx, [esp + 0x544]
push 9
lea eax, [esp + 0x148]
push edx
push eax
call fcn.00423d90
push 0xa
lea ecx, [esp + 0x554]
push 0
push ecx
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
push 0xc
lea edx, [esi + 4]
push 9
push edx
push eax
call fcn.00423d90
add esp, 0x2c
push 0
lea ecx, [esi + 0x1c]
push 0
push ecx
lea edx, [esp + 0x4c]
push str.Channel
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call fcn.00412980
neg eax
sbb eax, eax
lea ecx, [esp + 0x15c]
inc eax
push 0x200
add ebx, eax
push ecx
lea edx, [esp + 0x64]
push str.ADC_Config
lea eax, [esp + 0x34]
push edx
push eax
push edi
call fcn.00412af0
add esp, 0x34
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x4186cb
lea ecx, [esi + 0x28]
lea edx, [esi + 0x24]
push ecx
lea eax, [esi + 0x20]
push edx
push eax
lea ecx, [esp + 0x14c]
push str._d_d_d
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x14
lea edx, [esp + 0x140]
push 0x200
push edx
lea eax, [esp + 0x48]
push str.Linearisation
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41875b
lea edx, [esi + 0x58]
lea eax, [esi + 0x50]
push edx
lea ecx, [esi + 0x48]
push eax
lea edx, [esi + 0x40]
push ecx
lea eax, [esi + 0x38]
push edx
lea ecx, [esi + 0x30]
push eax
push ecx
lea edx, [esp + 0x158]
push str._lf_lf_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x20
cmp eax, 6
jge 0x41875b
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
add ecx, eax
lea edi, [edx + ecx*8 + 0x988]
mov ecx, 6
sub ecx, eax
shl ecx, 1
and ecx, 0x3ffffffe
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x140]
push 0x200
push eax
lea ecx, [esp + 0x48]
push str.Filter
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x4187b0
lea eax, [esi + 0x68]
lea ecx, [esi + 0x60]
push eax
push ecx
lea edx, [esp + 0x148]
push str._lf_d
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x10
mov eax, dword [esi + 0x68]
test eax, eax
jl 0x4187bc
cmp eax, 0xf
jge 0x4187c8
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
jmp 0x4187cd
mov eax, 0xf
lea edx, [esp + 0x140]
mov dword [esi + 0x68], eax
push 0x200
push edx
lea eax, [esp + 0x48]
push str.DetectVal
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41882c
lea edx, [esi + 0x80]
lea eax, [esi + 0x78]
push edx
lea ecx, [esi + 0x70]
push eax
push ecx
lea edx, [esp + 0x14c]
push str._lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x14
lea eax, [esp + 0x140]
push 0x200
push eax
lea ecx, [esp + 0x48]
push str.DetectEdge
lea edx, [esp + 0x18]
push ecx
push edx
push edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x418968
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
lea edx, [esi + 0x98]
push ecx
lea eax, [esi + 0x90]
push edx
lea ecx, [esp + 0x54c]
push eax
push ecx
lea edx, [esp + 0x154]
push str._s_lf_lf_lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x55c]
push str.RISE
push eax
call edi
add esp, 0x24
test eax, eax
jne 0x4188c2
mov dword [esi + 0x88], 1
jmp 0x418910
lea ecx, [esp + 0x540]
push str.FALL
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4188e4
mov dword [esi + 0x88], 2
jmp 0x418910
lea edx, [esp + 0x540]
push str.CHANGE
push edx
call edi
add esp, 8
test eax, eax
jne 0x418906
mov dword [esi + 0x88], 3
jmp 0x418910
mov dword [esi + 0x88], 0
fld qword [esp + 0x20]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x418931
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xa0], eax
fld qword [esp + 0x30]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41895d
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x10]
add esi, 0xa8
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
add eax, 0x15
cmp eax, 0x2a0
mov dword [esp + 0x18], eax
jle 0x418587
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 0x7db
lea esi, [eax + 0x1f50]
mov dword [esp + 0x14], esi
mov ecx, 0x14
xor eax, eax
mov edi, esi
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
push 0x4345f4
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x50]
push str.MessageNo
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00411a80
add esp, 0x1c
test eax, eax
je 0x418dc6
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push str.MessageNo
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x418a6b
push 0x200
lea eax, [esp + 0x544]
push 9
lea ecx, [esp + 0x148]
push eax
push ecx
call fcn.00423d90
push 0xa
lea edx, [esp + 0x554]
push 0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov dword [esi], eax
push 0xc
add esi, 4
push 9
push esi
push edi
call fcn.00423d90
add esp, 0x2c
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.Channel
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
xor edi, edi
inc eax
mov dword [esp + 0x2c], edi
add ebx, eax
cmp word [esp + 0x140], di
je 0x418b1b
lea ecx, [esp + 0x140]
lea esi, [esp + 0x140]
test ecx, ecx
je 0x418b1b
cmp edi, 8
jge 0x418b1b
push 0x200
lea edx, [esp + 0x544]
push 9
push edx
push esi
call fcn.00423d90
add esp, 0x10
cmp word [esp + 0x540], 0
mov esi, eax
je 0x418b03
lea eax, [esp + 0x540]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x10]
add esp, 4
add ecx, edi
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
add eax, edi
cmp dword [ecx + eax*4], 0
jle 0x418b16
mov dword [esp + 0x2c], edi
inc edi
test esi, esi
jne 0x418abc
mov edx, dword [esp + 0x1c]
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 0x2c]
xor eax, eax
cmp eax, edi
jge 0x418b42
lea ecx, [edx + eax]
cmp dword [esi + ecx*4], 0
lea ecx, [esi + ecx*4]
jg 0x418b40
mov dword [ecx], 0xffffffff
jmp 0x418b4e
cmp eax, edi
jle 0x418b4e
lea ecx, [edx + eax]
mov dword [esi + ecx*4], 0
inc eax
cmp eax, 8
jl 0x418b28
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x140]
push 0x200
push edx
lea eax, [esp + 0x48]
push str.DO_Type
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x158]
inc eax
push edx
add ebx, eax
call fcn.004250f0
lea eax, [esp + 0x15c]
push str.PULSE_NEG
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
mov esi, dword [esp + 0x38]
add esp, 0x24
test eax, eax
jne 0x418bb4
mov dword [esi + 0x3c], 1
jmp 0x418bbb
mov dword [esi + 0x3c], 0
lea ecx, [esp + 0x140]
push 0x200
push ecx
lea edx, [esp + 0x48]
push str.DO_Delay
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esp + 0x48]
inc eax
lea edx, [esp + 0x38]
add ebx, eax
push ecx
push edx
lea eax, [esp + 0x160]
push str._lf_lf
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [esp + 0x48]
fmul qword [0x42e518]
fld qword [0x42e450]
add esp, 0x28
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x418c45
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x40], eax
fld qword [esp + 0x30]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x418c6e
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esi + 0x44], eax
push 0
lea edx, [esp + 0x4c]
push str.DO_Freq
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call fcn.00412980
fld qword [esp + 0x3c]
fcomp qword [0x42e450]
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
add ebx, eax
fnstsw ax
test ah, 0x41
je 0x418cb6
xor eax, eax
jmp 0x418d6e
fld qword [0x42e518]
fdiv qword [esp + 0x20]
sub esp, 8
fadd qword [0x42e478]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fcomp qword [0x42e4d8]
add esp, 8
fnstsw ax
test ah, 1
jne 0x418d0e
fld qword [0x42e518]
fdiv qword [esp + 0x20]
sub esp, 8
fadd qword [0x42e478]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fcomp qword [0x42e4d0]
add esp, 8
fnstsw ax
test ah, 1
je 0x418d63
fld qword [0x42e518]
fdiv qword [esp + 0x20]
sub esp, 8
fadd qword [0x42e478]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
fcomp qword [0x42e4d8]
add esp, 8
fnstsw ax
test ah, 1
je 0x418d42
fld qword [0x42e4d8]
jmp 0x418d69
fld qword [0x42e518]
fdiv qword [esp + 0x20]
sub esp, 8
fadd qword [0x42e478]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
jmp 0x418d69
fld qword [0x42e4d0]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x20]
push 0
push ecx
mov dword [esi + 0x4c], eax
push 0
lea edx, [esp + 0x4c]
push str.DO_Duration
lea eax, [esp + 0x1c]
push edx
push eax
push edi
call fcn.00412980
fld qword [esp + 0x3c]
fmul qword [0x42e518]
fld qword [0x42e450]
add esp, 0x1c
neg eax
sbb eax, eax
fcomp st(1)
inc eax
add ebx, eax
fnstsw ax
test ah, 0x41
jne 0x418dba
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x48], eax
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esi, 0x50
inc eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 0x14
cmp eax, 0xa47
mov dword [esp + 0x1c], eax
jle 0x4189aa
mov ecx, dword [ebp + 0x10]
mov eax, 0xffffd6b0
sub eax, ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], 0x1c2
lea esi, [ecx + 0x3760]
mov dword [esp + 0x2c], eax
mov ecx, 0x384
xor eax, eax
mov edi, esi
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push ecx
push str.ComIn
push str._s_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
lea eax, [esp + 0x50]
push str.MessageNo
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00411a80
add esp, 0x1c
test eax, eax
je 0x4195c3
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push str.MessageNo
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x418ed1
push 0x200
lea eax, [esp + 0x544]
push 9
lea ecx, [esp + 0x148]
push eax
push ecx
call fcn.00423d90
push 0xa
lea edx, [esp + 0x554]
push 0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov dword [esi], eax
push 0xc
lea eax, [esi + 4]
push 9
push eax
push edi
call fcn.00423d90
add esp, 0x2c
lea ecx, [esp + 0x140]
push 0x200
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x48]
push str.ComPort
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call fcn.00412af0
mov edi, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 3
neg eax
sbb eax, eax
lea edx, [esp + 0x15c]
inc eax
push 0x432eb8
push edx
add ebx, eax
call edi
add esp, 0x24
test eax, eax
je 0x418f57
push 4
lea eax, [esp + 0x144]
push str.BASE
push eax
call edi
add esp, 0xc
test eax, eax
je 0x418f57
push 0x20
lea ecx, [esi + 0x5c]
push 9
lea edx, [esp + 0x148]
push ecx
push edx
call fcn.00423d90
add esp, 0x10
mov dword [esi + 0x9c], 0
jmp 0x418f8a
mov ecx, dword [ebp + 0x10]
cmp word [ecx + 0x6b8], 0
lea eax, [ecx + 0x6b8]
jne 0x418f70
lea eax, [ecx + 0x700]
push eax
lea eax, [esi + 0x1c]
push 0x12c0
lea ecx, [esp + 0x148]
push eax
push ecx
call fcn.00412bd0
add esp, 0x10
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push str.SetupString
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
xor edi, edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], di
je 0x41900e
lea ecx, [esp + 0x140]
lea eax, [esp + 0x140]
test ecx, ecx
je 0x41900e
lea edx, [esi + 0xf4]
mov dword [esp + 0x18], edx
cmp edi, 0xa
jge 0x41900e
mov ecx, dword [esp + 0x18]
push 0x80
push 9
push ecx
push eax
call fcn.00423d90
mov edx, dword [esp + 0x28]
add esp, 0x10
inc edi
add edx, 0x100
test eax, eax
mov dword [esp + 0x18], edx
jne 0x418fe1
mov edx, dword [esp + 0x2c]
lea ecx, [esi + 0xbf4]
shl edi, 8
lea eax, [edx + esi]
push 0x80
mov dword [esp + 0x40], eax
add edi, eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x48]
mov word [edi + eax + 0x2a44], 0
push str.RequestString
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x158]
inc eax
push 0x200
add ebx, eax
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x60]
push str.CycleTiming
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esp + 0x50]
inc eax
lea edx, [esp + 0x170]
add ebx, eax
lea eax, [esp + 0x60]
push eax
push ecx
push str._lf_lf
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [esp + 0x60]
fmul qword [0x42e518]
fld qword [0x42e450]
add esp, 0x40
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4190e3
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xcf4], eax
fld qword [esp + 0x30]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41910f
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xcf8], eax
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.Terminator
lea edx, [esp + 0x18]
push ecx
push edx
push eax
xor edi, edi
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], di
je 0x4191b2
lea edx, [esp + 0x140]
lea ecx, [esp + 0x140]
test edx, edx
mov dword [esp + 0x14], ecx
je 0x4191b2
cmp edi, 0xa
jge 0x4191b2
mov ecx, dword [esp + 0x14]
push 0x200
lea eax, [esp + 0x544]
push 0
push eax
push ecx
call fcn.00423d90
push 0xa
lea edx, [esp + 0x554]
push 0
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov byte [edi + esi + 0xcfc], al
mov eax, dword [esp + 0x30]
add esp, 0x1c
inc edi
test eax, eax
jne 0x41916b
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x10]
add eax, edi
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
mov byte [eax + ecx + 0x364c], 0
lea eax, [esp + 0x48]
push str.Parsing
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41930c
push 0x200
lea eax, [esp + 0x544]
push 9
lea ecx, [esp + 0x148]
push eax
push ecx
call fcn.00423d90
mov edi, eax
lea edx, [esi + 0xd06]
push 0x80
lea eax, [esp + 0x554]
push edx
push eax
call fcn.00425420
push 0x200
lea ecx, [esp + 0x560]
push 9
push ecx
push edi
call fcn.00423d90
push 0xa
lea edx, [esp + 0x570]
push 0
push edx
mov edi, eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov dword [esi + 0xd88], eax
push 0x200
lea eax, [esp + 0x57c]
push 9
push eax
push edi
call fcn.00423d90
add esp, 0x48
lea ecx, [esp + 0x540]
mov edi, eax
push 0xa
push 0
push ecx
call dword [sym.imp.MSVCRT.dll_wcstol]
push 0x200
lea edx, [esp + 0x550]
push 9
push edx
push edi
mov dword [esi + 0xd8c], eax
call fcn.00423d90
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea eax, [esp + 0x55c]
push 0x432e74
push eax
call edi
add esp, 0x24
test eax, eax
je 0x419302
lea ecx, [esp + 0x540]
push 0x432e6c
push ecx
call edi
add esp, 8
test eax, eax
je 0x419302
lea edx, [esp + 0x540]
push 0x432e68
push edx
call edi
add esp, 8
test eax, eax
je 0x419302
mov dword [esi + 0xd90], 0
jmp 0x41930c
mov dword [esi + 0xd90], 0xff
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.Linearisation
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0xdc0]
inc eax
lea edx, [esi + 0xdb8]
add ebx, eax
push ecx
lea eax, [esi + 0xdb0]
push edx
lea ecx, [esi + 0xda8]
push eax
lea edx, [esi + 0xda0]
push ecx
lea eax, [esi + 0xd98]
push edx
push eax
lea ecx, [esp + 0x170]
push str._lf_lf_lf_lf_lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x38
cmp eax, 6
jge 0x4193a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
add edx, eax
lea edi, [ecx + edx*8 + 0x36e8]
mov ecx, 6
sub ecx, eax
shl ecx, 1
and ecx, 0x3ffffffe
xor eax, eax
rep stosd dword es:[edi], eax
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push str.Filter
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00412af0
neg eax
sbb eax, eax
lea edi, [esi + 0xdd0]
inc eax
push edi
add ebx, eax
lea eax, [esi + 0xdc8]
push eax
lea ecx, [esp + 0x160]
push str._lf_d
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
mov eax, dword [edi]
add esp, 0x28
test eax, eax
jl 0x4193fb
cmp eax, 0xf
jge 0x419407
xor edx, edx
test eax, eax
setl dl
dec edx
and eax, edx
jmp 0x41940c
mov eax, 0xf
mov dword [edi], eax
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.DetectVal
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00412af0
neg eax
sbb eax, eax
mov edi, dword [sym.imp.MSVCRT.dll_swscanf]
inc eax
lea ecx, [esi + 0xde8]
add ebx, eax
lea edx, [esi + 0xde0]
push ecx
lea eax, [esi + 0xdd8]
push edx
push eax
lea ecx, [esp + 0x164]
push str._lf_lf_lf
push ecx
call edi
lea edx, [esp + 0x16c]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x74]
push str.DetectEdge
lea ecx, [esp + 0x44]
push eax
push ecx
push edx
call fcn.00412af0
add esp, 0x44
lea ecx, [esp + 0x20]
neg eax
sbb eax, eax
lea edx, [esi + 0xe00]
inc eax
add ebx, eax
lea eax, [esp + 0x30]
push eax
push ecx
lea eax, [esi + 0xdf8]
push edx
lea ecx, [esp + 0x54c]
push eax
push ecx
lea edx, [esp + 0x154]
push str._s_lf_lf_lf_lf
push edx
call edi
mov edi, eax
lea eax, [esp + 0x55c]
push str.RISE
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0x24
test eax, eax
jne 0x4194ea
mov dword [esi + 0xdf0], 1
jmp 0x419566
lea ecx, [esp + 0x540]
push str.FALL
push ecx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x419510
mov dword [esi + 0xdf0], 2
jmp 0x419566
lea edx, [esp + 0x540]
push str.CHANGE
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x419536
mov dword [esi + 0xdf0], 3
jmp 0x419566
lea eax, [esp + 0x540]
push 0x434548
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x41955c
mov dword [esi + 0xdf0], 4
jmp 0x419566
mov dword [esi + 0xdf0], 0
cmp edi, 4
jle 0x4195c3
fld qword [esp + 0x20]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x41958c
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xe08], eax
fld qword [esp + 0x30]
fmul qword [0x42e518]
fld qword [0x42e450]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4195b8
fstp st(0)
fld qword [0x42e450]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0xe0c], eax
mov eax, dword [esp + 0x10]
add esi, 0xe10
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
add eax, 0x1c2
cmp eax, 0xfd2
mov dword [esp + 0x1c], eax
jle 0x418e10
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], 1
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x3c], 0x30
lea esi, [ecx + 0xb9b0]
mov edx, dword [esp + 0x10]
mov ecx, 0xf0
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push edx
push str.RfID
lea eax, [esp + 0x48]
push str._s_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
lea ecx, [esp + 0x50]
push str.Messages
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00411a80
add esp, 0x1c
test eax, eax
je 0x419a92
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.Messages
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x419774
lea ecx, [esp + 0x140]
mov dword [esp + 0x18], 1
test ecx, ecx
lea eax, [esp + 0x140]
je 0x419774
jmp 0x4196b1
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], 4
jg 0x419774
push 0x200
lea edx, [esp + 0x544]
push 9
push edx
push eax
call fcn.00423d90
add esp, 0x10
cmp word [esp + 0x540], 0
mov dword [esp + 0x14], eax
je 0x41975f
lea ecx, [esp + 0x540]
xor edi, edi
lea eax, [esp + 0x540]
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x41975f
cmp edi, 5
jg 0x41975f
mov eax, dword [esp + 0x1c]
push 0x80
lea edx, [esp + 0x944]
push 0x3b
push edx
push eax
call fcn.00423d90
add esp, 0x10
cmp word [esp + 0x940], 0
mov dword [esp + 0x1c], eax
je 0x419756
lea ecx, [esp + 0x940]
push ecx
call dword [sym.imp.MSVCRT.dll__wtoi]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add esp, 4
lea ecx, [edx + ecx + 0x91c]
lea edx, [edi + ecx*4]
add ecx, edx
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
mov eax, dword [esp + 0x1c]
inc edi
test eax, eax
jne 0x4196fb
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ecx
test eax, eax
mov dword [esp + 0x18], ecx
jne 0x4196ad
lea eax, [esp + 0x140]
push 0x200
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [esp + 0x48]
push str.IPAddress
lea edx, [esp + 0x18]
lea edi, [esi + 0xa4]
push ecx
push edx
mov word [esi], 0
push eax
mov word [edi], 0
call fcn.00412af0
add esp, 0x18
neg eax
sbb eax, eax
inc eax
add ebx, eax
cmp word [esp + 0x140], 0
je 0x41985d
push 0x200
lea ecx, [esp + 0x544]
push 9
lea edx, [esp + 0x148]
push ecx
push edx
call fcn.00423d90
mov dword [esp + 0x24], eax
lea eax, [esp + 0x550]
push eax
call fcn.00425450
add esp, 0x14
dec eax
neg eax
sbb eax, eax
lea ecx, [esp + 0x540]
inc eax
jne 0x419806
mov ecx, 0x4401b4
neg eax
sbb eax, eax
and eax, 0x1ff
inc eax
push eax
push ecx
push edi
call fcn.00423f90
mov edx, dword [esp + 0x20]
push 0x200
lea ecx, [esp + 0x550]
push 9
push ecx
push edx
call fcn.00423d90
mov dword [esp + 0x30], eax
push 0xa
lea eax, [esp + 0x560]
push 0
push eax
call dword [sym.imp.MSVCRT.dll_wcstol]
mov ecx, dword [esp + 0x3c]
push 0x20
push 9
push esi
push ecx
mov word [edi + 0x40], ax
call fcn.00423d90
add esp, 0x38
mov edi, dword [ebp + 0xc]
lea edx, [esi + 0xe6]
push 0x20
push edx
lea eax, [esp + 0x48]
push str.RequestString
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x158]
inc eax
push 0x200
add ebx, eax
push edx
lea eax, [esp + 0x60]
push str.ReqInterval
lea ecx, [esp + 0x30]
push eax
push ecx
push edi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x60]
inc eax
push edx
add ebx, eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x178]
push str._lf_lf
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [esp + 0x60]
fmul qword [0x42e518]
add esp, 0x40
call sub.MSVCRT.dll__ftol
xor edx, edx
test eax, eax
setl dl
dec edx
and eax, edx
mov dword [esi + 0x128], eax
fld qword [esp + 0x30]
fmul qword [0x42e518]
call sub.MSVCRT.dll__ftol
xor ecx, ecx
lea edx, [esp + 0x140]
test eax, eax
setl cl
dec ecx
push 0x200
and eax, ecx
push edx
mov dword [esi + 0x12c], eax
lea eax, [esp + 0x48]
push str.TagDetect
lea ecx, [esp + 0x18]
push eax
push ecx
push edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.00412af0
neg eax
sbb eax, eax
lea edx, [esp + 0x38]
inc eax
push edx
add ebx, eax
lea eax, [esi + 0x130]
push eax
push str._d_lf
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
fld qword [esp + 0x48]
fmul qword [0x42e518]
call sub.MSVCRT.dll__ftol
xor edx, edx
push 0x200
test eax, eax
setl dl
dec edx
lea ecx, [esp + 0x6c]
and eax, edx
lea edx, [esp + 0x38]
mov dword [esi + 0x134], eax
lea eax, [esp + 0x16c]
push eax
push str.TagFilter
push ecx
push edx
push edi
call fcn.00412af0
add esp, 0x40
neg eax
sbb eax, eax
xor edi, edi
inc eax
add ebx, eax
cmp word [esp + 0x140], di
je 0x419a42
lea ecx, [esp + 0x140]
lea eax, [esp + 0x140]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x419a42
cmp edi, 0xa
jge 0x419a42
mov eax, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x544]
push 0
push edx
push eax
call fcn.00423d90
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
add edx, edi
lea ecx, [esp + 0x550]
push 0x20
shl edx, 6
push ecx
lea ecx, [edx + eax + 0xb728]
push ecx
call fcn.00423f90
mov eax, dword [esp + 0x30]
add esp, 0x1c
inc edi
test eax, eax
jne 0x4199f1
lea edx, [esp + 0x140]
push 0x200
push edx
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push str.AntFilter
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.00412af0
neg eax
sbb eax, eax
lea ecx, [esi + 0x3b8]
inc eax
lea edx, [esp + 0x158]
add ebx, eax
lea eax, [esi + 0x3bc]
push eax
push ecx
push str._d_d
push edx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0x28
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x2c]
add eax, 0x30
inc edx
add edi, 0xf
add esi, 0x3c0
cmp eax, 0x1b0
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], edi
jle 0x41960b
lea eax, [esp + 0xc]
push eax
call fcn.00411610
add esp, 4
xor eax, eax
test ebx, ebx
pop edi
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret