Function at 0x1b1c6
Capabilities:
Check os version
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x2483c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ecx
mov esi, 0x1f612
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x26]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x249a0]
xor esi, esi
mov ebx, 0x114
push ebx
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], esi
mov dword [ebp - 0x16c], esi
mov edi, dword [eax + 0x28]
lea eax, [ebp - 0x158]
push esi
push eax
call sub.ntoskrnl.exe_memset
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x158], ebx
call dword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp byte [0x24db4], 0
mov dword [ebp - 0x184], 0x18
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x178], 0x240
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x17c], 0x27080
jne 0x1b281
mov dword [ebp - 0x17c], 0x26e58
push dword [0x249a0]
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x1b29a
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
push dword [edi + 8]
lea eax, [ebp - 0x18c]
push esi
push esi
push esi
push esi
push esi
push 0x60
push 1
push esi
push 0x80
push esi
push eax
lea eax, [ebp - 0x184]
push eax
push 0xc0000000
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.ntoskrnl.exe_IoCreateFileSpecifyDeviceObjectHint]
test eax, eax
jl 0x1b6cc
mov edi, 0x1000
push edi
call fcn.00015c50
mov ebx, eax
cmp ebx, esi
je 0x1b6c0
push edi
push esi
push ebx
call sub.ntoskrnl.exe_memset
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x1a4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x1000
push edi
push ebx
push 8
lea eax, [ebp - 0x1a4]
push eax
push 0x90073
lea eax, [ebp - 0x18c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x15c]
call dword [sym.imp.ntoskrnl.exe_ZwFsControlFile]
push dword [ebp - 0x15c]
test eax, eax
jge 0x1b345
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push ebx
call fcn.00015c6a
jmp 0x1b6cc
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x24db4], 0
mov dword [ebp - 0x15c], esi
mov eax, dword [ebx + 0x18]
mov dword [0x26e60], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x26e64], eax
mov eax, dword [ebx + 0x10]
mov dword [0x26e48], eax
mov eax, dword [ebx + 0x14]
mov dword [0x26e4c], eax
mov eax, dword [0x270a4]
jne 0x1b384
mov eax, dword [0x2709c]
mov ax, word [eax]
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push esi
push esi
push 0x60
push 1
push 3
push 0x80
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x17c], eax
push esi
lea eax, [ebp - 0x18c]
push eax
lea eax, [ebp - 0x184]
push eax
push 0xc0000000
lea eax, [ebp - 0x15c]
push eax
mov dword [ebp - 0x184], 0x18
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x178], 0x240
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x170], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateFile]
test eax, eax
jl 0x1b33a
push edi
push esi
push ebx
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x164], esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x168]
push eax
push edi
push ebx
lea eax, [ebp - 0x18c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x15c]
call dword [sym.imp.ntoskrnl.exe_ZwReadFile]
test eax, eax
jl 0x1b6ba
mov ecx, dword [ebx + 3]
mov eax, 0x1f60c
cmp ecx, dword [eax]
jne 0x1b499
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x26e64]
imul ecx
push dword [0x26e60]
push edx
push eax
call sub.ntoskrnl.exe__allmul
push dword [0x26e4c]
mov dword [0x26e60], eax
push dword [0x26e48]
mov dword [0x26e64], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
imul ecx
push edx
push eax
call sub.ntoskrnl.exe__allmul
jmp 0x1b55d
push 2
pop ecx
mov edi, 0x1f602
lea esi, [ebx + 0x52]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1b6ba
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x1b4b9
movzx eax, word [ebx + 0x16]
and dword [ebp - 0x164], 0
push dword [ebp - 0x164]
mov dword [ebp - 0x168], eax
movzx eax, byte [ebx + 0x10]
push dword [ebp - 0x168]
cdq
push edx
push eax
call sub.ntoskrnl.exe__allmul
push dword [0x26e64]
mov esi, eax
movzx eax, word [ebx + 0xe]
push dword [0x26e60]
mov edi, edx
cdq
add esi, eax
adc edi, edx
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x164], edi
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
imul ecx
push edx
push eax
call sub.ntoskrnl.exe__allmul
mov dword [0x26e60], eax
mov dword [0x26e64], edx
movzx eax, word [ebx + 0xb]
push edi
cdq
push esi
push edx
push eax
call sub.ntoskrnl.exe__allmul
add dword [0x26e60], eax
push dword [0x26e4c]
adc dword [0x26e64], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x26e48]
imul ecx
push edx
push eax
call sub.ntoskrnl.exe__allmul
xor esi, esi
mov edi, 0x1000
push edi
push esi
push ebx
mov dword [0x26e4c], edx
mov dword [0x26e48], eax
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x198], esi
call sub.ntoskrnl.exe_memset
add esp, 0xc
push edi
push ebx
push 8
lea eax, [ebp - 0x19c]
push eax
push 0x560020
lea eax, [ebp - 0x18c]
push eax
push esi
push esi
push esi
push dword [ebp - 0x15c]
call dword [sym.imp.ntoskrnl.exe_ZwDeviceIoControlFile]
test eax, eax
jl 0x1b6ba
mov eax, dword [ebx + 0x10]
add dword [0x26e60], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [sym.imp.ntoskrnl.exe_swprintf]
adc dword [0x26e64], eax
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1f5ce
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x80
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
test eax, eax
jge 0x1b651
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1f5a6
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x16c]
push eax
push 0x80
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
test eax, eax
jl 0x1b6ba
mov eax, dword [ebp - 0x16c]
cmp eax, esi
je 0x1b6ba
cmp dword [0x24dac], esi
jne 0x1b6ba
cmp dword [ebp - 0x154], 6
push 3
pop ecx
jb 0x1b671
xor ecx, ecx
mov eax, dword [eax + 4]
jmp 0x1b67e
cmp ecx, esi
jbe 0x1b689
mov eax, dword [eax + 0x10]
dec ecx
mov dword [ebp - 0x160], eax
cmp dword [eax + 0x10], esi
jne 0x1b676
mov ecx, dword [eax + 8]
mov dword [0x24da8], ecx
mov dword [0x249a4], eax
mov eax, dword [ecx + 0x44]
mov dword [0x24dac], eax
mov eax, dword [ecx + 0x48]
mov dword [0x24db0], eax
mov dword [ecx + 0x44], 0x1b098
mov eax, dword [0x24da8]
mov dword [eax + 0x48], 0x1b12c
push ebx
call fcn.00015c6a
push dword [ebp - 0x15c]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0001d90e
leave
ret