Function at 0x1400c1790
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140199d40
sub rsp, rax
mov rax, qword [0x1401f22c8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r13d, ecx
mov dword [rsp + 0x30], ecx
call fcn.1400b1e00
xor esi, esi
xor ecx, ecx
mov dword [rsp + 0x4c], r13d
mov ebx, esi
mov dword [rsp + 0x5c], eax
mov r14, rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x48], ebx
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, eax
mov dword [rsp + 0x58], eax
or ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [rsp + 0x180]
call fcn.1401617b0
mov r15, qword [0x1401f3698]
test r15, r15
je 0x1400c19d3
nop
nop
nop
movsx eax, byte [r15 + 0x28]
mov r9, qword [r15 + 0x10]
mov r8, qword [r15 + 8]
mov dword [rsp + 0x28], eax
mov rax, qword [r15 + 0x18]
lea rdx, str.config_volume:__s___s___s___d_n
mov ecx, 0xffff00ff
mov qword [rsp + 0x20], rax
call fcn.1400b1ca0
mov rbx, qword [r15 + 8]
cmp byte [rbx], 0
mov qword [rsp + 0x5e0], rbx
jne 0x1400c18e1
lea rcx, [rsp + 0x3c0]
call fcn.1401617b0
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x3c0]
call fcn.1401686f0
mov rcx, qword [rsp + 0x3c8]
lea rdx, [rsp + 0xc20]
mov r8d, 0x104
call qword [fcn.1400c7c70]
test eax, eax
je 0x1400c18c9
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x180]
call fcn.140162880
mov rbx, qword [rsp + 0x188]
jmp 0x1400c18cc
mov rbx, rsi
lea rcx, [rsp + 0x3c0]
mov qword [rsp + 0x5e0], rbx
call fcn.140001150
test rbx, rbx
je 0x1400c19be
movsx r13d, byte [r15 + 0x29]
movsx r12d, byte [r15 + 0x2a]
mov rbp, qword [r15 + 0x20]
movsx esi, byte [r15 + 0x28]
mov rdi, qword [r15 + 0x18]
mov rbx, qword [r15 + 0x10]
mov ecx, 0x40
call fcn.1400be650
mov rcx, rbx
mov qword [rsp + 0x50], rax
call fcn.140160d00
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x5e0]
mov qword [rbx + 8], rax
call fcn.140160d00
mov rcx, rdi
mov qword [rbx + 0x10], rax
call fcn.140158580
mov rcx, qword [rsp + 0x5e0]
mov qword [rbx + 0x18], rax
call fcn.1400cb370
mov rcx, rbp
test eax, eax
mov byte [rbx + 0x38], sil
setne al
mov byte [rbx + 0x20], al
call fcn.140158580
mov r9, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x18]
lea rdx, str.add_volume:__s___s___s_n
xor esi, esi
mov ecx, 0xffffff00
mov qword [rsp + 0x20], rax
mov byte [rbx + 0x30], r12b
mov dword [rbx + 0x34], r13d
mov dword [rbx + 0x3c], esi
mov byte [rbx + 0x39], 1
call fcn.1400b1ca0
test r14, r14
je 0x1400c19a9
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
jmp 0x1400c19b1
mov r14, rbx
mov qword [rsp + 0x38], rbx
add dword [rsp + 0x48], 1
mov qword [rbx], rsi
mov qword [rsp + 0x40], rbx
mov r15, qword [r15]
test r15, r15
jne 0x1400c1830
mov ebx, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x30]
lea rcx, [rsp + 0x180]
call fcn.140001150
lea rcx, [rsp + 0x800]
mov edx, 0x104
call qword [0x1401e9118]
lea rcx, str.VEH__d_n
mov rdx, rax
mov r12, rax
call fcn.1400b1c70
cmp r12, 0xffffffffffffffff
lea r15, [0x14019aef2]
mov ebp, 0x41
je 0x1400c1e12
lea rcx, [rsp + 0x60]
call fcn.1401617b0
lea rcx, [rsp + 0x2a0]
call fcn.1401617b0
jmp 0x1400c1a42
xor esi, esi
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x60]
call fcn.140162880
mov rcx, qword [rsp + 0x68]
call fcn.1400c6eb0
mov rdx, qword [rsp + 0x68]
lea rcx, str.volume__s:_drive_type__d_n
mov r8d, eax
mov edi, eax
call fcn.1400b1c70
cmp edi, 3
je 0x1400c1a87
cmp edi, 2
je 0x1400c1a87
cmp edi, 6
jne 0x1400c1dca
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x800]
xor r8d, r8d
xor edx, edx
call fcn.1400c65d0
test eax, eax
jne 0x1400c1dca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetVolumePathNamesForVolumeName__d_n
mov edx, eax
mov ebx, eax
call fcn.1400b1c70
cmp ebx, 0xea
jne 0x1400c1bb2
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400c1dca
mov rcx, rax
add rcx, rcx
call fcn.1400be650
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x50]
lea rcx, [rsp + 0x800]
mov rdx, rax
mov rsi, rax
call fcn.1400c65d0
test eax, eax
je 0x1400c1b91
cmp word [rsi], 0
mov rbx, rsi
je 0x1400c1ba5
xor r14d, r14d
nop
nop
nop
lea rcx, [rsp + 0x2a0]
mov rdx, rbx
call fcn.140162880
mov rdx, qword [rsp + 0x2a8]
lea rcx, str.GetVolumePathNamesForVolumeName__s_n
call fcn.1400b1c70
mov r9, qword [rsp + 0x2a8]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
mov edx, edi
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r15
call fcn.1400c1420
cmp word [rbx], r14w
je 0x1400c1b7a
nop
add rbx, 2
cmp word [rbx], r14w
jne 0x1400c1b70
add rbx, 2
cmp word [rbx], r14w
jne 0x1400c1b20
mov rcx, rsi
call fcn.1400be6d0
jmp 0x1400c1dca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetVolumePathNamesForVolumeName2__d_n
mov edx, eax
call fcn.1400b1c70
mov rcx, rsi
call fcn.1400be6d0
jmp 0x1400c1dca
lea rcx, [rsp + 0x180]
call fcn.1401617b0
mov ebx, ebp
lea rdx, [rsp + 0x5e0]
lea rcx, str.GetVolumeNameForVolumeMountPoint__S_n
mov word [rsp + 0x5e0], bx
mov word [rsp + 0x5e2], 0x3a
mov word [rsp + 0x5e4], 0x5c
mov word [rsp + 0x5e6], 0
call fcn.1400b1c70
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x5e0]
mov r8d, 0x104
call qword [fcn.1400c7c70]
test eax, eax
je 0x1400c1c5f
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x180]
call fcn.140162880
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x68]
lea rcx, str.GetVolumeNameForVolumeMountPoint_ok__s__s_n
call fcn.1400b1c70
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x68]
call fcn.1401597b0
test eax, eax
je 0x1400c1c70
add ebx, 1
cmp ebx, 0x5a
jle 0x1400c1bc1
jmp 0x1400c1dbd
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x2a0]
call fcn.140162880
mov r9, qword [rsp + 0x2a8]
mov r8, qword [rsp + 0x188]
lea rcx, [rsp + 0x38]
mov edx, edi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
call fcn.1400c1420
cmp edi, 2
mov word [rsp + 0x5f0], bx
mov word [rsp + 0x5f2], 0x3a
mov word [rsp + 0x5f4], 0x5c
jne 0x1400c1cd8
cmp byte [0x1401f3406], 0
je 0x1400c1dbd
lea rdx, [rsp + 0x5f6]
lea rcx, [rsp + 0x800]
mov r8d, 0x101
call qword [str.__f_]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1400c1dbd
nop
nop
nop
nop
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x2a0]
call fcn.140162880
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x5f0]
mov r8d, 0x104
call qword [fcn.1400c7c70]
test eax, eax
je 0x1400c1d95
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x60]
call fcn.140162880
mov rcx, qword [rsp + 0x2a8]
call fcn.1400c6eb0
cmp eax, 3
je 0x1400c1d73
cmp eax, 2
je 0x1400c1d73
cmp eax, 6
jne 0x1400c1d95
mov r9, qword [rsp + 0x2a8]
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x38]
mov edx, eax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
call fcn.1400c1420
lea rdx, [rsp + 0x5f6]
mov r8d, 0x101
mov rcx, rbx
call qword [fcn.1400c7c70]
test eax, eax
jne 0x1400c1d10
mov rcx, rbx
call qword [fcn.1400c7c70]
lea rcx, [rsp + 0x180]
call fcn.140001150
lea rdx, [rsp + 0x800]
mov r8d, 0x104
mov rcx, r12
call qword [fcn.1400c7c70]
test eax, eax
jne 0x1400c1a40
lea rcx, [rsp + 0x2a0]
call fcn.140001150
lea rcx, [rsp + 0x60]
call fcn.140001150
mov rcx, r12
call qword [fcn.1400c7c70]
mov r14, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x48]
cmp byte [0x1401e2c87], 0
je 0x1400c214a
lea rcx, [rsp + 0x180]
call fcn.1401617b0
lea rcx, [rsp + 0x3c0]
call fcn.1401617b0
lea rcx, [rsp + 0x5f0]
call fcn.1401617b0
lea rcx, [rsp + 0x800]
call fcn.1401617b0
mov byte [rsp + 0x31], 0x3a
mov byte [rsp + 0x32], 0
lea rdi, [0x1401b712c]
nop
nop
nop
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], bpl
call fcn.1400c6eb0
cmp eax, 3
mov ebx, eax
je 0x1400c1e94
cmp eax, 2
je 0x1400c1e94
cmp eax, 6
jne 0x1400c2101
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x3c0]
call fcn.140168810
mov rcx, qword [rsp + 0x3c8]
lea rdx, [rsp + 0xe30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400c2101
mov r8, qword [rsp + 0x3c8]
mov eax, eax
lea r9, [rsp + 0xe30]
lea rcx, str.QueryDosDevice__d__S__S_n
mov edx, ebx
mov word [rsp + rax*2 + 0xe30], 0
call fcn.1400b1c70
lea rdx, [rsp + 0xe30]
lea rcx, [rsp + 0x5f0]
call fcn.140162930
mov rax, qword [rsp + 0x5f8]
mov r11, rdi
mov rdx, rax
mov cl, 0x5c
sub rdx, rdi
nop
cmp byte [rdx + r11], cl
jne 0x1400c1fbe
movzx ecx, byte [r11 + 1]
add r11, 1
test cl, cl
jne 0x1400c1f20
mov rax, qword [rsp + 0x3c8]
lea r9, [rsp + 0xc20]
lea rdx, [rsp + 0xe30]
movzx ecx, word [rax]
mov r8d, 0x104
mov dword [rsp + 0x20], 0x104
call fcn.1400cabc0
test eax, eax
je 0x1400c2101
lea rdx, [rsp + 0xe30]
lea rcx, [rsp + 0x180]
call fcn.140162880
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x800]
call fcn.140162580
mov rax, qword [rsp + 0x808]
mov r8, qword [rsp + 0x188]
mov dword [rsp + 0x28], 0
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x1400c20f5
lea rdx, str.DeviceHarddiskVolume
mov cl, 0x5c
sub rdx, rax
nop
nop
cmp byte [rax], cl
jne 0x1400c1fe6
movzx ecx, byte [rdx + rax + 1]
add rax, 1
test cl, cl
jne 0x1400c1fd0
jmp 0x1400c2101
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0xa10]
mov r8d, 0x104
mov word [rsp + 0xa10], bp
mov word [rsp + 0xa12], 0x3a
mov word [rsp + 0xa14], 0x5c
mov word [rsp + 0xa16], 0
call qword [fcn.1400c7c70]
test eax, eax
je 0x1400c2083
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x180]
call fcn.140162880
lea r8, [rsp + 0xc20]
lea rdx, [rsp + 0xa10]
lea rcx, str._S_GetVolumeNameForVolumeMountPoint__S__d_n
mov r9d, ebx
call fcn.1400b1c70
lea rdx, [rsp + 0xa10]
lea rcx, str._S_is_ntfs_n
call fcn.1400b1c70
mov r8, qword [rsp + 0x188]
lea r9, [rsp + 0x30]
jmp 0x1400c20e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0xa10]
lea rcx, str._S_GetVolumeNameForVolumeMountPoint_FAILED__d_n
mov r8d, eax
call fcn.1400b1c70
mov byte [rsp + 0x2a0], bpl
mov byte [rsp + 0x2a1], 0x3a
mov byte [rsp + 0x2a2], 0
mov byte [rsp + 0x60], 0x5c
mov byte [rsp + 0x61], 0x5c
mov byte [rsp + 0x62], 0x2e
mov byte [rsp + 0x63], 0x5c
mov byte [rsp + 0x64], bpl
mov byte [rsp + 0x65], 0x3a
mov byte [rsp + 0x66], 0
lea r9, [rsp + 0x2a0]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
lea rcx, [rsp + 0x38]
mov edx, ebx
call fcn.1400c1420
add ebp, 1
cmp ebp, 0x5a
jle 0x1400c1e70
lea rcx, [rsp + 0x800]
call fcn.140001150
lea rcx, [rsp + 0x5f0]
call fcn.140001150
lea rcx, [rsp + 0x3c0]
call fcn.140001150
lea rcx, [rsp + 0x180]
call fcn.140001150
mov r14, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x48]
test ebx, ebx
je 0x1400c2349
movsxd rcx, ebx
shl rcx, 3
call fcn.1400be650
cmp byte [0x1401e2c83], 0
mov r12, rax
je 0x1400c2227
test r14, r14
mov r9, r14
je 0x1400c2227
nop
nop
cmp byte [r9 + 0x20], 0
jne 0x1400c2215
mov rcx, qword [r9 + 8]
cmp byte [rcx], 0
je 0x1400c2215
cmp byte [rcx + 1], 0x3a
jne 0x1400c2215
cmp byte [rcx + 2], 0
jne 0x1400c2215
mov r8, r14
cmp r8, r9
je 0x1400c220d
cmp byte [r8 + 0x20], 0
je 0x1400c220d
mov rcx, qword [r9 + 0x10]
mov rax, qword [r8 + 0x10]
movzx edx, byte [rcx]
cmp dl, byte [rax]
jne 0x1400c21d5
test dl, dl
je 0x1400c21df
mov dl, byte [rcx + 1]
add rcx, 1
add rax, 1
cmp dl, byte [rax]
je 0x1400c21c2
movzx eax, byte [rax]
movzx ecx, byte [rcx]
cmp ecx, eax
jne 0x1400c220d
mov rcx, qword [r9 + 0x18]
mov rax, qword [r8 + 0x18]
movzx edx, byte [rcx]
cmp dl, byte [rax]
jne 0x1400c2203
nop
test dl, dl
je 0x1400c2250
mov dl, byte [rcx + 1]
add rcx, 1
add rax, 1
cmp dl, byte [rax]
je 0x1400c21f0
movzx eax, byte [rax]
movzx ecx, byte [rcx]
sub ecx, eax
je 0x1400c2250
mov r8, qword [r8]
test r8, r8
jne 0x1400c21a7
xor eax, eax
mov byte [r9 + 0x21], al
mov r9, qword [r9]
test r9, r9
jne 0x1400c2180
xor r15d, r15d
test r14, r14
mov esi, r15d
je 0x1400c22cc
mov rbx, r12
nop
nop
test r13d, r13d
mov rdi, qword [r14]
je 0x1400c2257
cmp byte [r14 + 0x38], r15b
je 0x1400c2288
jmp 0x1400c225d
mov eax, 1
jmp 0x1400c2217
cmp byte [r14 + 0x38], r15b
je 0x1400c22b6
cmp byte [0x1401e2c83], r15b
je 0x1400c226c
cmp byte [r14 + 0x21], r15b
jne 0x1400c2288
cmp byte [0x1401e2c82], r15b
je 0x1400c22b6
cmp byte [r14 + 0x20], r15b
jne 0x1400c22b6
mov rcx, qword [r14 + 0x10]
call fcn.1400cb370
test eax, eax
jne 0x1400c22b6
mov rcx, qword [r14 + 8]
call fcn.1400be6d0
mov rcx, qword [r14 + 0x10]
call fcn.1400be6d0
mov rcx, qword [r14 + 0x18]
call fcn.1400be6d0
mov rcx, qword [r14 + 0x28]
call fcn.1400be6d0
mov rcx, r14
call fcn.1400be6d0
jmp 0x1400c22c0
mov qword [rbx], r14
add esi, 1
add rbx, 8
test rdi, rdi
mov r14, rdi
jne 0x1400c2240
lea r8, [0x1400c16a0]
mov edx, esi
mov rcx, r12
call fcn.1400d1bc0
test esi, esi
mov r14, r15
mov rcx, r15
mov rbx, r15
movsxd rdi, esi
jle 0x1400c2341
nop
test r14, r14
je 0x1400c22fe
mov rax, qword [r12 + rbx*8]
mov qword [rcx], rax
jmp 0x1400c2302
mov r14, qword [r12 + rbx*8]
mov r8, qword [r12 + rbx*8]
lea rdx, str.volume:__s___s___s_found__d_n
mov ecx, 0xffffff00
movsx eax, byte [r8 + 0x20]
mov r9, qword [r8 + 8]
mov dword [rsp + 0x28], eax
mov rax, qword [r8 + 0x18]
mov r8, qword [r8 + 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400b1ca0
mov rcx, qword [r12 + rbx*8]
add rbx, 1
mov qword [rcx], r15
cmp rbx, rdi
jl 0x1400c22f0
mov rcx, r12
call fcn.1400be6d0
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.1400b1e00
lea rcx, str.ntfs_volume_create_list__f_seconds_n
sub eax, dword [rsp + 0x5c]
mov edx, eax
call fcn.1400b1c70
mov rax, r14
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401931f0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret