Function at 0x5c8fa8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x5c8fb0
push ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp - 8]
call fcn.00405738
xor eax, eax
push ebp
push 0x5c9526
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x7d7484]
cmp dword [eax], 2
jne 0x5c9204
cmp dword [ebp - 8], 0
jne 0x5c914d
lea eax, [ebp - 0x10]
push eax
push 0x5c953c
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x18]
push 0x5c9568
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x14]
mov cl, 1
xor edx, edx
call fcn.0049f254
mov eax, dword [ebp - 0x10]
call fcn.005c8ed4
test al, al
jne 0x5c906c
cmp dword [ebp - 0x10], 0
je 0x5c906c
push 0x5c953c
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x20]
push 0x5c9568
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x1c]
mov cl, 1
mov edx, 0x5c9580
call fcn.0049e91c
jmp 0x5c9451
lea eax, [ebp - 0x10]
push eax
push 0x5c953c
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x28]
push 0x5c9568
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x24]
mov edx, 0x5c9580
mov cl, 1
call fcn.0049f254
cmp dword [ebp - 0x10], 0
jne 0x5c90e0
push 0x5c953c
lea eax, [ebp - 0x30]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x30]
push 0x5c9568
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x2c]
mov cl, 1
xor edx, edx
call fcn.0049e77c
jmp 0x5c9451
push 1
push 0x5c953c
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x38]
push 0x5c9568
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.0049f0a0
push 0x5c953c
lea eax, [ebp - 0x40]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x40]
push 0x5c9568
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x3c]
mov edx, 0x5c9580
mov cl, 1
call fcn.0049e91c
jmp 0x5c9451
lea eax, [ebp - 0x10]
push eax
push 0x5c953c
lea eax, [ebp - 0x48]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x48]
push 0x5c9568
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x44]
mov cl, 1
xor edx, edx
call fcn.0049f254
mov eax, dword [ebp - 0x10]
call fcn.005c8ed4
test al, al
jne 0x5c91cb
cmp dword [ebp - 0x10], 0
je 0x5c91cb
push 1
push 0x5c953c
lea eax, [ebp - 0x50]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x50]
push 0x5c9568
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x4c]
mov edx, 0x5c9580
mov ecx, dword [ebp - 0x10]
call fcn.0049f0a0
push 1
push 0x5c953c
lea eax, [ebp - 0x58]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x58]
push 0x5c9568
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0049f0a0
jmp 0x5c9451
cmp dword [ebp - 8], 0
jne 0x5c937b
lea eax, [ebp - 0x10]
push eax
push 0x5c9590
lea eax, [ebp - 0x60]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x60]
push 0x5c9568
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x5c]
mov cl, 1
xor edx, edx
call fcn.0049ee2c
mov eax, dword [ebp - 0x10]
call fcn.005c8ed4
test al, al
jne 0x5c928e
cmp dword [ebp - 0x10], 0
je 0x5c928e
push 0x5c9590
lea eax, [ebp - 0x68]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x68]
push 0x5c9568
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x64]
mov edx, 0x5c9580
mov cl, 1
call fcn.0049eabc
jmp 0x5c9451
lea eax, [ebp - 0x10]
push eax
push 0x5c9590
lea eax, [ebp - 0x70]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x70]
push 0x5c9568
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x6c]
mov edx, 0x5c9580
mov cl, 1
call fcn.0049ee2c
cmp dword [ebp - 0x10], 0
jne 0x5c9302
push 0x5c9590
lea eax, [ebp - 0x78]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x78]
push 0x5c9568
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x74]
mov cl, 1
xor edx, edx
call fcn.0049e5dc
jmp 0x5c9451
push 1
push 0x5c9590
lea eax, [ebp - 0x80]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x80]
push 0x5c9568
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x10]
xor edx, edx
call fcn.0049ec58
push 0x5c9590
lea eax, [ebp - 0x88]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x88]
push 0x5c9568
lea eax, [ebp - 0x84]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x84]
mov edx, 0x5c9580
mov cl, 1
call fcn.0049eabc
jmp 0x5c9451
lea eax, [ebp - 0x10]
push eax
push 0x5c9590
lea eax, [ebp - 0x90]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x90]
push 0x5c9568
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x8c]
mov cl, 1
xor edx, edx
call fcn.0049ee2c
mov eax, dword [ebp - 0x10]
call fcn.005c8ed4
test al, al
jne 0x5c9411
cmp dword [ebp - 0x10], 0
je 0x5c9411
push 1
push 0x5c9590
lea eax, [ebp - 0x98]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0x98]
push 0x5c9568
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x94]
mov edx, 0x5c9580
mov ecx, dword [ebp - 0x10]
call fcn.0049ec58
push 1
push 0x5c9590
lea eax, [ebp - 0xa0]
mov dl, byte [ebp - 1]
call fcn.00405460
push dword [ebp - 0xa0]
push 0x5c9568
lea eax, [ebp - 0x9c]
mov edx, 3
call fcn.00405608
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 8]
xor edx, edx
call fcn.0049ec58
lea eax, [ebp - 0xa4]
mov dl, byte [ebp - 1]
call fcn.00405460
lea eax, [ebp - 0xa4]
mov edx, 0x5c95d8
call fcn.00405550
mov eax, dword [ebp - 0xa4]
call fcn.00405748
push eax
call sub.kernel32.dll_GetDriveTypeA
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffffe
sub eax, 3
jae 0x5c9500
cmp dword [ebp - 8], 0
je 0x5c94cb
push 0
lea eax, [ebp - 0xa8]
mov dl, byte [ebp - 1]
call fcn.00405460
lea eax, [ebp - 0xa8]
mov edx, 0x5c95d8
call fcn.00405550
mov eax, dword [ebp - 0xa8]
call fcn.00405748
push eax
push 1
push 0x20
call sub.shell32.dll_SHChangeNotify
jmp 0x5c9500
push 0
lea eax, [ebp - 0xac]
mov dl, byte [ebp - 1]
call fcn.00405460
lea eax, [ebp - 0xac]
mov edx, 0x5c95d8
call fcn.00405550
mov eax, dword [ebp - 0xac]
call fcn.00405748
push eax
push 1
push 0x20
call sub.shell32.dll_SHChangeNotify
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c952d
lea eax, [ebp - 0xac]
mov edx, 0x28
call fcn.0040529c
lea eax, [ebp - 8]
call fcn.00405278
ret