Function at 0x14026fa10
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
call fcn.14026fd20
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x14026fa41
add rsp, 0xa8
ret
mov qword [rsp + 0xa0], rbx
mov edx, 1
mov qword [rsp + 0x98], rbp
mov ecx, 0x4000
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x88], rdi
call fcn.14026fe10
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x4000
mov rcx, rax
mov rdi, rax
call fcn.14027b2c0
mov rbp, qword [rsp + 0xd8]
mov rbx, rdi
mov rsi, qword [rsp + 0xd0]
jmp 0x14026faa2
mov rdi, qword [rsp + 0x60]
test rsi, rsi
je 0x14026fab4
mov rcx, rbp
call rsi
test eax, eax
jne 0x14026fc62
mov eax, dword [rbx]
test eax, eax
je 0x14026fabf
add rbx, rax
jmp 0x14026fb22
xor edx, edx
mov r8d, 0x4000
mov rcx, rdi
call fcn.14027b2c0
mov rbx, qword [rsp + 0x68]
xor eax, eax
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov dword [rsp + 0x38], 3
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], 0x4000
mov rcx, rbx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call sub.ntdll.dll_NtQueryDirectoryFile
mov ecx, eax
test eax, eax
jne 0x14026fcb0
mov rbx, rdi
mov eax, dword [rbx + 0x3c]
cmp eax, 2
jne 0x14026fb35
cmp word [rbx + 0x5e], 0x2e
je 0x14026faa2
cmp eax, 4
jne 0x14026fb4c
cmp word [rbx + 0x5e], 0x2e
jne 0x14026fb4c
cmp word [rbx + 0x60], 0x2e
je 0x14026faa2
test eax, eax
je 0x14026faa2
mov rax, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
call fcn.14026f520
mov rdi, rax
test rax, rax
je 0x14026fc97
test rsi, rsi
je 0x14026fbb2
mov rcx, rbp
call rsi
test eax, eax
jne 0x14026fc67
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x14026fbc7
mov rdx, rbp
mov rcx, rdi
call rax
mov r8, qword [rsp + 0xc0]
xor eax, eax
test r8, r8
je 0x14026fbe7
mov rdx, rbp
mov rcx, rdi
call r8
mov r8, qword [rsp + 0xc0]
mov ecx, dword [rdi + 0x20]
test cl, 0x10
je 0x14026fa9d
mov edx, dword [rsp + 0xb8]
test dl, 1
je 0x14026fa9d
test eax, eax
jne 0x14026fa9d
bt ecx, 0xa
jb 0x14026fa9d
mov rax, qword [rsp + 0xe0]
mov r9, qword [rsp + 0xc8]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rsi
call fcn.14026fa10
mov edi, eax
test eax, eax
jns 0x14026fa9d
mov rcx, qword [rsp + 0x60]
call fcn.14026fe90
mov rcx, qword [rsp + 0x68]
call fcn.1402aa184
mov eax, edi
jmp 0x14026fcf1
mov rcx, rdi
jmp 0x14026fc81
lea r8, str.ftw_helper
xor ecx, ecx
lea rdx, str.INFO:___s:_terminated_by_user
call fcn.14026d8f0
mov rcx, qword [rsp + 0x60]
call fcn.14026fe90
mov rcx, qword [rsp + 0x68]
call fcn.1402aa184
mov eax, 0xfffffffe
jmp 0x14026fcf1
mov rcx, qword [rsp + 0x60]
call fcn.14026fe90
mov rcx, qword [rsp + 0x68]
call fcn.1402aa184
or eax, 0xffffffff
jmp 0x14026fcf1
cmp ecx, 0x80000006
je 0x14026fcdf
mov rax, qword gs:[0x30]
lea r8, [0x1403ffa18]
lea rdx, str.ERROR:__s:_cannot_get_directory_information
mov dword [rax + 0x11e8], ecx
mov ecx, 1
call fcn.14026d8f0
mov rcx, rdi
call fcn.14026fe90
mov rcx, rbx
call fcn.1402aa184
xor eax, eax
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x88]
add rsp, 0xa8
ret