Function at 0x140001c30
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x450
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
jne 0x140001cb6
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rsi + 8]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____HeapAlloc_Failed_With_Error_:__d__n
mov r8d, eax
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor edi, edi
jmp 0x140002050
lea rax, [rsp + 0x40]
xorps xmm0, xmm0
mov ecx, 8
nop dword [rax]
nop word [rax + rax]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmmword [rax - 0x10], xmm0
sub rcx, 1
jne 0x140001cd0
movups xmmword [rax], xmm0
mov byte [rsp + 0x470], 1
lea rdx, [rsp + 0x40]
movabs rax, 0x4d00450052003a
mov dword [rsi + 0x10], 8
mov r8d, 0x208
mov qword [rsi + 0x14], rax
call qword [0x140107070]
test eax, eax
jne 0x140001d69
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____GetModuleFileNameW_Failed_With_Error_:__d__n
jmp 0x140001c96
xor edi, edi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [rdi + 1]
call qword [0x140107078]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001dd2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rdi + 8]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____CreateFileW__R__Failed_With_Error_:__d__n
jmp 0x140002037
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140001e43
lea r8, str.:REMOVED
mov rcx, rax
lea rdx, str._i__Renaming_:_DATA_to__s__...
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r8d, ebx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9d, 0x20
mov r8, rsi
mov rcx, rbp
lea edx, [r9 - 0x1d]
call qword [0x140107080]
test eax, eax
jne 0x140001e95
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____SetFileInformationByHandle__R__Failed_With_Error_:__d__n
jmp 0x140002037
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x140001eff
lea rdx, str.___DONE__n
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r8d, ebx
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbp
call qword [0x140107088]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x40]
mov edx, 0x110000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [0x140107078]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140001f7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140002109
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [r14 + 9]
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____CreateFileW__D__Failed_With_Error_:__d__n
jmp 0x140002037
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x140001fe9
lea rdx, str._i__DELETING_...
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r8d, ebx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r9d, 1
lea r8, [rsp + 0x470]
mov rcx, r14
lea edx, [r9 + 3]
call qword [0x140107080]
test eax, eax
jne 0x140002082
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x14000207b
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.____SetFileInformationByHandle__D__Failed_With_Error_:__d__n
mov r8d, eax
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8d, ebx
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x14000210e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x400
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x1400020ec
lea rdx, str.___DONE__n
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
mov ecx, 0xfffffff5
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov r8d, ebx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, r14
call qword [0x140107088]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret