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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, rcx
xor r13d, r13d
mov rcx, qword [rcx + 0x10]
mov rax, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14005fd29
mov rax, qword [r15]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rcx
call fcn.140061ed0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.14005f7e0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea rdi, [rcx + rax*2]
mov rbx, rdi
mov rdx, rdi
call fcn.14005f940
cmp rax, rdi
je 0x14005fdad
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005fd84
cmp cx, 0x2f
jne 0x14005fd8d
add rax, 2
cmp rax, rdi
jne 0x14005fd75
cmp rax, rdi
je 0x14005fdad
lea rcx, [rbx - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x14005fdad
cmp dx, 0x2f
je 0x14005fdad
mov rbx, rcx
cmp rax, rcx
jne 0x14005fd92
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14005cfd0
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 8], rax
call fcn.140061ed0
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp]
call fcn.140060170
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14005fe52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fe4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fe4d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006243c
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14005fea7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005fea2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005fea2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006243c
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
je 0x1400600f2
mov dword [rbp - 0x20], r13d
mov dword [rbp - 0x1c], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov edx, 0xb
mov r8d, 3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x14005ff24
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400600f2
mov eax, dword [rbp - 0x20]
add eax, 0x30
mov dword [rbp - 0x20], eax
mov ecx, eax
call fcn.140062470
mov r12, rax
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov ecx, dword [rbp - 0x20]
mov dword [rsp + 0x20], ecx
mov r9, r12
mov edx, 0xb
mov r8d, 3
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x1400600ea
mov ebx, r13d
cmp dword [rbp - 0x1c], r13d
jbe 0x14005fff9
nop dword [rax]
mov eax, ebx
lea rcx, [rax + rax*2]
add rcx, rcx
mov r8d, 1
mov rdx, qword [r12 + rcx*8]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x14005fff2
mov ecx, 0x1fa0
call fcn.140062470
mov r14, rax
mov dword [rbp - 0x10], r13d
lea r9, [rbp - 0x10]
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x14005ffe9
lea rdx, str.iqvw64e.sys
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x1400600ac
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp - 0x1c]
jb 0x14005ff80
mov rcx, r12
call fcn.14006243c
mov rcx, rsi
call fcn.14005fa50
test al, al
jne 0x1400600f2
cmp qword [r15 + 0x18], 0xf
jbe 0x14006001b
mov r15, qword [r15]
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r8, qword [rbp]
lea rdx, [rbp]
cmova rdx, qword [rbp]
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, rsi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
test rax, rax
jne 0x1400600c2
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdx, qword [rbp]
mov r8d, 0x10
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x1400600c2
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400600f2
mov rcx, r12
call fcn.14006243c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140060001
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, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400600f5
mov rcx, r12
call fcn.14006243c
xor dil, dil
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140060133
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006012e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006012e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006243c
movzx eax, dil
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400621a0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret