Function at 0x1000a6330
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, [0x10001e270]
mov qword [rsp + 0x68], r12
lea r14, [0x10001fd40]
mov qword [rsp + 0x70], r14
lea r13, [0x10001e250]
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.1000e8000
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, [0x10000d460]
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 0x1000a648d
movzx eax, word [rcx + r8]
cmp ax, bx
je 0x1000a648d
mov word [rcx], ax
add rcx, 2
sub rdx, rsi
jne 0x1000a646b
cmp rdx, rbx
jne 0x1000a649c
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, [0x10001fdd0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052760
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 0x1000a65c7
lea r8, [0x1000021a0]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.100052624
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, [0x10001ef80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052760
mov eax, ebx
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
sete al
mov dword [rsp + 0x110], eax
cmp rcx, rbx
je 0x1000a6ab9
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 0x1000a66bc
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 0x1000a6668
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6655
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, [0x10001fe20]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e93c0
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 0x1000a66fc
mov dword [rsp + 0x128], 0x8007000e
lea rdx, [0x100172be0]
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 0x1000a67ce
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 0x1000a677a
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6767
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, [0x10001fe20]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e93c0
mov rdx, rdi
mov qword [rsp + 0x40], rdx
or r8, 0xffffffffffffffff
cmp rdx, rbx
je 0x1000a68c2
xor eax, eax
mov rcx, r8
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a68c2
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
cmp eax, ebx
jne 0x1000a6899
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 0x1000a6866
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6853
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, [0x10001ead0]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
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 0x1000a67da
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x40], r9
cmp r9, rbx
je 0x1000a6ab9
xor eax, eax
mov rcx, r8
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a6ab9
lea rdx, [rsp + 0x3d0]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
cmp eax, ebx
jne 0x1000a6a90
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 0x1000a6962
movzx eax, cx
mov qword [rsp + rax*8 + 0x90], rbx
add cx, si
jmp 0x1000a694c
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x68]
call fcn.1000e7e30
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x320]
mov rcx, rax
call fcn.1000e7e30
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x278]
mov rcx, rdi
call fcn.1000e7ca8
mov r9d, esi
mov r8, rax
mov edx, 0x3041
lea rcx, [rsp + 0x130]
call fcn.1000eb640
lea rcx, [rsp + 0x320]
call fcn.1000e7a50
lea rcx, [rsp + 0x1d0]
call fcn.1000e7a50
lea rcx, [rsp + 0x68]
call fcn.1000e7a50
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 0x1000a6a48
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a6a35
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, [0x10001fe90]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
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 0x1000a68cc
jmp 0x1000a6b77
mov edi, dword [rsp + 0x138]
cmp edi, ebx
jge 0x1000a6c01
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, [0x10001fef0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
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 0x1000a701a
mov rdi, rbx
mov qword [rsp + 0x50], rbx
cmp rdi, rbx
jl 0x1000a7006
cmp ecx, eax
jge 0x1000a7006
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 0x1000a6cc6
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, [0x10001e1c8]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.1000526f0
mov dword [rsp + 0x138], eax
jmp 0x1000a6d1a
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, [0x10001e1c8]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.1000526f0
mov dword [rsp + 0x138], eax
cmp eax, ebx
jl 0x1000a6f91
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 0x1000a6dc8
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, [0x10001ff70]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
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 0x1000a6f4e
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.1000e7e30
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.1000e7ca8
mov r9d, esi
mov r8, rax
mov edx, 0x3042
lea rcx, [rsp + 0x130]
call fcn.1000eb640
lea rcx, [rsp + 0x1d0]
call fcn.1000e7a50
lea rcx, [rsp + 0x68]
call fcn.1000e7a50
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, [0x10001ffb0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e91dc
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 0x1000a6c22
jmp 0x1000a701a
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.1000e9e30
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 0x1000a702e
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x130]
call fcn.1000e80ec
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.100130830
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