Function at 0x14008b090
Capabilities:
Enumerate services
Query service status
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov dword [rbp - 0x3d], r9d
mov rdi, rcx
mov dword [rbp - 0x41], edx
mov qword [rbp - 0x31], rcx
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b0fb
test byte [rcx + 0x1c], 1
je 0x14008b0fb
cmp byte [rcx + 0x19], 4
jb 0x14008b0fb
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x65
call fcn.140004968
mov rcx, qword [0x14016d090]
xor eax, eax
mov qword [rbp - 0x19], rax
mov ebx, eax
mov qword [rbp - 0x21], rax
mov esi, eax
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x45], eax
test rdi, rdi
jne 0x14008b133
lea r8, str.wszServiceName
mov edx, 0x80f
lea rcx, str.base_stor_blbutil_systemutils.cpp
call fcn.140081b60
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b171
test byte [rcx + 0x1c], 1
je 0x14008b171
cmp byte [rcx + 0x19], 4
jb 0x14008b171
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x66
mov r9, rdi
call fcn.140005868
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp dword [rbp - 0x3d], 0xa
jb 0x14008b1b1
cmp rcx, rax
je 0x14008b1a7
test byte [rcx + 0x1c], 1
je 0x14008b1a7
cmp byte [rcx + 0x19], 2
jb 0x14008b1a7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x67
mov r9, rdi
call fcn.140005868
mov rcx, qword [0x14016d090]
mov ebx, 0x8000ffff
jmp 0x14008b75c
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp - 0x19], rax
test rax, rax
jne 0x14008b22b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b763
cmp byte [rcx + 0x19], 2
jb 0x14008b763
mov edx, 0x68
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov r9d, ebx
call fcn.140004988
mov rcx, qword [0x14016d090]
jmp 0x14008b763
mov r8d, 0x2c
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp - 0x39], rax
mov rsi, rax
test rax, rax
jne 0x14008b2a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b75c
cmp byte [rcx + 0x19], 2
jb 0x14008b75c
lea edx, [rsi + 0x69]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov r9, rdi
mov dword [rsp + 0x20], ebx
call fcn.1400058c8
jmp 0x14008b755
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14008b2d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14008b755
cmp dword [rbp + 0x23], 1
jne 0x14008b31c
mov rcx, qword [0x14016d090]
lea rbx, [0x14016d090]
cmp rcx, rbx
je 0x14008b315
test byte [rcx + 0x1c], 1
je 0x14008b315
cmp byte [rcx + 0x19], 4
jb 0x14008b315
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x6a
mov r9, rdi
call fcn.140005868
mov rcx, qword [0x14016d090]
xor ebx, ebx
jmp 0x14008b75c
cmp dword [rbp + 0x23], 3
jne 0x14008b3d4
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b364
test byte [rcx + 0x1c], 1
je 0x14008b364
cmp byte [rcx + 0x19], 4
jb 0x14008b364
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x6b
mov r9, rdi
call fcn.140005868
mov rcx, qword [0x14016d090]
cmp dword [rbp - 0x41], ebx
je 0x14008b75c
mov r8d, 0xea60
lea rcx, [rbp - 0x39]
call fcn.14008ae38
mov ebx, eax
test eax, eax
jns 0x14008b751
mov rcx, qword [0x14016d090]
lea rsi, [0x14016d090]
cmp rcx, rsi
je 0x14008b3cb
test byte [rcx + 0x1c], 1
je 0x14008b3c2
cmp byte [rcx + 0x19], 2
jb 0x14008b3c2
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x6c
mov r9d, eax
call fcn.140004988
jmp 0x14008b751
mov rsi, qword [rbp - 0x39]
jmp 0x14008b75c
mov rsi, qword [rbp - 0x39]
jmp 0x14008b791
lea r8, [rbp + 0x1f]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x14008b733
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x41b
jne 0x14008b81b
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b436
test byte [rcx + 0x1c], 1
je 0x14008b436
cmp byte [rcx + 0x19], 4
jb 0x14008b436
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x6d
mov r9, rdi
call fcn.140005868
xor r9d, r9d
lea rax, [rbp - 0x45]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x49]
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x14008b469
mov ebx, 0x8000ffff
jmp 0x14008b755
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x14008b4b9
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b763
cmp byte [rcx + 0x19], 2
jb 0x14008b763
mov edx, 0x6e
jmp 0x14008b20c
mov ebx, dword [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x21], rax
test rax, rax
jne 0x14008b4e6
mov ebx, 0x8007000e
jmp 0x14008b755
mov r9d, dword [rbp - 0x49]
lea rcx, [rbp - 0x45]
mov qword [rsp + 0x28], rcx
mov r8, rax
lea rcx, [rbp - 0x49]
mov edx, 1
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x14008b55a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b75c
cmp byte [rcx + 0x19], 2
jb 0x14008b75c
mov edx, 0x6f
jmp 0x14008b28b
mov r10, qword [0x14016d090]
xor edi, edi
cmp dword [rbp - 0x45], edi
jbe 0x14008b628
mov ebx, dword [rbp - 0x3d]
inc ebx
mov dword [rbp - 0x29], ebx
mov rax, qword [rbp - 0x21]
lea rcx, [rdi + rdi*2]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8]
movups xmmword [rbp - 0x11], xmm0
lea rax, [0x14016d090]
cmp r10, rax
je 0x14008b5ba
test byte [r10 + 0x1c], 1
je 0x14008b5ba
cmp byte [r10 + 0x19], 4
jb 0x14008b5ba
mov r9, qword [rbp - 0x11]
lea r8, [0x14014b438]
mov rcx, qword [r10 + 0x10]
mov edx, 0x70
call fcn.140005868
mov edx, dword [rbp - 0x41]
mov r9d, ebx
mov rcx, qword [rbp - 0x11]
mov r8d, 0xea60
call fcn.14008b090
mov ebx, eax
test eax, eax
js 0x14008b660
mov r10, qword [0x14016d090]
lea rax, [0x14016d090]
cmp r10, rax
je 0x14008b61a
test byte [r10 + 0x1c], 1
je 0x14008b61a
cmp byte [r10 + 0x19], 4
jb 0x14008b61a
mov r9, qword [rbp - 0x11]
lea r8, [0x14014b438]
mov rcx, qword [r10 + 0x10]
mov edx, 0x72
call fcn.140005868
mov r10, qword [0x14016d090]
mov ebx, dword [rbp - 0x29]
inc edi
cmp edi, dword [rbp - 0x45]
jb 0x14008b574
lea rax, [0x14016d090]
cmp r10, rax
je 0x14008b6ad
test byte [r10 + 0x1c], 1
je 0x14008b6ad
cmp byte [r10 + 0x19], 4
mov rdi, qword [rbp - 0x31]
jb 0x14008b6b1
mov rcx, qword [r10 + 0x10]
lea r8, [0x14014b438]
mov edx, 0x73
mov r9, rdi
call fcn.140005868
jmp 0x14008b6b1
mov rcx, qword [0x14016d090]
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b763
cmp byte [rcx + 0x19], 2
jb 0x14008b763
mov r9, qword [rbp - 0x11]
lea r8, [0x14014b438]
mov rcx, qword [rcx + 0x10]
mov edx, 0x71
mov dword [rsp + 0x20], eax
call fcn.1400058c8
jmp 0x14008b21f
mov rdi, qword [rbp - 0x31]
mov r9d, dword [rbp - 0x3d]
mov r8d, 0xea60
mov edx, dword [rbp - 0x41]
inc r9d
mov rcx, rdi
call fcn.14008b090
mov ebx, eax
test eax, eax
jns 0x14008b6fc
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b75c
cmp byte [rcx + 0x19], 2
jb 0x14008b75c
mov edx, 0x74
jmp 0x14008b28b
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b73a
test byte [rcx + 0x1c], 1
je 0x14008b73a
cmp byte [rcx + 0x19], 4
jb 0x14008b73a
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x75
mov r9, rdi
call fcn.140005868
mov rcx, qword [0x14016d090]
cmp dword [rbp - 0x41], 0
je 0x14008b75c
mov r8d, 0xea60
lea rcx, [rbp - 0x39]
call fcn.14008ae38
mov ebx, eax
mov rsi, qword [rbp - 0x39]
mov rcx, qword [0x14016d090]
lea rdi, [0x14016d090]
cmp rcx, rdi
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b791
cmp byte [rcx + 0x19], 4
jb 0x14008b791
mov r9, qword [rbp - 0x31]
lea r8, [0x14014b438]
mov rcx, qword [rcx + 0x10]
mov edx, 0x77
mov dword [rsp + 0x20], ebx
call fcn.1400058c8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x21]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x14008b7b4
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x14008b7c6
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b7fa
test byte [rcx + 0x1c], 1
je 0x14008b7fa
cmp byte [rcx + 0x19], 4
jb 0x14008b7fa
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014b438]
mov edx, 0x78
call fcn.140004968
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14016d090]
lea rax, [0x14016d090]
cmp rcx, rax
je 0x14008b791
test byte [rcx + 0x1c], 1
je 0x14008b75c
cmp byte [rcx + 0x19], 2
jb 0x14008b75c
mov edx, 0x76
jmp 0x14008b28b