Function at 0x425360
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4ce3b8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
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, str..PhysicalDriveN
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 [0x4d50b8]
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 0x42560d
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x4255f9
lea eax, [esp + 0x8c]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x90], dx
call dword [0x4d5238]
cmp eax, 3
je 0x42544d
cmp eax, 6
jne 0x4255f9
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 [0x4d52cc]
mov ebp, eax
cmp ebp, ebx
je 0x4255f9
mov esi, dword [0x4d523c]
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 0x4255ee
push 0x221
call fcn.004aad76
mov edi, eax
add esp, 4
test edi, edi
je 0x4255ea
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 0x4255e1
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x4255e1
cmp eax, 0x2e
jbe 0x4255e1
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, 0x13
lea edx, [ecx - 9]
call fcn.00424dd0
add esp, 8
mov ecx, dword [esp + 0x38]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 0
call fcn.00406bf0
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00406880
lea edx, [esp + 0x54]
push esi
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00424dd0
add esp, 8
mov ecx, dword [esp + 0x20]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 1
call fcn.00406bf0
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00406880
lea eax, [esp + 0x70]
mov ecx, 0x1a
push esi
push eax
lea edx, [ecx - 3]
call fcn.00424dd0
add esp, 8
mov ecx, dword [esp + 0x34]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 2
call fcn.00406bf0
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], ebx
call fcn.00406880
mov byte [esp + 0x1b], 1
push edi
call fcn.004aa09f
add esp, 4
mov edi, dword [esp + 0x1c]
push ebp
call dword [0x4d52d8]
mov esi, dword [esp + 0x24]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x1c], edi
jl 0x425405
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.004a91d5
add esp, 0xbc
ret