Function at 0x7ff65c528280
Capabilities:
Create service
Enumerate services
Query service configuration
Start service

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov r15, rcx
xor r13d, r13d
mov rcx, qword [rcx + 0x10]
mov rax, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x7ff65c5282bb
mov rax, qword [r15]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.7ff65c4f8cd0
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.7ff65c514f40
cmp rax, rdi
je 0x7ff65c52834b
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x7ff65c52831f
cmp cx, 0x2f
jne 0x7ff65c528328
add rax, 2
cmp rax, rdi
jne 0x7ff65c528310
cmp rax, rdi
je 0x7ff65c52834b
nop dword [rax]
lea rcx, [rbx - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x7ff65c52834b
cmp dx, 0x2f
je 0x7ff65c52834b
mov rbx, rcx
cmp rax, rcx
jne 0x7ff65c528330
sub rdi, rbx
sar rdi, 1
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.7ff65c51a680
nop
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.7ff65c5152e0
nop
lea rcx, [rbp - 0x40]
call fcn.7ff65c4f7d90
nop
lea rcx, [rbp - 0x60]
call fcn.7ff65c4f7d90
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.advapi32.dll_OpenSCManagerA]
mov r14, rax
test rax, rax
je 0x7ff65c5286c0
mov dword [rbp + 0x60], r13d
mov dword [rbp + 0x68], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.advapi32.dll_EnumServicesStatusA]
test eax, eax
jne 0x7ff65c528402
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xea
jne 0x7ff65c5286c0
mov eax, dword [rbp + 0x60]
add eax, 0x30
mov dword [rbp + 0x60], eax
mov ecx, eax
call fcn.7ff65c618fe4
mov r12, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp + 0x60]
mov dword [rsp + 0x20], ecx
mov r9, r12
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.advapi32.dll_EnumServicesStatusA]
test eax, eax
je 0x7ff65c5286b8
mov ebx, r13d
cmp dword [rbp + 0x68], r13d
jbe 0x7ff65c5284d9
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8d, 1
mov rdx, qword [r12 + rcx*8]
mov rcx, r14
call qword [sym.imp.advapi32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x7ff65c5284d2
mov ecx, 0x1fa0
call fcn.7ff65c618fe4
mov rsi, rax
mov dword [rbp + 0x70], r13d
lea r9, [rbp + 0x70]
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.advapi32.dll_QueryServiceConfigA]
test eax, eax
je 0x7ff65c5284c9
lea rdx, str.iqvw64e.sys
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.vcruntime140.dll_strstr]
test rax, rax
jne 0x7ff65c528675
mov rcx, rdi
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp + 0x68]
jb 0x7ff65c528460
mov rcx, r12
call fcn.7ff65c618c48
mov dword [rbp + 0x60], r13d
mov dword [rbp + 0x68], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.advapi32.dll_EnumServicesStatusA]
test eax, eax
jne 0x7ff65c528531
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xea
jne 0x7ff65c5286c0
mov eax, dword [rbp + 0x60]
add eax, 0x30
mov dword [rbp + 0x60], eax
mov ecx, eax
call fcn.7ff65c618fe4
mov rdi, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp + 0x60]
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov edx, 0xb
mov r8d, 3
mov rcx, r14
call qword [sym.imp.advapi32.dll_EnumServicesStatusA]
test eax, eax
je 0x7ff65c5286b3
mov ebx, r13d
cmp dword [rbp + 0x68], r13d
jbe 0x7ff65c5285d2
nop word [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm6, xmmword [rdi + rcx*8 + 0x10]
lea rdx, [0x7ff65c63e4bc]
mov rcx, qword [rdi + rcx*8]
call qword [sym.imp.vcruntime140.dll_strstr]
test rax, rax
je 0x7ff65c5285cb
psrldq xmm6, 4
movd eax, xmm6
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x7ff65c5286c0
inc ebx
cmp ebx, dword [rbp + 0x68]
jb 0x7ff65c528590
mov rcx, rdi
call fcn.7ff65c618c48
cmp qword [r15 + 0x18], 0xf
jbe 0x7ff65c5285e4
mov r15, qword [r15]
lea r8, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r8, qword [rbp - 0x80]
lea rdx, [rbp - 0x80]
cmova rdx, qword [rbp - 0x80]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
mov rcx, r14
call qword [sym.imp.advapi32.dll_CreateServiceA]
mov rbx, rax
test rax, rax
jne 0x7ff65c52868b
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8d, 0x10
mov rcx, r14
call qword [sym.imp.advapi32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x7ff65c52868b
mov rcx, r14
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x7ff65c5286c0
mov rcx, r12
call fcn.7ff65c618c48
mov rcx, rdi
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x7ff65c5284e1
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.advapi32.dll_StartServiceA]
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
jmp 0x7ff65c5286c3
mov rcx, rdi
jmp 0x7ff65c5286bb
mov rcx, r12
call fcn.7ff65c618c48
xor dil, dil
lea rcx, [rbp - 0x80]
call fcn.7ff65c4f3490
movzx eax, dil
mov rbx, qword [rsp + 0x178]
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret