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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x388c
call fcn.00468890
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x41ab27
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x41ae11
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 4]
push ecx
push str..PhysicalDrive_d
push 0xff
lea edx, [ebp - 0x110]
push edx
call fcn.00455cb6
add esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x41ab85
jmp 0x41ae0c
mov dword [ebp - 0x2834], 0
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0x2710
push 0
lea edx, [ebp - 0x2830]
push edx
call fcn.004611e0
add esp, 0xc
push 0
lea eax, [ebp - 0x2834]
push eax
push 0x2710
lea ecx, [ebp - 0x2830]
push ecx
push 0xc
lea edx, [ebp - 0x120]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41adf3
lea ecx, [ebp - 0x2830]
mov dword [ebp - 0x300c], ecx
lea edx, [ebp - 0x33f8]
push edx
push 0
mov eax, dword [ebp - 0x300c]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x2830]
push edx
call fcn.0041a7f0
add esp, 0x10
lea eax, [ebp - 0x3008]
push eax
push 0
mov ecx, dword [ebp - 0x300c]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x2830]
push eax
call fcn.0041a7f0
add esp, 0x10
lea ecx, [ebp - 0x2c20]
push ecx
push 0
mov edx, dword [ebp - 0x300c]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x2830]
push ecx
call fcn.0041a7f0
add esp, 0x10
push 0x94
push 0
lea edx, [ebp - 0x3490]
push edx
call fcn.004611e0
add esp, 0xc
mov dword [ebp - 0x3490], 0x94
lea eax, [ebp - 0x3490]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x348c], 6
jne 0x41acb6
cmp dword [ebp - 0x3488], 2
jae 0x41acbf
cmp dword [ebp - 0x348c], 6
jbe 0x41ace3
lea ecx, [ebp - 0x3878]
push ecx
push 0
mov edx, dword [ebp - 0x300c]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x2830]
push ecx
call fcn.0041a7f0
add esp, 0x10
jmp 0x41ad05
lea edx, [ebp - 0x3878]
push edx
push 1
mov eax, dword [ebp - 0x300c]
mov ecx, dword [eax + 0x18]
push ecx
lea edx, [ebp - 0x2830]
push edx
call fcn.0041a7f0
add esp, 0x10
movsx eax, byte [0x56ae90]
test eax, eax
jne 0x41ad71
movsx ecx, byte [ebp - 0x3878]
push ecx
call fcn.00456ac4
add esp, 4
test eax, eax
jne 0x41ad38
movsx edx, byte [ebp - 0x3865]
push edx
call fcn.00456ac4
add esp, 4
test eax, eax
je 0x41ad71
lea eax, [ebp - 0x3878]
push eax
push 0x400
push 0x56ae90
call fcn.00456e04
add esp, 0xc
lea ecx, [ebp - 0x3008]
push ecx
push 0x400
push 0x56a880
call fcn.00456e04
add esp, 0xc
mov dword [ebp - 8], 1
push 0x2710
push 0
lea edx, [ebp - 0x2830]
push edx
call fcn.004611e0
add esp, 0xc
push 0
lea eax, [ebp - 0x2834]
push eax
push 0x2710
lea ecx, [ebp - 0x2830]
push ecx
push 0
push 0
push 0x700a0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x41adb8
jmp 0x41adf1
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x3884], eax
mov ecx, dword [ebp - 0x3884]
xor edx, edx
cmp dword [ecx + 8], 0xc
sete dl
mov dword [ebp - 0x3888], edx
mov eax, dword [ebp - 0x3884]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x3880], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x387c], edx
jmp 0x41adff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x388c], eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41ab1e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00455328
mov esp, ebp
pop ebp
ret