Function at 0x140002ffc
Capabilities:
Get file attributes
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
mov rbx, rcx
lea rdx, [0x14000d890]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor r13d, r13d
mov dword [rbp - 0x48], 0x30
lea rax, [rbp - 0x70]
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
mov dword [rbp - 0x30], 0x240
mov esi, 0x100
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x68], esi
lea r14d, [r13 + 1]
mov qword [rsp + 0x60], r13
lea r9, [rbp - 0x80]
mov dword [rsp + 0x58], r13d
lea r8, [rbp - 0x48]
mov dword [rsp + 0x50], r13d
lea rcx, [rbp + 0x128]
mov qword [rsp + 0x48], r13
mov edx, 0x100080
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r13
movdqu xmmword [rbp - 0x28], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
test eax, eax
jns 0x1400030e5
xor edx, edx
lea r8d, [r13 + 0x64]
lea rcx, [rbp - 0x10]
call fcn.14000ce00
mov r8, rbx
lea rdx, [0x14000d8d0]
lea rcx, [rbp - 0x10]
call sub.ntoskrnl.exe_sprintf
lea rcx, [rbp - 0x10]
call fcn.140001af0
xor eax, eax
jmp 0x1400033f3
mov rcx, qword [rbp + 0x128]
lea r8, [rbp - 0x60]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rbp - 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
jns 0x14000311b
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x1400030de
cmp dword [rbp - 0x54], r13d
jne 0x14000310c
mov edi, dword [rbp - 0x58]
mov r8d, 0x333275
mov ecx, r14d
lea rdx, [rsi + rdi]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, qword [rbp + 0x128]
mov rbx, rax
test rax, rax
je 0x140003113
mov qword [rsp + 0x40], r13
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], r13
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
test eax, eax
js 0x14000310c
movsxd rdi, dword [rbx + 0x3c]
add rdi, rbx
mov eax, dword [rdi + 0x88]
test eax, eax
je 0x1400030de
movzx ecx, word [rdi + 6]
mov r15d, eax
cmp r13w, cx
jae 0x1400031cf
mov r9d, ecx
lea rdx, [rdi + 0x118]
mov r8d, dword [rdx - 4]
cmp r8, r15
ja 0x1400031c6
mov eax, dword [rdx]
add rax, r8
cmp r15, rax
ja 0x1400031c6
mov eax, dword [rdx + 4]
sub rax, r8
add r15, rax
add rdx, 0x28
sub r9, r14
jne 0x1400031aa
mov r8d, dword [r15 + rbx + 0x1c]
cmp r13w, cx
jae 0x140003209
lea rdx, [rdi + 0x118]
mov r10, rcx
mov r9d, dword [rdx - 4]
cmp r9, r8
ja 0x140003200
mov eax, dword [rdx]
add rax, r9
cmp r8, rax
ja 0x140003200
mov eax, dword [rdx + 4]
sub rax, r9
add r8, rax
add rdx, 0x28
sub r10, r14
jne 0x1400031e4
lea rsi, [r8 + rbx]
mov r8d, dword [r15 + rbx + 0x24]
mov qword [rsp + 0x78], rsi
cmp r13w, cx
jae 0x14000324c
lea rdx, [rdi + 0x118]
mov r10, rcx
mov r9d, dword [rdx - 4]
cmp r9, r8
ja 0x140003243
mov eax, dword [rdx]
add rax, r9
cmp r8, rax
ja 0x140003243
mov eax, dword [rdx + 4]
sub rax, r9
add r8, rax
add rdx, 0x28
sub r10, r14
jne 0x140003227
lea r11, [r8 + rbx]
mov r8d, dword [r15 + rbx + 0x20]
mov qword [rbp + 0x138], r11
cmp r13w, cx
jae 0x140003290
lea rdx, [rdi + 0x118]
mov r9, rcx
mov ecx, dword [rdx - 4]
cmp rcx, r8
ja 0x140003287
mov eax, dword [rdx]
add rax, rcx
cmp r8, rax
ja 0x140003287
mov eax, dword [rdx + 4]
sub rax, rcx
add r8, rax
add rdx, 0x28
sub r9, r14
jne 0x14000326c
xor ecx, ecx
lea rax, [r8 + rbx]
mov r12d, r13d
mov qword [rbp + 0x130], rax
mov r14d, r13d
cmp dword [r15 + rbx + 0x18], ecx
jbe 0x1400033a8
movzx r9d, word [rdi + 6]
mov r10d, dword [rax]
cmp cx, r9w
jae 0x1400032fd
lea rdx, [rdi + 0x118]
mov r11d, r9d
mov r8d, dword [rdx - 4]
cmp r8d, r10d
ja 0x1400032e3
mov ecx, dword [rdx]
add ecx, r8d
cmp r10d, ecx
ja 0x1400032e3
mov r14d, dword [rdx + 4]
sub r14d, r8d
add r14d, r10d
add rdx, 0x28
sub r11, 1
jne 0x1400032c6
mov rax, qword [rbp + 0x130]
xor ecx, ecx
mov r11, qword [rbp + 0x138]
mov r8d, r14d
add r8, rbx
cmp byte [r8], 0x4e
jne 0x140003384
cmp byte [r8 + 1], 0x74
jne 0x140003384
movzx eax, word [r11]
mov r14d, dword [rsi + rax*4]
cmp cx, r9w
jae 0x14000334f
lea rdx, [rdi + 0x118]
mov r10, r9
mov r9d, dword [rdx - 4]
cmp r9d, r14d
ja 0x140003345
mov ecx, dword [rdx]
add ecx, r9d
cmp r14d, ecx
ja 0x140003345
mov r12d, dword [rdx + 4]
sub r12d, r9d
add r12d, r14d
add rdx, 0x28
sub r10, 1
jne 0x140003328
mov rdx, qword [rbp + 0x120]
mov rcx, r8
mov eax, r12d
mov esi, dword [rax + rbx + 4]
sub esi, 0x1000
call sub.ntoskrnl.exe__stricmp
xor ecx, ecx
test eax, eax
je 0x1400033d9
mov rax, qword [rbp + 0x130]
mov r11, qword [rbp + 0x138]
mov rsi, qword [rsp + 0x78]
add rax, 4
add r11, 2
inc r13d
mov qword [rbp + 0x130], rax
mov qword [rbp + 0x138], r11
cmp r13d, dword [r15 + rbx + 0x18]
jb 0x1400032ae
xor edx, edx
lea rcx, [rbp + 0x60]
lea r8d, [rdx + 0x64]
call fcn.14000ce00
mov r8, qword [rbp + 0x120]
lea rdx, [0x14000d8d0]
lea rcx, [rbp + 0x60]
call sub.ntoskrnl.exe_sprintf
lea rcx, [rbp + 0x60]
call fcn.140001af0
xor esi, esi
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret