Function at 0x1400e9ca8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14015d3e0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, r8
mov qword [rsp + 0x60], r8
mov r14, rcx
xor ebx, ebx
lea rcx, str.AsrVhd::DiskBuildVhdInfo
lea esi, [rbx + 1]
call fcn.1400ed218
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x20a
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rbx
mov r15d, ebx
mov r13d, ebx
mov r12d, ebx
call sub.msvcrt.dll_memset
test rdi, rdi
jne 0x1400e9d6e
lea r9d, [rdi + 0x57]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [r12 + 0x34]
lea rax, str.ppVirtualDiskInfo
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013e810]
mov qword [rsp + 0x20], rax
call fcn.1400d9dd4
mov rdi, rsi
jmp 0x1400ea304
mov r8, r14
mov qword [rdi], rbx
mov edx, 0x105
lea rcx, [rsp + 0x70]
call fcn.14002d18c
test eax, eax
jns 0x1400e9ded
mov ecx, eax
mov esi, ebx
call fcn.1400ed2a0
mov ebx, eax
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
mov r8, r14
lea rcx, [rsp + 0x70]
mov edx, 0x105
call fcn.14002d18c
mov rcx, qword [section..data]
lea r8, [0x14013e810]
mov r9d, eax
mov edx, 0x35
lea rax, str.::StringCchCopy__STRING_CCH_PARAM__wszVolume____wszDevicePath__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400d9dd4
jmp 0x1400e9d66
lea rcx, [rsp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400e9df6
test eax, eax
jne 0x1400e9e5b
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [section..data]
lea rdi, section..data
cmp rax, rdi
je 0x1400e9d66
test byte [rax + 0x1c], 8
je 0x1400e9d66
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov edx, 0x36
lea rax, str.ulLen___0
mov rcx, qword [section..data]
jmp 0x1400e9d51
lea ecx, [rax - 1]
add rcx, rcx
cmp word [rsp + rcx + 0x70], 0x5c
jne 0x1400e9e7b
cmp rcx, 0x20a
jae 0x1400e9f01
mov word [rsp + rcx + 0x70], bx
lea r9, [rsp + 0x48]
mov r8d, 2
mov dl, sil
lea rcx, [rsp + 0x70]
call fcn.1400ea37c
test eax, eax
jne 0x1400e9f07
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [section..data]
lea rdi, section..data
cmp rax, rdi
je 0x1400e9ef7
test byte [rax + 0x1c], 8
je 0x1400e9ef7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea r8, [0x14013e810]
mov r9d, eax
mov edx, 0x37
lea rax, str.GetDeviceDependencyInformation__wszVolume__TRUE__STORAGE_DEPENDENCY_INFO_VERSION_2__pVhdInfo__
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400d9dd4
mov r15, qword [rsp + 0x48]
jmp 0x1400e9d66
call fcn.1400167c8
int3
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1400ea301
mov ecx, 0x10
call fcn.1400ecee0
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x1400e9f65
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [rax + 0x38]
lea rax, str.pVirtualDiskInfo
jmp 0x1400e9d51
mov dword [rax + 0xc], ebx
mov ecx, dword [r15 + 4]
shl ecx, 5
call fcn.1400ecee0
mov qword [r14], rax
test rax, rax
jne 0x1400e9fb5
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [rax + 0x39]
lea rax, str.pVirtualDiskInfo__m_rgVhdFileInfo
jmp 0x1400e9d51
mov eax, dword [r15 + 4]
mov edi, ebx
mov dword [r14 + 8], eax
mov dword [rsp + 0x48], ebx
cmp dword [r15 + 4], ebx
jbe 0x1400ea19d
mov rcx, r13
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov r12d, edi
shl r12, 6
mov r13d, edi
mov qword [rsp + 0x58], r12
mov rdx, qword [r12 + r15 + 0x30]
mov rdi, qword [r12 + r15 + 0x40]
test rdx, rdx
je 0x1400ea072
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400ea00d
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400ea072
mov rcx, qword [r12 + r15 + 0x30]
mov rdx, rdi
call fcn.1400ecdf0
mov r12, rax
test rax, rax
jne 0x1400ea0f6
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [rax + 0x3c]
jmp 0x1400ea0d6
mov r8d, 8
lea rcx, str.Device_
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x1400ea0e2
mov rdx, rdi
lea rcx, str._GlobalRoot
call fcn.1400ecdf0
mov r12, rax
test rax, rax
jne 0x1400ea0f6
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [rax + 0x3a]
lea rax, str.wszVhdFileNameModified
jmp 0x1400e9d51
mov rcx, rdi
call fcn.1400ec990
mov r12, rax
test rax, rax
je 0x1400ea2cc
mov rdx, qword [r14]
mov rdi, r13
shl rdi, 5
mov rcx, r12
add rdx, rdi
lea r8, [rdx + 8]
call fcn.1400ebc2c
test eax, eax
je 0x1400ea23a
mov rcx, qword [r14]
lea rdx, [0x1401035b0]
mov rcx, qword [rdi + rcx]
call fcn.1400ecdf0
mov rcx, rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
nop dword [rax + rax]
cmp eax, 3
jne 0x1400ea1d2
mov rax, qword [r14]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rdi + rax]
mov eax, 0x3f
mov word [rcx + 2], ax
mov rax, qword [r14]
mov dword [rdi + rax + 0x14], 0x200000
mov rcx, qword [r14]
mov eax, dword [rdx + r15 + 8]
mov dword [rdi + rcx + 0x10], eax
mov rcx, qword [r14]
mov eax, dword [rdx + r15 + 0x24]
mov dword [rdi + rcx + 0x18], eax
mov edi, dword [rsp + 0x48]
add edi, esi
mov dword [rsp + 0x48], edi
cmp edi, dword [r15 + 4]
jae 0x1400ea199
mov r13, qword [rsp + 0x40]
jmp 0x1400e9fcd
mov eax, dword [r14 + 8]
mov rcx, qword [r14]
lea r9, [0x140015c10]
mov edx, eax
mov r8d, 0x20
call qword [sym.imp.msvcrt.dll_qsort]
nop dword [rax + rax]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], rbx
mov qword [rax], r14
mov rdi, qword [rsp + 0x40]
jmp 0x1400ea304
mov r9d, 0x32
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400ea1c8
test byte [rcx + 0x1c], 8
mov rdi, qword [rsp + 0x40]
je 0x1400ea304
mov rax, qword [r14]
lea edx, [r9 + 0xd]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14013e810]
shl r13, 5
mov rax, qword [rax + r13 + 8]
mov qword [rsp + 0x30], rax
lea rax, str.ERROR_NOT_SUPPORTED
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400dc954
jmp 0x1400ea304
mov rax, qword [section..data]
lea rdi, section..data
cmp rax, rdi
je 0x1400ea282
test byte [rax + 0x1c], 2
je 0x1400ea282
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
lea r8, [0x14013e810]
mov edx, 0x3d
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400d9f94
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [section..data]
cmp rax, rdi
je 0x1400e9d66
test byte [rax + 0x1c], 8
je 0x1400e9d66
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
mov edx, 0x3e
lea rax, str.GetLastError__
jmp 0x1400e9e4f
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [section..data]
lea rdi, section..data
cmp rcx, rdi
je 0x1400e9d66
test byte [rcx + 0x1c], 8
je 0x1400e9d66
lea edx, [r9 + 0x2d]
jmp 0x1400ea0d6
mov rdi, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.1400e9bf0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rcx, str.AsrVhd::DiskBuildVhdInfo
call fcn.1400ed25c
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400164a0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret