Function at 0x1800594a0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800594a0
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x3a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x1802678f8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rbx, rcx
lea rax, vtable.CShadowPlayApi.0
mov qword [rcx], rax
xor ebp, ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x28], rbp
mov dword [reloc.OLEAUT32.dll_SysStringLen], 6
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 6
jg 0x180059519
mov r8, rcx
lea rdx, str.CShadowPlayApi::CShadowPlayApi:_IN_this__X_
lea rcx, vtable.CLogger.0
call fcn.1800032ec
mov qword [rbx + 0x20], rbp
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.180005f33
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x180]
call fcn.180005f33
mov qword [rsp + 0x30], rbp
lea r9, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180205970]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x180059598
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180059764
lfence
mov r8d, eax
lea rdx, str.CShadowPlayApi::CShadowPlayApi:_SHGetKnownFolderPath_failed._HRESULT__0X_X
lea rcx, vtable.CLogger.0
call fcn.1800032ec
jmp 0x180059764
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, str._lsNVIDIA_CorporationShadowPlayIpcCommon64.dll
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x70]
call fcn.180001618
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, str._sNVIDIA_CorporationNvContainerlibprotobuf.dll
mov edx, 0x104
mov r8, 0xffffffffffffffff
lea rcx, [rsp + 0x180]
call fcn.1800041ec
mov rcx, qword [rsp + 0x30]
call qword [0x180298b38]
mov qword [rsp + 0x30], rbp
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [rsp + 0x180]
call fcn.180003a08
mov rdi, rax
mov rcx, qword [0x180298268]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x18005965a
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180059655
call qword [0x180298248]
mov r8d, eax
lea rdx, str.CShadowPlayApi::CShadowPlayApi:_failed_to_secure_preload_libprotobuf.dll__error_:__d
lea rcx, vtable.CLogger.0
call fcn.1800032ec
nop
jmp 0x180059764
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.180003003
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1800596b3
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x1800596a4
call qword [0x180298248]
mov r9d, eax
lea r8, [rsp + 0x70]
lea rdx, str.CShadowPlayApi::CShadowPlayApi:_Failed_to_load__s__error_code_:__d
lea rcx, vtable.CLogger.0
call fcn.1800032ec
nop
mov rcx, rdi
call qword [0x180298268]
nop
jmp 0x180059764
lea rdx, str.CreateIpcProxyInterface
mov rcx, rax
call qword [0x180298270]
mov rsi, rax
test rax, rax
je 0x180059733
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x38], 0x10020
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0x10
call qword [0x180298258]
mov dword [rsp + 0x44], eax
lea rax, [0x180005a83]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x38]
lea rcx, [rbx + 8]
call rsi
test eax, eax
je 0x180059733
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180059733
lea rdx, str.CShadowPlayApi::CShadowPlayApi:_Failed_to_create_IPC_proxy_interface.
lea rcx, vtable.CLogger.0
call fcn.1800032ec
mov dword [reloc.OLEAUT32.dll_SysStringLen], 6
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 6
jg 0x18005975a
lea rdx, [0x1801f33b8]
lea rcx, vtable.CLogger.0
call fcn.1800032ec
nop
mov rcx, rdi
call qword [0x180298268]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.180003008
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret