Function at 0x450120
Capabilities:
Check os version
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5a1de8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x20], ecx
mov ecx, 9
mov esi, 0x5c09ec
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov byte [esp + 0x1b], 0
mov word [esp + 0x8c], 0x20
mov word [esp + 0x8e], 0x3a
mov word [esp + 0x90], 0x5c
mov word [esp + 0x92], 0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
xor esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], edi
or ebx, 0xffffffff
mov al, byte [esp + 0x1b]
test al, al
jne 0x4503cd
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x4503b9
lea eax, [esp + 0x8c]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x90], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x45020d
cmp eax, 6
jne 0x4503b9
push 0
push 0
push 3
push 0
push 7
lea ecx, [esi + 0x30]
push 0xc0000000
lea edx, [esp + 0xac]
add esi, 1
push edx
mov word [esp + 0xd2], cx
mov dword [esp + 0x40], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, ebx
je 0x4503b9
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x18
lea edx, [esp + 0x48]
push edx
push eax
push eax
push 0x74080
push ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call esi
test eax, eax
je 0x4503ae
push 0x221
call fcn.005786ac
mov edi, eax
add esp, 4
test edi, edi
je 0x4503aa
push 0
lea eax, [esp + 0x30]
push eax
push 0x221
push edi
push 0x21
push edi
push 0x7c088
push ebp
mov byte [edi + 0xa], 0xec
mov dword [esp + 0x4c], 0
call esi
test eax, eax
je 0x4503a1
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x4503a1
cmp eax, 0x2e
jbe 0x4503a1
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, 0x13
lea edx, [ecx - 9]
call fcn.0044fb90
add esp, 8
mov ecx, dword [esp + 0x38]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 0
call fcn.00405c60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00405250
lea edx, [esp + 0x54]
push esi
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.0044fb90
add esp, 8
mov ecx, dword [esp + 0x20]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 1
call fcn.00405c60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00405250
lea eax, [esp + 0x70]
mov ecx, 0x1a
push esi
push eax
lea edx, [ecx - 3]
call fcn.0044fb90
add esp, 8
mov ecx, dword [esp + 0x34]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 2
call fcn.00405c60
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], ebx
call fcn.00405250
mov byte [esp + 0x1b], 1
push edi
call fcn.0057876f
add esp, 4
mov edi, dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x1c], edi
jl 0x4501c5
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.005787fd
add esp, 0xbc
ret