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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbx, rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0xa8], esi
xor bpl, bpl
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x20], sil
mov edi, 0xffffffff
mov r9d, edi
mov r8d, edi
mov rdx, rbx
mov rcx, rax
call qword [r10 + 0x28]
mov rbx, rax
mov qword [rsp + 0xa8], rax
lea r12d, [rsi + 1]
lea r15, [0x1400c8ee8]
cmp dword [rax - 0x10], 0x104
jl 0x14002db73
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xa8]
call fcn.140011e80
mov r14d, r12d
mov r8, qword [rax]
test r8, r8
je 0x14002db6d
movzx eax, word [r8]
cmp ax, 0x5c
jne 0x14002db6d
mov edx, esi
mov ecx, esi
nop dword [rax + rax]
cmp ax, word [rcx + r15]
jne 0x14002db5a
inc esi
inc rdx
lea rcx, [rdx + rdx]
movzx eax, word [rcx + r8]
test ax, ax
jne 0x14002db40
movsxd rax, esi
lea rcx, [rax + rax]
movzx eax, word [rcx + r15]
cmp word [r8 + rcx], ax
je 0x14002db73
movzx esi, r12b
jmp 0x14002db76
xor sil, sil
test r12b, r14b
je 0x14002dbb4
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dbac
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dba2
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dbac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0xa8]
test sil, sil
je 0x14002dd4c
call fcn.140002000
mov r10, qword [rax]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, edi
mov rdx, r15
mov rcx, rax
call qword [r10 + 0x28]
mov qword [rsp + 0xb8], rax
call fcn.140002000
mov rcx, rax
cmp dword [rbx - 0x10], 0
jg 0x14002dc02
mov rdx, qword [rax]
call qword [rdx + 0x30]
jmp 0x14002dc6c
mov eax, dword [rbx - 8]
cmp eax, 0xffffffff
jne 0x14002dc30
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, dword [rdx - 0x10]
call qword [rax + 0x28]
jmp 0x14002dc6c
mov rax, qword [rsp + 0xa8]
cmp rcx, qword [rax - 0x18]
je 0x14002dc60
mov r10, qword [rcx]
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9d, edi
mov r8d, dword [rax - 0x10]
mov rdx, rax
call qword [r10 + 0x28]
jmp 0x14002dc6c
lock inc dword [rax - 8]
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.14001c7d0
nop
mov r8, rax
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call fcn.140016f20
nop
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.1400103b0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dcdf
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dcd5
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dcdf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dd10
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dd06
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dd10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dd44
mov eax, dword [rdx + 0x10]
cmp eax, 0xffffffff
je 0x14002dd3a
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002dd44
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0xa8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002dd64
test al, 0x10
movzx ebp, bpl
cmove ebp, r12d
lea rdx, [rbx - 0x18]
mov eax, dword [rdx + 0x10]
cmp eax, 0x7ffffc17
je 0x14002dd8e
mov ecx, dword [rdx + 0x10]
cmp ecx, 0xffffffff
je 0x14002dd84
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14002dd8e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
movzx eax, bpl
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret