Function at 0x1400079b0
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x140040650]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x140007a0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::DeleteService__:_OpenSCManager_failed:_ErrorCode:___d__
jmp 0x140007b76
cmp qword [0x140041b20], 8
lea rdx, [0x140041b08]
mov r8d, 0x10024
cmovae rdx, qword [0x140041b08]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140007a50
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::DeleteService__:_OpenService_failed:_ErrorCode:___d__
jmp 0x140007b76
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140007a8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x18]
lea r8, str.DriverInstaller::DeleteService__:_QueryServiceStatusEx_failed___d__n
jmp 0x140007b76
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x140007b41
cmp eax, 3
je 0x140007acd
lea r8, [rsp + 0x38]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140007ac9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::DeleteService__:_ControlService_failed___d__n
jmp 0x140007b76
mov eax, dword [rsp + 0x3c]
cmp eax, 1
je 0x140007b41
mov r14d, 0x3e8
nop dword [rax + rax]
mov ecx, dword [rsp + 0x50]
cmp ecx, 0x2710
jbe 0x140007af3
mov ecx, 0x2710
jmp 0x140007afa
cmp ecx, r14d
cmovb ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140007ba2
cmp dword [rsp + 0x3c], 1
je 0x140007b41
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x4e20
ja 0x140007b88
cmp dword [rsp + 0x3c], 1
jne 0x140007ae0
add rsi, 0x18
lea r8, str.CDriverInstaller::DeleteService__:_MonitorFunction_stopped_successfully_n
mov edx, 0xc8
mov rcx, rsi
call fcn.14000a820
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140007bb5
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.CDriverInstaller::DeleteService__:_DeleteService_failed:_ErrorCode:___d__
mov rcx, rsi
mov r9d, eax
mov edx, 0xc8
call fcn.14000a820
xor sil, sil
jmp 0x140007bcc
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::DeleteService__:_Wait_timed_out_n
mov edx, 0xc8
call fcn.14000a820
xor sil, sil
jmp 0x140007bcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsi + 0x18]
lea r8, str.CDriverInstaller::DeleteService__:_QueryServiceStatusEx_failed___d__n
jmp 0x140007b76
lea r8, str.CDriverInstaller::DeleteService__:_DeleteService_success_
mov edx, 0xc8
mov rcx, rsi
call fcn.14000a820
mov sil, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400184d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret