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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x14002c298]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14d, r8d
mov rbp, rcx
mov r15d, dword [0x14002c2b0]
mov edi, dword [0x14002d7d0]
lea rdx, [rsp + 0x20]
call fcn.14001d14c
nop
xor esi, esi
or r12, 0xffffffffffffffff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jne 0x14001b991
test ebx, ebx
je 0x14001b9d0
test bl, 0x10
je 0x14001bb40
cmp eax, 0x57
je 0x14001bb40
cmp eax, 0x10b
je 0x14001bb52
cmp eax, 0x7b
je 0x14001bb52
cmp eax, 0x43
jne 0x14001b9bb
test edi, edi
je 0x14001bb52
cmp eax, 0x56
je 0x14001bb52
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14001bb52
lea r8, [0x140025348]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1400192fc
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001ba2f
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
cmp rbx, r12
jne 0x14001baf7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x14001bac3
cmp eax, 0x10b
je 0x14001ba88
cmp eax, 0x7b
je 0x14001ba88
cmp eax, 0x43
jne 0x14001ba5e
test edi, edi
je 0x14001ba88
cmp eax, 0x56
je 0x14001ba88
cmp eax, 5
je 0x14001ba88
cmp eax, 3
je 0x14001ba88
inc esi
mov r9d, esi
mov r8d, r15d
mov edx, r14d
mov rcx, rbp
call fcn.14000f800
test eax, eax
jne 0x14001b953
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001bb84
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
jmp 0x14001bb84
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001bb39
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
jmp 0x14001bb39
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x14001bb39
mov rcx, qword [rdx]
mov r8, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [r8 + 8]
call qword [0x1400249b8]
mov eax, 1
jmp 0x14001bb86
mov ecx, 0x10b
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14001bb84
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [0x1400249b8]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001a50
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret