Function at 0x1400fba50
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1402854d8]
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 0x1400fbb18
cmp dword [0x14027edf0], 2
jl 0x1400fbaa9
test dword [0x14027ee3c], 0x10000
je 0x1400fbaa9
lea ebx, [rax + 1]
jmp 0x1400fbaab
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e8cc0
mov edi, eax
test ebx, ebx
jne 0x1400fbac8
test eax, eax
je 0x1400fbd23
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_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.1400bfc30
jmp 0x1400fbd23
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 0x1400fbbcb
cmp dword [0x14027edf0], 2
jl 0x1400fbb5c
test dword [0x14027ee3c], 0x10000
je 0x1400fbb5c
lea ebx, [rax + 1]
jmp 0x1400fbb5e
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e8cc0
mov esi, eax
test ebx, ebx
jne 0x1400fbb7b
test eax, eax
je 0x1400fbd12
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsp + 0x40], eax
lea r14, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_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.1400bfc30
jmp 0x1400fbd12
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:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswin_service.c
lea r15, str.update_service_failure_actions
test eax, eax
jne 0x1400fbc9c
cmp dword [0x14027edf0], 2
mov qword [rsp + 0xb0], rbp
jl 0x1400fbc48
test dword [0x14027ee3c], 0x10000
je 0x1400fbc48
mov ebp, ebx
jmp 0x1400fbc4a
xor ebp, ebp
mov edx, 2
mov ecx, 0x10000
call fcn.1400e8cc0
test ebp, ebp
jne 0x1400fbc61
test eax, eax
je 0x1400fbc94
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.1400bfc30
mov rbp, qword [rsp + 0xb0]
cmp dword [0x14027edf0], 2
jl 0x1400fbcb1
test dword [0x14027ee3c], 0x10000
jne 0x1400fbcb3
xor ebx, ebx
mov edx, 2
mov ecx, 0x10000
call fcn.1400e8cc0
test ebx, ebx
jne 0x1400fbcca
test eax, eax
je 0x1400fbd09
lea rcx, [0x14023b940]
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.1400bfc30
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.140106650
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
ret