Function at 0x140008a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x70
cmp qword [rcx + 0x2d0], 0
mov rdi, rcx
je 0x140008c8c
mov ecx, dword [rcx + 0x2b0]
mov qword [rsp + 0x88], rbx
test ecx, ecx
je 0x140008e1e
cmp ecx, 2
je 0x140008de4
cmp ecx, 4
je 0x140008b3c
cmp ecx, 6
je 0x140008b02
cmp ecx, 8
je 0x140008ac8
call fcn.140003850
mov rcx, qword [rdi]
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x28], rax
mov r9d, 3
lea rax, str.Ignoring_recording_of_last_transition_where_state___s
mov r8d, 0x14d
mov qword [rsp + 0x20], rax
call fcn.140014810
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rdi + 0x2d0]
call fcn.1400139c0
sub eax, dword [rbx + 0x48]
lea rcx, [rsp + 0x80]
add rbx, 0x1c
mov dword [rsp + 0x80], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rdi + 0x2d0]
call fcn.1400139c0
sub eax, dword [rbx + 0x48]
lea rcx, [rsp + 0x80]
add rbx, 0x24
mov dword [rsp + 0x80], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rdi + 8]
mov qword [rsp + 0x90], rsi
movzx ebx, byte [rax + 0x349]
call fcn.1400139c0
mov rcx, qword [rdi + 0x2d0]
mov r8, rax
mov eax, dword [rcx + 0x48]
sub r8d, eax
mov dword [rsp + 0x80], r8d
test bl, bl
je 0x140008c92
cmp dword [rcx + 0x2c], r8d
lea rdx, [rcx + 0x2c]
lea rcx, [rsp + 0x80]
cmovae rcx, rdx
mov eax, dword [rcx]
mov dword [rdx], eax
mov rcx, qword [rdi + 0x2d0]
mov edx, dword [rcx + 0x24]
test edx, edx
jne 0x140008ba3
cmp dword [rcx + 0x2c], edx
jbe 0x140008c7c
mov eax, dword [rcx + 0x2c]
lea rbx, [rdi + 0x270]
mov dword [rsp + 0x48], eax
mov r9d, 3
mov eax, dword [rcx + 0x28]
mov r8d, 0x11a
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x20]
mov rcx, qword [rdi]
mov dword [rsp + 0x38], edx
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov dword [rsp + 0x30], eax
lea rax, str.NvcPluginResumeStats_for__s___SuspendProcTime___u_us__SuspendTimeTotal___u_us__ResumeProcTime___u_us__ResumeTimeTotal___u_us
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140014810
mov rdx, qword [rdi + 0x2d0]
mov rsi, qword [rdi]
test rdx, rdx
je 0x140008c59
mov r9d, dword [rdx + 0x28]
lea rax, [rdi + 0x2d8]
mov r8d, dword [rdx + 0x24]
mov rcx, rbx
mov qword [rsp + 0x28], rax
mov eax, dword [rdx + 0x2c]
mov edx, dword [rdx + 0x20]
mov dword [rsp + 0x20], eax
call fcn.140015700
mov dword [rsp + 0x30], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonNvcTelemetryHelper.h
mov r9d, 3
mov qword [rsp + 0x28], rbx
lea rax, str.NvcPluginResumeStats_for__s_returned__u
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x7d]
call fcn.140014810
mov rdx, qword [rdi + 0x2d0]
xor ecx, ecx
mov dword [rdx + 0x20], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x24], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x28], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x2c], ecx
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
add rcx, 0x14
lea rax, [rsp + 0x80]
cmp dword [rcx], r8d
cmovae rax, rcx
mov eax, dword [rax]
mov dword [rcx], eax
mov rcx, qword [rdi + 0x2d0]
mov edx, dword [rcx]
test edx, edx
jne 0x140008cc0
cmp dword [rcx + 0xc], edx
ja 0x140008cc0
cmp dword [rcx + 0x14], edx
jbe 0x140008c7c
mov eax, dword [rcx + 0x14]
lea rbx, [rdi + 0x270]
mov dword [rsp + 0x60], eax
mov r9d, 3
mov eax, dword [rcx + 0x10]
mov r8d, 0x136
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0xc]
mov dword [rsp + 0x50], eax
mov eax, dword [rcx + 8]
mov dword [rsp + 0x48], eax
mov eax, dword [rcx + 0x40]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x3c]
mov rcx, qword [rdi]
mov dword [rsp + 0x38], eax
lea rax, str.NvcPluginLoadStats_for__s___LibraryLoadTime___u_us__ImageLoadTime___u_us__AbsLibraryLoadTime___u__InitializeProcTime___u_us__InitializeTimeTotal___u_us__StartProcTime___u_us__StartTimeTotal___u_us.
mov dword [rsp + 0x30], edx
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercontainerNvcPluginManager.cpp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.140014810
mov rdx, qword [rdi + 0x2d0]
mov rsi, qword [rdi]
test rdx, rdx
je 0x140008d9f
mov r9d, dword [rdx + 0x40]
lea rax, [rdi + 0x2d8]
mov r8d, dword [rdx + 0x3c]
mov rcx, rbx
mov qword [rsp + 0x40], rax
mov eax, dword [rdx + 0x14]
mov dword [rsp + 0x38], eax
mov eax, dword [rdx + 0x10]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0xc]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 8]
mov edx, dword [rdx]
mov dword [rsp + 0x20], eax
call fcn.140015650
mov dword [rsp + 0x30], eax
lea rdx, str.C:dvsp4_build_swgcompdev_srcNvContainercommonNvcTelemetryHelper.h
mov r9d, 3
mov qword [rsp + 0x28], rbx
lea rax, str.NvcPluginLoadStats_for__s_returned__u
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x53]
call fcn.140014810
mov rdx, qword [rdi + 0x2d0]
xor ecx, ecx
mov dword [rdx], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x3c], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x40], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 8], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0xc], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x10], ecx
mov rax, qword [rdi + 0x2d0]
mov dword [rax + 0x14], ecx
jmp 0x140008c7c
mov rbx, qword [rdi + 0x2d0]
call fcn.1400139c0
sub eax, dword [rbx + 0x48]
lea rcx, [rsp + 0x80]
add rbx, 0xc
mov dword [rsp + 0x80], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rbx, qword [rdi + 0x2d0]
call fcn.1400139c0
sub eax, dword [rbx + 0x48]
lea rcx, [rsp + 0x80]
add rbx, 0x34
mov dword [rsp + 0x80], eax
cmp dword [rbx], eax
cmovae rcx, rbx
mov eax, dword [rcx]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret