Function at 0x14011f0dc
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 [0x140173708]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, rdx
mov rdi, rcx
mov rcx, qword [0x140173048]
lea r12, [0x140173048]
lea r13, [0x140160b08]
cmp rcx, r12
je 0x14011f145
test byte [rcx + 0x1c], 1
je 0x14011f145
cmp byte [rcx + 0x19], 4
jb 0x14011f145
mov rcx, qword [rcx + 0x10]
mov edx, 0xbd
mov r8, r13
call fcn.14000c328
mov rcx, qword [0x140173048]
xor ebp, ebp
xor eax, eax
mov dword [rsp + 0x40], ebp
mov ebx, ebp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
test rdi, rdi
je 0x14011f162
cmp word [rdi], bp
jne 0x14011f181
lea r8, str.wszVHDVolumeDevicePath__wszVHDVolumeDevicePath
mov edx, 0xe3b
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
test r14, r14
jne 0x14011f1a5
lea r8, str.pdwVHDDeviceDiskNumber
mov edx, 0xe3c
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.1400906e0
mov rcx, qword [0x140173048]
test rdi, rdi
jne 0x14011f1b4
mov ebx, 0x80070057
jmp 0x14011f337
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]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14011f248
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011f207
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x14011f359
test byte [rcx + 0x1c], 1
je 0x14011f337
cmp byte [rcx + 0x19], 2
jb 0x14011f337
mov rcx, qword [rcx + 0x10]
mov edx, 0xbe
mov r9, rdi
mov dword [rsp + 0x20], ebx
mov r8, r13
call fcn.1400151b8
jmp 0x14011f330
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]
nop dword [rax + rax]
test eax, eax
jne 0x14011f2d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011f2a2
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x14011f31c
test byte [rcx + 0x1c], 1
je 0x14011f31c
cmp byte [rcx + 0x19], 2
jb 0x14011f31c
mov rcx, qword [rcx + 0x10]
mov edx, 0xbf
mov r9d, ebx
mov r8, r13
call fcn.14000c354
jmp 0x14011f315
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x14011f30e
test byte [rcx + 0x1c], 1
je 0x14011f30e
cmp byte [rcx + 0x19], 4
jb 0x14011f30e
mov eax, dword [rsp + 0x48]
mov edx, 0xc0
mov r9d, dword [rsp + 0x4c]
mov r8, r13
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call fcn.1400d1538
mov eax, dword [rsp + 0x4c]
mov dword [r14], eax
mov rcx, qword [0x140173048]
test rsi, rsi
je 0x14011f337
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
cmp rcx, r12
je 0x14011f359
test byte [rcx + 0x1c], 1
je 0x14011f359
cmp byte [rcx + 0x19], 4
jb 0x14011f359
mov rcx, qword [rcx + 0x10]
mov edx, 0xc1
mov r8, r13
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140007410
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