Function at 0x4933f0
Capabilities:
Check os version
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5fd331
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x6687b8]
xor eax, esp
mov dword [esp + 0x2d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
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 [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edi, edi
mov dword [esp + 0x24], eax
or ebp, 0xffffffff
mov al, byte [esp + 0x1b]
test al, al
jne 0x4936e8
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x24]
test ecx, eax
je 0x4936d8
lea eax, [esp + 0xac]
lea edx, [ebx + 0x41]
push eax
mov word [esp + 0xb0], dx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4934d7
cmp eax, 6
jne 0x4936d8
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 [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebp
je 0x4936d8
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 [sym.imp.KERNEL32.dll_DeviceIoControl]
mov al, byte [esp + 0x3b]
test al, al
jbe 0x4936cd
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.005da970
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.00493110
add esp, 0x14
test al, al
je 0x4936cd
cmp dword [esp + 0xdc], 0x2e
jbe 0x4936cd
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x54]
mov ecx, 0x13
push eax
lea edx, [ecx - 9]
call fcn.00493180
add esp, 8
mov ecx, dword [esp + 0x28]
push ebp
push 0
push eax
mov dword [esp + 0x308], 0
call fcn.004026a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.00401ce0
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x54]
mov ecx, 0x2e
push edx
lea edx, [ecx - 0x13]
call fcn.00493180
add esp, 8
mov ecx, dword [esp + 0x2c]
push ebp
push 0
push eax
mov dword [esp + 0x308], 1
call fcn.004026a0
lea ecx, [esp + 0x50]
mov dword [esp + 0x2fc], ebp
call fcn.00401ce0
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, 0x1a
lea edx, [ecx - 3]
call fcn.00493180
add esp, 8
mov ecx, dword [esp + 0x30]
push ebp
push 0
push eax
mov dword [esp + 0x308], 2
call fcn.004026a0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x2fc], ebp
call fcn.00401ce0
mov byte [esp + 0x1b], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
add ebx, 1
cmp ebx, 0x20
jl 0x49348f
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.005d28b3
add esp, 0x2ec
ret