Function at 0x1400ff8a0
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 [0x140418a10]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, vtable.Core::Mutex.0
mov qword [rsp + 0x78], rax
lea rcx, [0x14041c3e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400ff5a0
xor edi, edi
test al, al
jne 0x1400ffc8f
call fcn.1400ff6d0
test al, al
jne 0x1400ffc81
call fcn.1400ff650
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.1402b96f8
mov r8, qword [r14]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bbbd8
lea r8, [0x140347f58]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bbbd8
lea r8, str.hitmanpro37
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bbbd8
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x1400ff9e1
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], r15
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
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 [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400ffa48
lea ecx, [rbx + 0x10]
call fcn.1402b968c
test rax, rax
je 0x1400ffa48
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.1402bbbd8
mov eax, dword [0x14042c9e0]
test al, 1
jne 0x1400ffa92
or eax, 1
mov dword [0x14042c9e0], eax
mov qword [0x14042c9e8], r15
mov qword [0x14042c9f0], 0xffffffff80000002
lea rcx, [0x1403017d0]
call fcn.1402bb344
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 [0x14042c9f0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400ffaf9
lea ecx, [rbx + 0x10]
call fcn.1402b968c
test rax, rax
je 0x1400ffaf9
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 0x1400ff950
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1400ffb3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager___failed___d__r_n
call fcn.1402bbf64
jmp 0x1400ffc81
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, [0x14034ff18]
lea rdx, str.hitmanpro37
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x1400ffc23
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x1400ffbb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService___failed___d__r_n
call fcn.1402bbf64
mov r8d, 0x14
lea rdx, str.hitmanpro37
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1400ffbee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService___failed___d__r_n
call fcn.1402bbf64
jmp 0x1400ffc76
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1400ffc19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueryServiceStatus___failed___d__r_n
call fcn.1402bbf64
jmp 0x1400ffc6d
cmp dword [rsp + 0x8c], 4
je 0x1400ffc6d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400ffc61
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x1400ffc4b
lea rcx, str.Driver_already_running_r_n
jmp 0x1400ffc68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.StartService___failed___d__r_n
call fcn.1402bbf64
jmp 0x1400ffc6d
lea rcx, str.Driver_started_r_n
call fcn.1402bbeb8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ffc8f
lea rcx, str.OpenDriver___failed_r_n
call fcn.1402bbf64
jmp 0x1400ffcdf
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 0x1400ffcdc
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.1402bbf64
jmp 0x1400ffcdf
mov rdi, rax
lea rcx, [0x14041c3e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1402b9610
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