Function at 0x6c26f8
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 0x6c29d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00503784
lea eax, [ebp - 4]
call fcn.006bb5d8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005037d8
mov eax, dword [ebp - 4]
test eax, eax
je 0x6c274f
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf0
jle 0x6c2775
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0xc8]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
mov eax, dword [ebp - 4]
test eax, eax
je 0x6c2781
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x6c2799
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x6c2799
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x6c279d
xor ebx, ebx
jmp 0x6c279f
mov bl, 1
test bl, bl
je 0x6c27c5
cmp byte [ebp - 9], 0
jne 0x6c27c5
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
test bl, bl
jne 0x6c284f
cmp byte [ebp - 0xa], 0
jne 0x6c27da
mov edx, 4
jmp 0x6c27df
mov edx, 3
mov eax, dword [ebp - 4]
test eax, eax
je 0x6c27eb
sub eax, 4
mov eax, dword [eax]
cmp edx, eax
jle 0x6c27f3
mov al, 1
jmp 0x6c2818
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x6c280c
mov eax, edx
and ax, 0xffdf
add eax, 0xffffffbf
sub ax, 0x1a
setb al
xor al, 1
test al, al
jne 0x6c2830
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x6c2830
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x6c2883
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.005e6030
cmp esi, eax
jb 0x6c2883
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x1bc]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
mov eax, dword [ebp - 4]
call fcn.006bb730
test al, al
jne 0x6c28a7
mov eax, dword [ebp - 4]
call fcn.006bb758
test al, al
jne 0x6c28a7
mov eax, dword [ebp - 4]
call fcn.006bb798
test al, al
je 0x6c28c6
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x1ac]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00409ca4
mov edx, dword [ebp - 0x10]
mov eax, 0x6c29f0
call fcn.005e5eb4
test eax, eax
je 0x6c291e
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x6c29f0
call fcn.006bb814
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov al, 0xb
call fcn.005ee438
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005e5de0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005e58e4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.005e60bc
mov eax, dword [ebp - 8]
call fcn.006c268c
mov eax, dword [ebp - 8]
call fcn.005e61e0
test al, al
jne 0x6c296f
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x1b0]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
test bl, bl
jne 0x6c29a5
cmp byte [ebp + 8], 0
jne 0x6c29a5
mov eax, dword [ebp - 8]
call fcn.00409868
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x6c29a5
push 0
push 1
push 1
mov eax, dword [0x78bcc8]
mov eax, dword [eax + 0x78]
mov cl, 2
xor edx, edx
call fcn.006fc6f0
jmp 0x6c29a9
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c29d8
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00408814
lea eax, [ebp - 8]
mov edx, 2
call fcn.00408814
ret