Function at 0x1000b6698
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x600
mov qword [rsp + 0x1b0], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov dword [rsp + 0x54], r9d
mov edi, r8d
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x1a8], rdx
lea r12, [0x100022920]
mov qword [rsp + 0x70], r12
lea r14, [0x100024ef0]
mov qword [rsp + 0x78], r14
lea r13, [0x100022900]
mov qword [r11 - 0x5a8], r13
mov dword [rsp + 0x88], 0x40e
mov dword [rsp + 0x8c], 1
mov esi, 0xff
mov dword [rsp + 0x90], esi
xor ebx, ebx
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
lea r15d, [rbx + 0x78]
mov r8, r15
xor edx, edx
lea rcx, [r11 - 0x590]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e8000
nop
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x410
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov r8d, 0x1777
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000ec6d4
mov word [rsp + 0x1d0], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x1d2]
call sub.msvcrt.dll_memset
mov word [rsp + 0x3e0], bx
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x3e2]
call sub.msvcrt.dll_memset
test dil, 2
je 0x1000b68b2
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x419
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
lea r8, [0x100024f70]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x130]
call fcn.1000e80ec
jmp 0x1000b712e
cmp dword [rsp + 0x54], ebx
jne 0x1000b6940
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x420
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
mov r8, r15
xor edx, edx
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
lea r8, [0x100024fd0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
nop
lea rcx, [rsp + 0x130]
call fcn.1000e80ec
jmp 0x1000b712e
mov eax, ebx
mov dword [rsp + 0x54], eax
mov rdx, qword [rsp + 0x1a8]
cmp eax, dword [rdx]
jae 0x1000b7121
mov byte [rsp + 0x50], bl
lea rcx, [rax + rax*8]
mov rax, qword [rdx + 8]
mov rax, qword [rax + rcx*8 + 0x30]
mov qword [rsp + 0x120], rax
cmp rax, rbx
jne 0x1000b69f0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x432
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x54]
lea r8, [0x1000250a0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
jmp 0x1000b7112
mov qword [rsp + 0x68], rbx
lea rcx, [0x10000d460]
mov qword [rsp + 0x60], rcx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1000610d0
xor eax, eax
or rcx, 0xffffffffffffffff
mov r15, qword [rsp + 0x68]
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
cmp word [r15 + rcx*2 - 4], 0x5c
je 0x1000b6a41
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x60]
call fcn.100061194
mov r15, qword [rsp + 0x68]
mov dword [rsp + 0x38], 0x105
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8d, 0x105
lea rdx, [rsp + 0x3e0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebx
je 0x1000b707b
lea rsi, [rsp + 0x1d0]
lea rdi, [0x1000250f8]
mov ecx, 5
repe cmpsw word [rsi], word [rdi]
je 0x1000b6b40
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x44a
mov dword [rsp + 0x8c], 1
mov esi, 0xff
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x54]
lea r8, [0x100025110]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
nop
cmp r15, rbx
je 0x1000b6b2a
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], rbx
lea rax, [0x10003a7e0]
mov qword [rsp + 0x60], rax
jmp 0x1000b7112
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x458
mov dword [rsp + 0x8c], 1
mov esi, 0xff
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov rdi, qword [rsp + 0x120]
mov qword [rsp + 0x20], rdi
mov r9d, dword [rsp + 0x54]
lea r8, [0x1000251d0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call fcn.1000b8ce0
mov dword [rsp + 0x138], eax
cmp eax, ebx
jge 0x1000b6c6e
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x45e
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov edx, dword [rsp + 0x138]
mov dword [rsp + 0x20], edx
lea r9, [0x100025230]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e93c0
int3
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x464
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
lea rax, [0x1000252d0]
lea r8, [0x100025330]
cmp byte [rsp + 0x50], bl
cmovne r8, rax
mov r9, r15
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
cmp byte [rsp + 0x50], bl
jne 0x1000b6d1c
cmp r15, rbx
je 0x1000b6d06
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], rbx
lea rax, [0x10003a7e0]
mov qword [rsp + 0x60], rax
jmp 0x1000b7112
mov r8b, 1
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call fcn.1000aa5f4
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], bl
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call fcn.1000c8344
nop
mov qword [rsp + 0x70], rbx
mov byte [rsp + 0x98], bl
mov byte [rsp + 0x99], bl
mov dword [rsp + 0x9c], ebx
mov dword [rsp + 0xa0], ebx
mov qword [rsp + 0xa8], rbx
mov dword [rsp + 0xb0], ebx
mov dword [rsp + 0xb4], ebx
mov dword [rsp + 0xb8], ebx
mov qword [rsp + 0xc0], rbx
mov word [rsp + 0xc8], bx
mov qword [rsp + 0xd8], rbx
lea rax, [0x100035878]
mov qword [rsp + 0xd0], rax
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rsp + 0x78]
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, r15
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x70]
call fcn.10005315c
mov dword [rsp + 0x138], eax
lea rcx, [rsp + 0x70]
call fcn.1000530b8
nop
mov rax, qword [rsp + 0x58]
jmp 0x1000b6efc
mov dword [rsp + 0x138], ebx
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.1000aa5f4
mov qword [rsp + 0x38], rbx
mov byte [rsp + 0x30], bl
mov byte [rsp + 0x28], bl
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1000c8344
lea r8, [rsp + 0x50]
mov rdx, r15
mov rcx, rdi
call fcn.1000b8ce0
mov edi, eax
mov dword [rsp + 0x138], eax
cmp eax, ebx
jge 0x1000b6fd3
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x494
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [0x100025380]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e93c0
int3
cmp byte [rsp + 0x50], bl
je 0x1000b7057
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x49e
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r15
lea r9, [0x100025420]
mov r8d, 0x800423fb
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e93c0
nop
cmp r15, rbx
je 0x1000b7065
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], rbx
lea rax, [0x10003a7e0]
mov qword [rsp + 0x60], rax
jmp 0x1000b7112
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r13
mov dword [rsp + 0x88], 0x450
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], esi
mov word [rsp + 0x110], bx
mov byte [rsp + 0x112], bl
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x54]
lea r8, [0x100025170]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
nop
cmp r15, rbx
je 0x1000b7101
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x68], rbx
lea rax, [0x10003a7e0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x1000b6946
lea rcx, [rsp + 0x130]
call fcn.1000e80ec
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x600]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret