Function at 0x1400fe750
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 [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, vtable.Core::Mutex.0
mov qword [rsp + 0x78], rax
lea rcx, [0x1404193e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.1400fe460
xor edi, edi
test al, al
jne 0x1400feb3f
call fcn.1400fe590
test al, al
jne 0x1400feb31
call fcn.1400fe510
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.1402b6e28
mov r8, qword [r14]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402b9308
lea r8, [0x140345f98]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402b9308
lea r8, str.hitmanpro37
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x1400fe891
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], r15
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
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 [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400fe8f8
lea ecx, [rbx + 0x10]
call fcn.1402b6dbc
test rax, rax
je 0x1400fe8f8
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.1402b9308
mov eax, dword [0x140429a18]
test al, 1
jne 0x1400fe942
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], r15
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
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 [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1400fe9a9
lea ecx, [rbx + 0x10]
call fcn.1402b6dbc
test rax, rax
je 0x1400fe9a9
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 0x1400fe800
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x1400fe9eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager___failed___d__r_n
call fcn.1402b9694
jmp 0x1400feb31
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, [0x14034df48]
lea rdx, str.hitmanpro37
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x1400fead3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x1400fea67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService___failed___d__r_n
call fcn.1402b9694
mov r8d, 0x14
lea rdx, str.hitmanpro37
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1400fea9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService___failed___d__r_n
call fcn.1402b9694
jmp 0x1400feb26
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1400feac9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueryServiceStatus___failed___d__r_n
call fcn.1402b9694
jmp 0x1400feb1d
cmp dword [rsp + 0x8c], 4
je 0x1400feb1d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400feb11
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x1400feafb
lea rcx, str.Driver_already_running_r_n
jmp 0x1400feb18
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.StartService___failed___d__r_n
call fcn.1402b9694
jmp 0x1400feb1d
lea rcx, str.Driver_started_r_n
call fcn.1402b95e8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400feb3f
lea rcx, str.OpenDriver___failed_r_n
call fcn.1402b9694
jmp 0x1400feb8f
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 0x1400feb8c
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.1402b9694
jmp 0x1400feb8f
mov rdi, rax
lea rcx, [0x1404193e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1402b6d40
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