Function at 0x14001c260
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 0x14001c2ea
xor ecx, ecx
call fcn.140003ed0
mov rcx, rax
lea rdx, str.OpenSCManager_Fail
call fcn.140005c50
mov eax, ebx
jmp 0x14001c540
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.14002c088
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 0x14001c51b
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, [0x140059368]
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 0x14001c3d1
lea r8d, [rax + 3]
lea rdx, str.Running
jmp 0x14001c3e1
cmp eax, 1
jne 0x14001c3ea
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.14001b1d0
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 0x14001c425
lea rcx, [rbp + 0x18]
call fcn.140001bd0
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14001c44d
call fcn.14002a2f8
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 0x14001c496
add rax, 2
cmp rax, 0x11
je 0x14001c56d
movzx ecx, word [rdx + rax*2]
cmp cx, word [r15 + rax*2]
je 0x14001c470
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14001c4d9
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c4cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c60a
call fcn.14001fad4
mov r9, qword [rbp + 0x10]
mov r8, qword [rbp - 8]
cmp r9, 0x10
jb 0x14001c510
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14001c508
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c610
mov rcx, r8
call fcn.14001fad4
inc esi
cmp esi, dword [rbp - 0xc]
jb 0x14001c390
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.14002a2f8
mov eax, 2
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14001fab0
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.14002a2f8
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x14001c5c9
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c616
call fcn.14001fad4
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x14001c600
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c5fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c61c
call fcn.14001fad4
mov eax, 1
jmp 0x14001c540
call fcn.140029424
nop
call fcn.140029424
nop
call fcn.140029424
nop
call fcn.140029424
int3