Function at 0x1400f1dc8
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4e8]
sub rsp, 0x5b0
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rsi, r9
mov r12, r8
mov rbx, rdx
mov r13, qword [rbp + 0x510]
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x873
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor r15d, r15d
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.140052e50
nop
mov dword [rbp + 0x60], r15d
xor eax, eax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov r14d, r15d
mov word [rbp + 0x80], r15w
mov edi, 0x206
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x82]
call sub.msvcrt.dll_memset
mov word [rbp + 0x290], r15w
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x292]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], r15
lea rax, [0x140001d20]
mov qword [rsp + 0x30], rax
mov edi, r15d
cmp dword [rbx + 0x20], r15d
jbe 0x1400f1f03
mov eax, edi
lea r8, [rax + rax*2]
shl r8, 5
add r8, qword [rbx + 0x18]
xor r9d, r9d
mov rdx, r12
call fcn.1400d3a08
test al, al
jne 0x1400f1f03
inc edi
cmp edi, dword [rbx + 0x20]
jb 0x1400f1edf
cmp edi, dword [rbx + 0x20]
jne 0x1400f1f7a
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x889
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r8, [0x1400387c0]
mov r9, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400510b0
xor edx, edx
jmp 0x1400f225a
mov edi, r15d
cmp dword [rbx + 0x10], r15d
jbe 0x1400f1fef
mov ecx, edi
mov rax, qword [rbx]
mov r14, qword [rax + rcx*8]
mov rax, qword [rbx + 8]
mov r15, qword [rax + rcx*8]
cmp qword [r14 + 0x30], 0
jne 0x1400f1fe5
mov dword [rbp + 0x60], 1
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov qword [rbp + 0x68], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0x70], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0x78], rax
lea r8, [rbp + 0x60]
mov rdx, r13
call fcn.1400d3e5c
test al, al
je 0x1400f1fe5
lea r8, [r15 + 0x60]
xor r9d, r9d
mov rdx, r12
call fcn.1400d3a08
xor r15d, r15d
test al, al
jne 0x1400f1fef
jmp 0x1400f1fe8
xor r15d, r15d
inc edi
cmp edi, dword [rbx + 0x10]
jb 0x1400f1f83
cmp edi, dword [rbx + 0x10]
jne 0x1400f2053
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8aa
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r8, [0x140038820]
jmp 0x1400f1f62
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.140073e50
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r15w
jne 0x1400f2064
cmp word [rsi + rax*2 - 2], 0x5c
je 0x1400f2087
lea rdx, [0x14000ca50]
lea rcx, [rsp + 0x30]
call fcn.140073148
mov ebx, 0x104
mov r8d, ebx
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400f212f
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8b8
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400f210e
movzx eax, ax
or eax, 0x80070000
mov r9, rsi
lea r8, [0x140038880]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400510b0
jmp 0x1400f1f73
mov r8d, ebx
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400f21c2
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8bc
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400f21af
movzx eax, ax
or eax, 0x80070000
lea r9, [rbp + 0x80]
lea r8, [0x140038950]
jmp 0x1400f2118
lea rdx, [rbp + 0x290]
call fcn.1400e372c
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x30]
call fcn.140073e50
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r15
mov qword [r14 + 0x30], rbx
lea rax, [0x1400356c0]
mov qword [rsp + 0x40], rax
lea rax, [0x140038750]
mov qword [rsp + 0x48], rax
lea rax, [0x1400356a8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8c8
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, rbx
lea r8, [0x140038a40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400510b0
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x30]
call fcn.140070d4c
nop
lea rcx, [rbp - 0x10]
call fcn.140050f50
mov al, bl
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.14005dc70
mov rbx, qword [rsp + 0x5f0]
add rsp, 0x5b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret