Function at 0x14000a5e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
lea rax, str.Service_host:
mov rcx, qword [rcx + 0x10]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8d, 0x175
call fcn.140012d40
cmp word [rbx + 0x3a0], 0
jne 0x14000a661
mov rcx, qword [rbx + 0x10]
lea rdi, str.Service_host:_service_registration_failed
mov r9d, 1
mov qword [rsp + 0x20], rdi
mov r8d, 0x17b
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
call fcn.140012d40
mov rdx, rdi
mov ecx, 0x14
call fcn.140004740
xor al, al
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x50], rsi
mov rcx, rbx
xor esi, esi
mov dword [rbx + 0x37c], 4
mov dword [rbx + 0x390], esi
mov dword [rbx + 0x380], 5
lea edx, [rsi + 3]
call fcn.14000a500
test byte [rbx + 8], 2
je 0x14000a72e
mov qword [rsp + 0x28], rsi
lea r8, [0x14000ab60]
mov r9, rbx
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x428], rax
test rax, rax
jne 0x14000a706
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbx + 0x10]
lea rdi, str.Service_host:_failed_to_create_ServiceConfigThread._Error__lu
mov dword [rsp + 0x28], eax
lea r9d, [rsi + 1]
mov r8d, 0x190
mov qword [rsp + 0x20], rdi
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
call fcn.140012d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
lea ecx, [rsi + 0x11]
mov r8d, eax
call fcn.140004740
jmp 0x14000a72e
mov rcx, qword [rbx + 0x10]
lea rax, str.Service_host:_Created_ServiceConfigThread
mov r9d, 3
mov qword [rsp + 0x20], rax
mov r8d, 0x194
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
call fcn.140012d40
cmp qword [rbx + 0x148], rsi
je 0x14000a752
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rcx, qword [rbx + 0x148]
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x18], rax
mov rcx, rbx
call fcn.140004c50
movzx edi, al
test al, al
je 0x14000a979
mov qword [rsp + 0x48], rbp
movabs rbp, 0xcccccccccccccccd
cmp qword [rbx + 0x148], rsi
je 0x14000a7d7
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8, qword [rbx + 0x148]
mov rax, rbp
mov rcx, qword [rsp + 0x40]
sub rcx, qword [r8 + 0x18]
mov r9d, dword [r8 + 8]
mul rcx
shr rdx, 3
cmp r9d, edx
ja 0x14000a7d3
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8, qword [rbx + 0x148]
mov rax, rbp
mov rcx, qword [rsp + 0x40]
sub rcx, qword [r8 + 0x18]
mul rcx
mov r9, rdx
shr r9, 3
mov dword [r8 + 8], r9d
mov rcx, rbx
call fcn.140004600
xor r9d, r9d
mov qword [rsp + 0x40], rsi
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.140005880
test al, al
je 0x14000a879
lea rdi, str.Service_host:_event_from_plugin__s
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14000a861
mov rcx, qword [rbx + 0x10]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
add rax, 0x270
mov r9d, 3
mov qword [rsp + 0x28], rax
mov r8d, 0x1c1
mov qword [rsp + 0x20], rdi
call fcn.140012d40
mov rax, qword [rsp + 0x40]
cmp byte [rax + 0x320], sil
jne 0x14000a9e8
cmp dword [rax + 0x2b4], 4
jne 0x14000a861
cmp byte [rax + 0x218], sil
jne 0x14000a98d
xor r9d, r9d
lea rdx, [rsp + 0x40]
or r8d, 0xffffffff
mov rcx, rbx
call fcn.140005880
test al, al
jne 0x14000a803
cmp byte [rbx + 0x144], sil
sete dil
mov edx, 3
mov dword [rbx + 0x37c], 3
mov rcx, rbx
mov dword [rbx + 0x390], 0x7530
mov dword [rbx + 0x380], 5
call fcn.14000a500
test dil, dil
je 0x14000a902
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x14000a902
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x148]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x14000a902
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rcx, qword [rbx + 0x148]
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x20], rax
xor edx, edx
mov rcx, rbx
call fcn.140004eb0
test dil, dil
je 0x14000a974
cmp qword [rbx + 0x148], rsi
je 0x14000a974
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8, qword [rbx + 0x148]
mov rax, rbp
mov rcx, qword [rsp + 0x40]
sub rcx, qword [r8 + 0x18]
mov r9d, dword [r8 + 0xc]
mul rcx
shr rdx, 3
cmp r9d, edx
ja 0x14000a970
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov r8, qword [rbx + 0x148]
mov rax, rbp
mov rcx, qword [rsp + 0x40]
sub rcx, qword [r8 + 0x18]
mul rcx
mov r9, rdx
shr r9, 3
mov dword [r8 + 0xc], r9d
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
movzx eax, dil
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x10]
lea rdi, str.Service_host:_mandatory_plugin__s_has_failed._Exit
add rax, 0x270
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
mov qword [rsp + 0x28], rax
mov r9d, 1
mov r8d, 0x1d1
mov qword [rsp + 0x20], rdi
call fcn.140012d40
mov r8, qword [rsp + 0x40]
mov rdx, rdi
add r8, 0x270
mov ecx, 0x28
call fcn.140004740
xor dil, dil
mov byte [rbx + 0x144], 1
jmp 0x14000a884
mov rcx, qword [rbx + 0x10]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcServiceHost.cpp
add rax, 0x270
mov r9d, 2
mov qword [rsp + 0x28], rax
mov r8d, 0x1c7
lea rax, str.Service_host:_plugin__s_has_requested_restart._Exit
mov qword [rsp + 0x20], rax
call fcn.140012d40
xor dil, dil
mov byte [rbx + 0x144], 1
jmp 0x14000a884