Function at 0x140001500
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r15
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x10], rax
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x78], xmm0
xor r15d, r15d
mov word [rsp + 0x68], r15w
lea r9, str.FullPath
lea edx, [r15 + 8]
lea rcx, [rsp + 0x68]
call fcn.140002920
nop
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
lea r9, str.SOFTWARENVIDIA_CorporationGlobalGFExperience
lea edx, [r15 + 0x2f]
lea rcx, [rsp + 0x48]
call fcn.140002920
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140001230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1400015e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14000163d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
cmp qword [rbp - 0x40], 0
je 0x140001d22
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140001d22
lea r10, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r10, qword [rbp - 0x50]
mov rdi, 0xffffffffffffffff
mov rbx, qword [rbp - 0x40]
cmp rbx, 0x1d
jb 0x140001702
lea r11, [rbx - 0x1c]
lea r11, [r10 + r11*2]
mov rdx, r10
lea r12, str.NVIDIA_GeForce_Experience.exe
nop dword [rax]
mov rax, r11
sub rax, rdx
sar rax, 1
je 0x140001702
cmp word [rdx], 0x4e
je 0x1400016cb
add rdx, 2
sub rax, 1
jmp 0x1400016b9
mov r8d, 0x1d
mov rcx, r12
mov r9, rdx
sub r9, r12
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x1400016fc
add rcx, 2
sub r8, 1
jne 0x1400016e0
sub rdx, r10
sar rdx, 1
jmp 0x140001705
add rdx, 2
jmp 0x1400016b0
mov rdx, rdi
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
cmp rbx, rdx
cmovb rdx, rbx
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rcx, [rsp + 0x20]
cmp rdx, 7
ja 0x140001755
mov qword [rsp + 0x30], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x20], r15w
jmp 0x14000175a
call fcn.140002920
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x14000179d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001798
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001798
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x40], xmm1
lea r8, str.nvccommon
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140002740
nop
lea r8, [rbp - 0x10]
lea rdx, str.INFO_:_Plugin_Source_path_is
lea rcx, [rsp + 0x20]
call fcn.140002550
mov rcx, rax
call fcn.1400032b0
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
lea r9, str.PluginFolderPath
mov edx, 0x10
lea rcx, [rsp + 0x68]
call fcn.140002920
nop
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
lea r9, str.SOFTWARENVIDIA_CorporationGlobalNvContainerLocalSystem
mov edx, 0x39
lea rcx, [rsp + 0x20]
call fcn.140002920
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.140001230
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140001890
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000188b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000188b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r15w
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400018e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r15w
cmp qword [rbp - 0x60], 0
je 0x140001c41
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140001c41
lea r10, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r10, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x60]
cmp rbx, 0xb
jb 0x1400019a2
lea r11, [rbx - 0xa]
lea r11, [r10 + r11*2]
mov rdx, r10
lea r12, str.LocalSystem
nop dword [rax]
mov rax, r11
sub rax, rdx
sar rax, 1
je 0x1400019a2
cmp word [rdx], 0x4c
je 0x14000196b
add rdx, 2
sub rax, 1
jmp 0x140001959
mov r8d, 0xb
mov rcx, r12
mov r9, rdx
sub r9, r12
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r9], ax
jne 0x14000199c
add rcx, 2
sub r8, 1
jne 0x140001980
sub rdx, r10
sar rdx, 1
jmp 0x1400019a5
add rdx, 2
jmp 0x140001950
mov rdx, rdi
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r15w
cmp rbx, rdx
cmovb rdx, rbx
lea r9, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r9, qword [rbp - 0x70]
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x1400019f5
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x48], r15w
jmp 0x1400019fa
call fcn.140002920
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140001a3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001a38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001a38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x60], xmm1
lea r8, str.SessionOverClockingNvc
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x30]
call fcn.140002740
nop
lea r8, [rbp - 0x30]
lea rdx, str.INFO_:_Plugin_Target_path_is
lea rcx, [rsp + 0x20]
call fcn.140002550
mov rcx, rax
call fcn.1400032b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140001b3e
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], r15w
lea r9, str.INFO_:_Plugin_Target_Path_already_exists.._Removing_it
mov edx, 0x36
lea rcx, [rsp + 0x20]
call fcn.140002920
lea rcx, [rsp + 0x20]
call fcn.1400032b0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140001b3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.ERROR_:_failed_to_delete_existing_symLink_with_error
add rdx, rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140001b20
lea rcx, [rsp + 0x20]
call fcn.1400023f0
lea rcx, [rsp + 0x20]
call fcn.140002ef0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rcx, qword [rbp - 0x30]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_CreateSymbolicLinkW]
test al, al
jne 0x140001bb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rax, str.ERROR_:_Creating_Symbolic_link_failed_with_error
add rdx, rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
nop
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140001b90
mov r8, rdi
lea rcx, [rsp + 0x20]
call fcn.1400023f0
lea rcx, [rsp + 0x20]
call fcn.140002ef0
xor bl, bl
jmp 0x140001bea
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8d, 0x23
lea rdx, str.INFO_:_Symlink_created_successfully
lea rcx, [rsp + 0x20]
call fcn.1400023f0
lea rcx, [rsp + 0x20]
call fcn.140002ef0
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x140001c2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r15w
jmp 0x140001c77
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov r8d, 0x29
lea rdx, str.ERROR_:_Failed_to_get_Container_full_path
lea rcx, [rsp + 0x48]
call fcn.1400023f0
lea rcx, [rsp + 0x48]
call fcn.140002ef0
xor bl, bl
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140001cba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cb5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140001d0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movdqa xmm0, xmmword [0x140007cc0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r15w
jmp 0x140001d58
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov r8d, 0x23
lea rdx, str.ERROR_:_Failed_to_get_GFE_full_path
lea rcx, [rsp + 0x20]
call fcn.1400023f0
lea rcx, [rsp + 0x20]
call fcn.140002ef0
xor bl, bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140001d9b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005530
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400054d0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov r15, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret