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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x110
mov edi, r9d
mov r12, r8
mov ebx, edx
mov rsi, rcx
and dword [rsp + 0x88], 0
xor eax, eax
mov dword [rsp + 0x8c], eax
mov qword [r11 - 0x98], rax
and dword [r11 - 0x68], eax
xor edx, edx
lea r8d, [rax + 0x28]
lea rcx, [r11 - 0x60]
call fcn.0001a360
xor r8d, r8d
mov r13, r8
mov r15, r8
mov qword [rsp + 0x98], r8
mov r14, r8
mov qword [rsp + 0xa0], r8
mov dword [rsp + 0xa8], r8d
xor eax, eax
mov dword [rsp + 0xac], eax
mov ecx, 0xc0000001
mov dword [0x0001ce3c], ecx
mov qword [rsp + 0xb8], rsi
lea eax, [rbx - 2]
mov word [rsp + 0xb0], ax
mov word [rsp + 0xb2], bx
lea edx, [r8 + 0x30]
mov dword [rsp + 0xc0], edx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
lea eax, [rdx + 0x10]
mov dword [rsp + 0xd8], eax
mov dword [rsp + 0xc0], edx
mov qword [rsp + 0xc8], r8
mov dword [rsp + 0xd8], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], r8
mov qword [rsp + 0xe8], r8
cmp qword [0x0001c878], r8
je 0x134f6
mov rcx, rsi
call fcn.00013168
mov r13, rax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x800
xor esi, esi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x60
lea ebx, [rsi + 1]
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xc0]
mov edx, 0x100001
lea rcx, [rsp + 0x80]
call qword [0x0001c878]
mov ecx, eax
mov dword [0x0001ce3c], eax
cmp eax, esi
je 0x134fd
lea rcx, [rsp + 0x98]
call fcn.00013000
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.00012eb8
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x68], 0x800
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xc0]
mov edx, 0x100001
lea rcx, [rsp + 0x80]
call qword [0x0001c878]
mov ecx, eax
mov dword [0x0001ce3c], eax
mov r15, qword [rsp + 0x98]
mov r14, qword [rsp + 0xa0]
jmp 0x134fd
mov ebx, 1
xor esi, esi
cmp ecx, esi
je 0x13538
mov dword [rsp + 0x28], 0x60
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xc0]
mov edx, 0x100001
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
mov ecx, eax
mov dword [0x0001ce3c], eax
cmp ecx, esi
jne 0x136d1
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x20], 5
lea r9d, [rax + 0x18]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov dword [0x0001ce3c], eax
cmp eax, esi
jne 0x1368e
mov eax, dword [rsp + 0x100]
cmp eax, edi
ja 0x1366f
cmp eax, 0x1000000
ja 0x1366f
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [0x0001ce3c], eax
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rbx, rax
test rax, rax
je 0x1368c
and qword [rsp + 0x40], 0
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [0x0001ce3c], eax
test eax, eax
jne 0x13660
mov r8, rdi
mov rdx, rbx
mov rcx, r12
call fcn.0001a500
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor esi, esi
jmp 0x1368e
cmp edi, 4
jb 0x13680
mov dword [r12], eax
mov dword [0x0001ce3c], esi
jmp 0x1368e
mov dword [0x0001ce3c], 0xc000009a
jmp 0x1368e
xor esi, esi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp r15, rsi
je 0x136ae
lea rcx, [rsp + 0x98]
call fcn.00013000
cmp r14, rsi
je 0x136cb
lea rdx, [rsp + 0xa0]
mov rcx, r13
call fcn.00012eb8
mov ecx, dword [0x0001ce3c]
jmp 0x136d1
mov ecx, dword [0x0001ce3c]
jmp 0x136d9
mov eax, ecx
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret