Function at 0x1400fffc0
Capabilities:
Create service
Query service status
Start service

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2d0
mov qword [rax - 0x268], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, vtable.Core::Mutex.0
mov qword [rsp + 0x78], rax
lea rcx, [0x1403ee370]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400ffcd0
xor edi, edi
test al, al
jne 0x1401003af
call fcn.1400ffe00
test al, al
jne 0x1401003a1
call fcn.1400ffd80
mov rbp, rax
lea rax, str.Network
mov qword [rsp + 0x88], rax
lea rax, str.Minimal
mov qword [rsp + 0x90], rax
mov esi, edi
lea r14, [rsp + 0x88]
lea r15, vtable.Core::Win32::RegistryKey.0
nop word [rax + rax]
lea r8, str.SYSTEMCurrentControlSetControlSafeBoot_
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402980d8
mov r8, qword [r14]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.14029a500
lea r8, [0x1403232c8]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.14029a500
lea r8, str.hitmanpro37
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.14029a500
mov eax, dword [0x1403fe608]
test al, 1
jne 0x140100101
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], r15
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xb0]
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140100168
lea ecx, [rbx + 0x10]
call fcn.14029806c
test rax, rax
je 0x140100168
mov rcx, qword [rsp + 0x70]
mov qword [rax], r15
mov qword [rax + 8], rcx
lea r8, str..sys
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.14029a500
mov eax, dword [0x1403fe608]
test al, 1
jne 0x1401001b2
or eax, 1
mov dword [0x1403fe608], eax
mov qword [0x1403fe5e0], r15
mov qword [0x1403fe5e8], 0xffffffff80000002
lea rcx, [0x1402de040]
call fcn.140299c6c
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xb0]
mov rcx, qword [0x1403fe5e8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140100219
lea ecx, [rbx + 0x10]
call fcn.14029806c
test rax, rax
je 0x140100219
mov rcx, qword [rsp + 0x70]
mov qword [rax], r15
mov qword [rax + 8], rcx
inc esi
add r14, 8
movsxd rax, esi
cmp rax, 2
jb 0x140100070
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14010025b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager___failed___d__r_n
call fcn.14029a88c
jmp 0x1401003a1
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x14
lea r8, [0x14032ac78]
lea rdx, str.hitmanpro37
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x140100343
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x1401002d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService___failed___d__r_n
call fcn.14029a88c
mov r8d, 0x14
lea rdx, str.hitmanpro37
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x14010030e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService___failed___d__r_n
call fcn.14029a88c
jmp 0x140100396
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x140100339
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueryServiceStatus___failed___d__r_n
call fcn.14029a88c
jmp 0x14010038d
cmp dword [rsp + 0x8c], 4
je 0x14010038d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140100381
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x14010036b
lea rcx, str.Driver_already_running_r_n
jmp 0x140100388
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.StartService___failed___d__r_n
call fcn.14029a88c
jmp 0x14010038d
lea rcx, str.Driver_started_r_n
call fcn.14029a7e0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1401003af
lea rcx, str.OpenDriver___failed_r_n
call fcn.14029a88c
jmp 0x1401003ff
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x10000000
lea rcx, str..Hitman_Pro_37
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
jne 0x1401003fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str..Hitman_Pro_37
lea rcx, str.CreateFile___on___s__failed_with__d_r_n
call fcn.14029a88c
jmp 0x1401003ff
mov rdi, rax
lea rcx, [0x1403ee370]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140297ff0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret