Function at 0x14004a618
Capabilities:
Get disk information

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1590]
mov eax, 0x1690
call fcn.14002fa50
sub rsp, rax
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x16c0], rbx
mov qword [rsp + 0x16d0], rsi
mov qword [rsp + 0x16d8], rdi
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x1580], rax
mov ebx, edx
mov r14d, ecx
mov dword [rsp + 0x30], ecx
mov esi, 0x800
test dword [0x1400ca100], esi
je 0x14004a692
lea rdx, [0x1400a1d88]
lea rcx, [0x1400c8290]
call fcn.1400218f4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0x41
xor r13d, r13d
mov word [rsp + 0x58], r13w
lea rax, fcn.140019f80
mov qword [rsp + 0x40], rax
mov rdx, qword [0x1400c9cc0]
lea rcx, [rbp + 0x980]
call fcn.140028034
nop
cmp qword [0x1400c9cc0], r13
je 0x14004a73c
lea rax, [rbp + 0x178]
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], 0x401
mov word [rbp + 0x178], r13w
lea rax, [0x14008c350]
mov qword [rbp + 0x160], rax
lea rdx, [rbp + 0x160]
mov ecx, ebx
call fcn.14005009c
xor r9d, r9d
mov r8, qword [rbp + 0x168]
mov edx, 0x800003f0
lea rcx, [rbp + 0x980]
call fcn.140051500
nop
lea rcx, [rbp + 0x160]
call fcn.1400282e4
mov r9d, 0x20019
lea r8, str.SOFTWAREMicrosoftWindows_Search
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xa0]
call fcn.14001f440
nop
mov ebx, r13d
lea r8, [rsp + 0x40]
lea rdx, str.DataDirectory
lea rcx, [rbp + 0xa0]
call fcn.140013fe0
mov edi, 0x80070000
lea r12, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
test eax, eax
jne 0x14004a7b8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x14004a799
movzx ebx, ax
or ebx, edi
mov rcx, qword [rbp + 0x15b8]
mov r9d, ebx
mov r8, r12
mov edx, 0x784
call fcn.140020c10
test ebx, ebx
js 0x14004a8a2
mov r8d, dword [rsp + 0x54]
lea edx, [r8 - 1]
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax + rdx*2]
call fcn.1400251c8
test eax, eax
je 0x14004a7e2
lea rcx, [rsp + 0x40]
call fcn.140014540
mov r8d, dword [rsp + 0x54]
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
lea rdx, [0x1400a1498]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
test dword [0x1400ca100], esi
je 0x14004a821
mov r8, qword [rsp + 0x48]
lea rdx, [0x1400a2188]
lea rcx, [0x1400c8290]
call fcn.14005325c
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x48]
call fcn.14005be6c
test eax, eax
jne 0x14004a8a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x91
jne 0x14004a85c
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14005be6c
test eax, eax
jne 0x14004a8a2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, 0xfffffffc
jne 0x14004a868
cmp eax, 1
jne 0x14004a8a2
test eax, eax
jg 0x14004a870
mov ebx, eax
jmp 0x14004a875
movzx ebx, ax
or ebx, edi
mov rcx, qword [rbp + 0x15b8]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.DataDirectory:__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r12
mov edx, 0x79f
call fcn.140050428
call fcn.140017390
test al, al
je 0x14004a9eb
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetLogicalDrives]
mov r15d, eax
mov edi, r13d
mov r14d, 0x41
bt r15d, edi
jae 0x14004a9db
lea esi, [r14 + rdi]
movabs rax, 0x5c003a0020
mov qword [rbp + 0x12f0], rax
mov word [rbp + 0x12f0], si
lea rcx, [rbp + 0x12f0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
cmp eax, 3
jne 0x14004a9db
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
xor r8d, r8d
lea rdx, [0x14009f408]
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001459c
mov word [rax], si
mov rax, qword [rsp + 0x40]
or r9d, 0xffffffff
mov r8d, dword [rsp + 0x54]
lea rdx, str.System_Volume_InformationMicrosoftWindows_Search_
lea rcx, [rsp + 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x140006f84.0]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x48]
call fcn.14005be6c
test eax, eax
jne 0x14004a9db
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0x91
jne 0x14004a98d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.14005be6c
test eax, eax
jne 0x14004a9db
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, 0xfffffffc
jne 0x14004a999
cmp eax, 1
jne 0x14004a9db
test ebx, ebx
js 0x14004a9db
test eax, eax
jg 0x14004a9a5
mov ebx, eax
jmp 0x14004a9ae
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [rbp + 0x15b8]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, str.VolumeDataDirectory:__ls
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r12
mov edx, 0x7be
call fcn.140050428
inc edi
cmp edi, 0x1a
jb 0x14004a8c1
mov r14d, dword [rsp + 0x30]
lea rax, str.Applications
mov qword [rbp + 0x1300], rax
lea rax, str.CatalogNames
mov qword [rbp + 0x1308], rax
lea rax, str.Databases
mov qword [rbp + 0x1310], rax
lea rax, str.Gather
mov qword [rbp + 0x1318], rax
lea rax, str.Gathering_ManagerApplications
mov qword [rbp + 0x1320], rax
lea rax, str.UsnNotifier
mov qword [rbp + 0x1328], rax
lea rax, str.CrawlScopeManager
mov qword [rbp + 0x1330], rax
lea rax, str.CatalogListApplications
mov qword [rbp + 0x1338], rax
mov ecx, 2
call fcn.14002a178
mov r12d, eax
lea r15, [rbp + 0x1300]
sub r14d, 3
neg r14d
sbb rsi, rsi
add rsi, 8
lea rax, [rbp]
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], 0x41
mov word [rbp], r13w
lea rax, fcn.140019f80
mov qword [rbp - 0x18], rax
lea rax, [0x14008bba0]
mov qword [rbp - 0x20], rax
mov dword [rbp + 0x88], r13d
mov qword [rbp + 0x90], r13
mov r14, qword [r15]
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
mov r8, r14
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp - 0x20]
call fcn.140013ea0
mov edi, eax
test eax, eax
js 0x14004ab30
mov dword [rsp + 0x30], 0x100
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x1380]
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140044cdc
test eax, eax
je 0x14004ab30
lea rdx, [rbp + 0x1380]
lea rcx, [rbp - 0x20]
call fcn.14005b3b0
test eax, eax
jne 0x14004aae4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
test eax, eax
jle 0x14004ab30
movzx edi, ax
or edi, 0x80070000
cmp r12d, edi
je 0x14004ab43
mov ecx, 3
call fcn.14002a178
cmp eax, edi
jne 0x14004ab46
mov edi, r13d
mov rcx, qword [rbp + 0x15b8]
mov qword [rsp + 0x28], r14
lea rax, str.CleanupRegKey:__ls
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x7fc
call fcn.140050460
nop
test ebx, ebx
cmovs edi, ebx
mov ebx, edi
lea rcx, [rbp - 0x20]
call fcn.140013e30
add r15, 8
sub rsi, 1
jne 0x14004aa7d
cmp qword [0x1400c9cc0], r13
je 0x14004ac74
test ebx, ebx
js 0x14004abde
xor r8d, r8d
mov edx, 0x400003f2
lea rcx, [rbp + 0x980]
call fcn.14002827c
test dword [0x1400ca100], 0x800
je 0x14004ac74
lea rdx, [0x1400a0e98]
lea rcx, [0x1400c8290]
call fcn.1400218f4
jmp 0x14004ac74
xor r9d, r9d
lea r8, [0x1400a0f48]
lea edi, [r9 + 0x20]
mov edx, edi
lea rcx, [rbp + 0x1340]
call fcn.140006ce0
mov r9d, ebx
lea r8, str.0x_x
mov edx, edi
lea rcx, [rbp + 0x1300]
call fcn.140006ce0
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x1300]
lea r8, [rbp + 0x1340]
mov edx, 0xc00003f3
lea rcx, [rbp + 0x980]
call fcn.140050f44
test dword [0x1400ca100], 0x8000
je 0x14004ac58
mov r8d, ebx
lea rdx, [0x1400a2058]
lea rcx, [0x1400c8290]
call fcn.140053178
mov rcx, qword [rbp + 0x15b8]
mov r9d, ebx
lea r8, str.onecoreuap_base_appmodel_search_search_search_service_setup.cxx
mov edx, 0x813
call fcn.140020c10
nop
lea rcx, [rbp + 0xa0]
call fcn.140013e30
nop
lea rcx, [rbp + 0x980]
call fcn.14002bedc
nop
lea rcx, [rsp + 0x40]
call fcn.1400282a4
mov eax, ebx
mov rcx, qword [rbp + 0x1580]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x1690]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret