Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push str.CM44_F_34C_DA_UTILIZZARE_CON_FOTOCELLULE_SU_PIASTRE_A_14_LED__controllo_di_checksum
push str.COMELZ_spa._Upgrade__s_n_n
call fcn.00402c87
add esp, 8
push 0x40e4e4
push 0x40e414
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x401134
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x1c200
jmp 0x401272
push str.Serial_port__1_4__ESCCancel__:
call fcn.00402c87
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
jne 0x401272
call fcn.00407b95
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40116a
call fcn.00407b95
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0x1b
je 0x4011ac
cmp dword [ebp - 0x9c], 0x30
jle 0x4011c0
cmp dword [ebp - 0x9c], 0x34
jle 0x401190
jmp 0x4011c0
mov ecx, dword [ebp - 0x18]
sub ecx, 0x30
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push str._i_n_n
call fcn.00402c87
add esp, 8
jmp 0x4011c0
push str._n_nUpgrade_aborted_n
call fcn.00402c87
add esp, 4
push 1
call fcn.00402c47
push str.CM44
push 0x40e41c
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x4011e2
mov dword [ebp - 8], 0x4b00
jmp 0x40126d
push str.Speed__19600__219200__3115200__ESCCancel__:
call fcn.00402c87
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0
jne 0x40126d
call fcn.00407b95
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x401214
call fcn.00407b95
neg eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
sub ecx, 0x1b
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0x18
ja case.0x401242.1
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx + 0x401ef1]
jmp dword [eax*4 + 0x401edd]
mov dword [ebp - 8], 0x2580
jmp case.0x401242.1
mov dword [ebp - 8], 0x4b00
jmp case.0x401242.1
mov dword [ebp - 8], 0x1c200
jmp case.0x401242.1
push 1
call fcn.00402c47
jmp 0x4011f6
jmp 0x401148
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004027b0
add esp, 8
push str._nAttesa_accensione_CM44cn
call fcn.00402c87
add esp, 4
call fcn.00402a90
call fcn.00402ab0
call fcn.00402790
mov dword [ebp - 0x44], eax
call fcn.00402790
sub eax, dword [ebp - 0x44]
cmp eax, 0x48
jge 0x4012b0
jmp 0x4012a1
push 0x40e584
call fcn.00401030
add esp, 4
call fcn.00402ad0
push str._nInitializing...
call fcn.00402c87
add esp, 4
push 0x40e59c
call fcn.00401030
add esp, 4
push 0x40e5a0
call fcn.00401030
add esp, 4
push 0x40e5a4
call fcn.00401030
add esp, 4
call fcn.00402790
mov dword [ebp - 0x48], eax
call fcn.00402790
sub eax, dword [ebp - 0x48]
cmp eax, 0x12
jge 0x40130d
jmp 0x4012fe
call fcn.00402970
push 0x40e5a8
call fcn.00401030
add esp, 4
call fcn.00402790
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x24], 0
jmp 0x401345
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x401374
call fcn.00402a20
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x401368
call fcn.00402790
sub eax, dword [ebp - 0x30]
cmp eax, 0x12
jge 0x401368
jmp 0x40134b
mov ecx, dword [ebp - 0x24]
mov dl, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3c], dl
jmp 0x40133c
push 0x40e5ac
lea eax, [ebp - 0x3c]
push eax
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x401392
mov dword [ebp - 0x20], 3
jmp 0x4013c9
push 0x40e5b0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x4013b0
mov dword [ebp - 0x20], 2
jmp 0x4013c9
push 0x40e5b4
call fcn.00402c87
add esp, 4
call section..text
push 1
call fcn.00402c47
call fcn.00402970
push str.Ok._n
call fcn.00402c87
add esp, 4
push str._nProgram_upload...
call fcn.00402c87
add esp, 4
cmp dword [ebp - 0x20], 2
jne 0x401420
push str.C2...
call fcn.00402c87
add esp, 4
push str.LA4000_r
call fcn.00401030
add esp, 4
push 1
push 0x40e608
call fcn.00401060
add esp, 8
mov dword [ebp - 0x28], 0x40a040
jmp 0x401456
cmp dword [ebp - 0x20], 3
jne 0x401456
push 0x40e60c
call fcn.00402c87
add esp, 4
push str.LA8800_r
call fcn.00401030
add esp, 4
push 1
push 0x40e61c
call fcn.00401060
add esp, 8
mov dword [ebp - 0x28], 0x40b0a0
mov edx, dword [ebp - 0x28]
mov ax, word [edx]
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
movzx edx, word [ebp - 0x2c]
test edx, edx
je 0x40157c
cmp dword [ebp - 0x1c], 0
jne 0x401496
push 0x40e620
call fcn.00401030
add esp, 4
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
push str._04X
lea eax, [ebp - 0x3c]
push eax
call fcn.00402e88
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00401030
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xc
jne 0x40156b
push 0x40e62c
call fcn.00401030
add esp, 4
push 1
push 0x40e630
call fcn.00401060
add esp, 8
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 4
jne 0x401564
mov edx, dword [0x4117c4]
sub edx, 1
mov dword [0x4117c4], edx
js 0x401548
mov eax, dword [0x4117c0]
mov byte [eax], 0x2e
mov ecx, 0x2e
and ecx, 0xff
mov dword [ebp - 0xa8], ecx
mov edx, dword [0x4117c0]
add edx, 1
mov dword [0x4117c0], edx
jmp 0x40155d
push 0x4117c0
push 0x2e
call fcn.00402cb8
add esp, 8
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], 0
mov ax, word [ebp - 0x2c]
sub ax, 1
mov word [ebp - 0x2c], ax
jmp 0x401477
cmp dword [ebp - 0x1c], 0
jle 0x40159e
push 0x40e634
call fcn.00401030
add esp, 4
push 1
push 0x40e638
call fcn.00401060
add esp, 8
push 0x40e63c
call fcn.00402c87
add esp, 4
push str.Data_upload...
call fcn.00402c87
add esp, 4
push str.D0100_r
call fcn.00401030
add esp, 4
push 0xa
push str.______
call fcn.00401060
add esp, 8
call fcn.00402a20
mov byte [ebp - 0x14], al
movsx ecx, byte [ebp - 0x14]
cmp ecx, 0xffffffff
jne 0x4015e7
jmp 0x4015d4
movsx edx, byte [ebp - 0x14]
cmp edx, 0x30
je 0x401e63
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x14]
push eax
push str.Programmazione_di__s_schede_con_F240_n
call fcn.00402c87
add esp, 8
mov dword [0x412060], 0
mov dword [ebp - 0x4c], 0x40c018
mov ecx, dword [ebp - 0x4c]
mov dx, word [ecx]
mov word [ebp - 0x50], dx
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [ebp - 0x4c], eax
movzx ecx, word [ebp - 0x50]
and ecx, 0xff
push ecx
call fcn.00402990
add esp, 4
movzx edx, word [ebp - 0x50]
sar edx, 8
push edx
call fcn.00402990
add esp, 4
movzx eax, word [ebp - 0x50]
test eax, eax
je 0x4016a7
mov ecx, dword [ebp - 0x4c]
movzx edx, word [ecx]
and edx, 0xff
push edx
call fcn.00402990
add esp, 4
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
sar ecx, 8
push ecx
call fcn.00402990
add esp, 4
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx]
add eax, dword [0x412060]
mov dword [0x412060], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 2
mov dword [ebp - 0x4c], ecx
mov dx, word [ebp - 0x50]
sub dx, 1
mov word [ebp - 0x50], dx
jmp 0x401650
mov eax, dword [0x412060]
and eax, 0xff
push eax
call fcn.00402990
add esp, 4
mov ecx, dword [0x412060]
shr ecx, 8
push ecx
call fcn.00402990
add esp, 4
push 0x40e688
push 0x40e68c
call fcn.00401f10
add esp, 8
test eax, eax
je 0x4016e4
jmp 0x4016e9
jmp 0x401609
mov dword [0x412060], 0
mov dword [ebp - 0x54], 0x40c118
mov edx, dword [ebp - 0x54]
mov ax, word [edx]
mov word [ebp - 0x58], ax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov dword [ebp - 0x54], ecx
movzx edx, word [ebp - 0x58]
and edx, 0xff
push edx
call fcn.00402990
add esp, 4
movzx eax, word [ebp - 0x58]
sar eax, 8
push eax
call fcn.00402990
add esp, 4
movzx ecx, word [ebp - 0x58]
test ecx, ecx
je 0x401787
mov edx, dword [ebp - 0x54]
movzx eax, word [edx]
and eax, 0xff
push eax
call fcn.00402990
add esp, 4
mov ecx, dword [ebp - 0x54]
movzx edx, word [ecx]
sar edx, 8
push edx
call fcn.00402990
add esp, 4
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
add ecx, dword [0x412060]
mov dword [0x412060], ecx
mov edx, dword [ebp - 0x54]
add edx, 2
mov dword [ebp - 0x54], edx
mov ax, word [ebp - 0x58]
sub ax, 1
mov word [ebp - 0x58], ax
jmp 0x401730
mov ecx, dword [0x412060]
and ecx, 0xff
push ecx
call fcn.00402990
add esp, 4
mov edx, dword [0x412060]
shr edx, 8
push edx
call fcn.00402990
add esp, 4
push 0x40e690
push 0x40e694
call fcn.00401f10
add esp, 8
test eax, eax
je 0x4017c6
jmp 0x4017cb
jmp 0x4016e9
mov dword [0x412060], 0
mov dword [ebp - 0x5c], 0x40c238
mov eax, dword [ebp - 0x5c]
mov cx, word [eax]
mov word [ebp - 0x60], cx
mov edx, dword [ebp - 0x5c]
add edx, 2
mov dword [ebp - 0x5c], edx
movzx eax, word [ebp - 0x60]
and eax, 0xff
push eax
call fcn.00402990
add esp, 4
movzx ecx, word [ebp - 0x60]
sar ecx, 8
push ecx
call fcn.00402990
add esp, 4
movzx edx, word [ebp - 0x60]
test edx, edx
je 0x401869
mov eax, dword [ebp - 0x5c]
movzx ecx, word [eax]
and ecx, 0xff
push ecx
call fcn.00402990
add esp, 4
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx]
sar eax, 8
push eax
call fcn.00402990
add esp, 4
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx]
add edx, dword [0x412060]
mov dword [0x412060], edx
mov eax, dword [ebp - 0x5c]
add eax, 2
mov dword [ebp - 0x5c], eax
mov cx, word [ebp - 0x60]
sub cx, 1
mov word [ebp - 0x60], cx
jmp 0x401811
mov edx, dword [0x412060]
and edx, 0xff
push edx
call fcn.00402990
add esp, 4
mov eax, dword [0x412060]
shr eax, 8
push eax
call fcn.00402990
add esp, 4
push 0x40e698
push 0x40e69c
call fcn.00401f10
add esp, 8
test eax, eax
je 0x4018a7
jmp 0x4018ac
jmp 0x4017cb
mov dword [0x412060], 0
mov dword [ebp - 0x64], 0x40c358
mov ecx, dword [ebp - 0x64]
mov dx, word [ecx]
mov word [ebp - 0x68], dx
mov eax, dword [ebp - 0x64]
add eax, 2
mov dword [ebp - 0x64], eax
movzx ecx, word [ebp - 0x68]
and ecx, 0xff
push ecx
call fcn.00402990
add esp, 4
movzx edx, word [ebp - 0x68]
sar edx, 8
push edx
call fcn.00402990
add esp, 4
mov word [ebp - 0x70], 0
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0x6b], 0
movzx eax, word [ebp - 0x68]
test eax, eax
je 0x4019e4
mov ecx, dword [ebp - 0x64]
movzx edx, word [ecx]
and edx, 0xff
push edx
call fcn.00402990
add esp, 4
mov eax, dword [ebp - 0x64]
movzx ecx, word [eax]
sar ecx, 8
push ecx
call fcn.00402990
add esp, 4
mov edx, dword [ebp - 0x64]
movzx eax, word [edx]
add eax, dword [0x412060]
mov dword [0x412060], eax
mov ecx, dword [ebp - 0x64]
add ecx, 2
mov dword [ebp - 0x64], ecx
mov dx, word [ebp - 0x68]
sub dx, 1
mov word [ebp - 0x68], dx
mov ax, word [ebp - 0x70]
add ax, 1
mov word [ebp - 0x70], ax
movzx ecx, word [ebp - 0x70]
cmp ecx, 0x100
jne 0x4019df
mov dl, byte [ebp - 0x6c]
add dl, 1
mov byte [ebp - 0x6c], dl
mov word [ebp - 0x70], 0
push 1
lea eax, [ebp - 0x6c]
push eax
call fcn.00401060
add esp, 8
mov ecx, dword [0x4117c4]
sub ecx, 1
mov dword [0x4117c4], ecx
js 0x4019ca
mov edx, dword [0x4117c0]
mov byte [edx], 0x2e
mov eax, 0x2e
and eax, 0xff
mov dword [ebp - 0xac], eax
mov ecx, dword [0x4117c0]
add ecx, 1
mov dword [0x4117c0], ecx
jmp 0x4019df
push 0x4117c0
push 0x2e
call fcn.00402cb8
add esp, 8
mov dword [ebp - 0xac], eax
jmp 0x401901
movzx edx, word [ebp - 0x70]
test edx, edx
je 0x401a58
mov al, byte [ebp - 0x6c]
add al, 1
mov byte [ebp - 0x6c], al
mov word [ebp - 0x70], 0
push 1
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00401060
add esp, 8
mov edx, dword [0x4117c4]
sub edx, 1
mov dword [0x4117c4], edx
js 0x401a43
mov eax, dword [0x4117c0]
mov byte [eax], 0x2e
mov ecx, 0x2e
and ecx, 0xff
mov dword [ebp - 0xb0], ecx
mov edx, dword [0x4117c0]
add edx, 1
mov dword [0x4117c0], edx
jmp 0x401a58
push 0x4117c0
push 0x2e
call fcn.00402cb8
add esp, 8
mov dword [ebp - 0xb0], eax
mov eax, dword [0x412060]
and eax, 0xff
push eax
call fcn.00402990
add esp, 4
mov ecx, dword [0x412060]
shr ecx, 8
push ecx
call fcn.00402990
add esp, 4
push 0x40e6a0
push 0x40e6a4
call fcn.00401f10
add esp, 8
test eax, eax
je 0x401aa2
push 0x40e6a8
call fcn.00402c87
add esp, 4
jmp 0x401aa7
jmp 0x4018ac
push 0x40e6ac
call fcn.00402c87
add esp, 4
push 0x1e
push 0x40e6b8
call fcn.00401060
add esp, 8
push 0x40e6bc
call fcn.00402c87
add esp, 4
push 0x40e6c0
call fcn.00402c87
add esp, 4
push 0x1e
push 0x40e6cc
call fcn.00401060
add esp, 8
push 0x40e6d0
call fcn.00402c87
add esp, 4
push 0x40e6d4
call fcn.00402c87
add esp, 4
mov dword [ebp - 0x78], 0
mov word [ebp - 0x7c], 0
mov dx, word [ebp - 0x7c]
mov word [ebp - 0x74], dx
call fcn.00402a20
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
je 0x401e5e
cmp dword [ebp - 0x94], 0xd
jne 0x401b56
mov dword [ebp - 0x78], 0
mov word [ebp - 0x7c], 0
mov ax, word [ebp - 0x7c]
mov word [ebp - 0x74], ax
jmp 0x401bdb
cmp dword [ebp - 0x94], 0x30
jl 0x401b89
cmp dword [ebp - 0x94], 0x39
jg 0x401b89
movzx ecx, word [ebp - 0x7c]
shl ecx, 4
mov edx, dword [ebp - 0x94]
lea eax, [ecx + edx - 0x30]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x94], 0x58
jmp 0x401bdb
cmp dword [ebp - 0x94], 0x41
jl 0x401bbc
cmp dword [ebp - 0x94], 0x46
jg 0x401bbc
movzx ecx, word [ebp - 0x7c]
shl ecx, 4
mov edx, dword [ebp - 0x94]
lea eax, [ecx + edx - 0x37]
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x94], 0x58
jmp 0x401bdb
cmp dword [ebp - 0x94], 0x28
jne 0x401bdb
mov cx, word [ebp - 0x7c]
mov word [ebp - 0x74], cx
mov word [ebp - 0x7c], 0
mov dx, word [ebp - 0x74]
mov word [ebp - 0x74], dx
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x94]
mov byte [ebp + eax - 0x90], cl
mov edx, dword [ebp - 0x78]
mov byte [ebp + edx - 0x8f], 0
cmp dword [ebp - 0x78], 0x12
jge 0x401c05
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
push 0x40e6e8
lea ecx, [ebp - 0x90]
push ecx
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x401dd0
call fcn.00402790
mov dword [ebp - 0x98], eax
call fcn.00402790
sub eax, dword [ebp - 0x98]
cmp eax, 0x12
jge 0x401c52
call fcn.00402a20
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x401c52
jmp 0x401c2c
cmp dword [ebp - 0x94], 0xffffffff
jne 0x401c74
push 0x40e6ec
call fcn.00402c87
add esp, 4
call section..text
push 1
call fcn.00402c47
cmp dword [ebp - 0x94], 0x41
jne 0x401c8f
push 0x40e714
call fcn.00402c87
add esp, 4
jmp 0x401d48
mov edx, dword [ebp - 0x94]
sub edx, 0x41
and edx, 8
je 0x401ca9
mov dword [ebp - 0xb4], 0x40e73c
jmp 0x401cb3
mov dword [ebp - 0xb4], 0x411e40
mov eax, dword [ebp - 0x94]
sub eax, 0x41
and eax, 4
je 0x401ccd
mov dword [ebp - 0xb8], 0x40e744
jmp 0x401cd7
mov dword [ebp - 0xb8], 0x411e41
mov ecx, dword [ebp - 0x94]
sub ecx, 0x41
and ecx, 2
je 0x401cf1
mov dword [ebp - 0xbc], 0x40e74c
jmp 0x401cfb
mov dword [ebp - 0xbc], 0x411e42
mov edx, dword [ebp - 0x94]
sub edx, 0x41
and edx, 1
je 0x401d15
mov dword [ebp - 0xc0], 0x40e754
jmp 0x401d1f
mov dword [ebp - 0xc0], 0x411e43
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
push 0x40e75c
call fcn.00402c87
add esp, 0x14
call fcn.00402790
mov dword [ebp - 0x98], eax
call fcn.00402790
sub eax, dword [ebp - 0x98]
cmp eax, 0x12
jge 0x401d79
call fcn.00402a20
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
jne 0x401d79
jmp 0x401d53
cmp dword [ebp - 0x94], 0xffffffff
jne 0x401d9b
push 0x40e788
call fcn.00402c87
add esp, 4
call section..text
push 1
call fcn.00402c47
cmp dword [ebp - 0x94], 0x2d
jne 0x401dc3
push 0x40e7b0
call fcn.00402c87
add esp, 4
push 0x40e7c4
call fcn.00402c87
add esp, 4
call section..text
push 0x40e7f4
call fcn.00402c87
add esp, 4
push 0x40e808
lea ecx, [ebp - 0x90]
push ecx
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x401df6
movzx edx, word [ebp - 0x7c]
cmp edx, 0xfe
jne 0x401df6
jmp 0x401e63
push 0x40e810
lea eax, [ebp - 0x90]
push eax
call fcn.00402ee0
add esp, 8
test eax, eax
jne 0x401e5e
mov ecx, dword [0x4117c4]
sub ecx, 1
mov dword [0x4117c4], ecx
js 0x401e49
mov edx, dword [0x4117c0]
mov byte [edx], 0x2e
mov eax, 0x2e
and eax, 0xff
mov dword [ebp - 0xc4], eax
mov ecx, dword [0x4117c0]
add ecx, 1
mov dword [0x4117c0], ecx
jmp 0x401e5e
push 0x4117c0
push 0x2e
call fcn.00402cb8
add esp, 8
mov dword [ebp - 0xc4], eax
jmp 0x401b1b
call fcn.00402a20
mov byte [ebp - 0x14], al
movsx edx, byte [ebp - 0x14]
cmp edx, 0xffffffff
jne 0x401e76
jmp 0x401e63
movsx eax, byte [ebp - 0x14]
cmp eax, 0x30
je 0x401eb4
mov byte [ebp - 0x13], 0
movsx ecx, byte [ebp - 0x14]
sub ecx, 0x30
mov byte [ebp - 0x14], cl
movsx edx, byte [ebp - 0x14]
push edx
push str._n_nProgrammazione_di__2u_schede_con_F2403_n
call fcn.00402c87
add esp, 8
call fcn.00401fb0
test eax, eax
jne 0x401eb4
call section..text
push 1
call fcn.00402c47
push str.Ok_n_n
call fcn.00402c87
add esp, 4
push str.Reprogramming_completed_succesfully._n
call fcn.00402c87
add esp, 4
call section..text
jmp 0x401ed7
xor eax, eax
mov esp, ebp
pop ebp
ret