Function at 0x1400de3f0
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 [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, r8
mov qword [rsp + 0x58], r8
mov r14, rcx
xor ebx, ebx
lea rcx, str.AsrVhd::DiskBuildVhdInfo
lea esi, [rbx + 1]
call fcn.140007418
xor edx, edx
mov qword [rsp + 0x50], rbx
mov r8d, 0x208
mov qword [rsp + 0x48], rbx
lea rcx, [rsp + 0x72]
mov qword [rsp + 0x40], rbx
mov r15d, ebx
mov word [rsp + 0x70], bx
mov r13d, ebx
mov r12d, ebx
call sub.msvcrt.dll_memset
test rdi, rdi
jne 0x1400de4ab
lea r9d, [rdi + 0x57]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [r12 + 0x34]
lea rax, str.ppVirtualDiskInfo
jmp 0x1400de98a
mov r8, r14
mov qword [rdi], rbx
mov edx, 0x105
lea rcx, [rsp + 0x70]
call fcn.140005350
test eax, eax
jns 0x1400de532
mov ecx, eax
mov esi, ebx
call fcn.1400e32f8
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
mov r8, r14
lea rcx, [rsp + 0x70]
mov edx, 0x105
call fcn.140005350
mov rcx, qword [0x14015a290]
lea r8, [0x1401307c0]
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.1400d5cb0
jmp 0x1400de99f
lea rcx, [rsp + 0x70]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400de53b
test eax, eax
jne 0x1400de58d
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rax, rdi
je 0x1400de99f
test byte [rax + 0x1c], 8
je 0x1400de99f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x36
lea rax, str.ulLen___0
jmp 0x1400de983
lea ecx, [rax - 1]
add rcx, rcx
cmp word [rsp + rcx + 0x70], 0x5c
jne 0x1400de5a9
cmp rcx, 0x20a
jae 0x1400de623
mov word [rsp + rcx + 0x70], bx
lea r9, [rsp + 0x48]
mov r8d, 2
mov dl, sil
lea rcx, [rsp + 0x70]
call fcn.1400071c4
test eax, eax
jne 0x1400de629
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rax, rdi
je 0x1400de619
test byte [rax + 0x1c], 8
je 0x1400de619
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov rcx, qword [0x14015a290]
lea r8, [0x1401307c0]
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.1400d5cb0
mov r15, qword [rsp + 0x48]
jmp 0x1400de99f
call fcn.140030a08
int3
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1400de9ff
mov ecx, 0x10
call fcn.140005bd0
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
jne 0x1400de687
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [rax + 0x38]
lea rax, str.pVirtualDiskInfo
jmp 0x1400de98a
mov dword [rax + 0xc], ebx
mov ecx, dword [r15 + 4]
shl ecx, 5
call fcn.140005bd0
mov qword [r14], rax
test rax, rax
jne 0x1400de6d7
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [rax + 0x39]
lea rax, str.pVirtualDiskInfo__m_rgVhdFileInfo
jmp 0x1400de98a
mov eax, dword [r15 + 4]
mov edi, ebx
mov dword [r14 + 8], eax
mov dword [rsp + 0x48], ebx
cmp dword [r15 + 4], ebx
jbe 0x1400de9d1
mov rcx, r13
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov rcx, r12
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov r12d, edi
shl r12, 6
mov r13d, edi
mov qword [rsp + 0x60], r12
mov rdx, qword [r12 + r15 + 0x30]
mov rdi, qword [r12 + r15 + 0x40]
test rdx, rdx
je 0x1400de78c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400de723
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x1400de78c
mov rcx, qword [r12 + r15 + 0x30]
mov rdx, rdi
call fcn.1400e3854
mov r12, rax
test rax, rax
jne 0x1400de800
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [rax + 0x3c]
lea rax, str.wszVhdFileNameModified
jmp 0x1400de98a
mov r8d, 8
lea rcx, str.Device_
mov rdx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x1400de7ec
mov rdx, rdi
lea rcx, str._GlobalRoot
call fcn.1400e3854
mov r12, rax
test rax, rax
jne 0x1400de800
lea r9d, [rax + 0xe]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [rax + 0x3a]
jmp 0x1400de780
mov rcx, rdi
call fcn.140008170
mov r12, rax
test rax, rax
je 0x1400de9a4
mov rdx, qword [r14]
mov rcx, r12
shl r13, 5
add rdx, r13
lea r8, [rdx + 8]
call fcn.1400e4fbc
test eax, eax
je 0x1400de910
mov rcx, qword [r14]
lea rdx, [0x1400f2048]
mov rcx, qword [r13 + rcx]
call fcn.1400e3854
mov rcx, rax
mov qword [rsp + 0x40], rax
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400de89f
mov rax, qword [r14]
mov rdx, qword [rsp + 0x60]
mov edi, dword [rsp + 0x48]
add edi, esi
mov rcx, qword [r13 + rax]
mov eax, 0x3f
mov dword [rsp + 0x48], edi
mov word [rcx + 2], ax
mov rax, qword [r14]
mov dword [r13 + rax + 0x14], 0x200000
mov rcx, qword [r14]
mov eax, dword [rdx + r15 + 8]
mov dword [r13 + rcx + 0x10], eax
mov rcx, qword [r14]
mov eax, dword [rdx + r15 + 0x24]
mov dword [r13 + rcx + 0x18], eax
cmp edi, dword [r15 + 4]
jae 0x1400de9d1
mov r13, qword [rsp + 0x40]
jmp 0x1400de6ef
mov r9d, 0x32
mov esi, ebx
mov ebx, r9d
mov r10, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp r10, rdi
je 0x1400de9f8
test byte [r10 + 0x1c], 8
mov rdi, qword [rsp + 0x40]
je 0x1400dea02
mov rax, qword [r14]
lea edx, [r9 + 0xd]
mov ecx, dword [rsp + 0x48]
lea r8, [0x1401307c0]
shl rcx, 5
mov rax, qword [rcx + rax + 8]
mov rcx, qword [r10 + 0x10]
mov qword [rsp + 0x30], rax
lea rax, str.ERROR_NOT_SUPPORTED
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
call fcn.1400d8b58
jmp 0x1400dea02
mov rax, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rax, rdi
je 0x1400de952
test byte [rax + 0x1c], 2
je 0x1400de952
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov rcx, qword [0x14015a290]
lea r8, [0x1401307c0]
mov edx, 0x3d
mov dword [rsp + 0x20], eax
mov r9, r12
mov rcx, qword [rcx + 0x10]
call fcn.1400d5bd4
mov esi, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rax, qword [0x14015a290]
cmp rax, rdi
je 0x1400de99f
test byte [rax + 0x1c], 8
je 0x1400de99f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x3e
lea rax, str.GetLastError__
mov rcx, qword [0x14015a290]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401307c0]
mov qword [rsp + 0x20], rax
call fcn.1400d5cb0
mov rdi, rsi
jmp 0x1400dea02
mov r9d, 0xe
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rdi, [0x14015a290]
cmp rcx, rdi
je 0x1400de99f
test byte [rcx + 0x1c], 8
je 0x1400de99f
lea edx, [r9 + 0x2d]
jmp 0x1400de780
mov edx, dword [r14 + 8]
lea r9, [0x140031e40]
mov rcx, qword [r14]
mov r8d, 0x20
call qword [sym.imp.msvcrt.dll_qsort]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rbx
mov qword [rax], r14
mov rdi, qword [rsp + 0x40]
jmp 0x1400dea02
mov rdi, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
lea rcx, [rsp + 0x50]
call fcn.140004be0
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
lea rcx, str.AsrVhd::DiskBuildVhdInfo
call fcn.1400073f0
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400305f0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret