Function at 0x1b576
Capabilities:
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x24a20]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x28]
push edi
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], 0x27100
cmp byte [0x24e34], bl
jne 0x1b5bb
mov dword [ebp - 0x2c], 0x26ed8
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x1b5cf
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
push dword [esi + 8]
mov edi, dword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
push 0x800
push ebx
push ebx
push ebx
push ebx
push 0x68
push 1
push 3
push 0x80
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
push 0xc0100000
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
jl 0x1b740
push dword [0x26ec8]
call fcn.00015ae6
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x1b732
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x26ec8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
cmp eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
jl 0x1b72a
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push dword [0x24a20]
mov dword [ebp - 4], ebx
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x1b67e
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
push dword [esi + 8]
lea eax, [ebp - 0x14]
push 0x800
push ebx
push ebx
push ebx
push ebx
push 0x60
push 1
push 3
push 0x80
push ebx
push eax
lea eax, [ebp - 0x34]
push eax
push 0xc0000000
lea eax, [ebp - 4]
push eax
call edi
test eax, eax
jl 0x1b72a
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ntoskrnl.exe_ZwWriteFile]
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
push 4
push 0x28
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp dword [ebp - 0x14], ebx
jl 0x1b72a
mov eax, 0xcfddc800
push 4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x54], eax
push 0x28
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x1c126e1
push eax
push dword [ebp - 4]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], ecx
call dword [sym.imp.ntoskrnl.exe_ZwSetInformationFile]
push dword [ebp - 8]
call fcn.00015b00
cmp dword [ebp - 4], ebx
je 0x1b740
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
pop ebx
leave
ret