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

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor ebx, ebx
xorps xmm0, xmm0
mov qword [rbp - 0x39], rbx
xorps xmm1, xmm1
mov dword [rbp - 5], ebx
mov r15, rcx
mov dword [rbp + 0x13], ebx
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 0x29], xmm1
test rcx, rcx
je 0x140001f53
lea rdx, [0x140002d50]
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword ss:[rsp + 0x50], ebx
lea rax, [rbp - 0x19]
mov qword [rsp + 0x48], rbx
lea r9, [rbp - 0x29]
mov dword [rsp + 0x40], 0x20
lea r8, [rbp - 9]
mov dword [rsp + 0x38], 1
lea rcx, [rbp - 0x39]
mov dword [rsp + 0x30], 1
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov qword [rsp + 0x20], rbx
mov dword [rbp - 9], 0x30
mov qword [rbp - 1], rbx
mov dword [rbp + 0xf], 0x240
mov qword [rbp + 7], rax
movdqu xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
js 0x140001f58
mov rcx, qword ds:[rbp - 0x39]
lea r9d, [rbx + 0x18]
xorps xmm0, xmm0
mov qword [rsp + 0x110], r12
xor eax, eax
mov dword [rsp + 0x20], 5
lea r8, [rbp + 0x27]
mov qword [rbp + 0x37], rax
lea rdx, [rbp - 0x29]
movups xmmword [rbp + 0x27], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
mov r12d, eax
test eax, eax
js 0x140001f36
mov eax, dword [rbp + 0x2f]
cmp eax, 0x1000
jbe 0x140001f36
mov qword ss:[rsp + 0x108], rdi
mov r8d, 0x5347
mov edx, eax
mov qword [rsp + 0x118], r14
xor ecx, ecx
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r14, rax
test rax, rax
je 0x140001f26
test rdi, rdi
je 0x140001de5
mov r8d, edi
xor edx, edx
mov rcx, rax
call fcn.140002b40
mov rcx, qword ds:[rbp - 0x39]
xor eax, eax
mov qword [rbp - 0x31], rax
xor r9d, r9d
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x31]
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov eax, dword [rbp + 0x2f]
xor edx, edx
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov r12d, eax
test eax, eax
js 0x140001f14
mov qword [rsp + 0x100], rsi
lea r8, [0x140002d90]
mov esi, dword [rbp + 0x2f]
mov rcx, r14
mov edx, esi
mov rdi, rbx
call section..text
mov r8d, eax
test eax, eax
je 0x140001e99
lea r9, [r14 + r8]
mov ecx, ebx
mov rdx, r9
lea eax, [rcx + r8]
cmp eax, esi
jae 0x140001e99
cmp byte [rdx], 0xb8
je 0x140001e79
inc ecx
inc rdx
cmp ecx, 0x20
jb 0x140001e60
jmp 0x140001e99
mov eax, ecx
movsxd rcx, dword [rax + r9 + 1]
cmp ecx, 0xffffffff
jle 0x140001e99
cmp rcx, qword [r15 + 0x10]
jae 0x140001e99
mov rax, qword [r15]
movsxd rdi, dword [rax + rcx*4]
sar rdi, 4
add rdi, rax
mov rax, qword [0x140016b10]
lea r8, [0x140002db0]
mov rcx, r14
mov qword [rax + 0x60], rdi
mov edi, dword [rbp + 0x2f]
mov edx, edi
call section..text
mov rsi, qword [rsp + 0x100]
mov r8d, eax
test eax, eax
je 0x140001f09
lea r9, [r14 + r8]
mov ecx, ebx
mov rdx, r9
lea eax, [rcx + r8]
cmp eax, edi
jae 0x140001f09
cmp byte [rdx], 0xb8
je 0x140001ee9
inc ecx
inc rdx
cmp ecx, 0x20
jb 0x140001ed0
jmp 0x140001f09
mov eax, ecx
movsxd rcx, dword [rax + r9 + 1]
cmp ecx, 0xffffffff
jle 0x140001f09
cmp rcx, qword [r15 + 0x10]
jae 0x140001f09
mov rax, qword [r15]
movsxd rbx, dword [rax + rcx*4]
sar rbx, 4
add rbx, rax
mov rax, qword [0x140016b10]
mov qword [rax + 0x68], rbx
mov edx, 0x5347
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rdi, qword [rsp + 0x108]
mov r14, qword [rsp + 0x118]
mov rcx, qword ds:[rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, r12d
mov r12, qword [rsp + 0x110]
jmp 0x140001f58
mov eax, 0xc0000001
mov rcx, qword ds:[rbp + 0x3f]
xor rcx, rsp
call fcn.140002a30
add rsp, 0xe0
pop r15
pop rbx
pop rbp
ret