Function at 0x14000dac0
Capabilities:
Create service
Persist via windows service

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x410
call fcn.140032cf0
xor ebx, ebx
lea rdx, [rsp + 0x70]
mov r8d, 0x104
xor ecx, ecx
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000db5b
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd7e
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd7e
cmp byte [rcx + 0x19], 2
jb 0x14000dd7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140078970]
lea edx, [rbx + 0xa]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000da60
jmp 0x14000dd7e
mov ecx, 0x214
mov qword [rsp + 0x4a0], rsi
call fcn.140013e28
mov rsi, rax
test rax, rax
jne 0x14000dbbb
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd76
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd76
cmp byte [rcx + 0x19], 2
jb 0x14000dd76
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0xb]
lea r8, [0x1400697e0]
call fcn.1400017a0
jmp 0x14000dd76
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x22
mov r9d, 0x22
mov qword [rsp + 0x20], rax
lea r8, str._c_s_c
mov edx, 0x10a
mov rcx, rsi
call fcn.14000e030
cmp eax, 0xffffffff
jne 0x14000dc24
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd52
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd52
cmp byte [rcx + 0x19], 2
jb 0x14000dd52
mov edx, 0xc
jmp 0x14000dd42
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x14000dc89
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd52
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd52
cmp byte [rcx + 0x19], 2
jb 0x14000dd52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rdi + 0xd]
mov rcx, qword [0x140078970]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000da60
jmp 0x14000dd52
mov qword [rsp + 0x60], rbx
lea rax, [0x14006904c]
mov qword [rsp + 0x58], rbx
lea r8, str.Intel_Bluetooth_Service
mov qword [rsp + 0x50], rax
lea rdx, str.iBtSiva
mov qword [rsp + 0x48], rbx
mov r9d, 4
mov qword [rsp + 0x40], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x14000dd1b
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd52
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd52
cmp byte [rcx + 0x19], 2
jb 0x14000dd52
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0xe]
jmp 0x14000dc71
mov rcx, qword [0x140078970]
lea rax, [0x140078970]
cmp rcx, rax
je 0x14000dd52
test dword [rcx + 0x1c], 0x8000000
je 0x14000dd52
cmp byte [rcx + 0x19], 5
jb 0x14000dd52
mov edx, 0xf
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400697e0]
call fcn.1400017a0
mov rcx, rsi
call fcn.1400137f0
test rdi, rdi
je 0x14000dd68
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x14000dd76
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.1400117b0
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x490
pop rdi
ret