Function at 0x1400691a4
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x990]
sub rsp, 0xa90
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov r15, r9
mov esi, r8d
mov r14, rcx
xor ebx, ebx
mov rcx, qword [0x14009b028]
lea r13, [0x14009b028]
lea r12d, [rbx + 2]
cmp rcx, r13
je 0x140069215
test byte [rcx + 0x1c], r12b
je 0x140069215
cmp byte [rcx + 0x19], 5
jb 0x140069215
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x2b]
lea r8, [0x14008b028]
call fcn.140001024
test r14, r14
jne 0x140069224
mov ebx, 0x57
jmp 0x1400697b8
mov r8, r14
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x140069275
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x2c
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b028]
movzx r9d, di
call fcn.140001050
movzx ebx, di
jmp 0x1400697b4
cmp esi, 1
jne 0x1400693cf
mov ecx, 0x100
lea rax, [rbp + 0x370]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x780]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
and qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.msvcrt.dll__wsplitpath_s]
nop dword [rax + rax]
test eax, eax
je 0x1400692fa
mov ebx, 0x65b
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400692fa
test byte [rcx + 0x1c], r12b
je 0x1400692fa
cmp byte [rcx + 0x19], r12b
jb 0x1400692fa
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x2c]
mov r9d, ebx
lea r8, [0x14008b028]
call fcn.140001050
mov edi, 0x104
lea r8, [rbp + 0x780]
mov edx, edi
lea rcx, [rbp + 0x570]
call fcn.140002b44
lea r8, [rbp + 0x370]
mov edx, edi
lea rcx, [rbp + 0x570]
call fcn.14000a7d8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x570]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140069388
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006921a
test byte [rcx + 0x1c], r12b
je 0x14006921a
cmp byte [rcx + 0x19], r12b
jb 0x14006921a
mov edx, 0x2e
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
lea r8, [0x14008b028]
call fcn.1400011fc
jmp 0x14006921a
lea rdx, str..lnk
lea rcx, [rbp + 0x370]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400693cf
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006921a
test byte [rcx + 0x1c], r12b
je 0x14006921a
cmp byte [rcx + 0x19], r12b
jb 0x14006921a
lea edx, [rax + 0x2f]
jmp 0x14006936e
mov edx, 0x5c
lea rcx, [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_wcschr]
nop dword [rax + rax]
test rax, rax
je 0x140069451
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
or edi, 0xffffffff
cmp eax, edi
jne 0x1400696a4
mov ebx, r12d
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400697b8
test byte [rcx + 0x1c], r12b
je 0x1400697b8
cmp byte [rcx + 0x19], r12b
jb 0x1400697b8
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x30
mov dword [rsp + 0x20], r12d
lea r8, [0x14008b028]
call fcn.140001328
jmp 0x1400697b8
test esi, esi
je 0x1400694a0
lea rdx, [rsp + 0x50]
call fcn.140070594
test eax, eax
jne 0x1400694ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400694ff
test byte [rcx + 0x1c], r12b
je 0x1400694ff
cmp byte [rcx + 0x19], r12b
jb 0x1400694ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x31
jmp 0x1400694e5
lea rcx, [rsp + 0x50]
call fcn.14006fc84
test eax, eax
jne 0x1400694ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [0x14009b028]
cmp rax, r13
je 0x1400694ff
test byte [rax + 0x1c], r12b
je 0x1400694ff
cmp byte [rax + 0x19], r12b
jb 0x1400694ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x33
mov rcx, qword [0x14009b028]
lea r8, [0x14008b028]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001050
test ebx, ebx
je 0x14006950b
mov ebx, r12d
jmp 0x1400697b8
mov esi, 0x104
lea r8, [0x14008ada8]
mov edx, esi
lea rcx, [rsp + 0x50]
call fcn.14000a7d8
mov edi, eax
test eax, eax
jns 0x140069557
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x34
jmp 0x140069259
mov r8, r14
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.14000a7d8
mov edi, eax
test eax, eax
jns 0x14006959b
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x35
jmp 0x140069259
lea r8, [rsp + 0x50]
mov rdx, rsi
lea rcx, [rbp + 0x160]
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x1400695e3
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x36
jmp 0x140069259
lea r8, str..cov
mov rdx, rsi
lea rcx, [rbp + 0x160]
call fcn.14000a7d8
mov edi, eax
test eax, eax
jns 0x14006962d
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x37
jmp 0x140069259
lea rcx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
or edi, 0xffffffff
lea rcx, [rsp + 0x50]
cmp eax, edi
jne 0x140069661
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, edi
jne 0x1400696a9
jmp 0x140069503
lea r8, [rbp + 0x160]
mov rdx, rsi
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x1400696a9
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x38
jmp 0x140069259
mov esi, 0x104
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, r15
call fcn.140002b44
mov edi, eax
test eax, eax
jns 0x1400696ed
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14006926d
test byte [rcx + 0x1c], r12b
je 0x14006926d
cmp byte [rcx + 0x19], r12b
jb 0x14006926d
mov edx, 0x39
jmp 0x140069259
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, r15
call fcn.140069cbc
cmp rax, 0xffffffffffffffff
jne 0x14006975e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x1400697b4
test byte [rcx + 0x1c], r12b
je 0x1400697b4
cmp byte [rcx + 0x19], r12b
jb 0x1400697b4
mov rcx, qword [rcx + 0x10]
lea r8, [0x14008b028]
mov edx, 0x3a
mov dword [rsp + 0x20], eax
mov r9, r15
call fcn.140001328
jmp 0x1400697b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x1400697b4
mov rax, qword [0x14009b028]
cmp rax, r13
je 0x1400697b4
test byte [rax + 0x1c], r12b
je 0x1400697b4
cmp byte [rax + 0x19], r12b
jb 0x1400697b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x14008b028]
mov r9d, eax
mov edx, 0x3b
mov rcx, qword [rcx + 0x10]
call fcn.140001050
test ebx, ebx
je 0x1400697ca
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x1400697cf
mov eax, 1
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.14007ec30
mov rbx, qword [rsp + 0xad8]
add rsp, 0xa90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret