Function at 0x140033898
Capabilities:
Query service status
Stop service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rbp + 0x70], rax
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov dword [rsp + 0x48], 0x193
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
lea rax, str.CVssHwSupport::StopService
mov dword [rsp + 0x4c], 9
mov qword [rsp + 0x38], rax
xor r12d, r12d
lea rax, str.TST__
mov dword [rsp + 0x50], 0xdc
xor edx, edx
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x30], 0x1000000
lea r8d, [r12 + 0x78]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14004058c
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov edi, r12d
mov esi, r12d
mov r15d, r12d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1400339d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8d, [r12 + 0x78]
mov dword [rsp + 0x48], 0x1a2
movzx ebx, ax
lea rcx, [rsp + 0x58]
or ebx, 0x80070000
mov dword [rsp + 0x4c], 9
test eax, eax
mov dword [rsp + 0x50], 0xdc
mov dword [rbp - 0x30], 0x1000000
cmovle ebx, eax
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, str.CVssHwSupport::StopService
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x38], rax
lea rax, str.TST__
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memset
lea r8, str.Error_OpenSCManager__0x_08lx__n
jmp 0x140033cc8
mov r8d, 0xf01ff
lea rdx, [0x14005d520]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140033a73
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea r8d, [rdi + 0x78]
mov dword [rsp + 0x48], 0x1ab
movzx ebx, ax
lea rcx, [rsp + 0x58]
or ebx, 0x80070000
mov dword [rsp + 0x4c], 9
test eax, eax
mov dword [rsp + 0x50], 0xdc
mov dword [rbp - 0x30], 0x1000000
cmovle ebx, eax
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, str.CVssHwSupport::StopService
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x38], rax
lea rax, str.TST__
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memset
lea r8, str.Error_OpenService__0x_08lx__n
jmp 0x140033cc8
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
jne 0x140033aa3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x48], 0x1b2
jmp 0x140033c63
cmp dword [rbp + 0x54], 1
je 0x140033cd9
lea r8, [0x14005d520]
lea rdx, str.Stop__s_service
lea rcx, [rbp - 0x20]
call fcn.14004190c
lea r8, [rbp + 0x50]
mov edx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ControlService]
nop dword [rax + rax]
test eax, eax
jne 0x140033b5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x48], 0x1bf
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x4c], 9
test eax, eax
mov dword [rsp + 0x50], 0xdc
mov dword [rbp - 0x30], 0x1000000
cmovle ebx, eax
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, str.CVssHwSupport::StopService
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x38], rax
lea rax, str.TST__
mov qword [rsp + 0x40], rax
lea r8d, [rdx + 0x78]
call sub.msvcrt.dll_memset
lea r8, str.Error_ControlService__0x_08lx__n
jmp 0x140033cc8
cmp dword [rbp + 0x54], 1
je 0x140033cd9
mov eax, dword [rbp + 0x68]
mov ebx, 0x64
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
add esi, ebx
mov eax, esi
sub eax, r15d
cmp eax, 0x1f4
jb 0x140033ba2
lea rdx, [0x140056754]
lea rcx, [rbp - 0x20]
call fcn.14004190c
mov r15d, esi
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
nop dword [rax + rax]
test eax, eax
je 0x140033c4f
cmp dword [rbp + 0x54], 1
je 0x140033cd9
cmp esi, 0x2710
jb 0x140033b66
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov dword [rsp + 0x48], 0x1e2
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
xor edx, edx
mov dword [rsp + 0x4c], 9
lea rax, str.CVssHwSupport::StopService
mov dword [rsp + 0x50], 0xdc
mov qword [rsp + 0x38], rax
mov ebx, 0x8000ffff
lea rax, str.TST__
mov dword [rbp - 0x18], ebx
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], rax
mov dword [rbp - 0x30], 0x1000000
call sub.msvcrt.dll_memset
lea r9, [0x14005d520]
mov dword [rsp + 0x20], ebx
lea r8, str.Error_Timeout_in_waiting_for___to_stop__0x_08lx__n
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140041324
jmp 0x140033cd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x48], 0x1d6
movzx ebx, ax
lea rcx, [rsp + 0x58]
or ebx, 0x80070000
mov dword [rsp + 0x4c], 9
test eax, eax
mov dword [rsp + 0x50], 0xdc
mov r8d, 0x78
mov dword [rbp - 0x30], 0x1000000
cmovle ebx, eax
lea rax, str.base_stor_vss_tools_vssagent_vshw_agent.cpp
mov qword [rsp + 0x30], rax
xor edx, edx
lea rax, str.CVssHwSupport::StopService
mov dword [rbp - 0x18], ebx
mov qword [rsp + 0x38], rax
lea rax, str.TST__
mov qword [rsp + 0x40], rax
call sub.msvcrt.dll_memset
lea r8, str.Error_QueryServiceStatus__0x_08lx__n
mov r9d, ebx
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140041324
lea rdx, [0x140055b24]
lea rcx, [rbp - 0x20]
call fcn.14004190c
test rdi, rdi
je 0x140033cfd
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
test r14, r14
je 0x140033d11
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop dword [rax + rax]
cmp dword [rbp - 0x18], r12d
lea rcx, [rbp - 0x20]
setge bl
call fcn.1400406a0
mov al, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400438c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret