Function at 0x180057540
Capabilities:
Get common file path

Disassembly:
jmp 0x180057540
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1802678f8]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x49], ebx
cmp qword [rcx + 0x38], rbx
jne 0x180057b66
mov ecx, dword [0x180270d10]
mov rax, qword gs:[0x58]
mov edx, 0x104
mov rcx, qword [rax + rcx*8]
lea r12, [0x180267050]
mov eax, dword [rdx + rcx]
cmp dword [0x18026a5a4], eax
jg 0x180057ba3
cmp qword [0x180267060], 0
jne 0x180057926
mov qword [rbp - 0x41], rbx
lea r9, [rbp - 0x41]
xor r8d, r8d
xor edx, edx
lea rcx, [0x180205a00]
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x180057621
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b66
lfence
mov r8d, eax
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_SHGetKnownFolderPath_failed._HRESULT__0X_X
lea rcx, vtable.CLogger.0
call fcn.1800032ec
jmp 0x180057b66
mov r15, qword [rbp - 0x41]
movdqa xmm0, xmmword [0x1801ecb90]
movdqu xmmword [rbp - 0x21], xmm0
mov word [rbp - 0x31], bx
mov dword [rbp - 0x49], 1
mov rsi, 0xffffffffffffffff
mov rcx, rsi
nop word [rax + rax]
inc rcx
cmp word [r15 + rcx*2], 0
jne 0x180057650
mov rdx, qword [0x180267060]
add rdx, rcx
lea rcx, [rbp - 0x31]
call fcn.18000ae57
mov r9, r12
cmp qword [0x180267068], 8
cmovae r9, qword [0x180267050]
mov rdi, qword [0x180267060]
mov r13, qword [rbp - 0x21]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
sub rax, r13
cmp rdi, rax
ja 0x1800576ce
lea rax, [rdi + r13]
mov qword [rbp - 0x21], rax
lea rbx, [rbp - 0x31]
cmp rcx, 8
cmovae rbx, qword [rbp - 0x31]
lea r8, [rdi + rdi]
lea rcx, [rbx + r13*2]
mov rdx, r9
call fcn.18000af56
lea rax, [rdi + r13]
xor r13d, r13d
mov word [rbx + rax*2], r13w
jmp 0x1800576f0
lfence
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x31]
call fcn.180003233
xor r13d, r13d
nop dword [rax + rax]
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x1800576f0
mov rcx, qword [rbp - 0x21]
mov rax, qword [rbp - 0x19]
sub rax, rcx
lfence
cmp rsi, rax
ja 0x18005773e
mov rdi, qword [rbp - 0x21]
add rdi, rsi
mov qword [rbp - 0x21], rdi
lea rbx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rbx, qword [rbp - 0x31]
lea r8, [rsi + rsi]
lea rcx, [rbx + rcx*2]
mov rdx, r15
call fcn.18000af56
mov word [rbx + rdi*2], r13w
jmp 0x180057755
mov qword [rsp + 0x20], rsi
mov r9, r15
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.180003233
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rbp - 0x19]
mov rax, rdx
sub rax, rcx
cmp rax, 0x20
jb 0x18005779f
lea rdi, [rcx + 0x20]
mov qword [rbp - 0x21], rdi
lea rbx, [rbp - 0x31]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x31]
lea rcx, [rbx + rcx*2]
mov r8d, 0x40
lea rdx, str.NVIDIA_CorporationUpdate_Core_
call fcn.18000af56
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x31]
jmp 0x1800577c2
lfence
mov qword [rsp + 0x20], 0x20
lea r9, str.NVIDIA_CorporationUpdate_Core_
xor r8d, r8d
lea edx, [r8 + 0x20]
lea rcx, [rbp - 0x31]
call fcn.180003233
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rbp - 0x49], 3
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
mov rax, rdx
sub rax, rcx
cmp rax, 0x12
jb 0x18005783a
lea rdi, [rcx + 0x12]
mov qword [rbp - 1], rdi
lea rbx, [rbp - 0x11]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x11]
lea rcx, [rbx + rcx*2]
mov r8d, 0x24
lea rdx, str.NvBackendAPI64.dll
call fcn.18000af56
mov word [rbx + rdi*2], r13w
lea rax, [rbp - 0x11]
jmp 0x18005785d
lfence
mov qword [rsp + 0x20], 0x12
lea r9, str.NvBackendAPI64.dll
xor r8d, r8d
lea edx, [r8 + 0x12]
lea rcx, [rbp - 0x11]
call fcn.180003233
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov rcx, r12
call fcn.18000556a
movups xmmword [0x180267050], xmm6
movups xmmword [0x180267060], xmm7
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800578ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800578c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057bec
call fcn.180001fb4
movdqa xmm0, xmmword [0x1801ecb90]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x18005791c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180057917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180057b9d
call fcn.180001fb4
mov rcx, qword [rbp - 0x41]
call qword [0x180298b38]
cmp qword [0x180267068], 8
cmovae r12, qword [0x180267050]
xor edx, edx
mov rcx, r12
call fcn.180006195
mov qword [r14 + 0x38], rax
test rax, rax
jne 0x180057981
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b66
call qword [0x180298248]
mov r8d, eax
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_nvLoadLibraryFromTrustedLocationW_failed_with__d
lea rcx, vtable.CLogger.0
call fcn.1800032ec
jmp 0x180057b66
lea rdx, str.EnsureThatBackendIsRunning
mov rcx, rax
call qword [0x180298270]
mov qword [r14 + 0x40], rax
test rax, rax
jne 0x1800579da
mov rcx, r14
call fcn.180002a86
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b66
call qword [0x180298248]
mov r8d, eax
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_Querying_EnsureThatBackendIsRunning_failed_with__d
lea rcx, vtable.CLogger.0
call fcn.1800032ec
jmp 0x180057b66
lea rdx, str.EasyAPIInit
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 8], rax
lea rdx, str.EasyAPIDeinit
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 0x10], rax
lea rdx, str.ClaimLicense
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 0x18], rax
lea rdx, str.GetApplicationByImagePath
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 0x20], rax
lea rdx, str.FreeApplication
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 0x28], rax
lea rdx, str.Application_ShouldReportTelemetry
mov rcx, qword [r14 + 0x38]
call qword [0x180298270]
mov qword [r14 + 0x30], rax
cmp qword [r14 + 8], 0
jne 0x180057a85
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057a85
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_EasyAPIInit_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
cmp qword [r14 + 0x10], 0
jne 0x180057ab2
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057ab2
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_EasyAPIDeinit_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
cmp qword [r14 + 0x18], 0
jne 0x180057adf
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057adf
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_ClaimLicense_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
cmp qword [r14 + 0x20], 0
jne 0x180057b0c
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b0c
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_GetApplicationByImagePath_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
cmp qword [r14 + 0x28], 0
jne 0x180057b39
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b39
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_FreeApplication_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
cmp qword [r14 + 0x30], 0
jne 0x180057b66
mov dword [reloc.OLEAUT32.dll_SysStringLen], 7
cmp dword [reloc.OLEAUT32.dll_VariantCopyInd], 7
jg 0x180057b66
lea rdx, str.NvBackendAPIController::LoadNvBackendLibraryAndQueryInterface:_Application_ShouldReportTelemetry_not_found
lea rcx, vtable.CLogger.0
call fcn.1800032ec
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.180003008
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180004516
int3
lea rcx, [0x18026a5a4]
call fcn.180007941
cmp dword [0x18026a5a4], 0xffffffff
jne 0x1800575c1
xor r8d, r8d
lea rdx, [0x1801f1a5c]
mov rcx, r12
call fcn.180003af8
lea rcx, [0x1801e1ae0]
call fcn.180004ba1
nop
lea rcx, [0x18026a5a4]
call fcn.180005ed4
jmp 0x1800575c1
call fcn.180004516
int3