Function at 0x401000
Capabilities:
Create service
Persist via windows service
Set registry value
Start service

Disassembly:
sub esp, 0x23c
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x9c
push eax
call dword [0x40502c]
test eax, eax
je 0x401041
cmp dword [esp + 0x3c], 2
jne 0x401041
mov edi, dword [0x405030]
push str.OS_is_win_Nt__2k__Xp_n
call edi
jmp 0x401065
cmp dword [esp + 4], 1
je 0x40105f
push str.OS_is_win_9x_n
call dword [0x405030]
xor eax, eax
pop edi
add esp, 0x23c
ret 0x10
mov edi, dword [0x405030]
push ebx
push ebp
push esi
push 0xf003f
push 0
push 0
call dword [0x405004]
mov ebx, eax
test ebx, ebx
jne 0x401084
push str.NTFAX_:_OpenSCManger_Error___n
call edi
mov ebp, dword [0x405008]
push 0xf01ff
push str.DgiVecp
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x4011e7
push str.NTFAX_:_DgiVecp_Service_.................___n
call edi
lea ecx, [esp + 0xd4]
push 0x78
push ecx
call dword [0x405034]
mov edi, str.DriversDgiVecp.sys
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push eax
push eax
push eax
lea eax, [esp + 0xe8]
mov ecx, edx
push eax
push 1
push 2
push 1
push 0xf01ff
and ecx, 3
push str.DgiVecp
push str.DgiVecp
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [0x40500c]
mov esi, eax
push esi
call dword [0x405010]
push 0xf01ff
push str.DgiVecp
push ebx
call ebp
mov ebx, dword [0x405030]
push str.NTFAX_:_OpenService___n
mov edi, eax
call ebx
test edi, edi
je 0x401291
mov ebp, dword [0x405014]
lea ecx, [esp + 0x1c]
push ecx
push 4
push edi
call ebp
push str.NTFAX_:_ControlService___n
call ebx
cmp dword [esp + 0x20], 4
je 0x401291
push 0
push 0
push edi
call dword [0x405018]
test eax, eax
jne 0x401197
call dword [0x405038]
push eax
lea edx, [esp + 0x150]
push str.NTFAX_::_could_not_start_Error_____d__n
push edx
call dword [0x4050d4]
add esp, 0xc
lea eax, [esp + 0x14c]
push eax
jmp 0x40119c
push str.NTFAX_::_Vecp_Start_OK___n
call ebx
mov edi, dword [0x40503c]
mov dword [esp + 0x18], 0
push 0x3e8
call edi
lea ecx, [esp + 0x1c]
push ecx
push 4
push esi
call ebp
test eax, eax
je 0x4011c8
cmp dword [esp + 0x20], 4
je 0x4011db
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0xa
mov dword [esp + 0x18], eax
jl 0x4011ac
jmp 0x401291
push str.NTFAX_::_Vecp_RUNNING___n
call ebx
jmp 0x401291
mov ebp, dword [0x405014]
lea edx, [esp + 0x1c]
push edx
push 4
push esi
call ebp
push str.NTFAX_:_Already_installed_.....___n
call edi
cmp dword [esp + 0x20], 4
je 0x40128d
push 0
push 0
push esi
call dword [0x405018]
test eax, eax
jne 0x40123f
call dword [0x405038]
push eax
lea eax, [esp + 0x150]
push str.NTFAX_::_could_not_start_Error_____d__n
push eax
call dword [0x4050d4]
add esp, 0xc
lea ecx, [esp + 0x14c]
push ecx
jmp 0x401244
push str.NTFAX_::_Vecp_Start_OK___n
call edi
mov esi, dword [esp + 0x10]
mov ebx, dword [0x40503c]
mov dword [esp + 0x18], 0
push 0x3e8
call ebx
lea edx, [esp + 0x1c]
push edx
push 4
push esi
call ebp
test eax, eax
je 0x401274
cmp dword [esp + 0x20], 4
je 0x401284
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0xa
mov dword [esp + 0x18], eax
jl 0x401258
jmp 0x401291
push str.NTFAX_::_Vecp_RUNNING___n
call edi
jmp 0x401291
mov esi, dword [esp + 0x10]
push esi
call dword [0x405010]
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x32
push eax
push str.SystemCurrentControlSetServicesDgivEcp
push 0x80000002
call dword [0x40501c]
mov esi, dword [section..rdata]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.TurnAroundDelay
push edx
call esi
lea eax, [esp + 0x14]
push 4
mov ecx, dword [esp + 0x14]
push eax
push 4
push 0
push str.PreTurnAroundDelay
push ecx
call esi
lea edx, [esp + 0x14]
push 4
mov eax, dword [esp + 0x14]
push edx
push 4
push 0
push str.MinimumStallTime
push eax
mov dword [esp + 0x2c], 0x1f40
call esi
lea ecx, [esp + 0x14]
push 4
mov edx, dword [esp + 0x14]
push ecx
push 4
push 0
push str.CurrentInUse
push edx
mov dword [esp + 0x2c], 1
call esi
mov eax, dword [esp + 0x10]
push eax
call dword [0x405020]
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x23c
ret 0x10