Function at 0x14000a1e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rax, str.Service_host:
mov rcx, qword [rcx + 8]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov r9d, 4
mov qword [rsp + 0x20], rax
mov r8d, 0x21e
call fcn.140014810
cmp word [rdi + 0x778], 0
jne 0x14000a261
mov rcx, qword [rdi + 8]
lea rbx, str.Service_host:_service_registration_failed
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x224
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.140014810
mov rdx, rbx
mov ecx, 0x14
call fcn.140004f10
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
xor ebx, ebx
mov qword [rsp + 0x48], rsi
mov rcx, rdi
mov dword [rdi + 0x754], 4
mov dword [rdi + 0x768], ebx
mov dword [rdi + 0x758], 5
lea edx, [rbx + 3]
call fcn.14000a100
call fcn.140015b60
shr eax, 1
test al, 1
je 0x14000a337
mov qword [rsp + 0x28], rbx
lea r8, [0x14000a5f0]
mov r9, rdi
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x800], rax
test rax, rax
jne 0x14000a30f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 8]
lea rbx, str.Service_host:_failed_to_create_ServiceConfigThread._Error__u
mov dword [rsp + 0x28], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x239
call fcn.140014810
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rbx
mov ecx, 0x11
mov r8d, eax
call fcn.140004f10
jmp 0x14000a337
mov rcx, qword [rdi + 8]
lea rax, str.Service_host:_Created_ServiceConfigThread
mov r9d, 3
mov qword [rsp + 0x20], rax
mov r8d, 0x23d
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.140014810
cmp qword [rdi + 0x130], 0
je 0x14000a351
call fcn.1400139c0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x18], rax
mov rcx, rdi
call fcn.140005180
movzx esi, al
test al, al
je 0x14000a44e
cmp qword [rdi + 0x130], 0
je 0x14000a394
mov rbx, qword [rdi + 0x130]
call fcn.1400139c0
sub eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x40]
add rbx, 8
mov dword [rsp + 0x40], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rcx, rdi
call fcn.140004b00
mov rcx, rdi
call fcn.1400039b0
mov edx, 3
mov dword [rdi + 0x754], 3
mov rcx, rdi
mov dword [rdi + 0x768], 0x7530
movzx esi, al
mov dword [rdi + 0x758], 5
call fcn.14000a100
test sil, sil
je 0x14000a40f
mov rax, qword [rdi + 0x130]
test rax, rax
je 0x14000a40f
call fcn.1400139c0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x130]
test rax, rax
je 0x14000a40f
call fcn.1400139c0
mov rcx, qword [rdi + 0x130]
mov qword [rcx + 0x20], rax
xor edx, edx
mov rcx, rdi
call fcn.1400053d0
test sil, sil
je 0x14000a44e
cmp qword [rdi + 0x130], 0
je 0x14000a44e
mov rbx, qword [rdi + 0x130]
call fcn.1400139c0
sub eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x40]
add rbx, 0xc
mov dword [rsp + 0x40], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x50]
movzx eax, sil
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret