Function at 0x6068d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x606bb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004f0364
lea eax, [ebp - 4]
call fcn.005ffa2c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004f03b8
mov eax, dword [ebp - 4]
test eax, eax
je 0x60692f
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf0
jle 0x606955
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0xc8]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
mov eax, dword [ebp - 4]
test eax, eax
je 0x606961
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x606979
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x606979
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x60697d
xor ebx, ebx
jmp 0x60697f
mov bl, 1
test bl, bl
je 0x6069a5
cmp byte [ebp - 9], 0
jne 0x6069a5
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
test bl, bl
jne 0x606a2f
cmp byte [ebp - 0xa], 0
jne 0x6069ba
mov edx, 4
jmp 0x6069bf
mov edx, 3
mov eax, dword [ebp - 4]
test eax, eax
je 0x6069cb
sub eax, 4
mov eax, dword [eax]
cmp edx, eax
jle 0x6069d3
mov al, 1
jmp 0x6069f8
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x6069ec
mov eax, edx
and ax, 0xffdf
add eax, 0xffffffbf
sub ax, 0x1a
setb al
xor al, 1
test al, al
jne 0x606a10
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x606a10
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x606a63
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.005a2fc4
cmp esi, eax
jb 0x606a63
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
mov eax, dword [ebp - 4]
call fcn.005ffb84
test al, al
jne 0x606a87
mov eax, dword [ebp - 4]
call fcn.005ffbac
test al, al
jne 0x606a87
mov eax, dword [ebp - 4]
call fcn.005ffbec
test al, al
je 0x606aa6
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x1ac]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00409be4
mov edx, dword [ebp - 0x10]
mov eax, 0x606bd0
call fcn.005a2e48
test eax, eax
je 0x606afe
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x606bd0
call fcn.005ffc68
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov al, 0xb
call fcn.005ab338
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005a2d74
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005a2878
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.005a3050
mov eax, dword [ebp - 8]
call fcn.0060686c
mov eax, dword [ebp - 8]
call fcn.005a3174
test al, al
jne 0x606b4f
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x1b0]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
test bl, bl
jne 0x606b85
cmp byte [ebp + 8], 0
jne 0x606b85
mov eax, dword [ebp - 8]
call fcn.004097c0
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x606b85
push 0
push 1
push 1
mov eax, dword [0x6588a8]
mov eax, dword [eax + 0x78]
mov cl, 2
xor edx, edx
call fcn.0063d808
jmp 0x606b89
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x606bb8
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.0040876c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040876c
ret