Function at 0x423f10
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4a29e1
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x304]
mov dword [esp + 0x2c], ecx
mov ecx, 9
mov esi, str..PhysicalDriveN
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], edx
mov byte [esp + 0x1b], 0
mov word [esp + 0xac], 0x20
mov word [esp + 0xae], 0x3a
mov word [esp + 0xb0], 0x5c
mov word [esp + 0xb2], bx
movsw word es:[edi], word [esi]
call dword [0x4a726c]
xor edi, edi
mov dword [esp + 0x24], eax
or ebp, 0xffffffff
mov al, byte [esp + 0x1b]
test al, al
jne 0x424208
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
test ecx, eax
je 0x4241f8
lea eax, [esp + 0xac]
lea edx, [ebx + 0x41]
push eax
mov word [esp + 0xb0], dx
call dword [0x4a7278]
cmp eax, 3
je 0x423ff7
cmp eax, 6
jne 0x4241f8
push 0
push 0
push 3
push 0
push 3
lea ecx, [edi + 0x30]
push 0xc0000000
lea edx, [esp + 0xcc]
add edi, 1
push edx
mov word [esp + 0xf2], cx
mov dword [esp + 0x3c], edi
call dword [0x4a72f8]
mov esi, eax
cmp esi, ebp
je 0x4241f8
xor eax, eax
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x20]
push eax
push 0x18
lea ecx, [esp + 0x44]
push ecx
push 0
push 0
push 0x74080
push esi
mov dword [esp + 0x3c], 0
call dword [0x4a7274]
mov al, byte [esp + 0x3b]
test al, al
jbe 0x4241ed
mov cl, bl
shr al, cl
push 0x210
lea edx, [esp + 0xe0]
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [esp + 0x38], al
xor eax, eax
push eax
push edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov byte [esp + 0xb4], al
call fcn.00485090
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edi, [esp + 0x30]
mov cl, bl
lea eax, [esp + 0x9c]
call fcn.00423c30
add esp, 0x14
test al, al
je 0x4241ed
cmp dword [esp + 0xdc], 0x2e
jbe 0x4241ed
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x54]
mov ecx, 0x13
push eax
lea edx, [ecx - 9]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x28]
push ebp
push 0
push eax
mov dword [esp + 0x308], 0
call fcn.00403c60
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.00403a20
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x54]
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x2c]
push ebp
push 0
push eax
mov dword [esp + 0x308], 1
call fcn.00403c60
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.00403a20
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x1a
lea edx, [ecx - 3]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x30]
push ebp
push 0
push eax
mov dword [esp + 0x308], 2
call fcn.00403c60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2fc], ebp
call fcn.00403a20
mov byte [esp + 0x1b], 1
push esi
call dword [0x4a7260]
mov edi, dword [esp + 0x20]
add ebx, 1
cmp ebx, 0x20
jl 0x423faf
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2d8]
xor ecx, esp
call fcn.0047f0e0
add esp, 0x2ec
ret