Function at 0x14001c6a0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x218]
sub rsp, 0x310
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp + 0x200], rax
lea rcx, [rbp - 0x38]
call fcn.14001c0a0
nop
cmp qword [rbp - 0x28], 0
je 0x14001c996
lea r8, str.NVIDIA_CorporationFrameViewSDKdownloader
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140023f40
nop
lea r8, str.mouseLut.json
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x48]
call fcn.140023f40
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor edi, edi
test eax, eax
je 0x14001c924
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.14001c140
nop
mov rcx, rax
call fcn.14001c1e0
test al, al
sete bl
mov rax, qword [rsp + 0x38]
cmp rax, 0x10
jb 0x14001c7aa
inc rax
mov rcx, qword [rsp + 0x20]
cmp rax, 0x1000
jb 0x14001c7a5
test cl, 0x1f
je 0x14001c778
call fcn.140057078
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001c787
call fcn.140057078
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001c796
call fcn.140057078
int3
cmp rcx, 0x27
jbe 0x14001c7a2
call fcn.140057078
int3
mov rcx, rax
call fcn.14002dfd0
test bl, bl
jne 0x14001c93c
mov r8d, 0x104
lea rdx, [rbp - 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
cmp word [rbp - 0x10], 0
jne 0x14001c7e3
mov r8, rdi
jmp 0x14001c7fb
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001c7f0
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.1400108b0
nop
lea r8, [0x1400b6778]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.140018d90
nop
mov r8, qword [rsp + 0x38]
cmp r8, 8
jb 0x14001c83d
inc r8
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
call fcn.1400062d0
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rdi
mov word [rsp + 0x20], di
lea r8, str._binmouseLut.json
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.140023f40
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r8, qword [rbp - 0x80]
test eax, eax
jne 0x14001c8e0
cmp r8, 8
jb 0x14001c8b2
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001c93c
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.1400062d0
jmp 0x14001c93c
cmp r8, 8
jb 0x14001c8f8
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x68], di
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001c924
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.1400062d0
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14001c959
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400062d0
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
mov r8, qword [rbp - 0x40]
cmp r8, 8
jb 0x14001c986
inc r8
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x58]
call fcn.1400062d0
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], rdi
mov word [rbp - 0x58], di
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x14001c9b0
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.1400062d0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14002d9f0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret