Function at 0x614e2c
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 0x61510c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xb], 0
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0050c9c8
lea eax, [ebp - 4]
call fcn.0060e2a8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0050ca1c
mov eax, dword [ebp - 4]
test eax, eax
je 0x614e83
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xf0
jle 0x614ea9
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0xcc]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
mov eax, dword [ebp - 4]
test eax, eax
je 0x614eb5
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jl 0x614ecd
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x614ecd
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x5c
je 0x614ed1
xor ebx, ebx
jmp 0x614ed3
mov bl, 1
test bl, bl
je 0x614efc
cmp byte [ebp - 9], 0
jne 0x614efc
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x80]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
test bl, bl
jne 0x614f86
cmp byte [ebp - 0xa], 0
jne 0x614f11
mov edx, 4
jmp 0x614f16
mov edx, 3
mov eax, dword [ebp - 4]
test eax, eax
je 0x614f22
sub eax, 4
mov eax, dword [eax]
cmp edx, eax
jle 0x614f2a
mov al, 1
jmp 0x614f4f
mov eax, dword [ebp - 4]
movzx edx, word [eax]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x614f43
mov eax, edx
and ax, 0xffdf
add eax, 0xffffffbf
sub ax, 0x1a
setb al
xor al, 1
test al, al
jne 0x614f67
mov eax, dword [ebp - 4]
cmp word [eax + 2], 0x3a
jne 0x614f67
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0x5c
je 0x614fba
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x200]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
mov eax, dword [ebp - 4]
lea esi, [eax + 4]
mov dx, 0x5c
mov eax, esi
call fcn.005ba424
cmp esi, eax
jb 0x614fba
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x200]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
mov eax, dword [ebp - 4]
call fcn.0060e400
test al, al
jne 0x614fde
mov eax, dword [ebp - 4]
call fcn.0060e428
test al, al
jne 0x614fde
mov eax, dword [ebp - 4]
call fcn.0060e468
test al, al
je 0x614ffd
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x1f0]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x7fffffff
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.0040bca8
mov edx, dword [ebp - 0x10]
mov eax, 0x61512c
call fcn.005ba2a8
test eax, eax
je 0x615057
push 0
push 1
push 1
lea edx, [ebp - 0x18]
mov eax, 0x61512c
call fcn.0060e4e4
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
mov ax, 0xb
call fcn.005c327c
mov eax, dword [ebp - 0x14]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005ba1d4
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.005b9cdc
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 8]
call fcn.005ba4b0
mov eax, dword [ebp - 8]
call fcn.00614dcc
mov eax, dword [ebp - 8]
call fcn.005bbad0
test al, al
jne 0x6150a8
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x1f4]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
test bl, bl
jne 0x6150de
cmp byte [ebp + 8], 0
jne 0x6150de
mov eax, dword [ebp - 8]
call fcn.0040b88c
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jne 0x6150de
push 0
push 1
push 1
mov eax, dword [0x6b7af0]
mov eax, dword [eax + 0x7c]
mov cl, 2
xor edx, edx
call fcn.00697008
jmp 0x6150e2
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x615113
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.0040a8cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8cc
pop eax
jmp eax