Function at 0x4573c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x528f18
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
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 [0x531144]
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 0x45766d
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
test ecx, eax
je 0x457659
lea eax, [esp + 0x8c]
lea edx, [edi + 0x41]
push eax
mov word [esp + 0x90], dx
call dword [0x531140]
cmp eax, 3
je 0x4574ad
cmp eax, 6
jne 0x457659
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 [0x531334]
mov ebp, eax
cmp ebp, ebx
je 0x457659
mov esi, dword [0x531278]
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 0x45764e
push 0x221
call fcn.004ffa25
mov edi, eax
add esp, 4
test edi, edi
je 0x45764a
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 0x457641
mov eax, dword [edi]
lea esi, [edi + 0x10]
test esi, esi
je 0x457641
cmp eax, 0x2e
jbe 0x457641
lea ecx, [esp + 0x54]
push esi
push ecx
mov ecx, 0x13
lea edx, [ecx - 9]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x38]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 0
call fcn.0040db60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.0040d7e0
lea edx, [esp + 0x54]
push esi
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x20]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 1
call fcn.0040db60
lea ecx, [esp + 0x54]
mov dword [esp + 0xcc], ebx
call fcn.0040d7e0
lea eax, [esp + 0x70]
mov ecx, 0x1a
push esi
push eax
lea edx, [ecx - 3]
call fcn.00456e30
add esp, 8
mov ecx, dword [esp + 0x34]
push ebx
push 0
push eax
mov dword [esp + 0xd8], 2
call fcn.0040db60
lea ecx, [esp + 0x70]
mov dword [esp + 0xcc], ebx
call fcn.0040d7e0
mov byte [esp + 0x1b], 1
push edi
call fcn.004ff948
add esp, 4
mov edi, dword [esp + 0x1c]
push ebp
call dword [0x531378]
mov esi, dword [esp + 0x24]
add edi, 1
cmp edi, 0x20
mov dword [esp + 0x1c], edi
jl 0x457465
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.004ff939
add esp, 0xbc
ret