Function at 0x14001c250
Capabilities:
Enumerate services

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14006a080]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.getServiceList
call fcn.140005c50
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
xor edx, edx
cmp rax, 0xffffffffffffffff
jne 0x14001c2da
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.OpenSCManager_Fail
call fcn.140005c50
mov eax, ebx
jmp 0x14001c530
xor r12d, r12d
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0xc]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 3]
lea r8d, [r12 + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
mov ecx, dword [rbp - 0x10]
call fcn.14002bb28
mov r14, rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp - 0xc]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
mov ecx, dword [rbp - 0x10]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r14
xor edx, edx
lea r9d, [r12 + 3]
lea r8d, [r12 + 0x30]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
mov esi, r12d
cmp dword [rbp - 0xc], r12d
jbe 0x14001c50b
lea r15, str.ROG_Live_Service
nop dword [rax]
nop word [rax + rax]
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 0xf
mov byte [rbp - 8], 0
xor r8d, r8d
lea rdx, [0x140059338]
lea rcx, [rbp - 8]
call fcn.140001bd0
nop
mov eax, esi
imul rbx, rax, 0x38
mov eax, dword [rbx + r14 + 0x14]
cmp eax, 4
jne 0x14001c3c1
lea r8d, [rax + 3]
lea rdx, str.Running
jmp 0x14001c3d1
cmp eax, 1
jne 0x14001c3da
lea r8d, [rax + 3]
lea rdx, str.Stop
lea rcx, [rbp - 8]
call fcn.140001bd0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
mov rdx, qword [rbx + r14]
lea rcx, [rsp + 0x60]
call fcn.14001b1c0
nop
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
mov rdx, qword [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14001c415
lea rcx, [rbp + 0x18]
call fcn.140001bd0
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14001c43d
call fcn.140029d98
lea rdi, [rbp - 8]
mov r8, qword [rbp - 8]
mov r9, qword [rbp + 0x10]
cmp r9, 0x10
cmovae rdi, r8
mov rdx, qword [rbx + r14]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r15 + rax*2 + 2]
jne 0x14001c486
add rax, 2
cmp rax, 0x11
je 0x14001c55d
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
je 0x14001c460
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14001c4c9
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c4bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5fa
call fcn.14001f574
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp - 8]
cmp r9, 0x10
jb 0x14001c500
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14001c4f8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c600
mov rcx, r8
call fcn.14001f574
inc esi
cmp esi, dword [rbp - 0xc]
jb 0x14001c380
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.ROG_Live_Service_is_not_installed.
call fcn.140005c50
mov rcx, r14
call fcn.140029d98
mov eax, 2
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14001f550
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor edx, edx
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
mov r8, rdi
lea rdx, str.ROG_Live_Service_is_alreadly_installed._Service_status___s_n
call fcn.140005c50
mov rcx, r14
call fcn.140029d98
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14001c5b9
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c606
call fcn.14001f574
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14001c5f0
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c60c
call fcn.14001f574
mov eax, 1
jmp 0x14001c530
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
nop
call fcn.140028ec4
int3