Function at 0x1400012b0
Capabilities:
Create service
Delete service
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xf0], rax
lea rdx, [0x140005860]
lea rcx, str.Name:__s_n
call fcn.140001070
lea rbp, [0x140005e60]
mov rdx, rbp
lea rcx, str.Path:__s_n
call fcn.140001070
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r8d, 0xf01ff
lea rdx, [0x140005860]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x140001345
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
lea r8, [0x140005860]
mov qword [rsp + 0x60], rsi
lea rdx, [0x140005860]
mov qword [rsp + 0x58], rsi
mov r9d, 0xf01ff
mov qword [rsp + 0x50], rsi
mov rcx, rdi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
test rax, rax
je 0x1400013aa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xf01ff
lea rdx, [0x140005860]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
je 0x1400013fc
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x1400013f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
je 0x1400013f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x140003388]
movsd xmm0, qword [str..Global_]
mov dword [rsp + 0x78], eax
lea rax, [rsp + 0x70]
dec rax
movsd qword [rsp + 0x70], xmm0
cmp byte [rax + 1], sil
lea rax, [rax + 1]
jne 0x140001422
movsd xmm0, qword [str.Myfault]
mov rcx, rsi
movsd qword [rax], xmm0
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x70]
mov byte [rsp + rcx + 0xb0], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001440
lea rdx, [rsp + 0xb0]
lea rcx, str.Complete_device_name:__s_..._n
call fcn.140001070
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x1400014d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [0x140006460], eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, str.HardwareAcceleration
lea rcx, str._Error___s_driver_failed_to_load__n
call fcn.140001070
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001507
mov qword [0x140005040], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [0x140006460], eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea rdx, str.HardwareAcceleration
lea rcx, str._OK__Loaded__s_driver..._n
call fcn.140001070
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140001bf0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret