Function at 0x1400f6a6c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1098]
mov eax, 0x1170
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x1060], rax
xor edi, edi
cmp byte [0x1401be45e], dil
jne 0x1400f6db3
test cl, cl
jne 0x1400f6ac6
call fcn.1400f6de4
jmp 0x1400f6db3
lea r12, [0x1401bd3f0]
mov qword [rbp + 0xff0], rdi
mov rcx, r12
mov qword [rbp + 0xff8], rdi
xor edx, edx
mov qword [rbp + 0x1000], rdi
mov r15, rdi
mov r14, rdi
call fcn.140058440
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140058440
mov r13d, 3
test al, al
je 0x1400f6c5e
lea rcx, [rsp + 0x60]
call fcn.14009694c
mov r8, r13
lea rdx, [0x1401561a8]
mov rcx, rax
mov rbx, rax
call fcn.1400af398
test eax, eax
je 0x1400f6b46
mov r8, r13
lea rdx, [0x1401561b0]
mov rcx, rbx
call fcn.1400af398
test eax, eax
jne 0x1400f6b68
movzx ecx, word [rbx + 6]
call fcn.14012c160
test eax, eax
je 0x1400f6b68
cmp word [rbx + 8], 0x2e
je 0x1400f6bfd
cmp word [rbx + 8], di
je 0x1400f6bfd
mov r8, r13
lea rdx, [0x140151a00]
mov rcx, rbx
call fcn.1400af398
test eax, eax
je 0x1400f6bc0
mov r8, r13
lea rdx, [0x140151a08]
mov rcx, rbx
call fcn.1400af398
test eax, eax
je 0x1400f6bc0
mov r8, r13
lea rdx, [0x140151a10]
mov rcx, rbx
call fcn.1400af398
test eax, eax
je 0x1400f6bc0
mov r8, r13
lea rdx, [0x1401512f8]
mov rcx, rbx
call fcn.1400af398
test eax, eax
jne 0x1400f6bcd
cmp word [rbx + 6], 0x2e
je 0x1400f6bfd
cmp word [rbx + 6], di
je 0x1400f6bfd
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400f6beb
lea rcx, [rsp + 0x60]
call fcn.1400855a0
test al, al
jne 0x1400f6c00
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140058440
jmp 0x1400f6b05
mov dil, 1
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [rsp + 0x60]
call fcn.1400c60ec
mov ecx, 0x204
mov rbx, rax
call fcn.1400a617c
mov rdx, rbx
mov rcx, rax
call fcn.1400ee128
mov ecx, 0x205
call fcn.1400a617c
mov rcx, rax
call fcn.1400ee400
neg dil
sbb ecx, ecx
and ecx, 0xffffff87
add ecx, 0xce
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x1401ca7d8]
call fcn.14007e310
jmp 0x1400f6db3
xor edx, edx
mov rcx, r12
call fcn.140058440
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140058440
test al, al
je 0x1400f6d7c
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400f6c86
lea rbx, [rax + 1]
mov rcx, r15
add rbx, r14
lea rdx, [rbx*2 + 2]
call fcn.14012542c
mov rsi, rax
test rax, rax
je 0x1400f6dab
mov r15, rax
lea rcx, [r14 + r14]
lea rax, [rsp + 0x60]
sub rcx, rax
lea rdx, [rsp + 0x60]
lea rax, [rcx + r15]
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x1400f6cca
lea rdx, [rsp + 0x60]
mov rcx, r12
mov r14, rbx
call fcn.140058440
test al, al
jne 0x1400f6c7d
test rbx, rbx
je 0x1400f6d7c
mov word [rsi + rbx*2], di
lea rcx, [rsp + 0x20]
inc dword [0x14018a800]
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rax, qword [0x14018a7d0]
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x20], rax
mov eax, 0x40
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], r13d
movups xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x40], ax
mov qword [rsp + 0x30], rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
dec dword [0x14018a800]
mov rcx, rsi
mov ebx, eax
call fcn.140125418
test ebx, ebx
jne 0x1400f6db3
cmp dword [rsp + 0x44], edi
jne 0x1400f6db3
lea rcx, [0x14019b508]
call fcn.1400cbf28
lea rdx, [0x14013ff10]
mov rcx, r12
call fcn.14005b6c0
jmp 0x1400f6db3
mov ecx, 0x65
call fcn.1400a617c
mov ecx, 0x14c
mov rbx, rax
call fcn.1400a617c
mov rcx, qword [0x14018a7d0]
mov r9d, 0x30
mov r8, rbx
mov rdx, rax
call fcn.1400e9514
mov rcx, r15
call fcn.140125418
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.140119970
lea r11, [rsp + 0x1170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret