Function at 0x1000a566c
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x750
mov qword [rsp + 0x260], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov rax, r9
mov qword [rsp + 0x58], rax
mov r14, rdx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x128], rdx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0x1d0], rax
lea rsi, [0x10001e270]
mov qword [r11 - 0x6f8], rsi
lea r13, [0x10001f640]
mov qword [r11 - 0x6f0], r13
lea r12, [0x10001e250]
mov qword [r11 - 0x6e8], r12
mov dword [rsp + 0x98], 0x50a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
xor ebx, ebx
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
lea edi, [rbx + 0x78]
mov r8, rdi
xor edx, edx
lea rcx, [r11 - 0x6d0]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e8000
nop
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x530], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x532]
call sub.msvcrt.dll_memset
mov word [rsp + 0x320], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x322]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x270]
call fcn.1000cb898
nop
mov qword [rsp + 0x1e0], rbx
mov byte [rsp + 0x208], bl
mov byte [rsp + 0x209], bl
mov dword [rsp + 0x20c], ebx
mov dword [rsp + 0x210], ebx
mov qword [rsp + 0x218], rbx
mov dword [rsp + 0x220], ebx
mov dword [rsp + 0x224], ebx
mov dword [rsp + 0x228], ebx
mov qword [rsp + 0x230], rbx
mov word [rsp + 0x238], bx
mov qword [rsp + 0x248], rbx
lea rax, [0x100035878]
mov qword [rsp + 0x240], rax
xor edx, edx
lea r8d, [rbx + 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], ebx
mov byte [rsp + 0x20], bl
xor r9d, r9d
mov r8, r14
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1e0]
call fcn.10005315c
mov r14d, eax
mov dword [rsp + 0x168], eax
cmp eax, ebx
jge 0x1000a5928
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x523
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9d, r14d
lea r8, [0x10001f6b0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov qword [rsp + 0x30], rbx
mov byte [rsp + 0x28], bl
mov dword [rsp + 0x20], ebx
xor r9d, r9d
mov r8d, 0x560000
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x1e0]
call fcn.1000538a0
mov r14d, eax
mov dword [rsp + 0x168], eax
cmp eax, ebx
jge 0x1000a5a15
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x52e
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9d, r14d
lea r8, [0x10001f720]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov rax, qword [rsp + 0x230]
mov ecx, dword [rax]
mov dword [rsp + 0x138], ecx
lea r14, [rax + 8]
mov qword [rsp + 0x130], r14
cmp ecx, 1
je 0x1000a5af0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x53a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x138]
lea r8, [0x10001f7e0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov edx, dword [r14]
lea rcx, [rsp + 0x270]
call fcn.1000cb988
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x298]
mov dword [rsp + 0x78], eax
mov rcx, qword [rsp + 0x58]
jmp 0x1000a5c0f
cmp dword [rsp + 0x168], ebx
jge 0x1000a5cd5
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x553
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov edx, dword [r14]
mov dword [rsp + 0x20], edx
mov r9, qword [rsp + 0x50]
lea r8, [0x10001f850]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov qword [rsp + 0x140], rbx
mov qword [rsp + 0x148], rbx
mov qword [rsp + 0x150], rbx
mov dword [rsp + 0x158], ebx
mov dword [rsp + 0x15c], ebx
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8d, dword [rcx + 8]
mov rdx, qword [rcx]
lea rcx, [rsp + 0x140]
call fcn.1000cea04
movzx edx, al
cmp edx, ebx
jne 0x1000a5de7
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x560
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov r9, qword [rsp + 0x50]
lea r8, [0x10001f8c0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x140]
call fcn.1000ccc9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov rax, qword [rcx + 8]
mov qword [rsp + 0x70], rax
cmp rax, qword [r14 + 8]
jne 0x1000a6226
mov rax, qword [r14 + 0x10]
cmp qword [rcx + 0x10], rax
jne 0x1000a6226
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x576
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov edx, dword [r14]
mov dword [rsp + 0x20], edx
mov rdi, qword [rsp + 0x50]
mov r9, rdi
lea r8, [0x10001fab0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
mov qword [rsp + 0x68], rbx
lea rax, [0x10000d460]
mov qword [rsp + 0x60], rax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1000610d0
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
mov rdi, qword [rsp + 0x50]
cmp word [rdi + rcx*2 - 4], 0x5c
je 0x1000a5eeb
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x60]
call fcn.100061194
mov r8d, 0x104
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000a5ff6
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x586
mov dword [rsp + 0x9c], 6
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
cmp eax, ebx
cmovle edx, eax
mov dword [rsp + 0x20], edx
mov r9, rdi
lea r8, [0x10001fb60]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
cmp qword [rsp + 0x68], rbx
je 0x1000a5fba
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x140]
call fcn.1000ccc9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov r8d, 0x104
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x530]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000a6109
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x58a
mov dword [rsp + 0x9c], 6
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x530]
lea r8, [0x10001fc10]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
cmp qword [rsp + 0x68], rbx
je 0x1000a60cd
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x140]
call fcn.1000ccc9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x320]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x31c], 0x5c
jne 0x1000a6130
mov word [rsp + rcx*2 + 0x31c], bx
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x60]
call fcn.1000610d0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x18], rdx
mov eax, dword [r14]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x1d0]
dec dword [rax]
mov edi, dword [rax]
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x59a
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
lea r9d, [rdi + 1]
mov dword [rsp + 0x20], edi
lea r8, [0x10001fce0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x140]
call fcn.1000ccc9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
jmp 0x1000a6301
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], r13
mov qword [rsp + 0x90], r12
mov dword [rsp + 0x98], 0x56c
mov dword [rsp + 0x9c], 1
mov dword [rsp + 0xa0], 0xff
mov word [rsp + 0x120], bx
mov byte [rsp + 0x122], bl
mov byte [rsp + 0x123], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0xa8]
call sub.msvcrt.dll_memset
mov rdx, qword [r14 + 0x10]
mov qword [rsp + 0x30], rdx
mov rax, qword [r14 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
lea r8, [0x10001f970]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x160]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x140]
call fcn.1000ccc9c
nop
lea rcx, [rsp + 0x1e0]
call fcn.1000530b8
nop
lea rcx, [rsp + 0x270]
call fcn.1000cb930
nop
lea rcx, [rsp + 0x160]
call fcn.1000e80ec
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.100130830
mov rbx, qword [rsp + 0x780]
add rsp, 0x750
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret