Function at 0x14011e5a0
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov r12, r9
mov qword [rsp + 0x58], r8
mov bl, dl
mov r14, rcx
mov rdi, qword [0x140173048]
lea rax, [0x140173048]
cmp rdi, rax
je 0x14011e618
test byte [rdi + 0x1c], 1
je 0x14011e618
cmp byte [rdi + 0x19], 4
jb 0x14011e618
mov rcx, qword [rdi + 0x10]
lea r8, [0x140160b08]
mov edx, 0x31
call fcn.14000c328
mov rdi, qword [0x140173048]
xor ecx, ecx
xor eax, eax
mov dword [rsp + 0x50], ecx
mov r13d, ecx
mov dword [rsp + 0x48], ecx
mov esi, ecx
mov dword [rsp + 0x4c], ecx
mov r15d, 0x208
mov qword [rsp + 0x40], rcx
mov r8d, r15d
lea rcx, [rbp + 0x3a0]
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x70], eax
call sub.msvcrt.dll_memset
mov r8d, r15d
lea rcx, [rbp + 0x190]
xor edx, edx
call sub.msvcrt.dll_memset
mov r8d, r15d
lea rcx, [rbp - 0x80]
xor edx, edx
call sub.msvcrt.dll_memset
xor r15d, r15d
test r14, r14
je 0x14011e67f
cmp word [r14], r15w
jne 0x14011e69e
lea r8, str.wszDiskPath__wszDiskPath
mov edx, 0x39b
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.1400906e0
mov rdi, qword [0x140173048]
test r12, r12
jne 0x14011e6c2
lea r8, str.pwszVolumePath
mov edx, 0x39c
lea rcx, str.base_stor_blbengine_blbengutils_blbvhdhelper.cpp
call fcn.1400906e0
mov rdi, qword [0x140173048]
lea rax, [0x140173048]
cmp rdi, rax
je 0x14011e6fe
test byte [rdi + 0x1c], 1
je 0x14011e6fe
cmp byte [rdi + 0x19], 4
jb 0x14011e6fe
mov rcx, qword [rdi + 0x10]
lea r8, [0x140160b08]
mov edx, 0x32
mov qword [rsp + 0x20], r12
mov r9, r14
call fcn.14005ace8
mov rdi, qword [0x140173048]
test r12, r12
je 0x14011ec3f
test r14, r14
je 0x14011ec3f
mov qword [rsp + 0x30], r15
mov r8d, 3
mov dword [rsp + 0x28], 0x2000080
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], r8d
mov rcx, r14
mov qword [r12], r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x14011e7bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011e766
movzx ebx, ax
or ebx, 0x80070000
mov rdi, qword [0x140173048]
lea r15, [0x140173048]
cmp rdi, r15
je 0x14011ec8c
test byte [rdi + 0x1c], 1
je 0x14011ec66
mov sil, 2
cmp byte [rdi + 0x19], sil
jb 0x14011ec66
mov rcx, qword [rdi + 0x10]
lea r8, [0x140160b08]
mov edx, 0x33
mov dword [rsp + 0x20], ebx
mov r9, r14
call fcn.1400151b8
mov rdi, qword [0x140173048]
jmp 0x14011ec66
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
xor r9d, r9d
lea rcx, [rsp + 0x68]
mov dword [rsp + 0x28], 0xc
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rax
mov edx, 0x2d1080
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14011e861
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011e816
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x14011ec25
test byte [rcx + 0x1c], 1
je 0x14011ec25
mov sil, 2
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
mov edx, 0x34
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160b08]
mov r9d, ebx
call fcn.14000c354
jmp 0x14011ec20
mov rcx, qword [0x140173048]
lea rdi, [0x140173048]
cmp rcx, rdi
je 0x14011e8aa
test byte [rcx + 0x1c], 1
je 0x14011e8aa
cmp byte [rcx + 0x19], 4
jb 0x14011e8aa
mov eax, dword [rsp + 0x68]
lea r8, [0x140160b08]
mov r9d, dword [rsp + 0x6c]
mov edx, 0x35
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
call fcn.1400d1538
mov r9d, dword [rsp + 0x6c]
mov r15d, 0x104
lea rcx, [rbp - 0x80]
mov edx, r15d
lea r8, str._GlobalrootDeviceHarddisk_luPartition1
test bl, bl
jne 0x14011e8ce
lea r8, str._GlobalrootDeviceHarddisk_luPartition2
call fcn.140014420
xor r14d, r14d
mov ebx, eax
test eax, eax
jns 0x14011e90c
mov rcx, qword [0x140173048]
cmp rcx, rdi
je 0x14011ec25
test byte [rcx + 0x1c], 1
je 0x14011ec25
mov sil, 2
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
lea edx, [r14 + 0x36]
jmp 0x14011e849
cmp dword [0x140173d04], r14d
mov edi, 0x80070000
mov sil, 2
mov ebx, 0x88888889
jbe 0x14011ea0f
lea r13, [0x140173048]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x80]
call fcn.140110ec0
test eax, eax
jns 0x14011ea0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x14011e958
movzx eax, ax
or eax, edi
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14011e98e
test byte [rcx + 0x1c], 1
je 0x14011e98e
cmp byte [rcx + 0x19], sil
jb 0x14011e98e
mov r9d, dword [rsp + 0x48]
lea r8, [0x140160b08]
mov rcx, qword [rcx + 0x10]
mov edx, 0x37
mov dword [rsp + 0x20], eax
call fcn.1400d1404
mov eax, ebx
mul dword [0x140173d04]
shr edx, 4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov eax, ebx
mul dword [0x140173d04]
mov eax, dword [rsp + 0x48]
shr edx, 4
add eax, edx
cmp eax, dword [0x140173d04]
mov dword [rsp + 0x48], eax
jb 0x14011e92d
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14011ea00
test byte [rcx + 0x1c], 1
je 0x14011ea00
cmp byte [rcx + 0x19], sil
jb 0x14011ea00
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160b08]
mov edx, 0x38
mov dword [rsp + 0x20], 0x8078004f
mov r9d, eax
call fcn.1400d1404
mov ebx, 0x8078004f
jmp 0x14011ec20
mov r13d, dword [rsp + 0x4c]
mov r9d, r13d
lea r8, str._GlobalrootDeviceHarddiskVolume_lu
mov rdx, r15
lea rcx, [rbp + 0x190]
call fcn.140014420
mov ebx, eax
test eax, eax
jns 0x14011ea63
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14011ec20
test byte [rcx + 0x1c], 1
je 0x14011ec20
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
mov edx, 0x39
jmp 0x14011e849
xor r8d, r8d
lea rcx, [rbp + 0x190]
mov rdx, r12
call fcn.140091bf0
mov ebx, eax
test eax, eax
jns 0x14011eab0
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14011ec20
test byte [rcx + 0x1c], 1
je 0x14011ec20
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
mov edx, 0x3a
jmp 0x14011e849
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140091f50
mov ebx, eax
test eax, eax
jns 0x14011eb11
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14011ec20
test byte [rcx + 0x1c], 1
je 0x14011ec20
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x80]
mov edx, 0x3b
mov dword [rsp + 0x20], ebx
lea r8, [0x140160b08]
call fcn.1400151b8
jmp 0x14011ec20
cmp dword [0x140173d04], r14d
jbe 0x14011ec0a
mov r12, qword [rsp + 0x40]
lea r13, [0x140173048]
mov r8d, r15d
lea rdx, [rbp + 0x3a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
jne 0x14011ec0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14011eb62
movzx ebx, ax
or ebx, edi
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14011eb96
test byte [rcx + 0x1c], 1
je 0x14011eb96
cmp byte [rcx + 0x19], 4
jb 0x14011eb96
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160b08]
mov edx, 0x3c
mov dword [rsp + 0x20], ebx
mov r9d, r14d
call fcn.1400d1404
mov eax, 0x88888889
mul dword [0x140173d04]
shr edx, 4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov eax, 0x88888889
mul dword [0x140173d04]
shr edx, 4
add r14d, edx
cmp r14d, dword [0x140173d04]
jb 0x14011eb2a
test ebx, ebx
jns 0x14011ec0a
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x14011ec20
test byte [rcx + 0x1c], 1
je 0x14011ec20
cmp byte [rcx + 0x19], sil
jb 0x14011ec20
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160b08]
mov edx, 0x3d
mov dword [rsp + 0x20], ebx
mov r9d, r14d
call fcn.1400d1404
jmp 0x14011ec20
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp + 0x3a0]
xor r8d, r8d
call fcn.140091bf0
mov ebx, eax
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rdi, qword [0x140173048]
jmp 0x14011ec44
mov ebx, 0x80070057
test rsi, rsi
je 0x14011ec5f
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rdi, qword [0x140173048]
lea r15, [0x140173048]
cmp rdi, r15
je 0x14011ec8c
test byte [rdi + 0x1c], 1
je 0x14011ec8c
cmp byte [rdi + 0x19], 4
jb 0x14011ec8c
mov rcx, qword [rdi + 0x10]
lea r8, [0x140160b08]
mov edx, 0x3e
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x708]
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret