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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
call fcn.180005c00
test al, al
je 0x180098c1a
xor al, al
jmp 0x180098ebc
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1800096b0
nop
mov edx, 4
lea rcx, [rbp - 0x48]
call fcn.1800999b0
lea rcx, [rbp - 0x48]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180098eae
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x180098d1a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x180098d1a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x180098cb9
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x180098ce7
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x180098d1a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x180098d1a
lea rdx, str.__
lea rcx, [rbp - 0x28]
call fcn.180004070
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180012d20
lea rcx, [rbp - 0x28]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
jmp 0x180098d28
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
cmp ebx, 0xffffffff
jne 0x180098eae
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x180098eaa
lea rcx, [rbp - 0x48]
call fcn.180006030
mov rbx, rax
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + rbx*2 - 2], 0x5c
je 0x180098d9b
lea rcx, [rbp - 0x48]
call fcn.180006030
lea rbx, [rax - 1]
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + rbx*2], 0x2f
jne 0x180098eaa
mov edx, 0x20
lea rcx, [rbp - 0x48]
call fcn.1800999b0
lea rcx, [rbp - 0x48]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x180098eae
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x180098e8e
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x180098e8e
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x180098e2d
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x180098e5b
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x180098e8e
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x180098e8e
lea rdx, str.__
lea rcx, [rbp - 0x28]
call fcn.180004070
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180012d20
lea rcx, [rbp - 0x28]
call fcn.180003a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
jmp 0x180098e9c
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
cmp ebx, 0xffffffff
jne 0x180098eae
xor bl, bl
jmp 0x180098eb0
mov bl, 1
lea rcx, [rbp - 0x48]
call fcn.180003b80
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800d8050
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret