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

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x1402282a0
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x48]
sub rsp, 0x148
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rsp + 0x40], 0
cmp byte [rcx + 0x150], 0
je 0x14022832b
mov rax, qword [rcx + 0x148]
mov rcx, qword [rax + 0xb0]
mov eax, dword [rcx + 0xf0]
shr eax, 1
test al, 1
je 0x14022832b
xor r8d, r8d
lea rdx, [rsp + 0x68]
call fcn.14022ba00
nop
mov dword [rsp + 0x40], 1
mov rcx, qword [rax]
cmp byte [rcx], 0
je 0x14022832b
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140018b20
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14022832b
mov bl, 1
jmp 0x14022832d
xor bl, bl
mov eax, dword [rsp + 0x40]
mov edi, 0xffffffff
lea r13, [0x1402be068]
test al, 1
je 0x140228363
and dword [rsp + 0x40], 0xfffffffe
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140228363
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140228363
call fcn.14010a370
test bl, bl
je 0x1402286d6
lea rax, [rbp - 0x68]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rbp - 0x38], rax
lea rax, [0x1402c3fe0]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x90]
call fcn.14001b960
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140152200
mov eax, dword [rsp + 0x40]
or eax, 4
mov dword [rsp + 0x40], eax
and eax, 0xfffffffb
mov dword [rsp + 0x40], eax
or dword [rsp + 0x40], 2
mov rcx, qword [rbp + 0x90]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x1402283e8
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1402283e8
call fcn.14010a370
mov rax, qword [rsi + 0x148]
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0xb0]
call fcn.14022ba00
mov r15, rax
lea rax, [0x1402c3edc]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.14001b960
nop
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xa8]
call fcn.140152200
mov eax, dword [rsp + 0x40]
or eax, 0x20
mov dword [rsp + 0x40], eax
and eax, 0xffffffdf
mov dword [rsp + 0x40], eax
or dword [rsp + 0x40], 0x10
mov rcx, qword [rbp + 0x98]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140228473
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140228473
call fcn.14010a370
lea rdx, [0x1402c3fa0]
lea rcx, [rbp - 0x48]
call fcn.140152300
mov r14, rax
lea rdx, [0x1402c3fb0]
lea rcx, [rbp - 0x50]
call fcn.140152300
mov rbx, rax
mov rcx, qword [r15]
mov qword [rbp - 0x80], rcx
lea rax, [0x1402c3fd8]
mov qword [rbp - 0x78], rax
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x58]
call fcn.14014e8d0
nop
lea r8, [0x1402c3ee4]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.14014fbf0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14014fca0
mov r15, rax
lea rdx, [0x1402c4018]
lea rcx, [rbp - 0x60]
call fcn.140152300
mov r12, rax
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14008ee90
nop
lea rax, [rbp - 0x20]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rax, [0x140228700]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14022854d
mov ecx, 1
lock xadd dword [rax + 8], ecx
lea rax, [rsp + 0x48]
mov qword [rbp - 0x30], rax
xor ecx, ecx
mov qword [rbp + 0x18], rcx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x60], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_9187841d0506c1a3c680a955d53e60bb___void__int_.0
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x30], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x50], rcx
lea rax, [rbp - 0x20]
mov qword [rbp + 0x18], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x20]
call fcn.14023a6b0
mov rbx, rax
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x1402285d6
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1402285d6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rsi
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, r15
mov rdx, r12
mov ecx, 2
call fcn.1401d15c0
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022861d
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022861d
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x14022863a
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x14022863a
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140228657
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140228657
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x48]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140228673
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140228673
call fcn.14010a370
and dword [rsp + 0x40], 0xffffffef
mov rcx, qword [rbp + 0xa8]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140228698
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x140228698
call fcn.14010a370
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x1402286b4
mov eax, edi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1402286b4
call fcn.14010a370
and dword [rsp + 0x40], 0xfffffffd
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x1402286e3
lock xadd dword [rcx], edi
test edi, edi
jne 0x1402286e3
call fcn.14010a370
jmp 0x1402286e3
mov edx, 1
mov rcx, rsi
call fcn.140243570
add rsp, 0x148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret