Function at 0x14000b290
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x48
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, 0x223
call fcn.14001c5e0
cmp word [rdi + 0x7f8], 0
jne 0x14000b30a
mov rcx, qword [rdi + 8]
lea rbx, str.Service_host:_service_registration_failed
mov r9d, 1
mov qword [rsp + 0x20], rbx
mov r8d, 0x229
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
call fcn.14001c5e0
mov rdx, rbx
mov ecx, 0x14
call fcn.140005720
xor al, al
add rsp, 0x48
pop rdi
pop rbx
ret
movzx eax, byte [rdi + 0x134]
lea rdx, [rdi + 0x7d0]
mov qword [rsp + 0x68], rbp
neg al
mov qword [rsp + 0x70], rsi
sbb ecx, ecx
mov qword [rsp + 0x78], r14
mov r14, qword [str.Running]
and ecx, 0x371d
mov dword [rdi + 0x7dc], ecx
mov rcx, qword [rdi + 0x7f0]
mov qword [rsp + 0x40], r15
mov dword [rdi + 0x7d4], 4
mov dword [rdi + 0x7e8], 0
mov dword [rdi + 0x7d8], 5
call qword [sym.imp.ADVAPI32.dll_SetServiceStatus]
mov r15, qword [rdi + 8]
test eax, eax
jne 0x14000b38d
mov ebx, 0x2e0
lea esi, [rax + 1]
lea rbp, str.Service_host:_failed_to_report__s_status._Error__u
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000b3a4
mov eax, dword [rdi + 0x7dc]
lea rbp, str.Service_host:__s_status_reported._Exit_code__u
mov ebx, 0x2e9
mov esi, 3
mov dword [rsp + 0x30], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov qword [rsp + 0x28], r14
mov r9d, esi
mov r8d, ebx
mov qword [rsp + 0x20], rbp
mov rcx, r15
call fcn.14001c5e0
call fcn.14001fc60
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
shr eax, 1
test al, 1
je 0x14000b48a
mov qword [rsp + 0x28], 0
lea r8, [0x14000b740]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rdi + 8]
mov qword [rdi + 0x880], rax
test rax, rax
jne 0x14000b463
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rsi, str.Service_host:_failed_to_create_ServiceConfigThread._Error__u
mov r9d, 1
mov qword [rsp + 0x20], rsi
mov r8d, 0x23e
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov rcx, rbx
call fcn.14001c5e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
mov ecx, 0x11
mov r8d, eax
call fcn.140005720
jmp 0x14000b48a
lea rax, str.Service_host:_Created_ServiceConfigThread
mov r9d, 3
mov r8d, 0x242
mov qword [rsp + 0x20], rax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerwindowsNvcServiceHost.cpp
mov rcx, rbx
call fcn.14001c5e0
cmp qword [rdi + 0x138], 0
je 0x14000b4a4
call fcn.140016dd0
mov rcx, qword [rdi + 0x138]
mov qword [rcx + 0x18], rax
mov rcx, rdi
call fcn.140005990
movzx esi, al
test al, al
je 0x14000b5ad
cmp qword [rdi + 0x138], 0
je 0x14000b4e7
mov rbx, qword [rdi + 0x138]
call fcn.140016dd0
sub eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x60]
add rbx, 8
mov dword [rsp + 0x60], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rcx, rdi
call fcn.140005310
mov rcx, rdi
call fcn.1400040a0
mov edx, 3
mov dword [rdi + 0x7d4], 3
mov rcx, rdi
mov dword [rdi + 0x7e8], 0x7530
movzx esi, al
mov dword [rdi + 0x7d8], 5
call fcn.14000b1b0
test sil, sil
je 0x14000b56e
mov rax, qword [rdi + 0x138]
test rax, rax
je 0x14000b56e
call fcn.140016dd0
mov rcx, qword [rdi + 0x138]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x138]
test rax, rax
je 0x14000b56e
call fcn.140016dd0
mov rcx, qword [rdi + 0x138]
xor edx, edx
mov qword [rcx + 0x20], rax
mov rcx, rdi
call fcn.140005c00
jmp 0x14000b57d
xor edx, edx
mov rcx, rdi
call fcn.140005c00
test sil, sil
je 0x14000b5ad
cmp qword [rdi + 0x138], 0
je 0x14000b5ad
mov rbx, qword [rdi + 0x138]
call fcn.140016dd0
sub eax, dword [rbx + 0x18]
lea rcx, [rsp + 0x60]
add rbx, 0xc
mov dword [rsp + 0x60], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
movzx eax, sil
mov rsi, qword [rsp + 0x70]
add rsp, 0x48
pop rdi
pop rbx
ret