Function at 0x14000a9c0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x14000f090]
xor rax, rsp
mov qword [rbp - 0x18], rax
cmp dword [0x14000f17c], 0
mov rdi, rcx
jne 0x14000b1a9
mov qword [rsp + 0x128], rbx
mov r9d, 0x400000
xor ebx, ebx
mov dword [rsp + 0x28], 0x24
mov r8d, ebx
mov dword [rsp + 0x20], 1
mov ecx, ebx
mov rdx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_MmAllocatePagesForMdlEx]
mov qword [0x14000f3d0], rax
test rax, rax
je 0x14000b1a1
mov qword [rsp + 0x130], rsi
xor r9d, r9d
mov qword [rsp + 0x138], r12
xor edx, edx
mov qword [rsp + 0x100], r13
mov r8d, 1
mov qword [rsp + 0xf8], r14
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0xf0], r15
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov ecx, 0x90909090
mov qword [0x140018578], 0x76543210
mov qword [0x140018568], rcx
mov qword [0x14000f450], rax
mov dword [0x140018570], 0xfedcba98
test rax, rax
je 0x14000b16a
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [0x14000f3e0], rax
xor edx, edx
mov rax, qword [0x14000f3d0]
mov r8d, 0x400000
mov rcx, qword [rax + 0x30]
shl rcx, 0xc
mov qword [0x14000f3e0], rcx
mov rcx, qword [0x14000f450]
call fcn.14000c6c0
mov rdx, rdi
lea rcx, [rbp - 0x70]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x50], ebx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rbx
lea r9, [rsp + 0x78]
mov dword [rsp + 0x40], ebx
lea r8, [rbp - 0x60]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0xa0
mov edx, 0x120000
mov qword [rsp + 0x20], rbx
mov dword [rbp - 0x60], 0x30
mov qword [rbp - 0x58], rbx
mov dword [rbp - 0x48], ebx
mov qword [rbp - 0x50], rax
movdqu xmmword [rbp - 0x40], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jne 0x14000b156
mov rcx, qword [rsp + 0x68]
lea r8, [rbp - 0x30]
mov r9d, 0x18
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp qword [rbp - 0x28], 0x400000
jg 0x14000b179
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
xor edx, edx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, 0x103
jne 0x14000abe6
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
test eax, eax
jne 0x14000b179
cmp dword [rsp + 0x78], ebx
jne 0x14000b14b
movzx eax, word [rsp + 0x60]
xor r9d, r9d
mov r14, qword [rbp - 0x28]
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
xor edx, edx
shl eax, 9
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov rax, qword [0x14000f450]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, 0x103
jne 0x14000ac55
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
cmp dword [rsp + 0x78], ebx
jne 0x14000b14b
add r14d, 0x1000
mov eax, 0xfffff000
and r14, rax
mov rax, qword [0x14000f450]
add r14, rax
add rax, 0x10
and r14, 0xfffffffffffff000
mov qword [0x14000f3c8], rax
lea r13, [r14 + 0x1000]
lea r15, [r14 + 0x11000]
lea rdi, [r14 + 0x12000]
lea rsi, [r14 + 0x13000]
add r14, 0x14000
mov r12, r14
lea rax, [r14 + 0x2000]
mov rcx, rax
mov qword [rbp - 0x78], rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov rcx, rdi
mov qword [0x14000f3f8], rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [r14 + 0x2000], rax
mov rcx, rsi
or eax, 3
mov dword [r14 + 0x2000], eax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rdi], rax
mov rcx, r14
or eax, 3
mov dword [rdi], eax
mov qword [rsi], rbx
mov qword [rsi + 8], 0x200000
mov dword [rsi], 0x81
mov dword [rsi + 8], 0x200081
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsi + 0x10], rax
lea rcx, [r14 + 0x1000]
btr eax, 7
or eax, 3
mov dword [rsi + 0x10], eax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsi + 0x18], rax
mov rdi, r14
btr eax, 7
mov r14d, 0x400
or eax, 3
mov dword [rsi + 0x18], eax
mov rsi, rbx
nop dword [rax]
mov rcx, qword [0x14000f450]
add rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rdi], rax
add rsi, 0x1000
or eax, 3
mov dword [rdi], eax
lea rdi, [rdi + 8]
sub r14, 1
jne 0x14000ad50
mov rax, r13
mov edx, 0x3fffff
sub rax, qword [0x14000f450]
mov ecx, 0x1000
shr rax, 0xc
cdqe
and dword [r12 + rax*8], 0xfffffffe
movabs rax, 0xcf92000000ffff
mov qword [r15 + 8], rax
movabs rax, 0xcf96000000ffff
mov qword [r15 + 0x10], rax
movabs rax, 0xcf9b000000ffff
mov qword [r15 + 0x18], rax
movabs rax, 0x9a000000ffff
mov qword [r15 + 0x20], rax
movabs rax, 0x92000000ffff
mov qword [r15 + 0x28], rax
movabs rax, 0x9a030000ffff
mov qword [r15 + 0x30], rax
movabs rax, 0xaf9b000000ffff
mov qword [r15 + 0x50], rax
mov eax, 0x6f
mov qword [r15], rbx
mov qword [r15 + 0x38], rbx
mov qword [r15 + 0x40], rbx
mov qword [r15 + 0x48], rbx
mov qword [r15 + 0x58], rbx
mov qword [r15 + 0x60], rbx
mov qword [r15 + 0x68], rbx
sub r15, qword [0x14000f450]
mov word [0x14000f440], ax
add r15, 0x400000
lea rax, [0x14000f440]
mov qword [0x14000f442], r15
mov qword [0x14000f3e8], rax
call qword [sym.imp.ntoskrnl.exe_MmAllocateContiguousMemory]
mov qword [0x14000f438], rax
test rax, rax
je 0x14000b179
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call fcn.14000c6c0
mov rcx, qword [0x14000f438]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov edx, 0x1000
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [0x14000f430], rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
lea rdx, [0x14000bc72]
mov r9, 0xfffffffffffffffe
lea rax, [rdx + 2]
sub r9, rdx
mov r8d, ebx
cmp byte [rax - 2], 0xce
jne 0x14000aed1
cmp byte [rax - 1], 0xce
jne 0x14000aed1
cmp byte [rax], 0xce
jne 0x14000aed1
cmp byte [rax + 1], 0xce
jne 0x14000aed1
cmp byte [rax + 2], 0xce
je 0x14000aee4
inc rax
inc r8d
lea rcx, [r9 + rax]
cmp rcx, 0x1000
jl 0x14000aeb4
mov rcx, qword [0x14000f438]
movsxd r8, r8d
call fcn.14000c8c0
mov edx, 0x4000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14000f410], rax
test rax, rax
je 0x14000b179
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov edx, 0x4000
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [0x14000f400], rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov rcx, qword [0x14000f410]
xor edx, edx
mov r8d, 0x4000
call fcn.14000c6c0
mov rax, qword [0x14000f400]
mov esi, 0x200
mov rcx, qword [rax + 0x30]
mov rax, qword [0x14000f430]
shl rcx, 0xc
mov qword [0x14000f408], rcx
mov rcx, qword [rax + 0x30]
mov rax, qword [0x14000f410]
shl rcx, 0xc
mov qword [0x14000f418], rcx
lea r14, [rax + 0x1000]
mov rdi, r14
lea r15, [rax + 0x2000]
lea r12, [rax + 0x3000]
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rdi - 0x1000], rax
mov rcx, r15
or eax, 1
mov dword [rdi - 0x1000], eax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rdi], rax
mov rcx, r12
or eax, 1
mov dword [rdi], eax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rdi + 0x1000], rax
lea rdi, [rdi + 8]
btr eax, 7
or eax, 1
mov dword [rdi + 0xff8], eax
mov rax, qword [0x14000f418]
mov qword [rdi + 0x1ff8], rax
mov eax, dword [0x14000f418]
or eax, 1
mov dword [rdi + 0x1ff8], eax
sub rsi, 1
jne 0x14000afa5
mov edx, 0x1000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov qword [0x14000f428], rax
xor r8d, r8d
mov edx, 0x1000
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
xor r8d, r8d
xor edx, edx
mov rcx, rax
mov qword [0x14000f420], rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov rcx, qword [0x14000f428]
xor edx, edx
mov r8d, 0x1000
call fcn.14000c6c0
mov rax, qword [0x14000f420]
mov r9d, 0x8000
mov dword [rsp + 0x28], 0x24
mov r8, rbx
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x20], 1
mov rcx, qword [rax + 0x30]
mov rax, qword [0x14000f3c8]
shl rcx, 0xc
mov qword [0x14000f3f0], rcx
mov qword [rax], rcx
mov rax, qword [0x14000f3c8]
mov rcx, qword [0x14000f3e0]
mov qword [rax + 8], rcx
mov rax, qword [0x14000f3c8]
mov rcx, qword [rbp - 0x78]
sub rcx, qword [0x14000f450]
add rcx, 0x400000
mov qword [rax + 0x10], rcx
mov rcx, rbx
mov rax, qword [0x14000f3c8]
sub r13, qword [0x14000f450]
add r13, 0x40ffc0
mov qword [rax + 0x18], r13
mov rax, qword [0x14000f3c8]
mov qword [rax + 0x30], rbx
call qword [sym.imp.ntoskrnl.exe_MmAllocatePagesForMdlEx]
test rax, rax
je 0x14000b13a
mov rcx, qword [0x14000f3c8]
mov rdx, qword [rax + 0x30]
shl rdx, 0xc
mov qword [rcx + 0x30], rdx
xor edx, edx
mov rcx, qword [0x14000f3c8]
mov qword [rcx + 0x38], 8
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov dword [0x14000f17c], 1
mov qword [0x14000f3d8], rbx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rdx, qword [0x14000f3d0]
mov rcx, qword [0x14000f450]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, qword [0x14000f3d0]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r14, qword [rsp + 0xf8]
mov r13, qword [rsp + 0x100]
mov r12, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x130]
mov r15, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x128]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14000c600
add rsp, 0x108
pop rdi
pop rbp
ret