Function at 0x1000a5f88
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 [0x100175150]
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, [0x10001e120]
mov qword [rsp + 0x68], r12
lea r14, [0x10001fbf0]
mov qword [rsp + 0x70], r14
lea r13, [0x10001e100]
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.1000e7c38
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, [0x1000391a8]
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 0x1000a60e5
movzx eax, word [rcx + r8]
cmp ax, bx
je 0x1000a60e5
mov word [rcx], ax
add rcx, 2
sub rdx, rsi
jne 0x1000a60c3
cmp rdx, rbx
jne 0x1000a60f4
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, [0x10001fc80]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052600
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 0x1000a621f
lea r8, [0x1000021a0]
mov edx, 0x104
lea rcx, [rsp + 0x3d0]
call fcn.1000524c4
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, [0x10001ee30]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.100052600
mov eax, ebx
mov rcx, qword [rsp + 0x58]
cmp rcx, rbx
sete al
mov dword [rsp + 0x110], eax
cmp rcx, rbx
je 0x1000a6711
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 0x1000a6314
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 0x1000a62c0
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a62ad
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, [0x10001fcd0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e8ff8
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 0x1000a6354
mov dword [rsp + 0x128], 0x8007000e
lea rdx, [0x100172740]
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 0x1000a6426
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 0x1000a63d2
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a63bf
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, [0x10001fcd0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e8ff8
mov rdx, rdi
mov qword [rsp + 0x40], rdx
or r8, 0xffffffffffffffff
cmp rdx, rbx
je 0x1000a651a
xor eax, eax
mov rcx, r8
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a651a
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
cmp eax, ebx
jne 0x1000a64f1
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 0x1000a64be
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a64ab
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, [0x10001e980]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e8e14
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 0x1000a6432
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x40], r9
cmp r9, rbx
je 0x1000a6711
xor eax, eax
mov rcx, r8
mov rdi, r9
repne scasw ax, word [rdi]
not rcx
cmp rcx, rsi
je 0x1000a6711
lea rdx, [rsp + 0x3d0]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
cmp eax, ebx
jne 0x1000a66e8
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 0x1000a65ba
movzx eax, cx
mov qword [rsp + rax*8 + 0x90], rbx
add cx, si
jmp 0x1000a65a4
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x68]
call fcn.1000e7a68
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x320]
mov rcx, rax
call fcn.1000e7a68
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rsp + 0x278]
mov rcx, rdi
call fcn.1000e78e0
mov r9d, esi
mov r8, rax
mov edx, 0x3041
lea rcx, [rsp + 0x130]
call fcn.1000eb278
lea rcx, [rsp + 0x320]
call fcn.1000e7688
lea rcx, [rsp + 0x1d0]
call fcn.1000e7688
lea rcx, [rsp + 0x68]
call fcn.1000e7688
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 0x1000a66a0
movzx eax, cx
mov qword [rdi + rax*8 + 0x28], rbx
add cx, si
jmp 0x1000a668d
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, [0x10001fd40]
mov rdx, rdi
lea rcx, [rsp + 0x130]
call fcn.1000e8e14
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 0x1000a6524
jmp 0x1000a67cf
mov edi, dword [rsp + 0x138]
cmp edi, ebx
jge 0x1000a6859
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, [0x10001fda0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e8e14
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 0x1000a6c72
mov rdi, rbx
mov qword [rsp + 0x50], rbx
cmp rdi, rbx
jl 0x1000a6c5e
cmp ecx, eax
jge 0x1000a6c5e
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 0x1000a691e
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, [0x10001e078]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.100052590
mov dword [rsp + 0x138], eax
jmp 0x1000a6972
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, [0x10001e078]
mov edx, 0x104
lea rcx, [rsp + 0x5e0]
call fcn.100052590
mov dword [rsp + 0x138], eax
cmp eax, ebx
jl 0x1000a6be9
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 0x1000a6a20
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, [0x10001fe20]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e8e14
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 0x1000a6ba6
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.1000e7a68
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x278]
mov rcx, rax
call fcn.1000e78e0
mov r9d, esi
mov r8, rax
mov edx, 0x3042
lea rcx, [rsp + 0x130]
call fcn.1000eb278
lea rcx, [rsp + 0x1d0]
call fcn.1000e7688
lea rcx, [rsp + 0x68]
call fcn.1000e7688
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, [0x10001fe60]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x130]
call fcn.1000e8e14
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 0x1000a687a
jmp 0x1000a6c72
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.1000e9a68
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 0x1000a6c86
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x130]
call fcn.1000e7d24
mov rcx, qword [rsp + 0x7f0]
xor rcx, rsp
call fcn.1001303c0
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