Function at 0x40e840
Capabilities:
Terminate process

Disassembly:
sub esp, 0x1b4
mov eax, dword [0x5627bc]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push edi
mov edi, dword [esp + 0x1c4]
xor ebx, ebx
push str.OSCILLO
mov dword [esp + 0x18], str.HardCopy
mov dword [esp + 0x1c], ebx
call fcn.004385f0
add esp, 4
test eax, eax
jne 0x40e893
mov ecx, dword [esp + 0x1b8]
pop edi
pop ebx
xor ecx, esp
call fcn.00523ce0
add esp, 0x1b4
ret
push ebp
push esi
call fcn.00494180
mov esi, dword [sym.imp.MSVCR80.dll_sprintf]
push str.11.0.1.1_t_t_29_08_2014_14:57:46__tlib:11.0.0.706
push 0x525c40
push str.__s__s
push 0x562e98
call esi
push 0x562e98
push str.CNi_XSCOPE
push str._s___Version__s_n
call dword [sym.imp.XLIB.dll_Ordinal_719]
add esp, 0x1c
xor eax, eax
mov ebp, 1
jmp 0x40e8e0
mov cl, byte [eax + str.11.0.1.1_t_t_29_08_2014_14:57:46__tlib:11.0.0.706]
mov byte [eax + 0x562f00], cl
add eax, ebp
cmp cl, bl
jne 0x40e8e0
push 0x525aac
push 0x562f00
call dword [sym.imp.MSVCR80.dll_strtok]
mov eax, dword [0x565cd8]
add esp, 8
push 0x562f00
push str.CNi_XSCOPE
push eax
call fcn.0041d330
add esp, 8
push eax
push str._s_Vers.__s
push 0x562f68
call esi
call fcn.00405d30
mov ecx, dword [esp + 0x1d8]
push edi
push ecx
call fcn.0040d6f0
push ebx
push ebx
push 0x541008
push edi
lea edx, [esp + 0x1f0]
push edx
push ebx
push ebx
push str.Oscillo
push 0x56824c
call fcn.004941b0
add esp, 0x3c
cmp eax, ebx
mov dword [0x568248], eax
jne 0x40e98c
push str.Fallita_apertura_shell_principale_n_r
call fcn.00410cf0
push ebx
push 0x32
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0x10
push 0xd
call dword [sym.imp.MSVCR80.dll_exit]
push eax
call sub.HCLXT.dll_Ordinal_214
mov eax, dword [0x568248]
push eax
push str.OSCILLO
call fcn.00438840
mov ecx, dword [0x568248]
push ecx
call sub.HCLXT.dll_Ordinal_216_1
call sub.WerrtxDll.dll_Ordinal_1
push str.11.0.1.1_t_t_29_08_2014_14:57:46__tlib:11.0.0.706
push 0x525c40
push str.__s__s
push 0x562e98
call esi
push str.11.0.1.1_t_t_29_08_2014_14:57:46__tlib:11.0.0.706
push ebp
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_17
call fcn.0040e3e0
push 0x565dc0
lea edx, [esp + 0xf0]
push str._sosc.log
push edx
call esi
lea eax, [esp + 0xf8]
push 0x525c24
push eax
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 0x40
push str.Inizio_stampe_di_log__n_r_n_r
mov dword [0x568b70], eax
call fcn.00410cf0
mov ecx, dword [0x568248]
push ebx
push 0x562f68
push 0x52f5f0
push 0x562f68
push 0x525c8c
push ebx
push 0x528b60
push ecx
call sub.HCLXT.dll_Ordinal_196
mov eax, dword [0x568248]
mov edx, dword [eax + 4]
add esp, 0x24
test byte [edx + 0x14], 4
je 0x40ea54
mov ecx, dword [eax + 0x58]
jmp 0x40ea5a
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x58]
mov edx, dword [ecx + 0xc]
mov dword [0x568a38], edx
mov ecx, dword [eax + 4]
test byte [ecx + 0x14], 4
je 0x40ea71
mov eax, dword [eax + 0x58]
jmp 0x40ea77
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x58]
mov eax, dword [eax + 0x10]
push 0x566760
lea ecx, [esp + 0x90]
push str._smini_osci.xpm
push ecx
mov dword [0x565ec0], eax
call esi
lea edx, [esp + 0x34]
push edx
mov edx, dword [0x568248]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xa0]
push ecx
push edx
call fcn.0041f9d0
add esp, 0x1c
cmp eax, ebx
je 0x40eacd
push ebx
push eax
mov eax, dword [0x568248]
push 0x52f5d4
push eax
call sub.HCLXT.dll_Ordinal_196
add esp, 0x10
mov ecx, dword [0x568248]
push ecx
call sub.HCLXT.dll_Ordinal_214
mov edx, dword [0x568248]
push fcn.0041d3e0
push edx
call fcn.00427be0
mov eax, dword [0x568248]
push eax
call fcn.00412360
mov eax, dword [0x568248]
mov ecx, dword [eax + 4]
add esp, 0x10
test byte [ecx + 0x14], 4
je 0x40eb0b
mov edx, dword [eax + 0x58]
jmp 0x40eb11
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + 4]
push 0x541390
push 0x44
push 0x565fa0
mov dword [0x568980], eax
call fcn.0040d610
call fcn.0040d3e0
mov ecx, dword [0x568248]
push ebx
push ebx
push str.OscilloMainForm
push ecx
mov dword [0x56897c], ebx
mov dword [0x568210], ebx
mov dword [0x5660f4], ebx
call fcn.0047c490
add esp, 0x1c
cmp dword [0x565c14], ebp
mov dword [0x565c44], eax
push eax
jne 0x40eb6c
call fcn.00419120
jmp 0x40eb71
call fcn.0041af70
mov edx, dword [0x565c44]
add esp, 4
push ebx
push ebx
push str.ScrollBar
push edx
mov dword [0x568c30], eax
call fcn.00494030
mov ecx, dword [0x568c30]
push ebx
push 2
push 0x52f5ac
push ecx
push str.rightWidget
push 3
push str.rightAttachment
push ebp
push str.leftAttachment
push ebx
push str.bottomAttachment
push ebp
push str.topAttachment
push eax
mov dword [0x56659c], eax
call sub.HCLXT.dll_Ordinal_196
mov edx, dword [0x56659c]
add esp, 0x48
push ebx
push 0x412ad0
push str.decrementCallback
push edx
call sub.HCLXT.dll_Ordinal_29
mov eax, dword [0x56659c]
push ebx
push 0x412ad0
push str.incrementCallback
push eax
call sub.HCLXT.dll_Ordinal_29
mov ecx, dword [0x56659c]
push ebx
push 0x412ad0
push str.pageDecrementCallback
push ecx
call sub.HCLXT.dll_Ordinal_29
mov edx, dword [0x56659c]
push ebx
push 0x412ad0
push str.pageIncrementCallback
push edx
call sub.HCLXT.dll_Ordinal_29
mov eax, dword [0x56659c]
add esp, 0x40
push ebx
push 0x412ad0
push str.dragCallback
push eax
call sub.HCLXT.dll_Ordinal_29
mov ecx, dword [0x56659c]
push ecx
call sub.HCLXT.dll_Ordinal_211
mov edx, dword [0x565c44]
push ebx
push ebx
push str.OscilloMainDrwArea
push edx
call fcn.00490750
mov ecx, dword [0x568c30]
mov edx, dword [0x56659c]
push ebx
push ecx
push str.rightWidget
push 3
push str.rightAttachment
push ebp
push str.leftAttachment
push ebp
push str.bottomAttachment
push edx
push str.topWidget
mov dword [0x569fc0], eax
push 3
mov ecx, dword [0x568220]
push str.topAttachment
push ecx
push 0x5259f8
push eax
call sub.HCLXT.dll_Ordinal_196
mov edx, dword [0x569fc0]
add esp, 0x64
push ebx
push 0x40cd50
push str.exposeCallback
push edx
call sub.HCLXT.dll_Ordinal_29
mov eax, dword [0x569fc0]
push ebx
push fcn.0041cce0
push str.resizeCallback
push eax
call sub.HCLXT.dll_Ordinal_29
mov ecx, dword [0x569fc0]
push ebx
push 0x4081a0
push ebx
push 4
push ecx
call sub.HCLXT.dll_Ordinal_61_1
mov edx, dword [0x569fc0]
push ebx
push 0x4080e0
push ebx
push 0x200008
push edx
call sub.HCLXT.dll_Ordinal_61_1
mov eax, dword [0x569fc0]
add esp, 0x48
push ebx
push 0x4083a0
push ebx
push ebp
push eax
call sub.HCLXT.dll_Ordinal_61_1
mov ecx, dword [0x569fc0]
push ebx
push ebx
push 0x4050b0
push ebx
push ebp
push ecx
call sub.HCLXT.dll_Ordinal_77
mov edx, dword [0x568c30]
push ebx
push ebp
push 0x4019b0
push ebx
push ebp
push edx
call sub.HCLXT.dll_Ordinal_77
mov eax, dword [0x569fc0]
add esp, 0x44
push ebx
push 2
push 0x4019b0
push ebx
push ebp
push eax
call sub.HCLXT.dll_Ordinal_77
mov ecx, dword [0x569fc0]
push ecx
mov dword [0x5689c0], ebx
call sub.HCLXT.dll_Ordinal_211
mov edx, dword [0x565f80]
mov eax, dword [0x565f7c]
mov ecx, dword [0x568248]
push edx
push eax
push str.selez_ax_shell
push ecx
call fcn.00409050
mov edx, dword [0x566a54]
mov dword [0x565f78], eax
push ebp
mov eax, dword [0x568248]
push edx
push str.selez_asc_shell
push eax
call fcn.00409050
mov ecx, dword [0x568944]
mov edx, dword [0x568248]
push 0x25
push ecx
push str.selez_ord_shell
push edx
mov dword [0x568c3c], eax
call fcn.00409050
add esp, 0x4c
mov dword [0x565ec4], eax
call fcn.00412b40
mov dword [0x566860], eax
call fcn.00412f20
push str.tag1
push ebx
mov dword [0x568c44], eax
mov eax, dword [0x568980]
push str.cnifbl
push eax
call fcn.0046d920
push eax
push ebx
mov dword [esp + 0x30], eax
call fcn.0046d770
lea ecx, [esp + 0x30]
push ecx
mov esi, eax
call fcn.0046d6d0
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.0046df90
add esp, 0x24
test al, al
jne 0x40ee3a
push str.Fallita_inizializzazione_font__1__n_r
call fcn.00410cf0
add esp, 4
call fcn.0041d3e0
push 0xe
call dword [sym.imp.MSVCR80.dll_exit]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.0046dfd0
add esp, 0xc
test al, al
jne 0x40ee6f
push str.Fallita_inizializzazione_font__2__n_r
call fcn.00410cf0
add esp, 4
call fcn.0041d3e0
push 0xf
call dword [sym.imp.MSVCR80.dll_exit]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
xor esi, esi
cmp dword [0x562e90], ebx
mov dword [esp + 0x6c], ecx
jle 0x40eebc
mov edi, 0x5682a8
lea esp, [esp]
mov eax, dword [edi]
mov ecx, dword [0x568980]
lea edx, [esp + 0x30]
push edx
push 0x4000
push eax
push ecx
call sub.XLIB.dll_Ordinal_190
add esi, ebp
add esp, 0x10
add edi, 0xb8
cmp esi, dword [0x562e90]
jl 0x40ee90
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [0x568980]
push eax
push ecx
call sub.XLIB.dll_Ordinal_179
mov edx, dword [esp + 0x18]
push edx
mov dword [0x5660f0], eax
call fcn.0046e070
mov dword [0x569fc4], ebx
call fcn.00410d20
mov eax, dword [0x565c44]
push eax
call sub.HCLXT.dll_Ordinal_211
call fcn.00418f40
mov ecx, dword [0x569fc0]
push ebx
push ebx
push ecx
mov dword [0x569fc4], ebp
call fcn.0041cce0
add esp, 0x1c
mov dword [0x568210], ebp
call fcn.00407250
call fcn.00412430
call fcn.00411a10
mov eax, dword [0x568248]
mov edx, dword [eax + 4]
mov cl, byte [edx + 0x14]
and cl, 4
je 0x40ef3b
mov edx, dword [eax + 0x60]
jmp 0x40ef41
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x60]
cmp cl, bl
je 0x40ef4a
mov eax, dword [eax + 0x58]
jmp 0x40ef50
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x58]
mov eax, dword [eax + 4]
push edx
push eax
call sub.XLIB.dll_Ordinal_467
mov ecx, dword [0x568248]
push ecx
call fcn.0046a390
mov eax, dword [0x565cd0]
mov ecx, dword [0x568248]
push ebx
push ebx
push ebx
push ebx
push 0x7886217c
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00426d30
push ebx
push 0x41c9b0
push ebp
push eax
mov dword [0x56675c], eax
call fcn.0041fb30
mov edx, dword [0x56675c]
push ebx
push 0x41ca10
push 3
push edx
call fcn.0041fb30
mov eax, dword [0x56675c]
add esp, 0x4c
push ebx
push 0x41ca40
push 4
push eax
call fcn.0041fb30
mov ecx, dword [0x568248]
push ecx
push str.OSCILLO
call fcn.00438840
push str.OSCILLO
call dword [sym.imp.lancia.dll_sono_pronto]
add esp, 0x1c
call sub.libplc.dll_Ordinal_28
test eax, eax
jge 0x40effc
push ebx
push 0xc
push 0x525c40
call sub.WerrtxDll.dll_Ordinal_12
add esp, 0xc
jmp 0x40f002
mov dword [0x562efc], ebp
mov edx, dword [0x56824c]
push edx
call sub.HCLXT.dll_Ordinal_70_1
call fcn.0041d3e0
push str.Indebita_uscita_da_loop_n_r
call fcn.00410cf0
add esp, 8
push ebx
call dword [sym.imp.MSVCR80.dll_exit]
int3