Function at 0x14002e210
Capabilities:
Get common file path

Disassembly:
jmp 0x14002e210
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x2e0
mov rax, qword [0x140187788]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0xc0]
mov r8d, 0x208
xor ebx, ebx
call fcn.140004ca0
mov qword [rsp + 0x40], rbx
cmp qword [rdi + 0x40], rbx
jne 0x14002e461
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401480f0]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
jns 0x14002e2ae
lfence
cmp dword [0x14018725c], 7
mov dword [0x140187120], 7
jg 0x14002e487
mov r8d, eax
lea rdx, str.CSPNvAPIUtils::LoadNvapiDllMonitorInterface:_SHGetKnownFolderPath_failed.HRESULT__0x_08X
lea rcx, vtable.CLogger.0
call fcn.140002ebe
jmp 0x14002e487
lea rax, str.NvapiDllMonitor.dll
mov edx, 0x104
mov qword [rsp + 0x30], rax
lea r9, str._s_s_s
lea rax, str.NVIDIA_CorporationNVIDIA_AppCEFdependencies
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0xc0]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
call fcn.1400038b9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
xor edx, edx
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0xc0]
call fcn.140004e26
mov qword [rdi + 0x40], rax
test rax, rax
jne 0x14002e35d
cmp dword [0x14018725c], 7
mov dword [0x140187120], 7
jg 0x14002e353
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [rsp + 0xc0]
lea rdx, str.CSPNvAPIUtils::LoadNvapiDllMonitorInterface:_Could_not_locate__S._Error_0x_08X
lea rcx, vtable.CLogger.0
call fcn.140002ebe
mov eax, 0x80004005
jmp 0x14002e489
lea rdx, str.CreateNvapiDllMonitorApiInterface
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x14002e3b6
cmp dword [0x14018725c], 7
mov dword [0x140187120], 7
jg 0x14002e3a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CSPNvAPIUtils::LoadNvapiDllMonitorInterface:_CreateNvapiMonitorDllApiInterface_entrypoint_not_found__0x_08X
lea rcx, vtable.CLogger.0
call fcn.140002ebe
mov rcx, rdi
call fcn.140001fff
mov eax, 0x80004005
jmp 0x14002e489
xorps xmm0, xmm0
mov qword [rsp + 0x48], 0
lea r8, str.Nvapp_ShadowPlay
mov edx, 0x64
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0xb0], xmm0
call fcn.1400045ac
lea rax, [rsp + 0x48]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0xb8], rax
call rsi
test eax, eax
jne 0x14002e430
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax]
mov qword [rdi + 0x48], rcx
jmp 0x14002e461
cmp dword [0x14018725c], 7
mov dword [0x140187120], 7
jg 0x14002e459
mov r8d, eax
lea rdx, str.CSPNvAPIUtils::LoadNvapiDllMonitorInterface:_CreateNvapiDllMonitorApiInterface_failed_with_error:_d
lea rcx, vtable.CLogger.0
call fcn.140002ebe
mov rcx, rdi
call fcn.140001fff
cmp dword [0x14018725c], 6
mov dword [0x140187120], 6
jg 0x14002e487
lea rdx, str.CSPNvAPIUtils::LoadNvapiDllMonitorInterface:_OUT
lea rcx, vtable.CLogger.0
call fcn.140002ebe
mov eax, ebx
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140002cde
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret