Function at 0x10005c3cc
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b0
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rbp, rdx
lea r13, [0x1000091d0]
mov qword [rsp + 0x40], r13
lea r14, [0x10000b560]
mov qword [rsp + 0x48], r14
lea r15, [0x1000091b8]
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x960
mov dword [rsp + 0x5c], 1
mov ebx, 0xff
mov dword [rsp + 0x60], ebx
xor r12d, r12d
mov word [r11 - 0x2f8], r12w
mov byte [r11 - 0x2f6], r12b
mov byte [rsp + 0xe3], 1
lea esi, [r12 + 0x78]
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000e842c
nop
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
cmp eax, 3
je 0x10005c511
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x965
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], ebx
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbp
lea r9, [0x10000b5c0]
mov r8d, 0x8004230c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000e97ec
int3
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x190]
call sub.msvcrt.dll_memset
mov edx, 0x104
lea rcx, [rsp + 0x190]
lea rax, [rsp + 0x190]
mov rdi, rbp
sub rdi, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, r12
je 0x10005c564
movzx eax, word [rdi + rcx]
cmp ax, r12w
je 0x10005c564
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x10005c541
cmp rdx, r12
jne 0x10005c56d
sub rcx, 2
mov word [rcx], r12w
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rsp + 0x190]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x18c], 0x5c
jne 0x10005c59c
mov word [rsp + rcx*2 + 0x18c], r12w
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov r8d, 3
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0x80000000
lea rcx, [rsp + 0x190]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rax, [0x10000d458]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xf0], rbx
cmp rbx, rsi
jne 0x10005c656
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x986
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, rbp
lea r8, [0x10000b650]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000ea04c
int3
lea rdx, [0x10017743c]
mov esi, 0x218
mov rcx, rsi
call fcn.10013100c
mov rdi, rax
mov qword [rsp + 0x100], rax
cmp rax, r12
jne 0x10005c6ea
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x98e
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r9, [0x10000b6a0]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000e97ec
int3
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], 5
mov r9d, esi
mov r8, rdi
lea rdx, [rsp + 0x180]
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
mov esi, eax
cmp eax, r12d
jge 0x10005c846
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
mov edi, eax
cmp eax, 0x15
je 0x10005c7cd
cmp eax, 0x48f
je 0x10005c7cd
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x9a2
mov dword [rsp + 0x5c], 2
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
movzx r8d, di
or r8d, 0x80070000
cmp edi, r12d
cmovle r8d, edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbp
lea r9, [0x10000b770]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000ea25c
int3
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x99d
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbp
lea r9, [0x10000b700]
mov r8d, 0x80042308
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000e97ec
int3
bt dword [rdi], 0x13
jae 0x10005c8c1
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], 0x9a9
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], r12w
mov byte [rsp + 0xe2], r12b
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], rbp
lea r9, [0x10000b840]
mov r8d, 0x8004230c
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x110]
call fcn.1000e97ec
nop
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x110]
call fcn.1000e8518
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.100130df0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret