Function at 0x424230
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4a2988
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
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 [0x4a726c]
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 0x4244dd
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x4244c9
lea eax, [esp + 0x8c]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x90], dx
call dword [0x4a7278]
cmp eax, 3
je 0x42431d
cmp eax, 6
jne 0x4244c9
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 [0x4a72f8]
mov ebp, eax
cmp ebp, ebx
je 0x4244c9
mov esi, dword [0x4a7274]
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 0x4244be
push 0x221
call fcn.0047fe9c
mov edi, eax
add esp, 4
test edi, edi
je 0x4244ba
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 0x4244b1
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x4244b1
cmp eax, 0x2e
jbe 0x4244b1
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, 0x13
lea edx, [ecx - 9]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x38]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 0
call fcn.00403c60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00403a20
lea edx, [esp + 0x54]
push esi
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x20]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 1
call fcn.00403c60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.00403a20
lea eax, [esp + 0x70]
mov ecx, 0x1a
push esi
push eax
lea edx, [ecx - 3]
call fcn.00423ca0
add esp, 8
mov ecx, dword [esp + 0x34]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 2
call fcn.00403c60
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], ebx
call fcn.00403a20
mov byte [esp + 0x1b], 1
push edi
call fcn.0047f647
add esp, 4
mov edi, dword [esp + 0x1c]
push ebp
call dword [0x4a7260]
mov esi, dword [esp + 0x24]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x1c], edi
jl 0x4242d5
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.0047f0e0
add esp, 0xbc
ret