Function at 0x14011b8cc
Capabilities:
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rdx
mov rdi, rcx
mov rcx, qword [0x1401782b0]
lea r13, [0x1401782b0]
lea r12, [0x14015fe60]
cmp rcx, r13
je 0x14011b935
test byte [rcx + 0x1c], 1
je 0x14011b935
cmp byte [rcx + 0x19], 4
jb 0x14011b935
mov rcx, qword [rcx + 0x10]
mov edx, VariantTimeToSystemTime
mov r8, r12
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov ebx, ebp
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
test rdi, rdi
je 0x14011b950
cmp word [rdi], bp
jne 0x14011b96f
lea r8, str.wszVHDVolumeDevicePath__wszVHDVolumeDevicePath
mov edx, 0xd9d
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.14008624c
mov rcx, qword [0x1401782b0]
test r14, r14
jne 0x14011b993
lea r8, str.pdwVHDDeviceDiskNumber
mov edx, 0xd9e
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.14008624c
mov rcx, qword [0x1401782b0]
test rdi, rdi
jne 0x14011b9a2
mov ebx, 0x80070057
jmp 0x14011bb05
mov qword [rsp + 0x30], rbp
mov r8d, 3
mov dword [rsp + 0x28], 0x2000080
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r8d
mov rcx, rdi
mov dword [r14], ebp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14011ba29
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14011bb27
test byte [rcx + 0x1c], 1
je 0x14011bb05
cmp byte [rcx + 0x19], 2
jb 0x14011bb05
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_VariantTimeToSystemTime
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8, r12
call fcn.140005ce8
jmp 0x14011bafe
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], 0xc
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x2d1080
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14011baa4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14011baf0
test byte [rcx + 0x1c], 1
je 0x14011baf0
cmp byte [rcx + 0x19], 2
jb 0x14011baf0
mov rcx, qword [rcx + 0x10]
mov edx, VarDecFix
mov r9d, ebx
mov r8, r12
call fcn.140004c90
jmp 0x14011bae9
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14011bae2
test byte [rcx + 0x1c], 1
je 0x14011bae2
cmp byte [rcx + 0x19], 4
jb 0x14011bae2
mov eax, dword [rsp + 0x48]
mov edx, reloc.OLEAUT32.dll_VarDecFix
mov r9d, dword [rsp + 0x4c]
mov r8, r12
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call fcn.1400b0be0
mov eax, dword [rsp + 0x4c]
mov dword [r14], eax
mov rcx, qword [0x1401782b0]
test rsi, rsi
je 0x14011bb05
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1401782b0]
cmp rcx, r13
je 0x14011bb27
test byte [rcx + 0x1c], 1
je 0x14011bb27
cmp byte [rcx + 0x19], 4
jb 0x14011bb27
mov rcx, qword [rcx + 0x10]
mov edx, 0xbb
mov r8, r12
call fcn.140004c6c
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401474d0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret