Function at 0x1400e4450
Capabilities:
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14048f3e0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
xor edx, edx
xor ecx, ecx
mov r8d, 0x80000000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
setne r12b
test rax, rax
jne 0x1400e4509
call fcn.1401084b0
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x14048f330]
call r8
test eax, eax
je 0x1400e44f5
call fcn.1401084b0
mov rbx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.Failed_to_open_SCM_handle._Err___d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x5e
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x14048f330]
xor ecx, ecx
call rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f5a0
mov ebp, eax
jmp 0x1400e46af
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140106110
cmp qword [rax + 0x18], 8
jb 0x1400e4520
mov rax, qword [rax]
mov r8d, 0xa0000000
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400e457f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e457a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e457a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401155e4
xor ebp, ebp
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bp
test rbx, rbx
setne r15b
test rbx, rbx
jne 0x1400e4613
call fcn.1401084b0
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x14048f330]
call r8
test eax, eax
je 0x1400e4605
call fcn.1401084b0
mov rbp, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rsi + 0x18], 0x10
jb 0x1400e45d0
mov rsi, qword [rsi]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
lea rax, str.Failed_to_open_service__s._Err___d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x66
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x14048f330]
xor ecx, ecx
call rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x1400e4696
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400e46a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x420
je 0x1400e46a0
call fcn.1401084b0
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x14048f330]
call r8
test eax, eax
je 0x1400e4696
call fcn.1401084b0
mov r10, qword [rax + 8]
cmp qword [rsi + 0x18], 0x10
jb 0x1400e465f
mov rsi, qword [rsi]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], rsi
lea rax, str.Failed_to_start_service__s._Err___d_n
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x71
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x14048f330]
xor ecx, ecx
call r10
mov ecx, r14d
call fcn.14010f5a0
mov ebp, eax
test r15b, r15b
je 0x1400e46af
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
test r12b, r12b
je 0x1400e46be
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, ebp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140115700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret