Function at 0x1400df487
Capabilities:
Delete service
Stop service

Disassembly:
jmp 0x140127580
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3f8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x418]
mov rax, qword [0x140307100]
xor rax, rbp
mov qword [rbp + 0x3c8], rax
lea rcx, [0x140329653]
call fcn.1400df671
mov r8d, 0xf003f
lea rdx, str.ServicesActive
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140127630
mov eax, dword [0x1403070ac]
add eax, 5
cdqe
mov qword [rbp + 0x3b8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3c0], eax
mov r9, qword [rbp + 0x3b8]
lea r8, str.C:Users_nolesDocumentsGithubmullvadvpn_appwindowsdriverlogic_src_service.cpp
mov edx, dword [rbp + 0x3c0]
lea rcx, str.OpenSCManagerW
call fcn.1400dd088
mov edx, 0x20
lea rcx, [rbp + 0x28]
call fcn.1400db3d2
lea rcx, [rbp + 0x28]
call fcn.1400dce3a
nop
lea rax, [rbp + 0x288]
mov qword [rbp + 0x2e8], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x308]
call fcn.140126a80
mov rdx, rax
mov rcx, qword [rbp + 0x2e8]
call fcn.1401256e0
mov qword [rbp + 0x3b8], rax
mov rdx, qword [rbp + 0x3b8]
lea rcx, [rbp + 0x28]
call fcn.1400dbb11
mov rcx, qword [rbp + 0x3f0]
call fcn.1400db2a1
mov qword [rbp + 0x3b8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x3c0], rax
mov r8d, 0xf01ff
mov rdx, qword [rbp + 0x3b8]
mov rcx, qword [rbp + 0x3c0]
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x14012771d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0x424
je 0x14012770f
mov eax, dword [0x1403070ac]
add eax, 0x17
cdqe
mov r9, rax
lea r8, str.C:Users_nolesDocumentsGithubmullvadvpn_appwindowsdriverlogic_src_service.cpp
mov edx, dword [rbp + 0x84]
lea rcx, str.OpenServiceW
call fcn.1400dd088
nop
lea rcx, [rbp + 0x28]
call fcn.1400d9cf8
jmp 0x14012782c
lea rax, [rbp + 0x328]
mov qword [rbp + 0x388], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x3a8]
call fcn.140126b40
mov rdx, rax
mov rcx, qword [rbp + 0x388]
call fcn.1401258c0
mov qword [rbp + 0x3b8], rax
mov rdx, qword [rbp + 0x3b8]
lea rcx, [rbp + 0x28]
call fcn.1400dbb11
movzx eax, byte [rbp + 0x3f8]
test eax, eax
je 0x1401277a8
lea rcx, str.Stopping_service
call fcn.1400de361
lea r8, [rbp + 0xa8]
mov edx, 1
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov edx, 0x1388
mov rcx, qword [rbp + 0x68]
call fcn.1400de2cb
lea rcx, str.Successfully_stopped_service
call fcn.1400de361
movzx eax, byte [rbp + 0x400]
test eax, eax
je 0x140127823
lea rcx, str.Deleting_service
call fcn.1400de361
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [rbp + 0xe4], eax
cmp dword [rbp + 0xe4], 0
jne 0x140127816
mov eax, dword [0x1403070ac]
add eax, 0x39
cdqe
mov qword [rbp + 0x3b8], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3c0], eax
mov r9, qword [rbp + 0x3b8]
lea r8, str.C:Users_nolesDocumentsGithubmullvadvpn_appwindowsdriverlogic_src_service.cpp
mov edx, dword [rbp + 0x3c0]
lea rcx, str.DeleteService
call fcn.1400dd088
lea rcx, str.Successfully_deleted_service
call fcn.1400de361
nop
lea rcx, [rbp + 0x28]
call fcn.1400d9cf8
lea rcx, [rbp - 0x20]
lea rdx, [0x1402b0530]
call fcn.1400de438
mov rcx, qword [rbp + 0x3c8]
xor rcx, rbp
call fcn.1400dc098
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret