Function at 0x14000a654
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140036068]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rsi, rdx
test rdx, rdx
je 0x14000a691
and dword [rdx], 0
and qword [rsp + 0x40], 0
lea rcx, [rsp + 0x40]
mov edx, 0x80000000
call fcn.1400021c0
mov r14, qword [rsp + 0x40]
mov edi, eax
test eax, eax
jne 0x14000a6f3
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x28], 0x90
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x70048
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000a728
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x40]
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000a70b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14000a730
mov r8d, edi
lea rdx, str.BfsRepair:_Failed_to_get_system_partition_size__08x
mov ecx, 4
call fcn.14000b134
jmp 0x14000a964
mov rbx, qword [rbp - 0x80]
xor edi, edi
jmp 0x14000a6f8
cmp rbx, 0x40000000
jbe 0x14000a76d
mov rax, rbx
mov r9d, 0x400
cqo
mov ecx, 4
and edx, 0xfffff
lea r8, [rdx + rax]
sar r8, 0x14
lea rdx, str.BfsRepair:_System_volume_too_large_for_chkdsk._Size:__llu_MB_Max:__llu_MB
call fcn.14000b134
mov edi, 0x32
jmp 0x14000a964
call fcn.140002980
mov r15, rax
test rax, rax
jne 0x14000a78e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rdx, str.BfsRepair:_Failed_to_get_system_volume__08x
mov r8d, eax
jmp 0x14000a719
xor ecx, ecx
call fcn.140002698
mov rbx, rax
test rax, rax
jne 0x14000a7aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14000a937
mov r8, rbx
lea rdx, str.BfsChkDsk:__ws
mov ecx, 2
call fcn.14000b134
mov dword [rsp + 0x38], 0x104
lea rax, [rbp]
mov qword [rsp + 0x30], rax
xor r9d, r9d
and qword [rsp + 0x28], 0
xor r8d, r8d
and qword [rsp + 0x20], 0
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x14000a811
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.BfsRepair:_Failed_to_get_volume_information__08x
mov r8d, eax
mov ecx, 4
mov edi, eax
call fcn.14000b134
jmp 0x14000a937
lea rcx, str.FMIFS.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
test rax, rax
jne 0x14000a835
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.BfsRepair:_Failed_to_load_FMIFS.DLL__08x
jmp 0x14000a7fd
lea rdx, str.ChkdskEx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
jne 0x14000a86e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.BfsRepair:_Failed_to_get_ChkdskEx_proc_address__08x
lea ecx, [r12 + 4]
mov edi, eax
call fcn.14000b134
jmp 0x14000a92e
xor eax, eax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x50], rax
xor ecx, ecx
mov byte [rsp + 0x52], al
lea rax, str.BFSVC
mov qword [rsp + 0x58], rax
mov word [rsp + 0x48], 0x201
mov dword [rsp + 0x4c], 0x80280100
call fcn.1400118b4
test eax, eax
js 0x14000a8c2
mov rcx, qword [rsp + 0x40]
call fcn.140011bc0
test eax, eax
jns 0x14000a8d6
lea rdx, str.BfsRepair:_Failed_to_unload_system_store._Status:__08x
jmp 0x14000a8c9
lea rdx, str.BfsRepair:_Failed_to_open_system_store._Status:__08x
mov r8d, eax
mov ecx, 4
call fcn.14000b134
and dword [0x140036744], 0
lea rax, [0x14000a5f0]
and dword [0x140036740], 0
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rdx, [rbp]
mov rax, r12
mov r8b, 1
mov rcx, rbx
call qword [vtable._SH_.0]
cmp dword [0x140036744], 0
jne 0x14000a923
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, 0x65b
test edi, edi
cmove edi, eax
test rsi, rsi
je 0x14000a92e
mov dword [rsi], 1
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbx, rbx
je 0x14000a964
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14001fbe0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret