Function at 0x14000b270
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.14001c5c0
cmp word [rdi + 0x7f8], 0
jne 0x14000b2ea
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.14001c5c0
mov rdx, rbx
mov ecx, 0x14
call fcn.140005700
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.x__n_]
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 0x14000b36d
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 0x14000b384
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.14001c5c0
call fcn.14001fc40
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
shr eax, 1
test al, 1
je 0x14000b46a
mov qword [rsp + 0x28], 0
lea r8, [0x14000b720]
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 0x14000b443
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.14001c5c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
mov ecx, 0x11
mov r8d, eax
call fcn.140005700
jmp 0x14000b46a
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.14001c5c0
cmp qword [rdi + 0x138], 0
je 0x14000b484
call fcn.140016db0
mov rcx, qword [rdi + 0x138]
mov qword [rcx + 0x18], rax
mov rcx, rdi
call fcn.140005970
movzx esi, al
test al, al
je 0x14000b58d
cmp qword [rdi + 0x138], 0
je 0x14000b4c7
mov rbx, qword [rdi + 0x138]
call fcn.140016db0
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.1400052f0
mov rcx, rdi
call fcn.140004080
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.14000b190
test sil, sil
je 0x14000b54e
mov rax, qword [rdi + 0x138]
test rax, rax
je 0x14000b54e
call fcn.140016db0
mov rcx, qword [rdi + 0x138]
mov qword [rcx + 0x18], rax
mov rax, qword [rdi + 0x138]
test rax, rax
je 0x14000b54e
call fcn.140016db0
mov rcx, qword [rdi + 0x138]
xor edx, edx
mov qword [rcx + 0x20], rax
mov rcx, rdi
call fcn.140005be0
jmp 0x14000b55d
xor edx, edx
mov rcx, rdi
call fcn.140005be0
test sil, sil
je 0x14000b58d
cmp qword [rdi + 0x138], 0
je 0x14000b58d
mov rbx, qword [rdi + 0x138]
call fcn.140016db0
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