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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x248d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 7
pop ecx
mov esi, 0x1f4f2
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 [0x24a20]
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 [0x24e34], 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], 0x27100
jne 0x1b117
mov dword [ebp - 0x17c], 0x26ed8
push dword [0x24a20]
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x1b130
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 0x1b562
mov edi, 0x1000
push edi
call fcn.00015ae6
mov ebx, eax
cmp ebx, esi
je 0x1b556
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 0x1b1db
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push ebx
call fcn.00015b00
jmp 0x1b562
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x24e34], 0
mov dword [ebp - 0x15c], esi
mov eax, dword [ebx + 0x18]
mov dword [0x26ee0], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x26ee4], eax
mov eax, dword [ebx + 0x10]
mov dword [0x26ec8], eax
mov eax, dword [ebx + 0x14]
mov dword [0x26ecc], eax
mov eax, dword [0x27124]
jne 0x1b21a
mov eax, dword [0x2711c]
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 0x1b1d0
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 0x1b550
mov ecx, dword [ebx + 3]
mov eax, 0x1f4ec
cmp ecx, dword [eax]
jne 0x1b32f
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x26ee4]
imul ecx
push dword [0x26ee0]
push edx
push eax
call sub.ntoskrnl.exe__allmul
push dword [0x26ecc]
mov dword [0x26ee0], eax
push dword [0x26ec8]
mov dword [0x26ee4], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
imul ecx
push edx
push eax
call sub.ntoskrnl.exe__allmul
jmp 0x1b3f3
push 2
pop ecx
mov edi, 0x1f4e2
lea esi, [ebx + 0x52]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1b550
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x1b34f
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 [0x26ee4]
mov esi, eax
movzx eax, word [ebx + 0xe]
push dword [0x26ee0]
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 [0x26ee0], eax
mov dword [0x26ee4], edx
movzx eax, word [ebx + 0xb]
push edi
cdq
push esi
push edx
push eax
call sub.ntoskrnl.exe__allmul
add dword [0x26ee0], eax
push dword [0x26ecc]
adc dword [0x26ee4], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x26ec8]
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 [0x26ecc], edx
mov dword [0x26ec8], 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 0x1b550
mov eax, dword [ebx + 0x10]
add dword [0x26ee0], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [sym.imp.ntoskrnl.exe_swprintf]
adc dword [0x26ee4], eax
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1f4ae
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 0x1b4e7
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1f486
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 0x1b550
mov eax, dword [ebp - 0x16c]
cmp eax, esi
je 0x1b550
cmp dword [0x24e2c], esi
jne 0x1b550
cmp dword [ebp - 0x154], 6
push 3
pop ecx
jb 0x1b507
xor ecx, ecx
mov eax, dword [eax + 4]
jmp 0x1b514
cmp ecx, esi
jbe 0x1b51f
mov eax, dword [eax + 0x10]
dec ecx
mov dword [ebp - 0x160], eax
cmp dword [eax + 0x10], esi
jne 0x1b50c
mov ecx, dword [eax + 8]
mov dword [0x24e28], ecx
mov dword [0x24a24], eax
mov eax, dword [ecx + 0x44]
mov dword [0x24e2c], eax
mov eax, dword [ecx + 0x48]
mov dword [0x24e30], eax
mov dword [ecx + 0x44], 0x1af2e
mov eax, dword [0x24e28]
mov dword [eax + 0x48], 0x1afc2
push ebx
call fcn.00015b00
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.0001d7e6
leave
ret