Function at 0x180098ee0
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 0x180098f1a
xor al, al
jmp 0x1800991c6
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 0x180099036
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x18009901a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x18009901a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x180098fb9
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x180098fe7
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x18009901a
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x18009901a
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 0x180099028
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
cmp ebx, 0xffffffff
je 0x18009903f
test bl, 0x10
je 0x1800991b8
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x1800991b4
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 0x1800990a0
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 0x1800991b4
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 0x1800991af
lea rcx, [rbp - 0x28]
call fcn.180003c60
nop
lea rcx, [rbp - 0x48]
call fcn.180006030
cmp rax, 2
jbe 0x180099193
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax + 2], 0x3a
jne 0x180099193
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x41
jb 0x180099132
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x5a
jbe 0x180099160
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x61
jb 0x180099193
lea rcx, [rbp - 0x48]
call fcn.1800038c0
mov rcx, rax
call fcn.180003ef0
cmp word [rax], 0x7a
ja 0x180099193
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 0x1800991a1
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.180003ae0
nop
lea rcx, [rbp - 0x28]
call fcn.180003b80
cmp ebx, 0xffffffff
je 0x1800991b4
test bl, 0x10
je 0x1800991b8
xor bl, bl
jmp 0x1800991ba
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