Function at 0x1400544b0
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r13, qword [rbp + 0x67]
mov qword [rbp - 0x49], r13
mov r8d, 1
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
mov qword [rbp + 0xf], rax
test rax, rax
je 0x1400546fe
mov rdx, r13
cmp qword [r13 + 0x18], 7
jbe 0x14005451f
mov rdx, qword [r13]
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140054727
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor esi, esi
mov qword [rbp + 7], rsi
mov rax, qword [rbp + 0x6f]
mov r12, qword [rax + 8]
mov r15, qword [rax]
mov rdx, qword [rbp - 1]
cmp r15, r12
je 0x1400545eb
xor r13d, r13d
mov word [rbp - 0x59], r13w
nop dword [rax]
mov rsi, qword [r15]
mov rax, qword [r15 + 8]
lea r14, [rsi + rax*2]
cmp rsi, r14
je 0x1400545b3
cmp rdx, qword [rbp + 7]
je 0x14005459a
movzx eax, word [rsi]
mov word [rdx], ax
mov rdx, qword [rbp - 1]
add rdx, 2
mov qword [rbp - 1], rdx
jmp 0x1400545aa
mov r8, rsi
lea rcx, [rbp - 9]
call fcn.14002e300
mov rdx, qword [rbp - 1]
add rsi, 2
cmp rsi, r14
jne 0x140054580
cmp rdx, qword [rbp + 7]
je 0x1400545cb
mov word [rdx], r13w
mov rdx, qword [rbp - 1]
add rdx, 2
mov qword [rbp - 1], rdx
jmp 0x1400545dc
lea r8, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.14002e300
mov rdx, qword [rbp - 1]
add r15, 0x10
cmp r15, r12
jne 0x140054570
mov r13, qword [rbp - 0x49]
xor esi, esi
cmp qword [rbp - 9], rdx
jne 0x14005461d
mov word [rbp - 0x59], si
cmp rdx, qword [rbp + 7]
je 0x14005460c
mov word [rdx], si
mov rdx, qword [rbp - 1]
add rdx, 2
mov qword [rbp - 1], rdx
jmp 0x14005461d
lea r8, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.14002e300
mov rdx, qword [rbp - 1]
mov word [rbp - 0x59], si
cmp rdx, qword [rbp + 7]
je 0x140054631
mov word [rdx], si
add qword [rbp - 1], 2
jmp 0x14005463e
lea r8, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.14002e300
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov rax, qword [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov edx, 0xffffffff
mov r9d, edx
mov r8d, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
je 0x1400546c1
lea rcx, [rbp - 9]
call fcn.14000afd0
nop
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400827b0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
lea rcx, str.Unable_to_change_config_of_the_service__
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], 0x2c
mov r9, r13
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.14002d1b0
lea rdx, [0x140114310]
lea rcx, [rbp - 0x29]
call fcn.1400850a4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_open_the_service_control_manager_
lea rcx, [rbp - 0x49]
call fcn.14001b060
lea rdx, [0x140114310]
lea rcx, [rbp - 0x49]
call fcn.1400850a4
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Unable_to_open_the_service__
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], 0x20
mov r9, r13
lea r8, [rbp - 0x49]
mov edx, eax
lea rcx, [rbp - 0x29]
call fcn.14002d1b0
lea rdx, [0x140114310]
lea rcx, [rbp - 0x29]
call fcn.1400850a4
int3