Function at 0x14000c190
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140051268]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
call fcn.140002db0
mov rcx, rax
mov qword [rsp + 0x20], rdi
lea r9, str.Service_Name___s
lea r8, str.Utils::SetServiceRestartRecoveryOnFailure
xor edx, edx
call fcn.1400151c0
xor r12d, r12d
mov ebx, r12d
mov qword [rbp - 0x49], rbx
mov r15d, r12d
call fcn.140002db0
cmp byte [rax + 0x64], r15b
je 0x14000c245
lea ecx, [r12 + 0x28]
call fcn.14000e7f0
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14000c23b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
call fcn.140002db0
mov rdx, rax
lea r8, str.Utils::SetServiceRestartRecoveryOnFailure
mov rcx, rbx
call fcn.140010790
mov rbx, rax
jmp 0x14000c23e
mov rbx, r12
mov qword [rbp - 0x49], rbx
mov r15, rbx
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r12w
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.14000aaf0
mov esi, eax
mov r14, qword [rbp - 0x51]
test eax, eax
jne 0x14000c35e
mov dword [rbp + 0xf], 1
mov dword [rbp + 0x13], 0x1d4c0
mov dword [rbp + 0x17], 1
mov dword [rbp + 0x1b], 0x3a980
mov dword [rbp + 0x1f], 1
mov dword [rbp + 0x23], 0x57e40
mov dword [rbp - 0x41], 0xe10
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x29], 3
lea rax, [rbp + 0xf]
mov qword [rbp - 0x21], rax
mov esi, r12d
lea r8, [rbp - 0x41]
mov edx, 2
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14000c312
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140002db0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.ChangeServiceConfig2__SERVICE_CONFIG_FAILURE_ACTIONS__failed_w_err_0x_08lx_n
lea r8, str.Utils::SetServiceRestartRecoveryOnFailure
mov edx, 5
call fcn.1400151c0
mov esi, 1
mov dword [rbp - 0x19], 1
lea r8, [rbp - 0x19]
mov edx, 4
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x14000c35e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140002db0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.ChangeServiceConfig2__SERVICE_CONFIG_FAILURE_ACTIONS_FLAG__failed_w_err_0x_08lx_n
lea r8, str.Utils::SetServiceRestartRecoveryOnFailure
mov edx, 5
call fcn.1400151c0
or esi, 0x10
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x14000c36d
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test r14, r14
je 0x14000c37b
mov rcx, r14
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
call fcn.140002db0
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, str.Return_Value___d
lea r8, str.Utils::SetServiceRestartRecoveryOnFailure
mov edx, 1
call fcn.1400151c0
nop
test r15, r15
je 0x14000c3ba
mov rcx, rbx
call fcn.140011230
mov edx, 0x28
mov rcx, rbx
call fcn.14000e830
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000ee50
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret