Function at 0x4268c0
Capabilities:
Check os version
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3520
call fcn.00468890
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.00427440
mov dword [ebp - 0x14], 0
jmp 0x4268f1
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10
jge 0x426c27
mov dword [ebp - 0x11c], 0
mov ecx, dword [ebp - 0x14]
push ecx
push 0x5550b8
lea edx, [ebp - 0x118]
push edx
call fcn.00427e10
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0xffffffff
jne 0x42694a
jmp 0x426c22
mov dword [ebp - 0x283c], 0
xor ecx, ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
push 0x2710
push 0
lea edx, [ebp - 0x2838]
push edx
call fcn.004611e0
add esp, 0xc
push 0
lea eax, [ebp - 0x283c]
push eax
push 0x2710
lea ecx, [ebp - 0x2838]
push ecx
push 0xc
lea edx, [ebp - 0x128]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x426c09
lea ecx, [ebp - 0x3088]
call fcn.00426300
lea ecx, [ebp - 0x2838]
mov dword [ebp - 0x308c], ecx
mov byte [ebp - 0x3478], 0
push 0x3e7
push 0
lea edx, [ebp - 0x3477]
push edx
call fcn.004611e0
add esp, 0xc
mov byte [ebp - 0x3010], 0
push 0x3e7
push 0
lea eax, [ebp - 0x300f]
push eax
call fcn.004611e0
add esp, 0xc
mov byte [ebp - 0x2c28], 0
push 0x3e7
push 0
lea ecx, [ebp - 0x2c27]
push ecx
call fcn.004611e0
add esp, 0xc
lea edx, [ebp - 0x3010]
push edx
push 0
mov eax, dword [ebp - 0x308c]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp - 0x2838]
push edx
call fcn.004265a0
add esp, 0x10
lea eax, [ebp - 0x2c28]
push eax
push 0
mov ecx, dword [ebp - 0x308c]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp - 0x2838]
push eax
call fcn.004265a0
add esp, 0x10
mov byte [ebp - 0x308d], 0
mov dword [ebp - 0x3510], 0x94
push 0x90
push 0
lea ecx, [ebp - 0x350c]
push ecx
call fcn.004611e0
add esp, 0xc
lea edx, [ebp - 0x3510]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x3514], eax
cmp dword [ebp - 0x350c], 6
jne 0x426ac8
cmp dword [ebp - 0x3508], 2
jae 0x426ad1
cmp dword [ebp - 0x350c], 6
jbe 0x426ad8
mov byte [ebp - 0x308d], 1
lea eax, [ebp - 0x3478]
push eax
movzx ecx, byte [ebp - 0x308d]
neg ecx
sbb ecx, ecx
add ecx, 1
push ecx
mov edx, dword [ebp - 0x308c]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x2838]
push ecx
call fcn.004265a0
add esp, 0x10
lea edx, [ebp - 0x3010]
push edx
lea ecx, [ebp - 0x3080]
call fcn.00408070
lea eax, [ebp - 0x2c28]
push eax
lea ecx, [ebp - 0x3048]
call fcn.00408070
lea ecx, [ebp - 0x3478]
push ecx
lea ecx, [ebp - 0x3064]
call fcn.00408070
push 0x2710
push 0
lea edx, [ebp - 0x2838]
push edx
call fcn.004611e0
add esp, 0xc
push 0
lea eax, [ebp - 0x283c]
push eax
push 0x2710
lea ecx, [ebp - 0x2838]
push ecx
push 0
push 0
push 0x700a0
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x426b84
jmp 0x426bed
lea eax, [ebp - 0x2838]
mov dword [ebp - 0x3518], eax
mov ecx, dword [ebp - 0x3518]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x3520], edx
cmp dword [ebp - 0x3520], 0xb
je 0x426bb3
cmp dword [ebp - 0x3520], 0xc
je 0x426bbf
jmp 0x426bcb
mov dword [ebp - 0x3028], 0
jmp 0x426bd5
mov dword [ebp - 0x3028], 1
jmp 0x426bd5
mov dword [ebp - 0x3028], 2
mov eax, dword [ebp - 0x3518]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x3018], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x3014], edx
lea eax, [ebp - 0x3088]
push eax
lea ecx, [ebp - 0x10]
call fcn.00427570
lea ecx, [ebp - 0x3088]
call fcn.00426330
jmp 0x426c15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x351c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4268e8
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00427460
lea ecx, [ebp - 0x10]
call fcn.004274d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret