Function at 0x1400ce434
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.1400ec1b0
sub rsp, rax
mov rax, qword [0x14013b1d0]
xor rax, rsp
mov qword [rbp + 0x1060], rax
xor edi, edi
cmp byte [0x1401690b2], dil
jne 0x1400ce771
test cl, cl
jne 0x1400ce48e
call fcn.1400ce7a4
jmp 0x1400ce771
lea r12, [0x140168030]
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.14003ffdc
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14003ffdc
mov r13d, 3
test al, al
je 0x1400ce626
lea rcx, [rsp + 0x60]
call fcn.140078d7c
mov r8, r13
lea rdx, [0x140117ec8]
mov rcx, rax
mov rbx, rax
call fcn.14008f920
test eax, eax
je 0x1400ce50e
mov r8, r13
lea rdx, [0x140117ed0]
mov rcx, rbx
call fcn.14008f920
test eax, eax
jne 0x1400ce530
movzx ecx, word [rbx + 6]
call fcn.1400f8a38
test eax, eax
je 0x1400ce530
cmp word [rbx + 8], 0x2e
je 0x1400ce5c5
cmp word [rbx + 8], di
je 0x1400ce5c5
mov r8, r13
lea rdx, [0x140117ed8]
mov rcx, rbx
call fcn.14008f920
test eax, eax
je 0x1400ce588
mov r8, r13
lea rdx, [0x140117ee0]
mov rcx, rbx
call fcn.14008f920
test eax, eax
je 0x1400ce588
mov r8, r13
lea rdx, [0x140117ee8]
mov rcx, rbx
call fcn.14008f920
test eax, eax
je 0x1400ce588
mov r8, r13
lea rdx, [0x140111af8]
mov rcx, rbx
call fcn.14008f920
test eax, eax
jne 0x1400ce595
cmp word [rbx + 6], 0x2e
je 0x1400ce5c5
cmp word [rbx + 6], di
je 0x1400ce5c5
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400ce5b3
lea rcx, [rsp + 0x60]
call fcn.140068a84
test al, al
jne 0x1400ce5c8
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14003ffdc
jmp 0x1400ce4cd
mov dil, 1
mov edx, reloc.SHELL32.dll_SHRestricted
lea rcx, [rsp + 0x60]
call fcn.140045dc4
mov ecx, 0x203
mov rbx, rax
call fcn.1400868b8
mov rcx, rax
mov rdx, rbx
call fcn.1400cf438
mov ecx, 0x204
call fcn.1400868b8
mov rcx, rax
call fcn.1400cf5dc
neg dil
sbb ecx, ecx
and ecx, 0xffffff87
add ecx, 0xce
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x140179130]
call fcn.140062d54
jmp 0x1400ce771
xor edx, edx
mov rcx, r12
call fcn.14003ffdc
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.14003ffdc
test al, al
je 0x1400ce73a
lea rcx, [rsp + 0x60]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400ce64e
lea rbx, [rax + 1]
mov rcx, r15
add rbx, r14
lea rdx, [rbx*2 + 2]
call fcn.1400f3038
mov rsi, rax
test rax, rax
je 0x1400ce769
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 0x1400ce692
lea rdx, [rsp + 0x60]
mov rcx, r12
mov r14, rbx
call fcn.14003ffdc
test al, al
jne 0x1400ce645
test rbx, rbx
je 0x1400ce73a
xor edx, edx
mov word [rsi + rbx*2], di
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x38]
call fcn.1400ed430
mov rax, qword [0x140142ba0]
lea rcx, [rsp + 0x20]
inc dword [0x140143d5c]
mov qword [rsp + 0x20], rax
mov eax, 0x40
mov word [rsp + 0x40], ax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x30], rsi
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
mov rcx, rsi
sete bl
dec dword [0x140143d5c]
call fcn.1400f3028
test bl, bl
je 0x1400ce771
cmp dword [rsp + 0x44], edi
jne 0x1400ce771
lea rcx, [0x14014e5f8]
call fcn.1400abca0
lea rdx, [0x14010a100]
mov rcx, r12
call fcn.140042e08
jmp 0x1400ce771
mov ecx, 0x65
call fcn.1400868b8
mov ecx, 0x14c
mov rbx, rax
call fcn.1400868b8
mov rcx, qword [0x140142ba0]
mov rdx, rax
mov r9d, 0x30
mov r8, rbx
call fcn.1400c3b2c
mov rcx, r15
call fcn.1400f3028
mov rcx, qword [rbp + 0x1060]
xor rcx, rsp
call fcn.1400ec220
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