Function at 0x14002cf60
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov r12, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rdx
mov r14b, 1
mov rcx, rdx
call fcn.1400018c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002d268
test al, 0x10
jne 0x14002d268
mov rcx, r12
call fcn.1400018c0
xor ebx, ebx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14002d024
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], ebx
jne 0x14002d1e7
mov rax, qword [rsp + 0x40]
shr rax, 0x20
test eax, eax
jne 0x14002d1e7
mov r8, r12
lea rdx, str.Try_delete_file
lea rcx, [rsp + 0x58]
call fcn.14000d770
nop
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, qword [rsi + 0x8e40]
call fcn.140018920
nop
lea rcx, [rsp + 0x58]
call fcn.140001624
mov r8, r12
lea rdx, str.icacls__
lea rcx, [rbp - 0x80]
call fcn.14000d770
nop
lea r8, str.___reset
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14000d720
nop
lea rcx, [rbp - 0x80]
call fcn.140001624
mov ecx, 0x418
call fcn.14005baec
mov rdi, rax
test rax, rax
je 0x14002d0d9
lea rcx, [rbp - 0x58]
call fcn.1400018c0
mov rdx, rax
mov rcx, rdi
call fcn.140029a80
mov r13, rax
jmp 0x14002d0dc
mov r13, rbx
mov rcx, qword [rsi + 0x8e50]
mov rax, qword [rcx]
mov r9d, 0x100
lea r8, [rbp]
mov rdx, r13
call qword [rax]
mov ecx, 0x418
call fcn.14005baec
mov rdi, rax
test rax, rax
je 0x14002d11d
mov rcx, r12
call fcn.1400018c0
mov rdx, rax
mov rcx, rdi
call fcn.140029af0
mov rbx, rax
mov rcx, qword [rsi + 0x8e50]
mov rax, qword [rcx]
mov r9d, 0x100
lea r8, [rbp]
mov rdx, rbx
call qword [rax]
lea rsi, [rbp]
lea rdi, [0x1400887f0]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x14002d1d0
mov rcx, r12
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006cf0
nop
lea r8, [rsp + 0x58]
lea rdx, [0x14008ae00]
lea rcx, [rbp - 0x80]
call fcn.14000d770
nop
lea r8, [0x14008add0]
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14000d720
nop
lea rcx, [rbp - 0x80]
call fcn.140001624
lea rcx, [rbp - 0x30]
call fcn.1400018c0
mov rdx, rax
mov r9d, 0x10
lea r8, [0x14008ae78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor r14b, r14b
lea rcx, [rbp - 0x30]
call fcn.140001624
nop
lea rcx, [rsp + 0x58]
call fcn.140001624
mov rcx, r13
call fcn.14005ba88
mov rcx, rbx
call fcn.14005ba88
nop
lea rcx, [rbp - 0x58]
jmp 0x14002d263
xor r14b, r14b
mov rcx, r12
call fcn.1400018c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140006cf0
nop
lea r8, [rsp + 0x58]
lea rdx, [0x14008ae88]
lea rcx, [rbp - 0x80]
call fcn.14000d770
nop
lea r8, [0x14008add0]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14000d720
nop
lea rcx, [rbp - 0x80]
call fcn.140001624
lea rcx, [rbp - 0x58]
call fcn.1400018c0
mov rdx, rax
mov r9d, 0x10
lea r8, [0x14008ae78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rcx, [rbp - 0x58]
call fcn.140001624
nop
lea rcx, [rsp + 0x58]
call fcn.140001624
test r14b, r14b
setne dil
mov rcx, r12
call fcn.140001624
movzx eax, dil
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14005ba60
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret