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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
xor ebx, ebx
mov r15, rcx
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x48], rbx
cmp dword [rcx + 0x7c], ebx
je 0x1400b6a96
cmp dword [rcx + 0x88], ebx
jne 0x1400b6a96
lea r8, [rbp + 0x48]
xor edx, edx
lea rcx, [0x1403dd7f0]
call fcn.1400fbd7c
mov r14d, eax
test eax, eax
jns 0x1400b685b
mov ecx, eax
call fcn.14007ac40
mov rbx, qword [rbp + 0x48]
jmp 0x1400b6aa0
and qword [rbp - 0x20], rbx
mov eax, 1
mov rbx, qword [rbp + 0x48]
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x10], eax
mov rax, qword [rbx]
mov rsi, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
jns 0x1400b689b
mov ecx, eax
jmp 0x1400b6a9b
mov r12d, dword [r15 + 0x9c]
and qword [rbp - 0x20], rdi
mov dword [rbp - 0x10], r12d
mov dword [rbp - 0x18], 1
mov rax, qword [rbx]
mov rsi, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400b6894
xor esi, esi
test r12d, r12d
je 0x1400b6902
movsxd rcx, esi
mov rdx, rbx
shl rcx, 4
add rcx, qword [r15 + 0xa0]
call fcn.1400c07d4
mov r14d, eax
test eax, eax
js 0x1400b6894
inc esi
cmp esi, r12d
jb 0x1400b68de
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400b6894
mov r8, qword [rbp + 0x50]
lea rax, [rbp + 0x58]
mov edx, dword [rbp + 0x40]
lea r9, [rbp + 0x48]
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.1400c0bec
mov r14d, eax
test eax, eax
jns 0x1400b6963
mov ecx, eax
call fcn.14007ac40
mov rdi, qword [rbp + 0x58]
jmp 0x1400b6aa0
and qword [rbp - 0x20], rdi
mov eax, dword [rbp + 0x48]
mov rdi, qword [rbp + 0x58]
mov dword [rbp - 8], eax
mov qword [rbp - 0x10], rdi
mov dword [rbp - 0x18], 4
mov rax, qword [rbx]
mov rsi, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400b6894
mov rax, qword [rbx]
mov rsi, qword [rax + 0x20]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, rbx
call rax
mov r14d, eax
test eax, eax
js 0x1400b6894
mov edx, dword [rbp + 0x40]
cmp edx, 0x200000
jbe 0x1400b69f2
mov dword [r15 + 0x80], 1
xor r14d, r14d
jmp 0x1400b6aa0
mov r8, qword [rbp + 0x50]
mov rcx, qword [r15 + 0x68]
call fcn.1400c2440
mov r14d, eax
cmp eax, 0x80070005
jne 0x1400b6a7d
mov r14, qword [r15 + 0x68]
test r14, r14
jne 0x1400b6a17
lea esi, [rax + 0x52]
jmp 0x1400b6a5c
mov rcx, r14
xor esi, esi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b6a3d
test al, 1
je 0x1400b6a63
and eax, 0xfffffffe
mov rcx, r14
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400b6a63
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400b6a4e
mov esi, 0x80004005
jmp 0x1400b6a5c
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov ecx, esi
call fcn.14007ac40
mov ecx, esi
call fcn.14007ace8
mov r8, qword [rbp + 0x50]
mov edx, dword [rbp + 0x40]
mov rcx, qword [r15 + 0x68]
call fcn.1400c2440
mov r14d, eax
test r14d, r14d
jns 0x1400b6a87
mov ecx, r14d
jmp 0x1400b6a9b
and dword [r15 + 0x7c], 0
mov dword [r15 + 0x78], 1
jmp 0x1400b6aa0
xor r14d, r14d
xor ecx, ecx
call fcn.14007ac40
mov ecx, r14d
call fcn.14007ace8
test rbx, rbx
je 0x1400b6ac8
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [0x1403d25b8]
mov rcx, rsi
call rax
mov rax, rsi
mov rcx, rbx
call rax
test rdi, rdi
je 0x1400b6ad6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, r14d
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret