Function at 0x440fe0
Capabilities:
Check os version
Get disk information
Get disk information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x44b358
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x462600]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462600]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xb4]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x38]
mov word [esp + 0x80], bx
mov dword [esp + 0x82], eax
mov dword [esp + 0x86], eax
mov dword [esp + 0x8a], eax
mov dword [esp + 0x8e], eax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov word [esp + 0x9e], ax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov word [esp + 0x7e], ax
call fcn.00442460
cmp edi, ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x38]
jne 0x4410c3
or edi, 0xffffffff
mov dword [esp + 0xac], edi
call fcn.00441700
mov eax, edi
jmp 0x441245
lea eax, [esp + 0x14]
push eax
call fcn.00441ba0
movzx ecx, word [edi]
xor esi, esi
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov word [esp + 0x72], 0x3a
mov dword [esp + 0x1c], ecx
jle 0x44117e
lea ebp, [eax + 0x80]
movzx edx, word [edi]
push edx
push ebp
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
jne 0x441111
add esi, 1
add ebp, 0x194
cmp esi, dword [esp + 0x14]
jl 0x4410f1
jmp 0x44117e
mov ecx, dword [esp + 0x18]
mov eax, esi
imul eax, eax, 0x194
lea eax, [eax + ecx + 0x80]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
xor edi, edi
cmp ebp, ebx
jle 0x44117e
mov ebx, dword [esp + 0x24]
jmp 0x441140
mov dx, word [ebx]
lea eax, [esp + 0x70]
push eax
mov word [esp + 0x74], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x441164
add edi, 1
add ebx, 2
cmp edi, ebp
jl 0x441140
jmp 0x44117c
mov ecx, dword [esp + 0x18]
imul esi, esi, 0xca
add esi, edi
movzx edx, word [ecx + esi*2 + 0x80]
mov dword [esp + 0x1c], edx
xor ebx, ebx
push 0x4533d8
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov cx, word [esp + 0x1c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea edx, [esp + 0x98]
push edx
mov word [esp + 0xa4], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x4411eb
mov esi, dword [esp + 0x20]
mov dword [esi + 0x20c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x38]
mov dword [esi + 0x210], eax
mov dword [esp + 0xac], edi
call fcn.00441700
mov eax, edi
jmp 0x441245
push ebx
lea eax, [esp + 0x38]
push eax
push 0xc
lea ecx, [esp + 0x34]
push ecx
push ebx
push ebx
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
jne 0x441228
mov ebx, dword [esp + 0x20]
mov dword [ebx + 0x20c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x210], eax
mov dword [esp + 0x2c], edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
mov dword [esp + 0xac], edi
call fcn.00441700
mov eax, esi
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00428d80
add esp, 0x9c
ret 4