Function at 0x1400d2a90
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.1401afb10
sub rsp, rax
mov rax, qword [0x14020cc08]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r13d, ecx
mov dword [rsp + 0x30], ecx
call fcn.1400b4020
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.1400012c0
mov r15, qword [0x14020e058]
test r15, r15
je 0x1400d2cd3
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.1400b3ec0
mov rbx, qword [r15 + 8]
cmp byte [rbx], 0
mov qword [rsp + 0x5e0], rbx
jne 0x1400d2be1
lea rcx, [rsp + 0x3c0]
call fcn.1400012c0
mov rdx, qword [r15 + 0x10]
lea rcx, [rsp + 0x3c0]
call fcn.14017e4d0
mov rcx, qword [rsp + 0x3c8]
lea rdx, [rsp + 0xc20]
mov r8d, 0x104
call qword [fcn.1400d9080]
test eax, eax
je 0x1400d2bc9
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x180]
call fcn.1401785f0
mov rbx, qword [rsp + 0x188]
jmp 0x1400d2bcc
mov rbx, rsi
lea rcx, [rsp + 0x3c0]
mov qword [rsp + 0x5e0], rbx
call fcn.140177510
test rbx, rbx
je 0x1400d2cbe
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.1400cf3f0
mov rcx, rbx
mov qword [rsp + 0x50], rax
call fcn.140176a60
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x5e0]
mov qword [rbx + 8], rax
call fcn.140176a60
mov rcx, rdi
mov qword [rbx + 0x10], rax
call fcn.14016e020
mov rcx, qword [rsp + 0x5e0]
mov qword [rbx + 0x18], rax
call fcn.1400dc8a0
mov rcx, rbp
test eax, eax
mov byte [rbx + 0x38], sil
setne al
mov byte [rbx + 0x20], al
call fcn.14016e020
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.1400b3ec0
test r14, r14
je 0x1400d2ca9
mov rax, qword [rsp + 0x40]
mov qword [rax], rbx
jmp 0x1400d2cb1
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 0x1400d2b30
mov ebx, dword [rsp + 0x48]
mov r13d, dword [rsp + 0x30]
lea rcx, [rsp + 0x180]
call fcn.140177510
lea rcx, [rsp + 0x800]
mov edx, 0x104
call qword [0x140203a58]
lea rcx, str.VEH__d_n
mov rdx, rax
mov r12, rax
call fcn.1400b3e90
cmp r12, 0xffffffffffffffff
lea r15, [0x1401b0f62]
mov ebp, 0x41
je 0x1400d3112
lea rcx, [rsp + 0x60]
call fcn.1400012c0
lea rcx, [rsp + 0x2a0]
call fcn.1400012c0
jmp 0x1400d2d42
xor esi, esi
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x60]
call fcn.1401785f0
mov rcx, qword [rsp + 0x68]
call fcn.1400d8200
mov rdx, qword [rsp + 0x68]
lea rcx, str.volume__s:_drive_type__d_n
mov r8d, eax
mov edi, eax
call fcn.1400b3e90
cmp edi, 3
je 0x1400d2d87
cmp edi, 2
je 0x1400d2d87
cmp edi, 6
jne 0x1400d30ca
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x800]
xor r8d, r8d
xor edx, edx
call fcn.1400d7920
test eax, eax
jne 0x1400d30ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetVolumePathNamesForVolumeName__d_n
mov edx, eax
mov ebx, eax
call fcn.1400b3e90
cmp ebx, 0xea
jne 0x1400d2eb2
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400d30ca
mov rcx, rax
add rcx, rcx
call fcn.1400cf3f0
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x50]
lea rcx, [rsp + 0x800]
mov rdx, rax
mov rsi, rax
call fcn.1400d7920
test eax, eax
je 0x1400d2e91
cmp word [rsi], 0
mov rbx, rsi
je 0x1400d2ea5
xor r14d, r14d
nop
nop
nop
lea rcx, [rsp + 0x2a0]
mov rdx, rbx
call fcn.1401785f0
mov rdx, qword [rsp + 0x2a8]
lea rcx, str.GetVolumePathNamesForVolumeName__s_n
call fcn.1400b3e90
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.1400d2720
cmp word [rbx], r14w
je 0x1400d2e7a
nop
add rbx, 2
cmp word [rbx], r14w
jne 0x1400d2e70
add rbx, 2
cmp word [rbx], r14w
jne 0x1400d2e20
mov rcx, rsi
call fcn.1400cf470
jmp 0x1400d30ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.GetVolumePathNamesForVolumeName2__d_n
mov edx, eax
call fcn.1400b3e90
mov rcx, rsi
call fcn.1400cf470
jmp 0x1400d30ca
lea rcx, [rsp + 0x180]
call fcn.1400012c0
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.1400b3e90
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x5e0]
mov r8d, 0x104
call qword [fcn.1400d9080]
test eax, eax
je 0x1400d2f5f
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x180]
call fcn.1401785f0
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x68]
lea rcx, str.GetVolumeNameForVolumeMountPoint_ok__s__s_n
call fcn.1400b3e90
mov rdx, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x68]
call fcn.14016f250
test eax, eax
je 0x1400d2f70
add ebx, 1
cmp ebx, 0x5a
jle 0x1400d2ec1
jmp 0x1400d30bd
lea rdx, [rsp + 0x5e0]
lea rcx, [rsp + 0x2a0]
call fcn.1401785f0
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.1400d2720
cmp edi, 2
mov word [rsp + 0x5f0], bx
mov word [rsp + 0x5f2], 0x3a
mov word [rsp + 0x5f4], 0x5c
jne 0x1400d2fd8
cmp byte [0x14020dd46], 0
je 0x1400d30bd
lea rdx, [rsp + 0x5f6]
lea rcx, [rsp + 0x800]
mov r8d, 0x101
call qword [0x140203a78]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1400d30bd
nop
nop
nop
nop
lea rdx, [rsp + 0x5f0]
lea rcx, [rsp + 0x2a0]
call fcn.1401785f0
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x5f0]
mov r8d, 0x104
call qword [fcn.1400d9080]
test eax, eax
je 0x1400d3095
lea rdx, [rsp + 0x800]
lea rcx, [rsp + 0x60]
call fcn.1401785f0
mov rcx, qword [rsp + 0x2a8]
call fcn.1400d8200
cmp eax, 3
je 0x1400d3073
cmp eax, 2
je 0x1400d3073
cmp eax, 6
jne 0x1400d3095
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.1400d2720
lea rdx, [rsp + 0x5f6]
mov r8d, 0x101
mov rcx, rbx
call qword [fcn.1400d9080]
test eax, eax
jne 0x1400d3010
mov rcx, rbx
call qword [fcn.1400d9080]
lea rcx, [rsp + 0x180]
call fcn.140177510
lea rdx, [rsp + 0x800]
mov r8d, 0x104
mov rcx, r12
call qword [fcn.1400d9080]
test eax, eax
jne 0x1400d2d40
lea rcx, [rsp + 0x2a0]
call fcn.140177510
lea rcx, [rsp + 0x60]
call fcn.140177510
mov rcx, r12
call qword [fcn.1400d9080]
mov r14, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x48]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400d344a
lea rcx, [rsp + 0x180]
call fcn.1400012c0
lea rcx, [rsp + 0x3c0]
call fcn.1400012c0
lea rcx, [rsp + 0x5f0]
call fcn.1400012c0
lea rcx, [rsp + 0x800]
call fcn.1400012c0
mov byte [rsp + 0x31], 0x3a
mov byte [rsp + 0x32], 0
lea rdi, [0x1401cfefc]
nop
nop
nop
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x30], bpl
call fcn.1400d8200
cmp eax, 3
mov ebx, eax
je 0x1400d3194
cmp eax, 2
je 0x1400d3194
cmp eax, 6
jne 0x1400d3401
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x3c0]
call fcn.14017e5f0
mov rcx, qword [rsp + 0x3c8]
lea rdx, [rsp + 0xe30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1400d3401
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.1400b3e90
lea rdx, [rsp + 0xe30]
lea rcx, [rsp + 0x5f0]
call fcn.1401786a0
mov rax, qword [rsp + 0x5f8]
mov r11, rdi
mov rdx, rax
mov cl, 0x5c
sub rdx, rdi
nop
cmp byte [rdx + r11], cl
jne 0x1400d32be
movzx ecx, byte [r11 + 1]
add r11, 1
test cl, cl
jne 0x1400d3220
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.1400dc0d0
test eax, eax
je 0x1400d3401
lea rdx, [rsp + 0xe30]
lea rcx, [rsp + 0x180]
call fcn.1401785f0
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x800]
call fcn.1401782f0
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 0x1400d33f5
lea rdx, str.DeviceHarddiskVolume
mov cl, 0x5c
sub rdx, rax
nop
nop
cmp byte [rax], cl
jne 0x1400d32e6
movzx ecx, byte [rdx + rax + 1]
add rax, 1
test cl, cl
jne 0x1400d32d0
jmp 0x1400d3401
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.1400d9080]
test eax, eax
je 0x1400d3383
lea rdx, [rsp + 0xc20]
lea rcx, [rsp + 0x180]
call fcn.1401785f0
lea r8, [rsp + 0xc20]
lea rdx, [rsp + 0xa10]
lea rcx, str._S_GetVolumeNameForVolumeMountPoint__S__d_n
mov r9d, ebx
call fcn.1400b3e90
lea rdx, [rsp + 0xa10]
lea rcx, str._S_is_ntfs_n
call fcn.1400b3e90
mov r8, qword [rsp + 0x188]
lea r9, [rsp + 0x30]
jmp 0x1400d33e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0xa10]
lea rcx, str._S_GetVolumeNameForVolumeMountPoint_FAILED__d_n
mov r8d, eax
call fcn.1400b3e90
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.1400d2720
add ebp, 1
cmp ebp, 0x5a
jle 0x1400d3170
lea rcx, [rsp + 0x800]
call fcn.140177510
lea rcx, [rsp + 0x5f0]
call fcn.140177510
lea rcx, [rsp + 0x3c0]
call fcn.140177510
lea rcx, [rsp + 0x180]
call fcn.140177510
mov r14, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x48]
test ebx, ebx
je 0x1400d3649
movsxd rcx, ebx
shl rcx, 3
call fcn.1400cf3f0
cmp byte [reloc.WS2_32.dll_accept], 0
mov r12, rax
je 0x1400d3527
test r14, r14
mov r9, r14
je 0x1400d3527
nop
nop
cmp byte [r9 + 0x20], 0
jne 0x1400d3515
mov rcx, qword [r9 + 8]
cmp byte [rcx], 0
je 0x1400d3515
cmp byte [rcx + 1], 0x3a
jne 0x1400d3515
cmp byte [rcx + 2], 0
jne 0x1400d3515
mov r8, r14
cmp r8, r9
je 0x1400d350d
cmp byte [r8 + 0x20], 0
je 0x1400d350d
mov rcx, qword [r9 + 0x10]
mov rax, qword [r8 + 0x10]
movzx edx, byte [rcx]
cmp dl, byte [rax]
jne 0x1400d34d5
test dl, dl
je 0x1400d34df
mov dl, byte [rcx + 1]
add rcx, 1
add rax, 1
cmp dl, byte [rax]
je 0x1400d34c2
movzx eax, byte [rax]
movzx ecx, byte [rcx]
cmp ecx, eax
jne 0x1400d350d
mov rcx, qword [r9 + 0x18]
mov rax, qword [r8 + 0x18]
movzx edx, byte [rcx]
cmp dl, byte [rax]
jne 0x1400d3503
nop
test dl, dl
je 0x1400d3550
mov dl, byte [rcx + 1]
add rcx, 1
add rax, 1
cmp dl, byte [rax]
je 0x1400d34f0
movzx eax, byte [rax]
movzx ecx, byte [rcx]
sub ecx, eax
je 0x1400d3550
mov r8, qword [r8]
test r8, r8
jne 0x1400d34a7
xor eax, eax
mov byte [r9 + 0x21], al
mov r9, qword [r9]
test r9, r9
jne 0x1400d3480
xor r15d, r15d
test r14, r14
mov esi, r15d
je 0x1400d35cc
mov rbx, r12
nop
nop
test r13d, r13d
mov rdi, qword [r14]
je 0x1400d3557
cmp byte [r14 + 0x38], r15b
je 0x1400d3588
jmp 0x1400d355d
mov eax, 1
jmp 0x1400d3517
cmp byte [r14 + 0x38], r15b
je 0x1400d35b6
cmp byte [reloc.WS2_32.dll_accept], r15b
je 0x1400d356c
cmp byte [r14 + 0x21], r15b
jne 0x1400d3588
cmp byte [reloc.WS2_32.dll_accept], r15b
je 0x1400d35b6
cmp byte [r14 + 0x20], r15b
jne 0x1400d35b6
mov rcx, qword [r14 + 0x10]
call fcn.1400dc8a0
test eax, eax
jne 0x1400d35b6
mov rcx, qword [r14 + 8]
call fcn.1400cf470
mov rcx, qword [r14 + 0x10]
call fcn.1400cf470
mov rcx, qword [r14 + 0x18]
call fcn.1400cf470
mov rcx, qword [r14 + 0x28]
call fcn.1400cf470
mov rcx, r14
call fcn.1400cf470
jmp 0x1400d35c0
mov qword [rbx], r14
add esi, 1
add rbx, 8
test rdi, rdi
mov r14, rdi
jne 0x1400d3540
lea r8, [0x1400d29a0]
mov edx, esi
mov rcx, r12
call fcn.1400e2d90
test esi, esi
mov r14, r15
mov rcx, r15
mov rbx, r15
movsxd rdi, esi
jle 0x1400d3641
nop
test r14, r14
je 0x1400d35fe
mov rax, qword [r12 + rbx*8]
mov qword [rcx], rax
jmp 0x1400d3602
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.1400b3ec0
mov rcx, qword [r12 + rbx*8]
add rbx, 1
mov qword [rcx], r15
cmp rbx, rdi
jl 0x1400d35f0
mov rcx, r12
call fcn.1400cf470
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
call fcn.1400b4020
lea rcx, str.ntfs_volume_create_list__f_seconds_n
sub eax, dword [rsp + 0x5c]
mov edx, eax
call fcn.1400b3e90
mov rax, r14
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401a8fd0
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