Function at 0x140002820
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140012068]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rcx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x140002ae7
add rbp, 8
mov r8d, 0x10020
mov rdx, rbp
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
jne 0x140002955
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8d, [rbx + 1]
mov rdx, rbp
mov rcx, r14
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
jne 0x1400028b6
mov rcx, r14
lea ebx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002b6f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x14000290f
mov qword [rsp + 0x38], rbx
lea rsi, str.int___cdecl_CWindowsServiceModule::uninstallService_void__noexcept
mov qword [rsp + 0x30], rsi
lea r15, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_globalwinVBoxSDS.cpp
mov dword [rsp + 0x28], 0x1c1
lea r9, str.AssertLogRel__s__d___s:__s_n
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], r15
mov r8d, 0x147
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140002ad9
mov dword [rsp + 0x28], edi
lea r9, str.Error:_Failed_to_open__ls_for_stopping_and_deletion:__u_n
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rbp
mov r8d, 0x147
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002b6f
xor eax, eax
lea r8, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rcx, rdi
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x40], xmm0
lea edx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
lea rsi, str.int___cdecl_CWindowsServiceModule::uninstallService_void__noexcept
lea r15, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_globalwinVBoxSDS.cpp
test eax, eax
jne 0x140002a39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0x426
je 0x140002a39
cmp eax, 0x425
jne 0x1400029b4
cmp dword [rsp + 0x44], 3
je 0x140002a39
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x1400029fd
lea rcx, str.dwErr__ERROR_SERVICE_NOT_ACTIVE____dwErr__ERROR_SERVICE_CANNOT_ACCEPT_CTRL__status.dwCurrentState__SERVICE_STOP_PENDING_
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x38], rcx
lea r9, str.AssertLogRel__s__d___s:__s_n
mov qword [rsp + 0x30], rsi
mov r8d, 0x147
mov dword [rsp + 0x28], 0x1d0
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
mov rcx, rax
test rax, rax
je 0x140002a39
mov eax, dword [rsp + 0x44]
lea r9, str.Error:_Failed_to_stop_serive__ls:_dwErr_u_dwCurrentState_u_n
mov dword [rsp + 0x30], eax
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x28], ebx
mov r8d, 0x147
mov qword [rsp + 0x20], rbp
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
test eax, eax
jne 0x140002ad0
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140002a93
lea rcx, str.fResult
mov r8d, 0x147
mov qword [rsp + 0x38], rcx
lea r9, str.AssertLogRel__s__d___s:__s_n
mov qword [rsp + 0x30], rsi
lea edx, [rbx + 0x10]
mov dword [rsp + 0x28], 0x1d5
mov rcx, rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
mov rsi, rax
test rax, rax
je 0x140002ad0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea r9, str.Error:_Failed_to_delete_serivce__ls:__u_n
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rbp
mov r8d, 0x147
mov rcx, rsi
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002b6f
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
test rax, rax
je 0x140002b37
mov qword [rsp + 0x38], rbx
lea rsi, str.int___cdecl_CWindowsServiceModule::uninstallService_void__noexcept
mov qword [rsp + 0x30], rsi
lea r15, str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxMain_src_globalwinVBoxSDS.cpp
mov dword [rsp + 0x28], 0x1dc
lea r9, str.AssertLogRel__s__d___s:__s_n
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], r15
mov r8d, 0x147
mov rcx, rax
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov ecx, 0x1470010
call qword [sym.imp.VBoxRT.dll_RTLogRelGetDefaultInstanceEx]
mov rdi, rax
test rax, rax
je 0x140002b6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r9, str.Error:_Could_not_open_the_service_control_manager:__u_n
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0x147
mov dword [rsp + 0x20], eax
mov rcx, rdi
call qword [sym.imp.VBoxRT.dll_RTLogLoggerEx]
mov eax, ebx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140006d20
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret