Function at 0x140052410
Capabilities:
Start service

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov qword [rsp + 0x138], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13d, edx
mov r14, rcx
lea rdi, str..._nsService.cpp
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
lea r15, [r14 + 0x40]
mov rbx, qword [r15]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r8, rax
mov r9d, 0x29a
lea rdx, str.Start___s:_d_
mov rcx, r15
call qword [rbx + 0x128]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
lea rdx, [r14 + 0x10]
mov r8b, 1
lea rcx, [rbp]
call fcn.140022784
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + pe_nt_image_headers64]
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rbx, qword [r15]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov r9, rax
mov dword [rsp + 0x20], 0x29f
mov r8d, r13d
lea rdx, str.Timeout_lu___s:_d_
mov rcx, r15
call qword [rbx + 0x140]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0xa8]
mov esi, eax
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rdi, qword [r15]
lea r12, [r14 + 0x270]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rbx, rax
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x2a2
mov qword [rsp + 0x20], rbx
mov r9d, esi
lea rdx, str.Service__s_.CurrentStatus_d___s:_d_
mov rcx, r15
call qword [rdi + 0x148]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
cmp esi, 4
je 0x140052733
lea rcx, [r14 + 0x2f0]
call fcn.14004c808
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140052612
lea rdx, str..._nsService.cpp
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rdi, qword [r15]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rbx, rax
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x20], 0x2a8
mov r9, rbx
lea rdx, str.Starting_Service__s____s:_d_
mov rcx, r15
call qword [rdi + 0x148]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
test r13d, r13d
je 0x140052733
mov rax, qword [r14]
mov r8d, r13d
mov edx, 4
mov rcx, r14
call qword [rax + 0xb0]
jmp 0x140052733
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x420
je 0x140052733
lea r13, str..._nsService.cpp
mov rdx, r13
lea rcx, [rbp + 0x40]
call fcn.140009aa8
nop
mov rsi, qword [r15]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x1e8]
mov rdi, rax
mov ecx, r14d
call fcn.140023b78
mov ebx, eax
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x1e8]
mov r8, rax
mov dword [rsp + 0x28], 0x2b4
mov qword [rsp + 0x20], rdi
mov r9d, ebx
lea rdx, str.StartService__s_0x_x___s:_d_
mov rcx, r15
call qword [rsi + 0x130]
nop
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
mov qword [rbp + 0x58], 7
xor ebx, ebx
mov qword [rbp + 0x50], rbx
mov word [rbp + 0x40], bx
cmp word [0x1400a54e0], bx
jne 0x1400526af
mov eax, ebx
jmp 0x1400526bb
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x40]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0x60], bl
mov rcx, r13
call fcn.1400653e0
mov r8, rax
mov rdx, r13
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, r14d
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x2b5
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0x80]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x80]
call fcn.14005b684
nop
lea rcx, [rbp]
call fcn.1400227dc
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret