Function at 0x1400f7e30
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14027df48]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.DLL_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x1400f7ef8
cmp dword [0x140277860], 2
jl 0x1400f7e89
test dword [0x1402778ac], 0x10000
je 0x1400f7e89
lea ebx, [rax + 1]
jmp 0x1400f7e8b
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e3b80
mov edi, eax
test ebx, ebx
jne 0x1400f7ea8
test eax, eax
je 0x1400f8103
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_UFSourceswin_service.c
lea rax, str.Error:_Unable_to_get_handle_to_the_SCM._Status___d_n
mov r9d, 2
mov qword [rsp + 0x38], rax
lea r15, str.update_service_failure_actions
mov dword [rsp + 0x30], 0x359
mov r8d, 0x10000
mov qword [rsp + 0x28], r14
mov edx, edi
mov ecx, ebx
mov qword [rsp + 0x20], r15
call fcn.1400bb960
jmp 0x1400f8103
mov r8d, 0xf01ff
mov qword [rsp + 0xb8], rsi
lea rdx, str.esifsvc
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x1400f7fab
cmp dword [0x140277860], 2
jl 0x1400f7f3c
test dword [0x1402778ac], 0x10000
je 0x1400f7f3c
lea ebx, [rax + 1]
jmp 0x1400f7f3e
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e3b80
mov esi, eax
test ebx, ebx
jne 0x1400f7f5b
test eax, eax
je 0x1400f80f2
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_UFSourceswin_service.c
lea rax, str.Error:_Unable_to_open_service_handle._Status___d_n
mov r9d, 2
mov qword [rsp + 0x38], rax
lea r15, str.update_service_failure_actions
mov dword [rsp + 0x30], 0x362
mov r8d, 0x10000
mov qword [rsp + 0x28], r14
mov edx, esi
mov ecx, ebx
mov qword [rsp + 0x20], r15
call fcn.1400bb960
jmp 0x1400f80f2
mov ebx, 1
mov dword [rsp + 0x7c], 0x1388
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], ebx
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0xffffffff
mov rcx, rsi
mov qword [rsp + 0x60], 0
lea edx, [rbx + 1]
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x68], ebx
mov qword [rsp + 0x70], rax
call qword [sym.imp.ADVAPI32.DLL_ChangeServiceConfig2W]
lea r14, str.C:jenkinsworkspacedptf_2SrcESIFProductsESIF_UFSourceswin_service.c
lea r15, str.update_service_failure_actions
test eax, eax
jne 0x1400f807c
cmp dword [0x140277860], 2
mov qword [rsp + 0xb0], rbp
jl 0x1400f8028
test dword [0x1402778ac], 0x10000
je 0x1400f8028
mov ebp, ebx
jmp 0x1400f802a
xor ebp, ebp
mov edx, 2
mov ecx, 0x10000
call fcn.1400e3b80
test ebp, ebp
jne 0x1400f8041
test eax, eax
je 0x1400f8074
lea rcx, str.Error:_Unable_to_update_service_failure_actions._n
mov r9d, 2
mov qword [rsp + 0x38], rcx
mov r8d, 0x10000
mov dword [rsp + 0x30], 0x376
mov edx, eax
mov qword [rsp + 0x28], r14
mov ecx, ebp
mov qword [rsp + 0x20], r15
call fcn.1400bb960
mov rbp, qword [rsp + 0xb0]
cmp dword [0x140277860], 2
jl 0x1400f8091
test dword [0x1402778ac], 0x10000
jne 0x1400f8093
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e3b80
test ebx, ebx
jne 0x1400f80aa
test eax, eax
je 0x1400f80e9
lea rcx, [0x140235f90]
mov r9d, 2
mov qword [rsp + 0x40], rcx
mov r8d, 0x10000
lea rcx, str._S_service_failure_actions_successfully_updated._n
mov edx, eax
mov qword [rsp + 0x38], rcx
mov ecx, ebx
mov dword [rsp + 0x30], 0x37c
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call fcn.1400bb960
mov rcx, rsi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.DLL_CloseServiceHandle]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140102a00
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret