Function at 0x1400dd8a0
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 [0x140467300]
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 0x1400dd959
call fcn.140101900
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x140467250]
call r8
test eax, eax
je 0x1400dd945
call fcn.140101900
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], 0x5f
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x140467250]
xor ecx, ecx
call rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140107da0
mov ebp, eax
jmp 0x1400ddaff
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400ff560
cmp qword [rax + 0x18], 8
jb 0x1400dd970
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 0x1400dd9cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400dd9ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400dd9ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010e9f4
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 0x1400dda63
call fcn.140101900
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x140467250]
call r8
test eax, eax
je 0x1400dda55
call fcn.140101900
mov rbp, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rsi + 0x18], 0x10
jb 0x1400dda20
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], 0x67
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x140467250]
xor ecx, ecx
call rbp
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x1400ddae6
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1400ddaf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0x420
je 0x1400ddaf0
call fcn.140101900
mov r8, qword [rax]
xor edx, edx
mov ecx, dword [0x140467250]
call r8
test eax, eax
je 0x1400ddae6
call fcn.140101900
mov r10, qword [rax + 8]
cmp qword [rsi + 0x18], 0x10
jb 0x1400ddaaf
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], 0x72
lea r9, str.utlLoadDriver
lea r8, str.C:code_app_playerhdSourceutlUtlWinnt.cpp
mov edx, dword [0x140467250]
xor ecx, ecx
call r10
mov ecx, r14d
call fcn.140107da0
mov ebp, eax
test r15b, r15b
je 0x1400ddaff
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
test r12b, r12b
je 0x1400ddb0e
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov eax, ebp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010eb10
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