Function at 0x14000d8e0
Capabilities:
Query service status

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
push rbp
mov rbp, rsp
sub rsp, 0x448
mov rbx, rcx
xor ecx, ecx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rsi, rsi
je 0x14000dab7
mov rcx, rsi
lea rdx, [0x140022060]
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r12, rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [rbp - 4], 0
mov rcx, r12
xor edx, edx
xor r8d, r8d
lea r9, [rbp - 4]
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x14000d95f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000daae
mov r8d, dword [rbp - 4]
mov eax, r8d
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.14000f5f0
sub rsp, rax
lea rax, [rsp + 0x30]
mov rsi, rax
mov rcx, r12
mov rdx, rsi
lea r9, [rbp - 4]
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x14000daae
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
mov rcx, r12
xor edx, edx
xor r8, r8
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14000d9c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000daae
mov edi, dword [rbp - 4]
mov ecx, edi
call fcn.14000f130
mov r14, rax
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
mov rcx, r12
xor edx, edx
mov r8, r14
mov r9d, edi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x14000dabe
lea rdi, [rbp - 0x20c]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdi, [rbp - 0x414]
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
cmp dword [rsi + 4], 4
je 0x14000dac8
mov eax, dword [r14 + 4]
cmp eax, 1
je 0x14000db71
cmp eax, 4
je 0x14000dc6d
cmp eax, 7
jne 0x14000dd11
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Current_state:_Paused
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000dd11
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [0x14001c280]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14000dd11
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x14000e053
mov rcx, r14
call fcn.14000f580
jmp 0x14000daae
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Current_state:_Disabled
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000db32
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [0x14001c280]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.Enable
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14000dd11
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Current_state:_Stopped
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.Start
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000dc15
mov rcx, rbx
mov edx, 0xfb8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [0x14001c21a]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.Disable
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb6
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
jmp 0x14000dd11
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Current_state:_Running
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, str.Stop
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb7
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14000dd11
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [0x14001c1b4]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rbx
mov edx, 0xfb9
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
mov edx, 0xfb1
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [r14 + 0x1c]
test esi, esi
jne 0x14000dd51
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Process_Id:_None
call fcn.14000e950
jmp 0x14000ddaa
mov ecx, esi
lea rdx, [rbp - 0x414]
mov r8d, 0xa
call fcn.14000ea10
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Process_Id:__ls
mov r9, rax
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb6
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
test eax, eax
je 0x14000ddaa
mov eax, dword [r14 + 0x1c]
mov dword [0x140022040], eax
mov rcx, rbx
mov edx, 0xfb2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [r14 + 8]
test esi, esi
jne 0x14000de08
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Controls_accepted:_None
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb3
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x14000de16
mov r8d, dword [r14 + 4]
mov rcx, rbx
mov edx, esi
call fcn.140007b10
mov esi, dword [r14 + 0xc]
cmp esi, 0x1f
je 0x14000de94
jg 0x14000de4b
test esi, esi
je 0x14000de7a
cmp esi, 1
jne 0x14000dec8
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:_INVALID_FUNCTION
call fcn.14000e950
jmp 0x14000def7
cmp esi, 0x42a
je 0x14000deae
jl 0x14000dec8
cmp esi, 0x435
jne 0x14000dec8
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:_SERVICE_NEVER_STARTED
call fcn.14000e950
jmp 0x14000def7
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:_NO_ERROR
call fcn.14000e950
jmp 0x14000def7
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:_GEN_FAILURE
call fcn.14000e950
jmp 0x14000def7
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:_SERVICE_SPECIFIC_ERROR
call fcn.14000e950
jmp 0x14000def7
mov ecx, esi
lea rdx, [rbp - 0x414]
mov r8d, 0xa
call fcn.14000ea10
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Win32_exit_code:__ls
mov r9, rax
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb4
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [r14 + 0x10]
test esi, esi
je 0x14000df47
cmp esi, 0x42a
je 0x14000df61
cmp esi, 0x6ba
jne 0x14000df7b
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Specific_exit_code:_RPC_S_SERVER_UNAVAILABLE
call fcn.14000e950
jmp 0x14000dfaa
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Specific_exit_code:_NO_ERROR
call fcn.14000e950
jmp 0x14000dfaa
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Specific_exit_code:_SERVICE_SPECIFIC_ERROR
call fcn.14000e950
jmp 0x14000dfaa
mov ecx, esi
lea rdx, [rbp - 0x414]
mov r8d, 0xa
call fcn.14000ea10
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.Specific_exit_code:__ls
mov r9, rax
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfb5
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [r14 + 0x20]
test eax, eax
je 0x14000dfef
cmp eax, 1
jne 0x14000e028
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.PARENT_PROCESS_IS_SYSTEM_PROCESS
call fcn.14000e950
jmp 0x14000e028
cmp dword [r14 + 0x1c], 0
je 0x14000e010
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.PARENT_PROCESS_IS_RUNNING
call fcn.14000e950
jmp 0x14000e028
lea rcx, [rbp - 0x20c]
mov edx, 0x104
lea r8, str.PARENT_PROCESS_IS_NOT_RUNNING
call fcn.14000e950
mov rcx, rbx
mov edx, 0xfba
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rbp - 0x20c]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, r14
call fcn.14000f580
mov eax, 1
mov rsp, rbp
pop rbp
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret