Function at 0x140005a60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x4c0
call fcn.1400100f0
sub rsp, rax
mov rax, qword [0x14001b018]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov r14, r8
mov r15, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x2a0]
call sub.VCRUNTIME140.dll_memset
mov rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rsi + rax*2], 0
jne 0x140005ab3
cmp rax, 0x104
ja 0x140005dd8
mov r8d, 0x104
mov rdx, rsi
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x140005dd8
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rax + 1]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x140005b93
call fcn.1400010f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_set_no_write_sharing_access_on_file.____lu_
mov rcx, rdi
call fcn.140007b80
lea edx, [rbx + 0x21]
mov rcx, r14
call fcn.140009890
test eax, eax
jne 0x140005dbb
call fcn.1400010f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_write_update.status_service_update_failure.____lu_
mov rcx, rdi
call fcn.140007b80
jmp 0x140005dbb
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
mov rdx, r15
lea rcx, [rsp + 0x90]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rax, [rsp + 0x90]
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140005bd0
add rdi, 0x13
cmp rdi, 0x104
jae 0x140005da7
lea rdx, str.programupdater.exe
lea rcx, [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x140005da7
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x90]
mov rcx, rsi
call fcn.140002d60
test eax, eax
jne 0x140005c45
call fcn.1400010f0
lea r9, [rsp + 0x90]
mov r8, rsi
lea rdx, str.Error_checking_if_the_updaters_are_the_same._nPath_1:__ls_nPath_2:__ls
mov rcx, rax
call fcn.140007b80
jmp 0x140005dbb
call fcn.1400010f0
mov rcx, rax
cmp dword [rsp + 0x40], 0
jne 0x140005c91
lea r9, [rsp + 0x90]
mov r8, rsi
lea rdx, str.The_updaters_do_not_match__updater_will_not_run._nPath_1:__ls_nPath_2:__ls
call fcn.140007b80
mov edx, 0x1b
mov rcx, r14
call fcn.140009890
test eax, eax
jne 0x140005dbb
call fcn.1400010f0
lea rdx, str.Could_not_write_update.status_updater_compare_failure.
jmp 0x140005db3
lea rdx, str.updater.exe_was_compared_successfully_to_the_installation_directory_updater.exe.
call fcn.140007a50
mov bpl, 1
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x140005cfd
call fcn.1400010f0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.updater.exe_module_could_not_be_loaded.___lu_
mov rcx, rdi
call fcn.140007b80
mov edx, 0x1c
mov rcx, r14
call fcn.140009890
test eax, eax
jne 0x140005dbb
call fcn.1400010f0
lea rdx, str.Could_not_write_update.status_no_updater_identity.
jmp 0x140005db3
mov r9d, 0x40
lea r8, [rsp + 0x50]
mov edx, 0x3ee
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x140005d31
call fcn.1400010f0
lea rdx, str.The_updater.exe_application_does_not_contain_the_Mozilla_updater_identity.
mov rcx, rax
call fcn.140007b80
xor bpl, bpl
lea rdx, str.moz_updater.exe_4cdccec4_5ee0_4a06_9817_4cd899a9db49
lea rcx, [rsp + 0x50]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140005d68
call fcn.1400010f0
lea rdx, str.The_updater.exe_identity_string_is_not_valid.
mov rcx, rax
call fcn.140007b80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140005cd7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test bpl, bpl
je 0x140005cd7
call fcn.1400010f0
lea rdx, str.The_updater.exe_application_contains_the_Mozilla_updater_identity.
mov rcx, rax
call fcn.140007a50
mov r8d, 1
mov rdx, rsi
mov rcx, r15
call fcn.140006d70
test eax, eax
setne dil
jmp 0x140005dbe
call fcn.1400010f0
lea rdx, str.Install_directory_updater_could_not_be_determined.
mov rcx, rax
call fcn.140007b80
xor dil, dil
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140005dd2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
movzx eax, dil
jmp 0x140005e2e
call fcn.1400010f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rsi
lea rdx, str.Filesystem_in_path__ls_is_not_supported___lu_
mov rcx, rbx
call fcn.140007b80
mov edx, 0x1f
mov rcx, r14
call fcn.140009890
test eax, eax
jne 0x140005e2c
call fcn.1400010f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_write_update.status_service_update_failure.____lu_
mov rcx, rbx
call fcn.140007b80
xor al, al
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.14000e7a0
mov rbx, qword [rsp + 0x508]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret