Function at 0x1000a64fc
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x800
mov qword [rsp + 0x1b8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x7f0], rax
mov rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0x120], r8
mov qword [rsp + 0x60], rax
lea r12, [0x10001e260]
mov qword [rsp + 0x68], r12
lea r14, [0x10001fd30]
mov qword [rsp + 0x70], r14
lea r13, [0x10001e240]
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5a6
mov esi, 1
mov dword [rsp + 0x84], esi
mov r15d, 0xff
mov dword [r11 - 0x7a0], r15d
xor ebx, ebx
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
lea edi, [rsi + 0x77]
mov r8, rdi
xor edx, edx
lea rcx, [r11 - 0x798]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e842c
nop
mov dword [rsp + 0x48], ebx
mov word [rsp + 0x3d0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x3d2]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x1a8], rbx
lea rax, [0x100039468]
mov qword [rsp + 0x1a0], rax
lea edx, [r15 + 5]
lea rcx, [rsp + 0x3d0]
mov r9d, ebx
lea rax, [rsp + 0x3d0]
mov r8, qword [rsp + 0x118]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rbx
je 0x1000a6659
movzx eax, word [rcx + r8]
cmp ax, bx
je 0x1000a6659
mov word [rcx], ax
add rcx, 2
sub rdx, rsi
jne 0x1000a6637
cmp rdx, rbx
jne 0x1000a6668
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], bx
mov dword [rsp + 0x138], r9d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5b3
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
lea r8, [0x10001fdc0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052900
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x3d0]
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
movzx eax, cx
cmp word [rsp + rax*2 + 0x3ce], 0x5c
je 0x1000a6793
lea r8, [0x1000021a0]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.1000527c4
mov dword [rsp + 0x138], eax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5bc
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
lea r8, [0x10001ef70]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052900
mov eax, ebx
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
sete al
mov dword [rsp + 0x110], eax
cmp rcx, rbx
je 0x1000a6c85
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1000a6888
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5d1
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000a6834
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6821
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, di
mov edx, 0x80070000
or ecx, edx
cmp edi, ebx
cmovle ecx, edi
movzx r8d, ax
or r8d, edx
cmp eax, ebx
cmovle r8d, eax
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
lea r9, [0x10001fe10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e97ec
mov edx, dword [rsp + 0x48]
lea rdx, [rdx + rdx + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov qword [rsp + 0x1a8], rax
cmp rax, rbx
jne 0x1000a68c8
mov dword [rsp + 0x128], 0x8007000e
lea rdx, [0x1001731d8]
lea rcx, [rsp + 0x128]
call sub.msvcrt.dll__CxxThrowException
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x48]
mov rdx, rax
lea rcx, [rsp + 0x3d0]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
cmp eax, ebx
jne 0x1000a699a
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5d9
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000a6946
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6933
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, di
mov edx, 0x80070000
or ecx, edx
cmp edi, ebx
cmovle ecx, edi
movzx r8d, ax
or r8d, edx
cmp eax, ebx
cmovle r8d, eax
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
lea r9, [0x10001fe10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e97ec
mov rdx, rdi
mov qword [rsp + 0x40], rdx
or r8, 0xffffffffffffffff
cmp rdx, rbx
je 0x1000a6a8e
xor eax, eax
mov rcx, r8
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a6a8e
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
cmp eax, ebx
jne 0x1000a6a65
lea rdi, [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5e5
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000a6a32
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6a1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x10001eac0]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e9608
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
mov rdx, qword [rsp + 0x40]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
lea rdx, [rdx + rcx*2 + 2]
mov qword [rsp + 0x40], rdx
jmp 0x1000a69a6
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x40], r9
cmp r9, rbx
je 0x1000a6c85
xor eax, eax
mov rcx, r8
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a6c85
lea rdx, [rsp + 0x3d0]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
cmp eax, ebx
jne 0x1000a6c5c
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5f5
mov dword [rsp + 0x84], 6
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000a6b2e
movzx eax, cx
mov qword [rsp + rax*8 + 0x90], rbx
add cx, si
jmp 0x1000a6b18
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x68]
call fcn.1000e825c
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x320]
mov rcx, rax
call fcn.1000e825c
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x278]
mov rcx, rdi
call fcn.1000e80d4
mov r9d, esi
mov r8, rax
mov edx, 0x3041
lea rcx, [rsp + 0x130]
call fcn.1000eba6c
lea rcx, [rsp + 0x320]
call fcn.1000e7e7c
lea rcx, [rsp + 0x1d0]
call fcn.1000e7e7c
lea rcx, [rsp + 0x68]
call fcn.1000e7e7c
lea rdi, [rsp + 0x68]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x5f7
mov dword [rsp + 0x84], 6
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000a6c14
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6c01
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
lea r8, [0x10001fe80]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e9608
mov dword [rsp + 0x110], esi
xor eax, eax
or r8, 0xffffffffffffffff
mov rcx, r8
mov r9, qword [rsp + 0x40]
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
lea r9, [r9 + rcx*2 + 2]
mov qword [rsp + 0x40], r9
jmp 0x1000a6a98
jmp 0x1000a6d43
mov edi, dword [rsp + 0x138]
cmp edi, ebx
jge 0x1000a6dcd
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x605
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x3d0]
lea r8, [0x10001fee0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e9608
mov dword [rsp + 0x138], ebx
mov ecx, ebx
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 8]
cmp eax, ebx
jle 0x1000a71e6
mov rdi, rbx
mov qword [rsp + 0x50], rbx
cmp rdi, rbx
jl 0x1000a71d2
cmp ecx, eax
jge 0x1000a71d2
mov rax, qword [rsp + 0x120]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov word [rsp + 0x5e0], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x5e2]
call sub.msvcrt.dll_memset
movsxd rax, dword [rsp + 0x110]
cmp rax, rbx
je 0x1000a6e92
mov rdx, qword [rsp + 0x40]
lea rdi, [rdi + rdx + 8]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi + rdx]
mov rdx, qword [rax + 0x28]
lea rax, [rdx + rcx*2]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3d0]
lea r8, [0x10001e1b8]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.100052890
mov dword [rsp + 0x138], eax
jmp 0x1000a6ee6
mov rdx, qword [rsp + 0x40]
lea rdi, [rdi + rdx + 8]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
not rcx
sub rcx, rsi
mov rdi, qword [rsp + 0x50]
mov rax, qword [rdi + rdx]
mov rdx, qword [rax + 0x28]
lea rax, [rdx + rcx*2]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, [0x10001e1b8]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.100052890
mov dword [rsp + 0x138], eax
cmp eax, ebx
jl 0x1000a715d
mov rdx, qword [rsp + 0x40]
mov rdx, qword [rdi + rdx]
xor r8d, r8d
mov rdx, qword [rdx]
xor ecx, ecx
call sub.NETAPI32.dll_NetShareDel
mov dword [rsp + 0x50], eax
cmp eax, ebx
je 0x1000a6f94
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x621
mov dword [rsp + 0x84], 6
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x40]
mov r9, qword [rdi + rax]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9, qword [r9]
lea r8, [0x10001ff60]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e9608
mov rcx, qword [rsp + 0x40]
mov rax, qword [rdi + rcx]
mov rdx, qword [rax + 0x28]
mov qword [rsp + 0x118], rdx
lea r8, [rsp + 0x5e0]
mov qword [rax + 0x28], r8
xor r9d, r9d
mov r8, qword [rdi + rcx]
mov edx, 0x1f6
xor ecx, ecx
call sub.NETAPI32.dll_NetShareAdd
mov dword [rsp + 0x50], eax
cmp eax, ebx
je 0x1000a711a
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x629
mov dword [rsp + 0x84], 6
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x5e0]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x68]
call fcn.1000e825c
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.1000e80d4
mov r9d, esi
mov r8, rax
mov edx, 0x3042
lea rcx, [rsp + 0x130]
call fcn.1000eba6c
lea rcx, [rsp + 0x1d0]
call fcn.1000e7e7c
lea rcx, [rsp + 0x68]
call fcn.1000e7e7c
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x62a
mov dword [rsp + 0x84], 6
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x40]
mov r9, qword [rdi + rax]
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9, qword [r9]
lea r8, [0x10001ffa0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e9608
mov rax, qword [rsp + 0x40]
mov rax, qword [rdi + rax]
mov rcx, qword [rsp + 0x118]
mov qword [rax + 0x28], rcx
mov ecx, dword [rsp + 0x60]
add ecx, esi
mov dword [rsp + 0x60], ecx
add rdi, 0x210
mov qword [rsp + 0x50], rdi
mov rax, qword [rsp + 0x120]
mov eax, dword [rax + 8]
cmp ecx, eax
jl 0x1000a6dee
jmp 0x1000a71e6
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r13
mov dword [rsp + 0x80], 0x61d
mov dword [rsp + 0x84], esi
mov dword [rsp + 0x88], r15d
mov word [rsp + 0x108], bx
mov byte [rsp + 0x10a], bl
mov byte [rsp + 0x10b], sil
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x90]
call sub.msvcrt.dll_memset
lea r9, [0x10000a040]
mov r8d, dword [rsp + 0x138]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000ea25c
int3
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rcx, qword [rsp + 0x1a8]
cmp rcx, rbx
je 0x1000a71fa
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x130]
call fcn.1000e8518
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.100130df0
lea r11, [rsp + 0x800]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret