Function at 0x527560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x527568
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x527871
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x1f
ja 0x52759a
bt dword [ebp - 0xc], eax
jae 0x52782c
mov ax, word [ebp - 8]
add ax, 0x41
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x4c]
mov dx, word [ebp - 0xe]
call fcn.004072e0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
mov ecx, 0x527888
call fcn.004074b8
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00406a04
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042be70
mov eax, dword [ebp - 0x18]
call fcn.004072c8
push eax
call sub.kernel32.dll_GetDriveTypeW
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x54]
call fcn.0041d604
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x52789c
call fcn.004074b8
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0042be70
lea eax, [ebp - 0x38]
mov edx, 0x105
call fcn.004073e0
lea eax, [ebp - 0x3c]
mov edx, 0x105
call fcn.004073e0
lea eax, [ebp - 0x38]
call fcn.00406b94
mov word [eax], 0
lea eax, [ebp - 0x3c]
call fcn.00406b94
mov word [eax], 0
mov eax, dword [ebp - 0x3c]
call fcn.00406acc
push eax
mov eax, dword [ebp - 0x3c]
call fcn.004072c8
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00406acc
push eax
mov eax, dword [ebp - 0x38]
call fcn.004072c8
push eax
mov eax, dword [ebp - 0x18]
call fcn.004072c8
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x527822
lea eax, [ebp - 0x38]
call fcn.0042aa70
lea eax, [ebp - 0x3c]
call fcn.0042aa70
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5278c4
call fcn.004074b8
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.0042be70
mov eax, dword [ebp - 0x40]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x60]
mov eax, 8
call fcn.0041d7b8
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5278ec
call fcn.004074b8
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0042be70
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x68]
call fcn.0041d604
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x52791c
call fcn.004074b8
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.0042be70
mov eax, dword [ebp - 0x48]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x70]
mov eax, 8
call fcn.0041d7b8
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x527950
call fcn.004074b8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0042be70
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x3c]
mov edx, 0x527984
call fcn.004074b8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0042be70
mov eax, dword [0x591138]
cmp dword [eax], 0
je 0x527822
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004072c8
push eax
mov eax, dword [0x591138]
mov eax, dword [eax]
call eax
test eax, eax
je 0x527822
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
call fcn.0041d604
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x5279ac
call fcn.004074b8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0042be70
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x84]
call fcn.0041d604
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x5279dc
call fcn.004074b8
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.0042be70
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x8c]
call fcn.0041d604
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x527a04
call fcn.004074b8
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.0042be70
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042be70
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x1a
jne 0x52758e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527878
lea eax, [ebp - 0x8c]
mov edx, 0x11
call fcn.00406658
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00406658
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406658
ret