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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov rax, qword [0x140008810]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [rbp - 0x68], rcx
lea rdx, [0x140003070]
lea rcx, [rbp - 0x48]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
xor ebx, ebx
mov dword [rbp - 0x38], 0x30
lea rax, [rbp - 0x48]
mov qword [rbp - 0x30], rbx
xorps xmm0, xmm0
mov dword [rbp - 0x20], 0x240
mov edi, 0x100
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x68], edi
lea r14d, [rbx + 1]
mov qword [rsp + 0x60], rbx
lea r9, [rbp - 0x58]
mov dword [rsp + 0x58], ebx
lea r8, [rbp - 0x38]
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x48], rbx
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], rbx
movdqu xmmword [rbp - 0x18], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
test eax, eax
js 0x1400016e6
mov rcx, qword [rsp + 0x78]
lea r9d, [rbx + 0x18]
lea r8, [rbp - 8]
mov dword [rsp + 0x20], 5
lea rdx, [rbp - 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
test eax, eax
js 0x1400016db
cmp dword [rbp + 4], ebx
jne 0x1400016db
mov esi, dword [rbp]
xor r8d, r8d
mov ecx, r14d
lea rdx, [rdi + rsi]
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, qword [rsp + 0x78]
mov rdi, rax
test rax, rax
je 0x1400016e0
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov dword [rsp + 0x30], esi
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x70], rbx
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
test eax, eax
js 0x1400016c1
movsxd rsi, dword [rdi + 0x3c]
add rsi, rdi
mov eax, dword [rsi + 0x88]
test eax, eax
je 0x1400016e6
movzx edx, word [rsi + 6]
lea rcx, [rsi + 0x118]
mov r12d, eax
cmp bx, dx
jae 0x1400014ef
mov r10d, edx
mov r8, rcx
mov r9d, dword [r8 - 4]
cmp r9, r12
ja 0x1400014e6
mov eax, dword [r8]
add rax, r9
cmp r12, rax
ja 0x1400014e6
mov eax, dword [r8 + 4]
sub rax, r9
add r12, rax
add r8, 0x28
sub r10, r14
jne 0x1400014c8
mov r8d, dword [r12 + rdi + 0x1c]
cmp bx, dx
jae 0x140001521
mov r10, rdx
mov r9d, dword [rcx - 4]
cmp r9, r8
ja 0x140001518
mov eax, dword [rcx]
add rax, r9
cmp r8, rax
ja 0x140001518
mov eax, dword [rcx + 4]
sub rax, r9
add r8, rax
add rcx, 0x28
sub r10, r14
jne 0x1400014fc
lea r15, [r8 + rdi]
mov r8d, dword [r12 + rdi + 0x24]
mov qword [rbp - 0x60], r15
cmp bx, dx
jae 0x140001562
mov r10, rdx
lea rcx, [rsi + 0x118]
mov r9d, dword [rcx - 4]
cmp r9, r8
ja 0x140001559
mov eax, dword [rcx]
add rax, r9
cmp r8, rax
ja 0x140001559
mov eax, dword [rcx + 4]
sub rax, r9
add r8, rax
add rcx, 0x28
sub r10, r14
jne 0x14000153d
lea r11, [r8 + rdi]
mov r8d, dword [r12 + rdi + 0x20]
mov qword [rbp - 0x78], r11
cmp bx, dx
jae 0x1400015a2
mov r9, rdx
lea rcx, [rsi + 0x118]
mov edx, dword [rcx - 4]
cmp rdx, r8
ja 0x140001599
mov eax, dword [rcx]
add rax, rdx
cmp r8, rax
ja 0x140001599
mov eax, dword [rcx + 4]
sub rax, rdx
add r8, rax
add rcx, 0x28
sub r9, r14
jne 0x14000157e
lea rax, [r8 + rdi]
mov ecx, ebx
mov r14d, ebx
mov qword [rbp - 0x80], rax
mov r13d, ebx
mov dword [rsp + 0x70], ebx
cmp dword [r12 + rdi + 0x18], ebx
jbe 0x1400016d0
movzx r9d, word [rsi + 6]
mov r10d, dword [rax]
cmp bx, r9w
jae 0x14000160c
lea rdx, [rsi + 0x118]
mov r11d, r9d
mov r8d, dword [rdx - 4]
cmp r8d, r10d
ja 0x1400015f6
mov ecx, dword [rdx]
add ecx, r8d
cmp r10d, ecx
ja 0x1400015f6
mov r14d, dword [rdx + 4]
sub r14d, r8d
add r14d, r10d
add rdx, 0x28
sub r11, 1
jne 0x1400015d9
mov rax, qword [rbp - 0x80]
mov ecx, dword [rsp + 0x70]
mov r11, qword [rbp - 0x78]
mov r8d, r14d
add r8, rdi
cmp byte [r8], 0x5a
jne 0x140001690
cmp byte [r8 + 1], 0x77
jne 0x140001690
movzx eax, word [r11]
mov r14d, dword [r15 + rax*4]
cmp bx, r9w
jae 0x140001667
lea rdx, [rsi + 0x118]
mov r10, r9
mov r9d, dword [rdx - 4]
cmp r9d, r14d
ja 0x14000165d
mov ecx, dword [rdx]
add ecx, r9d
cmp r14d, ecx
ja 0x140001659
mov ecx, dword [rdx + 4]
sub ecx, r9d
add ecx, r14d
mov dword [rsp + 0x70], ecx
jmp 0x14000165d
mov ecx, dword [rsp + 0x70]
add rdx, 0x28
sub r10, 1
jne 0x140001637
mov rdx, qword [rbp - 0x68]
mov eax, ecx
mov rcx, r8
mov r15d, dword [rax + rdi + 4]
mov word [r8], 0x744e
call sub.ntoskrnl.exe__stricmp
test eax, eax
je 0x1400016b3
mov rax, qword [rbp - 0x80]
mov r11, qword [rbp - 0x78]
mov r15, qword [rbp - 0x60]
add rax, 4
add r11, 2
inc r13d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r11
cmp r13d, dword [r12 + rdi + 0x18]
jae 0x1400016d0
mov ecx, dword [rsp + 0x70]
jmp 0x1400015c1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov ebx, r15d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x1400016e8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400026c0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret