Function at 0x1b6e0
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 [0x249a0]
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], 0x27080
cmp byte [0x24db4], bl
jne 0x1b725
mov dword [ebp - 0x2c], 0x26e58
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x1b739
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 0x1b8aa
push dword [0x26e48]
call fcn.00015c50
mov dword [ebp - 8], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x1b89c
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push dword [0x26e48]
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 0x1b894
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 [0x249a0]
mov dword [ebp - 4], ebx
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x1b7e8
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 0x1b894
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 0x1b894
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.00015c6a
cmp dword [ebp - 4], ebx
je 0x1b8aa
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
pop ebx
leave
ret