Function at 0x1400b67d8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
and qword [rbp + 0x60], 0
xor ebx, ebx
mov r14, rcx
mov qword [rbp + 0x50], rbx
cmp dword [rcx + 0x7c], ebx
je 0x1400b6b05
cmp dword [rcx + 0x88], ebx
jne 0x1400b6b05
lea r8, [rbp + 0x50]
xor edx, edx
lea rcx, [0x1403c1d50]
call fcn.1400f4150
mov esi, eax
test eax, eax
jns 0x1400b6837
mov ecx, eax
call fcn.14007ab24
mov rbx, qword [rbp + 0x50]
jmp 0x1400b6b0e
and qword [rbp - 0x48], rbx
mov r12d, 1
mov rbx, qword [rbp + 0x50]
mov dword [rbp - 0x40], r12d
mov dword [rbp - 0x38], r12d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
jns 0x1400b6873
mov ecx, eax
jmp 0x1400b6b09
mov r13d, dword [r14 + 0x9c]
and qword [rbp - 0x48], 0
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x40], r12d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1400b686c
xor r15d, r15d
test r13d, r13d
je 0x1400b6993
and qword [rbp - 0x28], 0
movsxd r12, r15d
shl r12, 4
add r12, qword [r14 + 0xa0]
mov dword [rbp - 0x20], 2
mov rax, qword [r12]
mov qword [rbp - 0x18], rax
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1400b696b
mov rsi, qword [r12 + 8]
xor eax, eax
mov dword [rbp + 0x50], eax
test rsi, rsi
je 0x1400b6924
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call rdi
mov esi, eax
test eax, eax
js 0x1400b696b
mov eax, dword [rbp + 0x50]
and qword [rbp - 0x28], 0
mov dword [rbp - 0x18], eax
mov rax, qword [rbx]
mov dword [rbp - 0x20], 1
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x28]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1400b696b
cmp dword [rbp + 0x50], 0
je 0x1400b6972
mov rcx, qword [r12 + 8]
mov rdx, rbx
call fcn.1400684ec
mov esi, eax
test eax, eax
jns 0x1400b6972
mov ecx, eax
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test esi, esi
js 0x1400b6a5d
mov r12d, 1
add r15d, r12d
cmp r15d, r13d
jb 0x1400b68b2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp + 0x48]
mov rcx, rbx
lea rdx, [rbp + 0x58]
call rdi
mov esi, eax
test eax, eax
js 0x1400b686c
mov r8, qword [rbp + 0x58]
lea rax, [rbp + 0x60]
mov edx, dword [rbp + 0x48]
lea r9, [rbp + 0x50]
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.1400c0b50
mov esi, eax
test eax, eax
js 0x1400b686c
mov eax, dword [rbp + 0x50]
and qword [rbp - 0x48], 0
mov dword [rbp - 0x30], eax
mov rax, qword [rbp + 0x60]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 4
mov rax, qword [rbx]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1403b8660]
lea rdx, [rbp - 0x48]
mov rcx, rbx
call rdi
mov esi, eax
test eax, eax
js 0x1400b686c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1403b8660]
lea r8, [rbp + 0x48]
mov rcx, rbx
lea rdx, [rbp + 0x58]
call rdi
mov esi, eax
test eax, eax
js 0x1400b686c
mov edx, dword [rbp + 0x48]
cmp edx, 0x200000
jbe 0x1400b6a64
mov dword [r14 + 0x80], r12d
xor esi, esi
jmp 0x1400b6b0e
mov ecx, esi
jmp 0x1400b6b09
mov r8, qword [rbp + 0x58]
mov rcx, qword [r14 + 0x68]
call fcn.1400c1800
mov esi, eax
cmp eax, 0x80070005
jne 0x1400b6af2
mov rsi, qword [r14 + 0x68]
test rsi, rsi
je 0x1400b6acd
mov rcx, rsi
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b6ab4
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b6aa4
mov edi, 0x80004005
jmp 0x1400b6ad2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400b6ad2
test r12b, al
je 0x1400b6ad9
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400b6ad9
jmp 0x1400b6a93
mov edi, 0x80070057
mov ecx, edi
call fcn.14007ab24
mov ecx, edi
call fcn.14007ab44
mov r8, qword [rbp + 0x58]
mov edx, dword [rbp + 0x48]
mov rcx, qword [r14 + 0x68]
call fcn.1400c1800
mov esi, eax
test esi, esi
js 0x1400b6a5d
and dword [r14 + 0x7c], 0
mov dword [r14 + 0x78], r12d
jmp 0x1400b6b0e
xor esi, esi
xor ecx, ecx
call fcn.14007ab24
mov ecx, esi
call fcn.14007ab44
test rbx, rbx
je 0x1400b6b2f
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [0x1403b8660]
mov rcx, rbx
call rdi
lea rcx, [rbp + 0x60]
call fcn.14005ba10
mov eax, esi
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret