Function at 0x4010f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push str.CM44___PROIETTORE_v._Bx45
push str.COMELZ_spa._Upgrade__s_n_n
call fcn.00402427
add esp, 8
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 0x1c200
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401f50
add esp, 8
push str._nAttesa_accensione_CM44cn
call fcn.00402427
add esp, 4
call fcn.00402230
call fcn.00402250
call fcn.00401f30
mov dword [ebp - 0x3c], eax
call fcn.00401f30
sub eax, dword [ebp - 0x3c]
cmp eax, 0x48
jge 0x401157
jmp 0x401148
push 0x410254
call fcn.00401030
add esp, 4
call fcn.00402270
push str._nInitializing...
call fcn.00402427
add esp, 4
push 0x41026c
call fcn.00401030
add esp, 4
push 0x410270
call fcn.00401030
add esp, 4
push 0x410274
call fcn.00401030
add esp, 4
call fcn.00401f30
mov dword [ebp - 0x40], eax
call fcn.00401f30
sub eax, dword [ebp - 0x40]
cmp eax, 0x12
jge 0x4011b4
jmp 0x4011a5
call fcn.00402110
push 0x410278
call fcn.00401030
add esp, 4
call fcn.00401f30
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov dword [ebp - 0x28], 0
jmp 0x4011ec
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 2
jge 0x40121b
call fcn.004021c0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xffffffff
jne 0x40120f
call fcn.00401f30
sub eax, dword [ebp - 0x34]
cmp eax, 0x12
jge 0x40120f
jmp 0x4011f2
mov eax, dword [ebp - 0x28]
mov cl, byte [ebp - 0x38]
mov byte [ebp + eax - 0x18], cl
jmp 0x4011e3
push 0x41027c
lea edx, [ebp - 0x18]
push edx
call fcn.00402680
add esp, 8
test eax, eax
jne 0x401239
mov dword [ebp - 0x24], 3
jmp 0x401270
push 0x410280
lea eax, [ebp - 0x18]
push eax
call fcn.00402680
add esp, 8
test eax, eax
jne 0x401257
mov dword [ebp - 0x24], 2
jmp 0x401270
push str._n_nCommunication_error_nProgram_aborted_n
call fcn.00402427
add esp, 4
call section..text
push 1
call fcn.004023e7
call fcn.00402110
push str.Ok._n
call fcn.00402427
add esp, 4
push str._nProgram_upload...
call fcn.00402427
add esp, 4
cmp dword [ebp - 0x24], 2
jne 0x4012c7
push str.C2...
call fcn.00402427
add esp, 4
push str.LA4000_r
call fcn.00401030
add esp, 4
push 1
push 0x4102d8
call fcn.00401060
add esp, 8
mov dword [ebp - 0x2c], 0x40a040
jmp 0x4012fd
cmp dword [ebp - 0x24], 3
jne 0x4012fd
push str.C3...
call fcn.00402427
add esp, 4
push str.LA8800_r
call fcn.00401030
add esp, 4
push 1
push 0x4102ec
call fcn.00401060
add esp, 8
mov dword [ebp - 0x2c], 0x40ac50
mov ecx, dword [ebp - 0x2c]
mov dx, word [ecx]
mov word [ebp - 0x30], dx
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 0
movzx ecx, word [ebp - 0x30]
test ecx, ecx
je 0x401417
cmp dword [ebp - 0x20], 0
jne 0x40133d
push 0x4102f0
call fcn.00401030
add esp, 4
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
push ecx
push str._04X
lea edx, [ebp - 0x18]
push edx
call fcn.00402628
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add eax, 2
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00401030
add esp, 4
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0xc
jne 0x401406
push 0x4102fc
call fcn.00401030
add esp, 4
push 1
push 0x410300
call fcn.00401060
add esp, 8
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 4
jne 0x4013ff
mov ecx, dword [0x414564]
sub ecx, 1
mov dword [0x414564], ecx
js 0x4013e6
mov edx, dword [0x414560]
mov byte [edx], 0x2e
mov eax, 0x2e
and eax, 0xff
mov dword [ebp - 0x78], eax
mov ecx, dword [0x414560]
add ecx, 1
mov dword [0x414560], ecx
jmp 0x4013f8
push 0x414560
push 0x2e
call fcn.00402458
add esp, 8
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x20], 0
mov dx, word [ebp - 0x30]
sub dx, 1
mov word [ebp - 0x30], dx
jmp 0x40131e
cmp dword [ebp - 0x20], 0
jle 0x401439
push 0x410304
call fcn.00401030
add esp, 4
push 1
push 0x410308
call fcn.00401060
add esp, 8
push 0x41030c
call fcn.00402427
add esp, 4
push str.Data_upload...
call fcn.00402427
add esp, 4
push str.D0001_r
call fcn.00401030
add esp, 4
push 0xa
push str.______
call fcn.00401060
add esp, 8
call fcn.004021c0
mov byte [ebp - 0x18], al
movsx eax, byte [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x401482
jmp 0x40146f
movsx ecx, byte [ebp - 0x18]
cmp ecx, 0x30
jne 0x4018dc
push str.Programmazione_per_F240_n
call fcn.00402427
add esp, 4
mov dword [ebp - 0x44], 0x40b8d0
mov edx, dword [ebp - 0x44]
mov ax, word [edx]
mov word [ebp - 0x48], ax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov dword [ebp - 0x44], ecx
movzx edx, word [ebp - 0x48]
and edx, 0xff
push edx
call fcn.00402130
add esp, 4
movzx eax, word [ebp - 0x48]
sar eax, 8
push eax
call fcn.00402130
add esp, 4
movzx ecx, word [ebp - 0x48]
test ecx, ecx
je 0x40151e
mov edx, dword [ebp - 0x44]
movzx eax, word [edx]
and eax, 0xff
push eax
call fcn.00402130
add esp, 4
mov ecx, dword [ebp - 0x44]
movzx edx, word [ecx]
sar edx, 8
push edx
call fcn.00402130
add esp, 4
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x44], eax
mov cx, word [ebp - 0x48]
sub cx, 1
mov word [ebp - 0x48], cx
jmp 0x4014d9
push 1
push 0x41034c
call fcn.00401060
add esp, 8
mov edx, dword [0x414564]
sub edx, 1
mov dword [0x414564], edx
js 0x401565
mov eax, dword [0x414560]
mov byte [eax], 0x43
mov ecx, 0x43
and ecx, 0xff
mov dword [ebp - 0x7c], ecx
mov edx, dword [0x414560]
add edx, 1
mov dword [0x414560], edx
jmp 0x401577
push 0x414560
push 0x43
call fcn.00402458
add esp, 8
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x4c], 0x40b9d0
mov eax, dword [ebp - 0x4c]
mov cx, word [eax]
mov word [ebp - 0x50], cx
mov edx, dword [ebp - 0x4c]
add edx, 2
mov dword [ebp - 0x4c], edx
movzx eax, word [ebp - 0x50]
and eax, 0xff
push eax
call fcn.00402130
add esp, 4
movzx ecx, word [ebp - 0x50]
sar ecx, 8
push ecx
call fcn.00402130
add esp, 4
movzx edx, word [ebp - 0x50]
test edx, edx
je 0x4015f9
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
and ecx, 0xff
push ecx
call fcn.00402130
add esp, 4
mov edx, dword [ebp - 0x4c]
movzx eax, word [edx]
sar eax, 8
push eax
call fcn.00402130
add esp, 4
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 0x4015b3
push 1
push 0x410350
call fcn.00401060
add esp, 8
mov eax, dword [0x414564]
sub eax, 1
mov dword [0x414564], eax
js 0x40163d
mov ecx, dword [0x414560]
mov byte [ecx], 0x45
mov edx, 0x45
and edx, 0xff
mov dword [ebp - 0x80], edx
mov eax, dword [0x414560]
add eax, 1
mov dword [0x414560], eax
jmp 0x40164f
push 0x414560
push 0x45
call fcn.00402458
add esp, 8
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x54], 0x40baf0
mov ecx, dword [ebp - 0x54]
mov dx, word [ecx]
mov word [ebp - 0x58], dx
mov eax, dword [ebp - 0x54]
add eax, 2
mov dword [ebp - 0x54], eax
movzx ecx, word [ebp - 0x58]
and ecx, 0xff
push ecx
call fcn.00402130
add esp, 4
movzx edx, word [ebp - 0x58]
sar edx, 8
push edx
call fcn.00402130
add esp, 4
movzx eax, word [ebp - 0x58]
test eax, eax
je 0x4016d2
mov ecx, dword [ebp - 0x54]
movzx edx, word [ecx]
and edx, 0xff
push edx
call fcn.00402130
add esp, 4
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
sar ecx, 8
push ecx
call fcn.00402130
add esp, 4
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 0x40168c
push 1
push 0x410354
call fcn.00401060
add esp, 8
mov ecx, dword [0x414564]
sub ecx, 1
mov dword [0x414564], ecx
js 0x40171c
mov edx, dword [0x414560]
mov byte [edx], 0x50
mov eax, 0x50
and eax, 0xff
mov dword [ebp - 0x84], eax
mov ecx, dword [0x414560]
add ecx, 1
mov dword [0x414560], ecx
jmp 0x401731
push 0x414560
push 0x50
call fcn.00402458
add esp, 8
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x5c], 0x40bc10
mov edx, dword [ebp - 0x5c]
mov ax, word [edx]
mov word [ebp - 0x60], ax
mov ecx, dword [ebp - 0x5c]
add ecx, 2
mov dword [ebp - 0x5c], ecx
movzx edx, word [ebp - 0x60]
and edx, 0xff
push edx
call fcn.00402130
add esp, 4
movzx eax, word [ebp - 0x60]
sar eax, 8
push eax
call fcn.00402130
add esp, 4
mov word [ebp - 0x68], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 0x63], 0
movzx ecx, word [ebp - 0x60]
test ecx, ecx
je 0x401849
mov edx, dword [ebp - 0x5c]
movzx eax, word [edx]
and eax, 0xff
push eax
call fcn.00402130
add esp, 4
mov ecx, dword [ebp - 0x5c]
movzx edx, word [ecx]
sar edx, 8
push edx
call fcn.00402130
add esp, 4
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
mov dx, word [ebp - 0x68]
add dx, 1
mov word [ebp - 0x68], dx
movzx eax, word [ebp - 0x68]
cmp eax, 0x100
jne 0x401844
mov cl, byte [ebp - 0x64]
add cl, 1
mov byte [ebp - 0x64], cl
mov word [ebp - 0x68], 0
push 1
lea edx, [ebp - 0x64]
push edx
call fcn.00401060
add esp, 8
mov eax, dword [0x414564]
sub eax, 1
mov dword [0x414564], eax
js 0x40182f
mov ecx, dword [0x414560]
mov byte [ecx], 0x2e
mov edx, 0x2e
and edx, 0xff
mov dword [ebp - 0x88], edx
mov eax, dword [0x414560]
add eax, 1
mov dword [0x414560], eax
jmp 0x401844
push 0x414560
push 0x2e
call fcn.00402458
add esp, 8
mov dword [ebp - 0x88], eax
jmp 0x40177c
movzx ecx, word [ebp - 0x68]
test ecx, ecx
je 0x4018be
mov dl, byte [ebp - 0x64]
add dl, 1
mov byte [ebp - 0x64], dl
mov word [ebp - 0x68], 0
push 1
lea eax, [ebp - 0x64]
push eax
call fcn.00401060
add esp, 8
mov ecx, dword [0x414564]
sub ecx, 1
mov dword [0x414564], ecx
js 0x4018a9
mov edx, dword [0x414560]
mov byte [edx], 0x2e
mov eax, 0x2e
and eax, 0xff
mov dword [ebp - 0x8c], eax
mov ecx, dword [0x414560]
add ecx, 1
mov dword [0x414560], ecx
jmp 0x4018be
push 0x414560
push 0x2e
call fcn.00402458
add esp, 8
mov dword [ebp - 0x8c], eax
push 1
push 0x410358
call fcn.00401060
add esp, 8
push 0x41035c
call fcn.00402427
add esp, 4
jmp 0x401912
movsx edx, byte [ebp - 0x18]
cmp edx, 0x31
jne 0x4018f9
push str.Programmazione_per_F2407_n
call fcn.00402427
add esp, 4
call fcn.00401af0
jmp 0x401912
push str._n_nCPU_laser_sconosciuta_nProgram_aborted_n
call fcn.00402427
add esp, 4
call section..text
push 1
call fcn.004023e7
push str.Clearing...
call fcn.00402427
add esp, 4
push 0x1e
push 0x4103b4
call fcn.00401060
add esp, 8
push 0x4103b8
call fcn.00402427
add esp, 4
push str.Erasing...
call fcn.00402427
add esp, 4
push 0x1e
push 0x4103c8
call fcn.00401060
add esp, 8
push 0x4103cc
call fcn.00402427
add esp, 4
push str.Reprogramming__n...
call fcn.00402427
add esp, 4
call fcn.00401f30
mov dword [ebp - 0x1c], eax
call fcn.00401f30
sub eax, dword [ebp - 0x1c]
cmp eax, 0x12
jge 0x401988
jmp 0x401979
call fcn.00401f30
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x6c], 0
call fcn.00401f30
sub eax, dword [ebp - 0x1c]
cmp eax, 0x12
jl 0x401a0d
call fcn.00401f30
mov dword [ebp - 0x1c], eax
mov eax, dword [0x414564]
sub eax, 1
mov dword [0x414564], eax
js 0x4019e4
mov ecx, dword [0x414560]
mov byte [ecx], 0x2e
mov edx, 0x2e
and edx, 0xff
mov dword [ebp - 0x90], edx
mov eax, dword [0x414560]
add eax, 1
mov dword [0x414560], eax
jmp 0x4019f9
push 0x414560
push 0x2e
call fcn.00402458
add esp, 8
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0x28
jle 0x401a0d
jmp 0x401aaa
call fcn.004021c0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xffffffff
je 0x401aa5
cmp dword [ebp - 0x70], 0x53
jne 0x401a2e
mov dword [ebp - 4], 1
jmp 0x401aaa
cmp dword [ebp - 0x70], 0x4e
jne 0x401a4d
push str._r_nProgrammazione_fallita_n
call fcn.00402427
add esp, 4
call section..text
push 1
call fcn.004023e7
cmp dword [ebp - 0x70], 0x58
jne 0x401a6c
push str._n_nErrore_di_checksum_nProgram_aborted_n
call fcn.00402427
add esp, 4
call section..text
push 1
call fcn.004023e7
cmp dword [ebp - 0x70], 0
jne 0x401a7b
mov edx, dword [ebp - 0x70]
add edx, 0x30
mov dword [ebp - 0x70], edx
push str._n_nCarattere_sconosciuto_nProgram_aborted_n
call fcn.00402427
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
push str.RICEVUTO__4u_n
call fcn.00402427
add esp, 8
call section..text
push 1
call fcn.004023e7
jmp 0x401997
cmp dword [ebp - 4], 1
jne 0x401acc
push str.Ok_n_n
call fcn.00402427
add esp, 4
push str.Reprogramming_completed_succesfully._n
call fcn.00402427
add esp, 4
jmp 0x401ad9
push str._n_nErrore_di_timeout_nProgram_aborted_n
call fcn.00402427
add esp, 4
call section..text
jmp 0x401ae2
xor eax, eax
mov esp, ebp
pop ebp
ret