Function at 0x490a50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb94
push ebx
push esi
push edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x54], eax
mov eax, 0x4ced54
call fcn.004afb5c
mov dl, 1
mov eax, dword [0x4685dc]
call fcn.00403ed0
mov dword [ebp - 0x58], eax
mov esi, 0x4c9c1c
lea edi, [ebp - 0x46c]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x46c]
push eax
push 0x400
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
test eax, eax
je 0x490af8
lea edx, [ebp - 0x46c]
mov dword [ebp - 0x60], edx
jmp 0x490af0
push dword [ebp - 0x60]
call sub.KERNEL32.DLL_GetDriveTypeA
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 5
jne 0x490aec
mov word [ebp - 0x40], 8
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x60]
call fcn.004b9ba0
inc dword [ebp - 0x34]
mov edx, dword [eax]
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004b9d00
add dword [ebp - 0x60], 4
mov ecx, dword [ebp - 0x60]
cmp byte [ecx], 0
jne 0x490aad
mov dword [ebp - 0x64], 2
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jle 0x490cbd
xor edx, edx
mov dword [ebp - 0x6c], edx
jmp 0x490c5c
mov word [ebp - 0x40], 0x14
lea eax, [ebp - 8]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 8]
mov edx, 1
call fcn.0040aae8
mov al, byte [eax]
add al, 0xc0
call fcn.00476bf0
cmp edx, 0xffffffff
jne 0x490b55
cmp eax, 0xffffffff
setne dl
and edx, 1
push edx
dec dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x490c59
mov word [ebp - 0x40], 0x20
lea eax, [ebp - 0xc]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00401790
push eax
inc dword [ebp - 0x34]
mov edx, 0x4cae42
lea eax, [ebp - 0x10]
call fcn.004b9ba0
inc dword [ebp - 0x34]
lea edx, [ebp - 0x10]
pop ecx
pop eax
call fcn.004b9d58
lea eax, [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047695c
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004b9d00
pop ecx
test cl, cl
je 0x490c59
mov word [ebp - 0x40], 0x2c
lea eax, [ebp - 0x18]
call fcn.00401790
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.004b9d30
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x40], 0x38
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004b9d00
pop eax
mov word [ebp - 0x40], 0x2c
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x490d39
inc dword [ebp - 0x6c]
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x6c]
jg 0x490b19
mov word [ebp - 0x40], 0x44
push str.Please_insert_the_Support_CD_and_then_click_OK__
call fcn.00403b48
pop ecx
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.004b9ba0
inc dword [ebp - 0x34]
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
mov eax, dword [eax + 0x3f8]
mov ecx, 2
call fcn.004a5090
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004b9d00
dec dword [ebp - 0x68]
cmp dword [ebp - 0x68], 0
jg 0x490b0f
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x490cea
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov word [ebp - 0x40], 0x5c
mov edx, 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x40], 0x50
mov word [ebp - 0x40], 0x68
mov edx, 0x4cae7b
lea eax, [ebp - 0x2c]
call fcn.004b9ba0
inc dword [ebp - 0x34]
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.004b9d30
mov eax, dword [ebp - 0x1c]
mov word [ebp - 0x40], 0x74
push eax
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b9d00
pop eax
mov word [ebp - 0x40], 0x68
inc dword [ebp - 0x34]
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret