Function at 0x140100e80
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 [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rax, vtable.Core::Mutex.0
mov qword [rsp + 0x78], rax
lea rcx, [0x1404213e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
call fcn.140100b80
xor edi, edi
test al, al
jne 0x14010126f
call fcn.140100cb0
test al, al
jne 0x140101261
call fcn.140100c30
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.1402bcbb8
mov r8, qword [r14]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bf098
lea r8, [0x14034c088]
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bf098
lea r8, str.hitmanpro37
mov edx, 0x104
lea rcx, [rsp + 0xb0]
call fcn.1402bf098
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140100fc1
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], r15
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
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 [0x140431ad0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x140101028
lea ecx, [rbx + 0x10]
call fcn.1402bcb4c
test rax, rax
je 0x140101028
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.1402bf098
mov eax, dword [0x140431ac0]
test al, 1
jne 0x140101072
or eax, 1
mov dword [0x140431ac0], eax
mov qword [0x140431ac8], r15
mov qword [0x140431ad0], 0xffffffff80000002
lea rcx, [0x1403050b0]
call fcn.1402be804
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 [0x140431ad0]
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401010d9
lea ecx, [rbx + 0x10]
call fcn.1402bcb4c
test rax, rax
je 0x1401010d9
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 0x140100f30
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
jne 0x14010111b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager___failed___d__r_n
call fcn.1402bf424
jmp 0x140101261
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, [0x140353cf8]
lea rdx, str.hitmanpro37
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x140101203
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x140101197
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService___failed___d__r_n
call fcn.1402bf424
mov r8d, 0x14
lea rdx, str.hitmanpro37
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x1401011ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenService___failed___d__r_n
call fcn.1402bf424
jmp 0x140101256
lea rdx, [rsp + 0x88]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1401011f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueryServiceStatus___failed___d__r_n
call fcn.1402bf424
jmp 0x14010124d
cmp dword [rsp + 0x8c], 4
je 0x14010124d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140101241
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x14010122b
lea rcx, str.Driver_already_running_r_n
jmp 0x140101248
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.StartService___failed___d__r_n
call fcn.1402bf424
jmp 0x14010124d
lea rcx, str.Driver_started_r_n
call fcn.1402bf378
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14010126f
lea rcx, str.OpenDriver___failed_r_n
call fcn.1402bf424
jmp 0x1401012bf
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 0x1401012bc
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.1402bf424
jmp 0x1401012bf
mov rdi, rax
lea rcx, [0x1404213e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1402bcad0
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