Function at 0x1400ca880
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x750
mov qword [r11 - 0x518], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x70], r9
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x1d0], rax
lea r14, [0x140023f10]
mov qword [r11 - 0x6e8], r14
lea r15, [0x1400252d0]
mov qword [r11 - 0x6e0], r15
lea r12, [0x140023ef0]
mov qword [r11 - 0x6d8], r12
mov dword [rsp + 0x98], 0x50a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
xor edi, edi
mov dword [rsp + 0x120], 0x1000000
lea ebx, [rdi + 0x78]
mov r8d, ebx
xor edx, edx
lea rcx, [r11 - 0x6c0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.140052e50
nop
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x530], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x532]
call sub.msvcrt.dll_memset
mov word [rsp + 0x320], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x322]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x270]
call fcn.1400e6b14
nop
mov qword [rsp + 0x1e0], rdi
mov word [rsp + 0x208], di
mov qword [rsp + 0x20c], rdi
mov qword [rsp + 0x218], rdi
mov qword [rsp + 0x220], rdi
mov dword [rsp + 0x228], edi
mov qword [rsp + 0x230], rdi
mov word [rsp + 0x238], di
mov qword [rsp + 0x248], rdi
lea rax, [0x140001b68]
mov qword [rsp + 0x240], rax
xor edx, edx
lea r8d, [rdi + 0x20]
lea rcx, [rsp + 0x1e8]
call sub.msvcrt.dll_memset
nop
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 0xc0000000
mov dword [rsp + 0x28], edi
mov byte [rsp + 0x20], dil
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1e0]
call fcn.14007adbc
mov dword [rsp + 0x148], eax
test eax, eax
jns 0x1400caae0
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x523
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
lea r8, [0x140025340]
mov r9d, dword [rsp + 0x148]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
jmp 0x1400cb1a7
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x28], dil
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, 0x560000
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x1e0]
call fcn.1400732e8
mov dword [rsp + 0x148], eax
test eax, eax
jns 0x1400cab79
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x52e
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
lea r8, [0x1400253b0]
jmp 0x1400caabe
mov rax, qword [rsp + 0x230]
mov ecx, dword [rax]
mov dword [rsp + 0x130], ecx
add rax, 8
mov qword [rsp + 0x78], rax
cmp ecx, 1
je 0x1400cac02
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x53a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x130]
lea r8, [0x140025470]
jmp 0x1400caac6
mov edx, dword [rax]
lea rcx, [rsp + 0x270]
call fcn.1400e9efc
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x68]
jmp 0x1400cac5e
cmp dword [rsp + 0x148], edi
jge 0x1400cacf2
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x553
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x50]
lea r8, [0x1400254e0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
jmp 0x1400cb1a7
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], rdi
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x1c8], 0
mov r9, qword [rsp + 0x58]
mov rdx, qword [rax]
call fcn.1400eac88
movzx eax, al
test eax, eax
jne 0x1400cada6
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x560
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x50]
lea r8, [0x140025550]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
jmp 0x1400cb199
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rcx + 8]
mov qword [rsp + 0x70], rdx
mov rax, qword [rsp + 0x78]
cmp rdx, qword [rax + 8]
jne 0x1400cb0fc
mov rax, qword [rax + 0x10]
cmp qword [rcx + 0x10], rax
jne 0x1400cb0fc
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x576
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x50]
lea r8, [0x140025740]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
mov qword [rsp + 0x60], rdi
lea rax, [0x140001d20]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140073e50
or rcx, 0xffffffffffffffff
mov rax, qword [rsp + 0x50]
inc rcx
cmp word [rax + rcx*2], di
jne 0x1400cae85
cmp word [rax + rcx*2 - 2], 0x5c
je 0x1400caea7
lea rdx, [0x14000ca50]
lea rcx, [rsp + 0x58]
call fcn.140073148
mov r8d, 0x104
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400caf65
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x586
mov dword [rsp + 0x9c], 6
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400caf30
movzx eax, ax
or eax, 0x80070000
mov r9, qword [rsp + 0x50]
lea r8, [0x1400257f0]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
nop
lea rcx, [rsp + 0x58]
call fcn.140070d4c
jmp 0x1400cb199
mov r8d, 0x104
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x530]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400cb001
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x58a
mov dword [rsp + 0x9c], 6
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400cafed
movzx eax, ax
or eax, 0x80070000
lea r9, [rsp + 0x530]
lea r8, [0x1400258a0]
jmp 0x1400caf3c
lea rcx, [rsp + 0x320]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x1400cb00d
cmp word [rsp + rax*2 + 0x31e], 0x5c
jne 0x1400cb041
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400cb03b
mov word [rsp + rax + 0x320], di
jmp 0x1400cb041
call fcn.14005e088
int3
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x58]
call fcn.140073e50
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], rdi
mov rcx, qword [rsp + 0x68]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1d0]
dec dword [rax]
mov ebx, dword [rax]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x59a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], ebx
lea r8, [0x140025970]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
jmp 0x1400caf56
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x88], r15
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x56c
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov dword [rsp + 0x120], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea r8, [0x140025600]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x140]
call fcn.1400510b0
nop
lea rcx, [rsp + 0x1b0]
call fcn.1400e6f9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1400711d0
nop
lea rcx, [rsp + 0x270]
call fcn.1400e6ff4
nop
lea rcx, [rsp + 0x140]
call fcn.140050f50
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x750]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret