Function at 0x140018c20
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x4a8
mov rax, qword [0x1400b1318]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov r14, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
test rdx, rdx
je 0x140018f8f
test r8, r8
je 0x140018f8f
test r9, r9
je 0x140018f8f
cmp qword [rcx], 0
je 0x140018c89
lea rdx, [rcx + 8]
mov r8d, 0x104
mov rcx, rbp
call fcn.14006496c
test eax, eax
jne 0x140018c89
mov al, 1
jmp 0x140018f62
cmp qword [rdi], 0
jne 0x140018f8f
mov edx, 0x800
mov r8d, 1
mov rcx, rbp
call fcn.1400132b0
mov qword [rdi], rax
test rax, rax
je 0x140018f8f
movups xmm0, xmmword [0x1400953a8]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x4a0], rbx
movsd xmm1, qword [0x1400953b8]
xor edx, edx
mov qword [rsp + 0x498], r15
mov r8d, 0x1f0
movaps xmmword [rsp + 0x60], xmm0
xor r15b, r15b
movsd qword [rsp + 0x70], xmm1
call fcn.140028750
xor ebx, ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x38], rbx
xor r8d, r8d
mov qword [rsp + 0x30], 0x104
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call fcn.140063764
test eax, eax
jne 0x140018de7
lea r9, [rbx - 1]
mov r8, r14
mov edx, 0x104
lea rcx, [rsp + 0x270]
call fcn.140061ee4
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
lea rdx, [0x1400944cc]
lea rcx, [rsp + 0x270]
call fcn.140064934
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov esi, ebx
cmp bx, word [rcx]
je 0x140018da3
nop dword [rax]
nop word [rax + rax]
mov rsi, rdx
lea r8, [rsp + 0x50]
lea rdx, [0x1400944cc]
xor ecx, ecx
call fcn.140064934
mov rdx, rax
mov rax, qword [rsp + 0x50]
cmp bx, word [rax]
jne 0x140018d80
test rdx, rdx
je 0x140018de7
test rsi, rsi
je 0x140018de7
lea rax, [0x1400953c0]
mov qword [rsp + 0x30], rax
lea rcx, [rdi + 0x210]
mov qword [rsp + 0x28], rdx
lea r9, [rsp + 0x60]
mov edx, 0x104
mov qword [rsp + 0x20], rsi
lea r8, str._s._s._s._s
call fcn.140019400
cmp eax, 0xffffffff
setne r15b
mov rcx, qword [rdi]
test rcx, rcx
je 0x140018f7f
lea rdx, str.InitTelemetry
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140018f7f
call qword [case.0x14001a41b.0]
test eax, eax
js 0x140018f7f
test r15b, r15b
je 0x140018f7f
lea rcx, [rdi + 8]
mov r9, 0xffffffffffffffff
mov r8, rbp
mov edx, 0x104
call fcn.140061ee4
mov rcx, qword [0x1400b40e0]
mov rax, rbx
test rcx, rcx
je 0x140018e5b
lea rdx, str.Send_NvcPluginLoadStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b44f8], rax
mov rax, rbx
test rcx, rcx
je 0x140018e7e
lea rdx, str.Send_NvcPluginResumeStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4500], rax
mov rax, rbx
test rcx, rcx
je 0x140018ea1
lea rdx, str.Send_NvcPluginUnloadStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4508], rax
mov rax, rbx
test rcx, rcx
je 0x140018ec4
lea rdx, str.Send_NvcError_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4510], rax
mov rax, rbx
test rcx, rcx
je 0x140018ee7
lea rdx, str.Send_NvcMemoryStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4518], rax
mov rax, rbx
test rcx, rcx
je 0x140018f0a
lea rdx, str.Send_NvpWatchdogChildContainerProcessStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4520], rax
mov rax, rbx
test rcx, rcx
je 0x140018f2d
lea rdx, str.Send_NvcLoadStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400b40e0]
mov qword [0x1400b4528], rax
test rcx, rcx
je 0x140018f49
lea rdx, str.Send_NvcUnloadStats_Event
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov qword [0x1400b4530], rbx
mov al, 1
mov rbx, qword [rsp + 0x4a0]
mov r15, qword [rsp + 0x498]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140026d60
add rsp, 0x4a8
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov qword [rdi], rbx
jmp 0x140018f52
xor al, al
jmp 0x140018f62