Function at 0x428f10
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x429246
test esi, esi
je 0x429246
push edi
push str.VNLUninstallService:_Attempting_to_uninstall_service:__S
push 2
call fcn.004343f0
add esp, 0xc
cmp dword [esi], 0
je 0x428f52
push str.VNLUninstallService:_Callers_parameter_already_indicates_reboot_required
push 8
call fcn.004343f0
add esp, 8
push ebx
push str.VNLUninstallService:_Attempting_to_stop_service_to_be_uninstalled
push 2
call fcn.004343f0
push 0
push edi
call fcn.00426f20
add esp, 0x10
push 0xf003f
push str.ServicesActive
push 0
call dword [0x465034]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x42900b
call dword [0x4651b0]
cmp eax, 5
je 0x428fd8
cmp eax, 0x57
je 0x428fc5
cmp eax, 0x429
je 0x428fb2
push eax
push str.VNLUninstallService:_Service_Manager_open_failed:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x428ff3
push str.VNLUninstallService:_Service_Manager_open_failed:_ERROR_DATABASE_DOES_NOT_EXIST
push 1
call fcn.004343f0
push str.VNLUninstallService:_Service_Manager_open_failed:_system_config_appears_to_be_corrupt
jmp 0x428fe9
push str.VNLUninstallService:_Service_Manager_open_failed:_ERROR_INVALID_PARAMETER
push 1
call fcn.004343f0
push str.VNLUninstallService:_Service_Manager_open_failed:_system_config_appears_to_be_corrupt
jmp 0x428fe9
push str.VNLUninstallService:_Service_Manager_open_failed:_ERROR_ACCESS_DENIED
push 1
call fcn.004343f0
push str.VNLUninstallService:_Service_Manager_open_failed:_you_must_be_an_administrator
push 1
call fcn.004343f0
add esp, 0x10
push str.VNLUninstallService:_service_uninstall_failed
push 1
call fcn.004343f0
add esp, 8
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_Manager_successfully_opened
push 0x10
call fcn.004343f0
add esp, 8
push 0x10000
push edi
push ebx
call dword [0x465038]
mov esi, eax
test esi, esi
jne 0x4290f2
call dword [0x4651b0]
cmp eax, 0x7b
ja 0x4290a7
je 0x429088
mov ecx, eax
sub ecx, 5
je 0x429069
sub ecx, 1
jne 0x4290ae
push str.VNLUninstallService:_Service_could_not_be_opened:_ERROR_INVALID_HANDLE
push 1
call fcn.004343f0
add esp, 8
push ebx
call dword [0x46503c]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_could_not_be_opened:_ERROR_ACCESS_DENIED
push 1
call fcn.004343f0
add esp, 8
push ebx
call dword [0x46503c]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_could_not_be_opened:_ERROR_INVALID_NAME
push 1
call fcn.004343f0
add esp, 8
push ebx
call dword [0x46503c]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x424
je 0x4290ce
push eax
push str.VNLUninstallService:_Service_could_not_be_opened:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
push ebx
call dword [0x46503c]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_could_not_be_opened:_ERROR_SERVICE_DOES_NOT_EXIST
push 4
call fcn.004343f0
add esp, 8
push ebx
mov esi, 1
call dword [0x46503c]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_successfully_opened
push 0x10
call fcn.004343f0
add esp, 8
push esi
call dword [0x465010]
mov dword [ebp + 8], eax
test eax, eax
jne 0x4291a2
call dword [0x4651b0]
mov ecx, eax
sub ecx, 5
mov dword [ebp + 8], 0
je 0x42919b
sub ecx, 1
je 0x429164
sub ecx, 0x42a
je 0x429146
push eax
push str.VNLUninstallService:_Service_could_not_be_deleted:_0x_08x
push 1
call fcn.004343f0
add esp, 0xc
jmp 0x429173
push str.VNLUninstallService:_Service_already_deleted:_ERROR_SERVICE_MARKED_FOR_DELETE
push 2
call fcn.004343f0
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], 1
mov dword [eax], 1
jmp 0x429170
push str.VNLUninstallService:_Service_could_not_be_deleted:_ERROR_INVALID_HANDLE
push 1
call fcn.004343f0
add esp, 8
mov ebx, dword [0x46503c]
push esi
call ebx
mov ecx, dword [ebp - 8]
push ecx
call ebx
push str.VNLUninstallService:_returning
push 0x10
call fcn.004343f0
mov eax, dword [ebp + 8]
add esp, 8
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.VNLUninstallService:_Service_could_not_be_deleted:_ERROR_ACCESS_DENIED
jmp 0x429169
push edi
push str.VNLUninstallService:_Service_was_deleted:__S
push 0x12
mov dword [ebp - 4], 0x28
call fcn.004343f0
mov ebx, dword [0x46503c]
add esp, 0xc
nop
push esi
call ebx
push edi
push str.VNLUninstallService:_Checking_if_reboot_required_for:__S
push 2
call fcn.004343f0
mov ecx, dword [ebp - 8]
add esp, 0xc
push 0x10000
push edi
push ecx
call dword [0x465038]
mov esi, eax
test esi, esi
je 0x429232
push str.VNLUninstallService:_Service_still_present__might_check_again
push 2
call fcn.004343f0
add esp, 8
push esi
call ebx
push 0xfa
xor esi, esi
call dword [0x4651d8]
mov eax, dword [ebp - 4]
mov edx, eax
dec eax
mov dword [ebp - 4], eax
test edx, edx
ja 0x4291c0
push str.VNLUninstallService:_Service_still_present__presuming_reboot_required
push 2
call fcn.004343f0
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [eax], 1
jmp 0x42917c
push str.VNLUninstallService:_Service_no_longer_present__presuming_no_need_for_reboot
push 2
call fcn.004343f0
add esp, 8
jmp 0x42917c
push esi
push edi
push str.VNLUninstallService:_invalid_parameter:_0x_08x_0x_08x
push 1
call fcn.004343f0
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret