Function at 0x14007719c
Capabilities:
Delete service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xf68]
mov eax, 0x1050
call fcn.140169460
sub rsp, rax
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0xf40], rax
mov esi, 0xf003f
xor edx, edx
xor ecx, ecx
mov r8d, esi
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
lea r15d, [rdi + 1]
mov rbx, rax
test rax, rax
je 0x140077490
lea r12, [0x14017e6c8]
mov r8d, r15d
mov rcx, rax
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140077224
mov rcx, rax
mov edi, r15d
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
je 0x140077490
mov r8d, esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1400772c7
lea rdx, [rsp + 0x40]
mov ecx, 0xd80a
call fcn.1400776e0
test eax, eax
jne 0x1400772ad
lea r8, [0x140006ff0]
lea rcx, [rsp + 0x40]
mov edx, 0x400
call qword [sym.imp.msvcrt.dll_wcscpy_s]
test eax, eax
je 0x1400772ad
cmp eax, 0xc
je 0x1400772a2
cmp eax, 0x16
je 0x140077297
cmp eax, 0x22
je 0x140077297
cmp eax, 0x50
je 0x1400772ad
mov ecx, 0x80004005
call fcn.14001ad98
int3
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov ecx, 0x8007000e
call fcn.14001ad98
int3
lea rdx, [rsp + 0x40]
mov r8, r12
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x140077493
mov r8d, 0x10020
mov rdx, r12
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
jne 0x14007734d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, [rsp + 0x40]
mov ecx, 0xd80c
call fcn.1400776e0
test eax, eax
jne 0x1400772ad
lea r8, [0x140007070]
lea rcx, [rsp + 0x40]
mov edx, 0x400
call qword [sym.imp.msvcrt.dll_wcscpy_s]
test eax, eax
je 0x1400772ad
cmp eax, 0xc
je 0x140077342
cmp eax, 0x16
je 0x140077337
cmp eax, 0x22
je 0x140077337
cmp eax, 0x50
je 0x1400772ad
mov ecx, 0x80004005
call fcn.14001ad98
int3
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov ecx, 0x8007000e
call fcn.14001ad98
int3
lea r8, [rsp + 0x20]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, 0x400
test eax, eax
jne 0x1400773fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x1400773fe
cmp eax, 0x425
jne 0x14007738a
cmp dword [rsp + 0x24], 3
je 0x1400773fe
lea rdx, [rsp + 0x40]
mov ecx, 0xd80e
call fcn.1400776e0
test eax, eax
jne 0x1400773eb
lea r8, [0x1400070a0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll_wcscpy_s]
test eax, eax
je 0x1400773eb
cmp eax, 0xc
je 0x1400773e0
cmp eax, 0x16
je 0x1400773d5
cmp eax, 0x22
je 0x1400773d5
cmp eax, 0x50
je 0x1400773eb
mov ecx, 0x80004005
call fcn.14001ad98
int3
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov ecx, 0x8007000e
call fcn.14001ad98
int3
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, r14
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x140077490
lea rdx, [rbp + 0x740]
mov ecx, 0xd80d
call fcn.1400776e0
test eax, eax
jne 0x140077484
lea r8, [0x1400070d0]
lea rcx, [rbp + 0x740]
mov rdx, rdi
call qword [sym.imp.msvcrt.dll_wcscpy_s]
test eax, eax
je 0x140077484
cmp eax, 0xc
je 0x140077479
cmp eax, 0x16
je 0x14007746e
cmp eax, 0x22
je 0x14007746e
cmp eax, 0x50
je 0x140077484
mov ecx, 0x80004005
call fcn.14001ad98
int3
mov ecx, 0x80070057
call fcn.14001ad98
int3
mov ecx, 0x8007000e
call fcn.14001ad98
int3
lea rdx, [rbp + 0x740]
jmp 0x1400772b2
mov eax, r15d
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140168920
lea r11, [rsp + 0x1050]
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