Function at 0x140005450
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x298
mov rdi, r8
mov r12, rdx
mov rbx, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x80]
mov r8d, 0x20a
xor edx, edx
call fcn.14000fe30
mov rcx, rbx
call fcn.1400173f8
cmp rax, 0x105
jae 0x1400055c6
lea rsi, [rsp + 0x80]
mov r8d, 0x104
mov rcx, rsi
mov rdx, rbx
call fcn.1400178c0
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1400055c6
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140005681
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005a64
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_set_no_write_sharing_access_on_file.____d_
mov r8d, eax
call fcn.14000d2d0
mov rcx, rdi
mov edx, 0x20
call fcn.14000dca0
test eax, eax
jne 0x1400055a8
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005aa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_service_update_failure.____d_
mov r8d, eax
call fcn.14000d2d0
xor esi, esi
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14000565e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000565e
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400059de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Filesystem_in_path__ls_is_not_supported___d_
mov r8, rbx
mov r9d, eax
call fcn.14000d2d0
mov rcx, rdi
mov edx, 0x1f
call fcn.14000dca0
test eax, eax
jne 0x14000565c
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005a21
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_service_update_failure.____d_
mov r8d, eax
call fcn.14000d2d0
xor esi, esi
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400192f0
mov eax, esi
add rsp, 0x298
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rsi, [rsp + 0x80]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14000fe30
mov r8d, 0x104
mov rcx, rsi
mov rdx, r12
call fcn.1400178c0
lea rdx, str.updater.exe
mov rcx, rsi
call int.14000e0c0
test eax, eax
je 0x1400057fe
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x3c]
mov rcx, rbx
call fcn.140002810
test eax, eax
je 0x14000583b
mov esi, dword [rsp + 0x3c]
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005aea
lea rcx, [0x140038fa8]
test esi, esi
je 0x140005883
lea rdx, str.updater.exe_was_compared_successfully_to_the_installation_directory_updater.exe.
call fcn.14000d250
mov rcx, rbx
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400058e7
mov r15, rax
lea r8, [rsp + 0x40]
mov rcx, rax
mov edx, 0x3ee
mov r9d, 0x40
call qword [sym.imp.USER32.dll_LoadStringA]
mov sil, 1
test eax, eax
jne 0x140005799
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005c7c
lea rcx, [0x140038fa8]
lea rdx, str.The_updater.exe_application_does_not_contain_the_Mozilla_updater_identity.
call fcn.14000d2d0
xor esi, esi
lea rdx, str.moz_updater.exe_4cdccec4_5ee0_4a06_9817_4cd899a9db49
lea rcx, [rsp + 0x40]
mov r8d, 0x35
call fcn.14000fd30
test eax, eax
je 0x14000592a
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005bb3
lea rcx, [0x140038fa8]
lea rdx, str.The_updater.exe_identity_string_is_not_valid.
call fcn.14000d2d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000598c
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005b2d
lea rcx, [0x140038fa8]
lea rdx, str.Install_directory_updater_could_not_be_determined.
call fcn.14000d2d0
jmp 0x1400055a8
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005b70
lea rcx, [0x140038fa8]
lea rdx, str.Error_checking_if_the_updaters_are_the_same._nPath_1:__ls_nPath_2:__ls
lea r9, [rsp + 0x80]
mov r8, rbx
call fcn.14000d2d0
jmp 0x1400055a8
lea rdx, str.The_updaters_do_not_match__updater_will_not_run._nPath_1:__ls_nPath_2:__ls
lea r9, [rsp + 0x80]
mov r8, rbx
call fcn.14000d2d0
mov rcx, rdi
mov edx, 0x1b
call fcn.14000dca0
test eax, eax
jne 0x1400055a8
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005cbf
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_updater_compare_failure.
jmp 0x1400059d4
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005bf6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.updater.exe_module_could_not_be_loaded.___d_
mov r8d, eax
call fcn.14000d2d0
jmp 0x14000598c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test sil, sil
je 0x14000598c
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005d02
lea rcx, [0x140038fa8]
lea rdx, str.The_updater.exe_application_contains_the_Mozilla_updater_identity.
call fcn.14000d250
mov rcx, r12
mov rdx, rbx
mov r8d, 1
call fcn.14000c6e0
test eax, eax
setne sil
jmp 0x1400055aa
mov rcx, rdi
mov edx, 0x1c
call fcn.14000dca0
test eax, eax
jne 0x1400055a8
mov eax, dword [0x1400393c0]
mov ecx, dword [0x140037cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005c39
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_no_updater_identity.
call fcn.14000d2d0
jmp 0x1400055a8
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400055eb
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400055eb
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005640
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005640
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000553a
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000553a
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000558c
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000558c
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005707
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005707
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005823
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005823
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005860
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005860
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400057dd
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400057dd
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000590c
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000590c
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400059c6
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400059c6
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005784
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005784
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400058d4
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400058d4
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000595d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000595d