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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x2235c]
xor eax, ebp
add byte [eax - 0x71], dl
adc byte [esi + 0x57], 0x6a
pop es
pop ecx
mov esi, 0x1e162
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 [0x224a8]
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 [0x224bc], 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], 0x24780
jne 0x1a0b9
mov dword [ebp - 0x17c], 0x24558
push dword [0x224a8]
call dword [sym.imp.ntoskrnl.exe_IoGetDeviceAttachmentBaseRef]
mov dword [edi + 8], eax
cmp eax, esi
jne 0x1a0d2
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 0x40
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 0x1a504
mov edi, 0x1000
push edi
call fcn.000153de
mov ebx, eax
cmp ebx, esi
je 0x1a4f8
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 0x1a17d
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push ebx
call fcn.000153f8
jmp 0x1a504
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [0x224bc], 0
mov dword [ebp - 0x15c], esi
mov eax, dword [ebx + 0x18]
mov dword [0x24560], eax
mov eax, dword [ebx + 0x1c]
mov dword [0x24564], eax
mov eax, dword [ebx + 0x10]
mov dword [0x24548], eax
mov eax, dword [ebx + 0x14]
mov dword [0x2454c], eax
mov eax, dword [0x2479c]
jne 0x1a1bc
mov eax, dword [0x24794]
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 0x1a172
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 0x1a4f2
mov ecx, dword [ebx + 3]
mov eax, 0x1e15c
cmp ecx, dword [eax]
jne 0x1a2d1
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x24564]
imul ecx
push dword [0x24560]
push edx
push eax
call sub.ntoskrnl.exe__allmul
push dword [0x2454c]
mov dword [0x24560], eax
push dword [0x24548]
mov dword [0x24564], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
imul ecx
push edx
push eax
call sub.ntoskrnl.exe__allmul
jmp 0x1a395
push 2
pop ecx
mov edi, 0x1e152
lea esi, [ebx + 0x52]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1a4f2
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x1a2f1
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 [0x24564]
mov esi, eax
movzx eax, word [ebx + 0xe]
push dword [0x24560]
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 [0x24560], eax
mov dword [0x24564], edx
movzx eax, word [ebx + 0xb]
push edi
cdq
push esi
push edx
push eax
call sub.ntoskrnl.exe__allmul
add dword [0x24560], eax
push dword [0x2454c]
adc dword [0x24564], edx
movzx ecx, byte [ebx + 0xd]
movzx eax, word [ebx + 0xb]
push dword [0x24548]
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 [0x2454c], edx
mov dword [0x24548], 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 0x1a4f2
mov eax, dword [ebx + 0x10]
add dword [0x24560], eax
mov eax, dword [ebx + 0x14]
mov edi, dword [sym.imp.ntoskrnl.exe_swprintf]
adc dword [0x24564], eax
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1e11e
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 0x1a489
push dword [ebx + 8]
lea eax, [ebp - 0x44]
push 0x1e0f6
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 0x1a4f2
mov eax, dword [ebp - 0x16c]
cmp eax, esi
je 0x1a4f2
cmp dword [0x224b4], esi
jne 0x1a4f2
cmp dword [ebp - 0x154], 6
push 3
pop ecx
jb 0x1a4a9
xor ecx, ecx
mov eax, dword [eax + 4]
jmp 0x1a4b6
cmp ecx, esi
jbe 0x1a4c1
mov eax, dword [eax + 0x10]
dec ecx
mov dword [ebp - 0x160], eax
cmp dword [eax + 0x10], esi
jne 0x1a4ae
mov ecx, dword [eax + 8]
mov dword [0x224b0], ecx
mov dword [0x224ac], eax
mov eax, dword [ecx + 0x44]
mov dword [0x224b4], eax
mov eax, dword [ecx + 0x48]
mov dword [0x224b8], eax
mov dword [ecx + 0x44], 0x19ed0
mov eax, dword [0x224b0]
mov dword [eax + 0x48], 0x19f64
push ebx
call fcn.000153f8
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.0001c571
leave
ret