Function at 0x14029cb00
Capabilities:
Start service

Disassembly:
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x40
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x14029cb1a
call fcn.14007e73c
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.1400afa60
mov edi, eax
test eax, eax
js 0x14029cbd0
cmp dword [rbp + 0x20], 4
jne 0x14029cc23
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14029cb81
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14029cb51
mov rcx, qword [rbx]
mov qword [rbp + 0x20], rcx
lea rdx, [0x140451294]
lea rcx, str.Cannot_start_disabled_service___enable
mov qword [rbp + 0x28], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400056ec
mov edx, 3
mov rcx, rbx
call fcn.14029c98c
mov edi, eax
test eax, eax
jns 0x14029cc23
cmp qword [rbx + 0x18], 8
jb 0x14029cba2
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x18]
lea rax, str.Could_not_change_the_start_type_of_disabled_service__ws
mov qword [rsp + 0x28], rbx
lea r8, str.amcorewcd_sourcecommon_src_serviceutils.cpp
mov r9d, edi
mov qword [rsp + 0x20], rax
mov edx, 0x165
call fcn.14008f264
jmp 0x14029cd3e
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14029cc23
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14029cbe7
mov rcx, qword [rbx]
mov qword [rbp + 0x28], rcx
lea rdx, [0x140451257]
lea rcx, str.Could_not_get_service_start_type
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x30], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140003418
and qword [rbp + 0x20], 0
lea rcx, [rbp + 0x20]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov rdx, rbx
call fcn.14008f444
mov edi, eax
test eax, eax
jns 0x14029cc78
cmp qword [rbx + 0x18], 8
jb 0x14029cc4a
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x18]
lea rax, str.Could_not_get_handle_for_service__ws
mov qword [rsp + 0x28], rbx
lea r8, str.amcorewcd_sourcecommon_src_serviceutils.cpp
mov r9d, edi
mov qword [rsp + 0x20], rax
mov edx, 0x16f
call fcn.14008f264
jmp 0x14029cd35
mov rcx, qword [rbp + 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_StartServiceW]
nop dword [rax + rax]
test eax, eax
jne 0x14029ccef
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x420
jne 0x14029cd49
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14029ccef
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14029ccbf
mov rcx, qword [rbx]
mov qword [rbp + 0x28], rcx
lea rdx, [0x140451294]
lea rcx, str.Service_already_running
mov qword [rbp + 0x30], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400056ec
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14029cd33
cmp qword [rbx + 0x18], 8
jb 0x14029cd03
mov rbx, qword [rbx]
lea rcx, str.Successfully_started_service
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rcx
lea rdx, [0x140451294]
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400056ec
xor edi, edi
lea rcx, [rbp + 0x20]
call fcn.140092a20
mov eax, edi
add rsp, 0x40
pop rdi
pop rbx
pop rbp
ret
cmp qword [rbx + 0x18], 8
jb 0x14029cd53
mov rbx, qword [rbx]
mov rcx, qword [rbp + 0x18]
lea r9, str.Fail_to_start_service__ws
lea r8, str.amcorewcd_sourcecommon_src_serviceutils.cpp
mov qword [rsp + 0x20], rbx
mov edx, 0x17e
call fcn.1400929ac
mov edi, eax
jmp 0x14029cd35