Function at 0x407ea0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e7c
call fcn.0040e6e0
mov eax, dword [0x4130f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x420474], 0
push ebx
push esi
push edi
mov bl, cl
je 0x407eda
mov eax, dword [0x413974]
push 0
push 0
push 0x8009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
jne 0x407f0e
push 0x413cb4
call fcn.00401810
mov esi, eax
push esi
push 0
push str.IDCornice
push str.ImpostazioniMDI
call fcn.0040e460
push esi
push 0
push 0
push str.ImpostazioniMDI
call fcn.0040e460
add esp, 0x24
push 0x413130
call fcn.0040e400
push 0x413148
call fcn.0040e400
mov eax, dword [0x42018c]
add esp, 8
test eax, eax
je 0x407f35
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x420464]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x407f47
push eax
call esi
mov eax, dword [0x413cb0]
test eax, eax
je 0x407f53
push eax
call esi
test bl, bl
jne 0x407f66
mov ecx, dword [0x420460]
push ecx
call fcn.00403f50
add esp, 4
mov esi, dword [sym.imp.GDI32.dll_RemoveFontResourceA]
push 0x4140b4
call esi
push 0x4144b4
call esi
push 0x4148b4
call esi
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [sym.imp.MSVCR100.dll__unlink]
push 0x4140b4
call esi
push 0x4144b4
call esi
push 0x4148b4
call esi
add esp, 0xc
call fcn.00403470
cmp byte [0x4201a0], 0
je 0x40875f
cmp byte [0x4201a2], 0
je 0x40875f
push 0x103
lea edx, [ebp - 0x15b]
push 0
push edx
mov byte [ebp - 0x15c], 0
call sub.MSVCR100.dll_memset
push 0x103
lea eax, [ebp - 0x25f]
push 0
push eax
mov byte [ebp - 0x260], 0
call sub.MSVCR100.dll_memset
push 0xfff
lea ecx, [ebp - 0x1563]
push 0
push ecx
mov byte [ebp - 0x1564], 0
call sub.MSVCR100.dll_memset
push str._token
push 0x41316c
mov byte [ebp - 0x1968], 0
call dword [sym.imp.MSVCR100.dll_strstr]
mov ebx, eax
add esp, 0x2c
test ebx, ebx
je 0x40815e
cmp byte [0x4202ae], 0
je 0x40814a
cmp byte [0x42022e], 0
je 0x40814a
cmp byte [0x4201ae], 0
je 0x40814a
cmp byte [0x42032e], 0
je 0x40814a
lea edx, [ebp - 0x1e6c]
push edx
push 0x4201ae
push 0x42022e
push 0x4202ae
lea edx, [ebp - 0x1968]
mov ecx, 0x42032e
call fcn.00406be0
add esp, 0x10
test al, al
je 0x408178
add ebx, 7
mov esi, ebx
sub esi, 0x41316c
push esi
lea ecx, [ebp - 0x1564]
mov eax, 0x20
push 0x41316c
push ecx
mov word [ebp - 0x1564], ax
call dword [sym.imp.MSVCR100.dll_strncat]
lea eax, [ebp - 0x1e6c]
mov byte [ebp + esi - 0x1563], 0
add esp, 0xc
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4080e3
lea edi, [ebp - 0x1564]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4080f3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0x20
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR100.dll_strchr]
add esp, 8
test eax, eax
je 0x408178
mov edx, eax
jmp 0x408120
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408120
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408130
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x408178
mov ecx, 0x12
mov esi, str.Indirizzo_Server_live_e_o_Dominio_e_o_Utente_e_o_Password_non_impostati
lea edi, [ebp - 0x1968]
rep movsd dword es:[edi], dword [esi]
jmp 0x408178
push 0x41316c
lea edx, [ebp - 0x1564]
push 0x411098
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
cmp byte [ebp - 0x1968], 0
jne 0x408747
cmp dword [0x415e70], 0
lea eax, [ebp - 0x1564]
je 0x408322
mov edi, dword [sym.imp.MSVCR100.dll_strstr]
push str.__autologin
push eax
call edi
mov ebx, dword [sym.imp.MSVCR100.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4081d5
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x4081d2
inc eax
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4081c6
jmp 0x4081d5
mov byte [esi], 0
lea ecx, [ebp - 0x1564]
push str._login
push ecx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x40820f
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x40820c
inc eax
mov edx, esi
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x408200
jmp 0x40820f
mov byte [esi], 0
lea edx, [ebp - 0x1564]
push str._password
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x408246
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x408243
inc eax
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x408237
jmp 0x408246
mov byte [esi], 0
lea eax, [ebp - 0x1564]
push str._passwordc
push eax
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x40827f
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x40827c
inc eax
mov edx, esi
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x408270
jmp 0x40827f
mov byte [esi], 0
lea edi, [ebp - 0x1564]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408286
mov ecx, 5
mov esi, str.___autologin1__login
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x41f034
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4082a4
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4082b4
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [ebp - 0x1564]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4082d3
mov ecx, dword [str.__passwordc]
mov edx, dword [0x411050]
mov dword [eax], ecx
mov ecx, dword [0x411054]
mov dword [eax + 4], edx
mov dl, byte [0x411058]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
mov eax, 0x41f234
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408305
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408315
jmp 0x4083b8
push str._password
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
mov ebx, dword [sym.imp.MSVCR100.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x4083c8
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x40835e
inc eax
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x408352
jmp 0x408361
mov byte [esi], 0
lea eax, [ebp - 0x1564]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408368
mov ecx, dword [str.__passwordc]
mov edx, dword [0x411050]
mov dword [eax], ecx
mov ecx, dword [0x411054]
mov dword [eax + 4], edx
mov dl, byte [0x411058]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
mov eax, 0x41f234
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4083a0
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4083b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [0x4201ac], 0
je 0x4085a8
cmp byte [0x4201ae], 0
je 0x4085a8
cmp byte [0x4203ae], 0
je 0x4085a8
mov edi, dword [sym.imp.MSVCR100.dll_sprintf]
push 0x4201ae
lea eax, [ebp - 0x58]
push str.__k_s:
push eax
call edi
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x1564]
push edx
call fcn.004043f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x40843f
inc esi
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x40843c
inc eax
sub esi, eax
mov edi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x408430
jmp 0x40843f
mov byte [esi], 0
lea eax, [ebp - 0x1564]
push str.__k
push eax
call fcn.004043f0
mov esi, eax
add esp, 8
test esi, esi
je 0x40847f
inc esi
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x40847c
inc eax
sub esi, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x408470
jmp 0x40847f
mov byte [esi], 0
push 0x4201ae
lea ecx, [ebp - 0x58]
push str.__kc_s:
push ecx
call edi
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x1564]
push eax
call fcn.004043f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4084c7
inc esi
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x4084c4
inc eax
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x4084b8
jmp 0x4084c7
mov byte [esi], 0
lea ecx, [ebp - 0x1564]
push str.__kc
push ecx
call fcn.004043f0
mov esi, eax
add esp, 8
test esi, esi
je 0x408500
inc esi
push 0x20
push esi
call ebx
add esp, 8
test eax, eax
je 0x4084fd
inc eax
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x4084f1
jmp 0x408500
mov byte [esi], 0
lea eax, [ebp - 0x1564]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x408507
mov edx, dword [str.__kc]
mov cx, word [0x411030]
mov dword [eax], edx
mov word [eax + 4], cx
mov eax, 0x4201ae
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408530
lea edi, [ebp - 0x1564]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408542
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1564]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x408560
mov dx, word [0x411028]
mov eax, 0x4203ae
mov word [edi], dx
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408580
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x408590
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [0x413168], 1
jne 0x40860f
lea edi, [ebp - 0x1564]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4085b8
mov ecx, 6
mov esi, str.__riconnessioneautomatica
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0xa
lea eax, [ebp - 0x3c]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.MSVCR100.dll__ltoa]
add esp, 0xc
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4085e7
lea edi, [ebp - 0x1564]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4085f7
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x104
xor edi, edi
lea ecx, [ebp - 0x364]
push edi
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea edx, [ebp - 0x364]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1a68]
push eax
lea ecx, [ebp - 0x564]
push ecx
lea edx, [ebp - 0x464]
push edx
lea eax, [ebp - 0x1e70]
push eax
lea ecx, [ebp - 0x364]
push ecx
call dword [sym.imp.MSVCR100.dll__splitpath]
lea edx, [ebp - 0x564]
push edx
lea eax, [ebp - 0x464]
push eax
lea ecx, [ebp - 0x1e70]
push ecx
lea edx, [ebp - 0x15c]
push str._s_s_s.exe
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
mov ebx, dword [sym.imp.MSVCR100.dll_strstr]
lea eax, [ebp - 0x1564]
push str._aggvecchioexe
push eax
call ebx
mov esi, eax
add esp, 0x30
cmp esi, edi
je 0x4086c7
push 0x410fec
push esi
call ebx
add esp, 8
cmp eax, edi
je 0x4086c4
inc eax
sub esi, eax
mov cl, byte [eax]
mov byte [eax + esi], cl
inc eax
test cl, cl
jne 0x4086b8
jmp 0x4086c7
mov byte [esi], 0
mov eax, dword [0x4201a4]
cmp eax, edi
je 0x4086f0
push 0x3e8
push eax
call fcn.0040e330
mov ecx, dword [0x4201a4]
push ecx
call fcn.0040e3b0
add esp, 0xc
mov dword [0x4201a4], edi
lea edx, [ebp - 0x15c]
push edx
lea eax, [ebp - 0x260]
push 0x41064c
push eax
mov byte [0x4201a2], 0
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [ebp - 0x260]
lea eax, [ebp - 0x1e7c]
mov dword [ebp - 0x1e7c], ecx
push eax
lea ecx, [ebp - 0x15c]
lea edx, [ebp - 0x1564]
push ecx
mov dword [ebp - 0x1e78], edx
mov dword [ebp - 0x1e74], edi
call dword [sym.imp.MSVCR100.dll__execv]
add esp, 0x14
jmp 0x40875f
push 0
push str.MxDesk:_errore_in_riconnessione
lea edx, [ebp - 0x1968]
push edx
push 0
call fcn.0040e1e0
add esp, 0x10
mov eax, dword [0x41fd58]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
cmp eax, edi
je 0x408779
push eax
call esi
mov dword [0x41fd58], edi
mov eax, dword [0x41e4f8]
cmp eax, edi
je 0x40878b
push eax
call esi
mov dword [0x41e4f8], edi
mov eax, dword [0x420468]
cmp eax, edi
je 0x4087a3
push eax
call fcn.00403410
add esp, 4
mov dword [0x420468], edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_exit]
int3