Function at 0x4570a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x528f71
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
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 [0x531144]
xor edi, edi
mov dword [esp + 0x24], eax
or ebp, 0xffffffff
mov al, byte [esp + 0x1b]
test al, al
jne 0x457398
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
test ecx, eax
je 0x457388
lea eax, [esp + 0xac]
lea edx, [ebx + 0x41]
push eax
mov word [esp + 0xb0], dx
call dword [0x531140]
cmp eax, 3
je 0x457187
cmp eax, 6
jne 0x457388
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 [0x531334]
mov esi, eax
cmp esi, ebp
je 0x457388
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 [0x531278]
mov al, byte [esp + 0x3b]
test al, al
jbe 0x45737d
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.00508d80
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.00456dc0
add esp, 0x14
test al, al
je 0x45737d
cmp dword [esp + 0xdc], 0x2e
jbe 0x45737d
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x54]
mov ecx, 0x13
push eax
lea edx, [ecx - 9]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x28]
push ebp
push 0
push eax
mov dword [esp + 0x308], 0
call fcn.0040db60
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.0040d7e0
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x54]
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x2c]
push ebp
push 0
push eax
mov dword [esp + 0x308], 1
call fcn.0040db60
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.0040d7e0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x1a
lea edx, [ecx - 3]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x30]
push ebp
push 0
push eax
mov dword [esp + 0x308], 2
call fcn.0040db60
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2fc], ebp
call fcn.0040d7e0
mov byte [esp + 0x1b], 1
push esi
call dword [0x531378]
mov edi, dword [esp + 0x20]
add ebx, 1
cmp ebx, 0x20
jl 0x45713f
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.004ff939
add esp, 0x2ec
ret