Function at 0x140002610
Capabilities:
Delete service
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14013d010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400026af
mov r8d, 0x10020
lea rdx, str.mhyprotect
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400026a6
xor eax, eax
lea r8, [rsp + 0x58]
mov rcx, rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea edx, [rax + 1]
mov dword [rsp + 0x70], eax
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000269d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call fcn.140004030
test al, al
jne 0x1400026c9
lea rcx, str.____failed_to_initialize_vulnerable_driver_n
call fcn.1400025b0
jmp 0x140002868
mov edx, 0x10
mov dword [rsp + 0x5c], 0xbaebaeec
movabs rax, 0xebbaaef4fff89042
mov qword [rsp + 0x60], rax
lea ecx, [rdx - 0xf]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x140002857
mov rcx, qword [0x14013da58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
mov dword [rsp + 0x28], 0x10
mov edx, 0x80034000
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
mov eax, dword [rsp + 0x50]
setne dil
test eax, eax
je 0x140002755
mov r8d, eax
lea rcx, [rsp + 0x58]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test dil, dil
je 0x140002857
mov qword [rsp + 0x48], 0xb
lea rax, str.mhyprot.sys
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140005250
mov rdi, rax
test rax, rax
je 0x140002857
mov edx, 0xc
lea ecx, [rdx - 0xb]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x1400027eb
lea rcx, [rdi + 0xa0e8]
mov dword [rax + 8], 8
mov qword [rax], rcx
mov r8d, 0xc
mov ecx, 0x83064000
mov rdx, rax
call fcn.140004680
test al, al
je 0x1400027eb
cmp dword [rbx], 0
jne 0x1400027eb
movsd xmm0, qword [rbx + 4]
movsd qword [rsp + 0x40], xmm0
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x140002857
mov edx, 0x9c4
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x140002857
mov r8d, 0x9c4
mov qword [rax], rdi
mov rdx, rax
mov dword [rax + 8], 0x9c0
mov ecx, 0x83064000
call fcn.140004680
test al, al
je 0x140002857
cmp dword [rbx], 0
jne 0x140002857
lea rdx, [rbx + 4]
mov r8d, 0x9c0
lea rcx, [0x14013da60]
call sub.VCRUNTIME140.dll_memcpy
call fcn.1400028f0
call fcn.1400045a0
xor eax, eax
jmp 0x14000286d
lea rcx, str.____failed_to_initialize_driver_properly_n
call fcn.1400025b0
call fcn.1400045a0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140005d50
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret