Function at 0x401000
Capabilities:
Accept command line arguments
Create directory
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc34], eax
push esi
push edi
push str.Path
mov byte [esp + 0x1c], 1
call fcn.00402e41
mov dword [esp + 0x18], eax
xor al, al
add esp, 4
mov byte [esp + 0x24], 0
mov byte [esp + 0x1c], al
mov byte [esp + 0xb], al
mov dword [esp + 0x2ac], 0
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x2a8], eax
call fcn.00402850
mov eax, dword [esp + 0x2ac]
mov esi, 1
mov dword [esp + 0x10], esi
cmp eax, esi
jle 0x401136
mov edi, edi
mov byte [esp + 0x638], 0
cmp esi, eax
jge 0x40111f
lea edx, [esi*8]
mov ecx, dword [esp + edx + 0x28]
mov edi, dword [esp + edx + 0x2c]
cmp byte [ecx], 0x22
jne 0x4010da
cmp byte [ecx + edi - 1], 0x22
mov edx, 1
mov eax, 2
cmovne eax, edx
mov esi, edi
sub esi, eax
lea eax, [ecx + 1]
push esi
push eax
lea eax, [esp + 0x640]
push eax
call fcn.0040d310
mov byte [esp + esi + 0x644], 0
mov esi, dword [esp + 0x1c]
jmp 0x4010f1
push edi
push ecx
lea eax, [esp + 0x640]
push eax
call fcn.0040d310
mov byte [esp + edi + 0x644], 0
lea ecx, [esi*8]
add esp, 0xc
mov eax, dword [esp + ecx + 0x28]
cmp byte [eax], 0x2d
jne 0x40111f
cmp edi, 1
jle 0x40111f
mov eax, dword [esp + 0x2ac]
inc esi
mov dword [esp + 0x10], esi
cmp esi, eax
jl 0x401080
jmp 0x401136
xor ecx, ecx
mov al, byte [esp + ecx + 0x638]
mov byte [esp + ecx + 0x538], al
lea ecx, [ecx + 1]
test al, al
jne 0x401121
lea eax, [esp + 0x541]
push 0x2f
push eax
call fcn.00402ec0
mov esi, eax
add esp, 8
test esi, esi
je 0x402246
mov byte [esi], 0
xor ecx, ecx
jmp 0x401160
mov al, byte [esp + ecx + 0x541]
mov byte [ecx + 0x419e2c], al
lea ecx, [ecx + 1]
test al, al
jne 0x401160
mov ecx, str.assistenza
mov eax, 0x419e2c
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4011a0
test dl, dl
je 0x40119c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4011a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x401180
xor eax, eax
jmp 0x4011a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401291
mov byte [esp + 0x1c], 1
cmp byte [esp + 0x400], 0
je 0x40122e
cmp byte [esp + 0x401], 0x3a
jne 0x40122e
xor ecx, ecx
lea esp, [esp]
mov al, byte [esp + ecx + 0x400]
mov byte [esp + ecx + 0x838], al
lea ecx, [ecx + 1]
test al, al
jne 0x4011d0
lea eax, [esp + 0x2e0]
push eax
lea eax, [esp + 0x83c]
push eax
call fcn.00402cbd
add esp, 8
test eax, eax
jne 0x40122e
lea eax, [esp + 0x400]
push eax
lea eax, [esp + 0x83c]
push str.HCBIN_s
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x838]
push eax
call fcn.00403885
add esp, 4
push str.HCBIN
call fcn.00402e41
mov cx, word [0x415f78]
mov word [0x41a2bc], cx
mov cl, byte [0x415f7a]
add esp, 4
mov dword [0x419e28], eax
mov byte [0x41a2be], cl
test eax, eax
je 0x401b33
push str.HHDRIVE
call fcn.00402e41
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x401a21
mov edx, 0x41a2bc
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x401280
jmp 0x401a4c
inc esi
push 0x3f
push esi
call fcn.00402ec0
mov edx, eax
add esp, 8
test edx, edx
je 0x40224d
lea ecx, [esp + 0x3cc]
mov byte [edx], 0
sub ecx, esi
mov al, byte [esi]
mov byte [esi + ecx], al
lea esi, [esi + 1]
test al, al
jne 0x4012b3
mov byte [esp + 0x400], al
movzx eax, word [0x415e58]
mov word [0x41a290], ax
movzx eax, byte [0x415e5a]
mov byte [0x41a292], al
mov eax, dword [str.halley]
movq xmm0, qword [str.client.zip]
mov dword [esp + 0x398], eax
movzx eax, word [0x415e60]
mov word [esp + 0x39c], ax
movzx eax, byte [0x415e62]
mov byte [esp + 0x39e], al
movzx eax, word [0x415e64]
mov word [esp + 0xc], ax
movzx eax, byte [0x415e66]
mov byte [esp + 0xe], al
mov eax, 0x31
mov word [esp + 0x35c], ax
lea esi, [edx + 1]
mov eax, 0x30
movq qword [0x41a288], xmm0
mov word [0x41a260], ax
mov byte [0x41a274], 0
cmp byte [esi], 0
je 0x40122e
lea ebx, [ebx]
push 0x3d
push esi
call fcn.00402ec0
mov edx, eax
add esp, 8
test edx, edx
je 0x4019e9
lea ecx, [esp + 0x2b4]
mov byte [edx], 0
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
lea esi, [esi + 1]
test al, al
jne 0x401381
lea esi, [edx + 1]
push 0x26
push esi
call fcn.00402ec0
mov edx, eax
add esp, 8
test edx, edx
je 0x4013c5
lea ecx, [esp + 0x2e0]
mov byte [edx], 0
sub ecx, esi
lea ecx, [ecx]
mov al, byte [esi]
mov byte [ecx + esi], al
lea esi, [esi + 1]
test al, al
jne 0x4013b0
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
jmp 0x4013f0
lea edx, [esp + 0x2e0]
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x4013d0
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4013e1
sub ecx, edx
add esi, ecx
mov dword [esp + 0x10], esi
mov ecx, 0x415e68
lea eax, [esp + 0x2b4]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401420
test dl, dl
je 0x40141c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401420
add eax, 2
add ecx, 2
test dl, dl
jne 0x401400
xor eax, eax
jmp 0x401425
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401445
xor ecx, ecx
jmp 0x401430
mov al, byte [esp + ecx + 0x2e0]
mov byte [esp + ecx + 0x368], al
lea ecx, [ecx + 1]
test al, al
jne 0x401430
mov ecx, 0x415e6c
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401471
test dl, dl
je 0x40146d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401471
add eax, 2
add ecx, 2
test dl, dl
jne 0x401451
xor eax, eax
jmp 0x401476
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401495
xor ecx, ecx
lea esp, [esp]
mov al, byte [esp + ecx + 0x2e0]
mov byte [esp + ecx + 0x398], al
lea ecx, [ecx + 1]
test al, al
jne 0x401480
mov ecx, str.vplg
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4014c1
test dl, dl
je 0x4014bd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4014c1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014a1
xor eax, eax
jmp 0x4014c6
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4014de
xor ecx, ecx
lea esp, [esp]
mov al, byte [esp + ecx + 0x2e0]
lea ecx, [ecx + 1]
test al, al
jne 0x4014d0
mov ecx, 0x415e78
lea eax, [esp + 0x2b4]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401510
test dl, dl
je 0x40150c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401510
add eax, 2
add ecx, 2
test dl, dl
jne 0x4014f0
xor eax, eax
jmp 0x401515
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401531
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp byte [esp + 0x2e0], 0x30
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x18], eax
mov ecx, str.nomezip
lea eax, [esp + 0x2b4]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401560
test dl, dl
je 0x40155c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401560
add eax, 2
add ecx, 2
test dl, dl
jne 0x401540
xor eax, eax
jmp 0x401565
sbb eax, eax
or eax, 1
test eax, eax
jne 0x401584
xor ecx, ecx
jmp 0x401570
mov al, byte [esp + ecx + 0x2e0]
mov byte [ecx + 0x41a288], al
lea ecx, [ecx + 1]
test al, al
jne 0x401570
mov ecx, str.verzip
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4015b0
test dl, dl
je 0x4015ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4015b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x401590
xor eax, eax
jmp 0x4015b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4015d4
xor ecx, ecx
jmp 0x4015c0
mov al, byte [esp + ecx + 0x2e0]
mov byte [ecx + 0x41a274], al
lea ecx, [ecx + 1]
test al, al
jne 0x4015c0
mov ecx, str.dcent
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401600
test dl, dl
je 0x4015fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401600
add eax, 2
add ecx, 2
test dl, dl
jne 0x4015e0
xor eax, eax
jmp 0x401605
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40166a
xor ecx, ecx
jmp 0x401610
mov al, byte [esp + ecx + 0x2e0]
mov byte [esp + ecx + 0x400], al
lea ecx, [ecx + 1]
test al, al
jne 0x401610
lea esi, [esp + 0x400]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x401630
sub esi, ecx
push esi
lea eax, [esp + 0x404]
push 0x2f
push eax
call fcn.00402d10
add esp, 0xc
test eax, eax
je 0x40166a
push esi
mov byte [eax], 0x5c
lea eax, [esp + 0x404]
push 0x2f
push eax
call fcn.00402d10
add esp, 0xc
test eax, eax
jne 0x401650
mov ecx, str.aggioplugin
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401696
test dl, dl
je 0x401692
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401696
add eax, 2
add ecx, 2
test dl, dl
jne 0x401676
xor eax, eax
jmp 0x40169b
sbb eax, eax
or eax, 1
test eax, eax
mov ax, word [esp + 0x2e0]
mov esi, 1
jne 0x4016bc
mov ecx, dword [esp + 0x24]
movzx ecx, cl
cmp al, 0x31
cmove ecx, esi
mov dword [esp + 0x24], ecx
mov edx, str.popup
lea ecx, [esp + 0x2b4]
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x401706
cmp byte [esp + 0xa], 0
je 0x401702
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x401706
add ecx, 2
add edx, 2
cmp byte [esp + 0xa], 0
jne 0x4016c8
xor ecx, ecx
jmp 0x40170b
sbb ecx, ecx
or ecx, 1
mov edx, dword [esp + 0x20]
movzx edx, dl
test ecx, ecx
cmove edx, esi
mov dword [esp + 0x20], edx
mov edx, 0x415ea8
lea ecx, [esp + 0x2b4]
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x401765
cmp byte [esp + 0xa], 0
je 0x401761
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x401765
add ecx, 2
add edx, 2
cmp byte [esp + 0xa], 0
jne 0x401727
xor ecx, ecx
jmp 0x40176a
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x401785
xor edx, edx
mov cl, byte [esp + edx + 0x2e0]
mov byte [esp + edx + 0x35c], cl
lea edx, [edx + 1]
test cl, cl
jne 0x401770
mov edx, str.sigpr
lea ecx, [esp + 0x2b4]
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x4017cf
cmp byte [esp + 0xa], 0
je 0x4017cb
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [esp + 0xa], al
mov ax, word [esp + 0x2e0]
jne 0x4017cf
add ecx, 2
add edx, 2
cmp byte [esp + 0xa], 0
jne 0x401791
xor edx, edx
jmp 0x4017d4
sbb edx, edx
or edx, 1
movzx ecx, word [esp + 0xc]
movzx eax, ax
test edx, edx
cmove ecx, eax
mov word [esp + 0xc], cx
mov ecx, str.assistenza
lea eax, [esp + 0x2b4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401812
test dl, dl
je 0x40180e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401812
add eax, 2
add ecx, 2
test dl, dl
jne 0x4017f2
xor eax, eax
jmp 0x401817
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
test eax, eax
lea eax, [esp + 0x2b4]
cmove ecx, esi
push str.prot
push eax
mov dword [esp + 0x24], ecx
call fcn.004035a0
add esp, 8
test eax, eax
je 0x4018a7
xor ecx, ecx
mov al, byte [esp + ecx + 0x2b4]
mov byte [esp + ecx + 0x2d0], al
lea ecx, [ecx + 1]
test al, al
jne 0x401842
lea edi, [esp + 0x2d0]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401860
mov ax, word [0x415ebc]
lea edx, [esp + 0x2e0]
mov word [edi], ax
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x401880
lea edi, [esp + 0x2d0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401891
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x2b4]
push str.vhp2
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x4018d0
xor ecx, ecx
mov al, byte [esp + ecx + 0x2e0]
lea ecx, [ecx + 1]
test al, al
jne 0x4018c2
lea eax, [esp + 0x2b4]
push str.tipofunz
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x401957
xor ecx, ecx
jmp 0x4018f0
mov al, byte [esp + ecx + 0x2b4]
mov byte [esp + ecx + 0x374], al
lea ecx, [ecx + 1]
test al, al
jne 0x4018f0
lea edi, [esp + 0x374]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401910
mov ax, word [0x415ebc]
lea edx, [esp + 0x2e0]
mov word [edi], ax
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x401930
lea edi, [esp + 0x374]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401941
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x2b4]
push str.fileistr
push eax
call fcn.004035a0
add esp, 8
test eax, eax
je 0x4019dc
xor ecx, ecx
mov al, byte [esp + ecx + 0x2b4]
mov byte [esp + ecx + 0x468], al
lea ecx, [ecx + 1]
test al, al
jne 0x401972
lea edi, [esp + 0x468]
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x401990
mov ax, word [0x415ebc]
lea edx, [esp + 0x2e0]
mov word [edi], ax
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x4019b0
lea edi, [esp + 0x468]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4019c1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0xb], 1
mov esi, dword [esp + 0x10]
cmp byte [esi], 0
jne 0x401360
mov eax, dword [esp + 0x20]
test al, al
je 0x4011b2
push 0
push str.Attenzione
push str.Sessione_di_assistenza_remota_avviata_nRispondere_alla_chiamata_ntornando_nellapplicazione_da_cui_era_stata_avviata_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.00402cae
mov esp, ebp
pop ebp
ret 0x10
push str.HOMEDRIVE
call fcn.00402e41
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x401a4c
mov edx, 0x41a2bc
sub edx, ecx
jmp 0x401a40
mov al, byte [ecx]
mov byte [edx + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x401a40
mov edx, dword [0x419e28]
test edx, edx
je 0x401a9d
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x401a60
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a60
sub ecx, esi
cmp byte [ecx + edx - 1], 0x5c
je 0x401a85
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a75
sub ecx, esi
cmp byte [ecx + edx - 1], 0x2f
jne 0x401a9d
mov ecx, edx
lea esi, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401a90
sub ecx, esi
mov byte [ecx + edx - 1], al
push edx
push edx
push edx
lea eax, [esp + 0x844]
push str.PATH_s__sobj__sobjMicrosoft.VC90.CRT_
push eax
call fcn.00403803
add esp, 0x14
lea eax, [esp + 0x328]
push dword [0x419e28]
push str._sobj
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push dword [0x419e28]
push str._sobjMicrosoft.VC90.CRT
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x4d0]
push dword [0x419e28]
push str._shbrocx.exe
push eax
call fcn.00403803
add esp, 0xc
push dword [0x419e28]
push str._sHPlugin_2.exe
jmp 0x401b7b
push 0x41a2bc
push 0x41a2bc
push 0x41a2bc
lea eax, [esp + 0x844]
push str.PATH_shghx__shghxobj__shghxobjMicrosoft.VC90.CRT_
push eax
call fcn.00403803
add esp, 0x14
lea eax, [esp + 0x4d0]
push 0x41a2bc
push str._shghxhbrocx.exe
push eax
call fcn.00403803
add esp, 0xc
push 0x41a2bc
push str._shghxHPlugin_2.exe
lea eax, [esp + 0x50c]
push eax
call fcn.00403803
mov esi, dword [esp + 0x20]
add esp, 0xc
test esi, esi
je 0x401c07
lea ecx, [esp + 0x838]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ba0
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
mov edi, edi
mov al, byte [edx]
inc edx
test al, al
jne 0x401bb0
sub edx, esi
lea eax, [edx + ecx]
cmp eax, 0x400
jae 0x401c07
mov edx, dword [esp + 0x14]
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x401bd0
lea edi, [esp + 0x838]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401be1
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x838]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00403885
add esp, 4
push 0x41a2bc
lea eax, [esp + 0x32c]
push str._sh
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghx
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghx_sys
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghx_sysp
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._sh_tmp
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghxc
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghxcicone
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
lea eax, [esp + 0x328]
push 0x41a2bc
push str._shghxobj
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
add esp, 4
push 0x41a2bc
lea eax, [esp + 0x32c]
push str._shghxobjMicrosoft.VC90.CRT
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push eax
call fcn.00403ada
mov eax, dword [0x419e28]
add esp, 4
test eax, eax
jne 0x401d96
push 0x41a2bc
push str._shghxinfo.txt
jmp 0x401d9c
push eax
push str._sinfo.txt
lea eax, [esp + 0x330]
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push 0x41611c
push eax
call fcn.00403bde
mov esi, eax
add esp, 8
test esi, esi
je 0x401de3
push 0x41a260
push 0x416120
push esi
call fcn.00403bf3
add esp, 0xc
push esi
call fcn.00403d7c
add esp, 4
cmp byte [esp + 0x24], 0
je 0x401dfe
lea ecx, [esp + 0x638]
call fcn.00402310
test eax, eax
jne 0x40222e
push 0x41a2bc
lea eax, [esp + 0x32c]
push str._sh_tmphplugin.log
push eax
call fcn.00403803
add esp, 0xc
lea eax, [esp + 0x328]
push 0x41613c
push eax
call fcn.00403bde
mov edi, eax
add esp, 8
test edi, edi
je 0x401e52
lea eax, [esp + 0x638]
push eax
push 0x416140
push edi
call fcn.00403df3
add esp, 0xc
push edi
call fcn.00403fb8
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x401e75
push 0x41a2bc
lea eax, [esp + 0x53c]
push str._shghxA_Assistenza.exe
push eax
call fcn.00403803
add esp, 0xc
jmp 0x401ed8
cmp byte [esp + 0x18], 0
lea eax, [esp + 0x398]
push eax
push 0x419e2c
lea eax, [esp + 0x364]
push eax
lea eax, [esp + 0x374]
push eax
lea eax, [esp + 0x3dc]
push eax
push 0x41a260
lea eax, [esp + 0x24]
push eax
push eax
lea eax, [esp + 0x3ec]
push eax
lea eax, [esp + 0x4f4]
push eax
lea eax, [esp + 0x560]
je 0x401eca
push str._s__nv__s__s_s__s__s__s____s__s__s
jmp 0x401ecf
push str._s__s__s_s__s__s__s____s__s__s
push eax
call fcn.00403803
add esp, 0x30
cmp byte [esp + 0xb], 0
je 0x4020fe
push 0x44
lea eax, [esp + 0x46c]
push 0
push eax
call fcn.0040c750
add esp, 0xc
lea ecx, [esp + 0x638]
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x468], 0x44
movdqa xmmword [esp + 0x2d0], xmm0
mov dword [esp + 0x494], 1
mov word [esp + 0x498], ax
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401f30
sub ecx, edx
lea eax, [ecx + 0x32]
push eax
call fcn.004040f1
mov esi, eax
add esp, 4
lea eax, [esp + 0x638]
push eax
lea eax, [esp + 0x508]
push eax
push str._s__s
push esi
mov dword [esp + 0x20], esi
call fcn.00403803
add esp, 0x10
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x46c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4020e3
push 0xffffffffffffffff
push dword [esp + 0x2d4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x2d4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test edi, edi
je 0x401fd6
push dword [esp + 0x14]
push str.exit_code___d_n
push edi
call fcn.00403df3
add esp, 0xc
push edi
call fcn.00403fb8
add esp, 4
push dword [esp + 0x2d0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x2d4]
call esi
push dword [esp + 0x10]
call fcn.00404183
add esp, 4
cmp dword [esp + 0x14], 9
jne 0x4020e3
push 0x400
call fcn.004040f1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor edx, edx
lea ebx, [ebx]
mov cl, byte [edx + 0x41a2bc]
mov byte [esp + edx + 0x2e0], cl
lea edx, [edx + 1]
test cl, cl
jne 0x402020
lea ecx, [esp + 0x2e0]
dec ecx
lea esp, [esp]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x402040
mov eax, dword [str.hghx]
mov dword [ecx], eax
mov ax, word [0x4161c0]
mov word [ecx + 4], ax
mov al, byte [0x4161c2]
mov byte [ecx + 6], al
lea eax, [esp + 0x638]
push eax
push 0x41a274
lea eax, [esp + 0x2e8]
push eax
push 0x41a288
push 0x41a2bc
push str._shghxhaggioclient__s__s__s__s
push esi
call fcn.00403803
add esp, 0x1c
test edi, edi
je 0x4020ac
push esi
push str.eseguo_il_comando:__s_n
push edi
call fcn.00403df3
add esp, 0xc
push edi
call fcn.00403fb8
add esp, 4
push 0
mov edx, 2
mov ecx, esi
call fcn.004029f0
add esp, 4
mov esi, eax
push dword [esp + 0x10]
call fcn.00404183
add esp, 4
test esi, esi
je 0x4020e3
push str.errore_unzip_n
push edi
call fcn.00403df3
push edi
call fcn.00403fb8
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.00402cae
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
je 0x402121
lea eax, [esp + 0x538]
push eax
push 0x416140
push edi
call fcn.00403df3
add esp, 0xc
push edi
call fcn.00403d7c
add esp, 4
cmp byte [esp + 0x18], 0
jne 0x402156
push 0
mov edx, 1
lea ecx, [esp + 0x53c]
call fcn.004029f0
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0xc34]
xor ecx, esp
call fcn.00402cae
mov esp, ebp
pop ebp
ret 0x10
push dword [0x41a390]
xor eax, eax
push 0xfffffffffffffff6
mov dword [esp + 0x2e8], 0x44
mov dword [esp + 0x2ec], 0
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0xa
mov dword [esp + 0x2fc], 0xa
mov dword [esp + 0x300], 0x190
mov dword [esp + 0x304], 0x190
mov dword [esp + 0x308], 0x14
mov dword [esp + 0x30c], 0x14
mov word [esp + 0x31a], ax
mov dword [esp + 0x31c], eax
mov dword [esp + 0x314], eax
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
lea eax, [esp + 0x2d0]
push eax
lea eax, [esp + 0x2e4]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [esp + 0x558]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [esp + 0x2d0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x2d4]
call esi
mov ecx, dword [esp + 0xc3c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00402cae
mov esp, ebp
pop ebp
ret 0x10
push 1
call fcn.00403379
push 1
call fcn.00403379
int3