Function at 0x140004274
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov r13, r8
mov qword [rsp + 0x50], r8
mov r14, rdx
mov qword [rsp + 0x48], rdx
mov r12, rcx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x1b0]
call fcn.140008490
or rax, 0xffffffffffffffff
xor esi, esi
inc rax
cmp word [r12 + rax*2], si
jne 0x1400042d1
mov r15d, 0x104
cmp rax, r15
ja 0x14000472d
mov r8d, r15d
lea rcx, [rbp + 0x1b0]
mov rdx, r12
call fcn.14000903c
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
mov ecx, esi
sete cl
test ecx, ecx
je 0x14000472d
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov edx, 0x80000000
mov rcx, r12
mov dword [rsp + 0x20], 3
lea edi, [r9 + 1]
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400043f8
mov eax, dword [0x14002def4]
lea r14, [0x14001da60]
test dil, al
jne 0x140004385
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15, [0x14002df30]
mov r8d, eax
mov rcx, r15
lea rdx, str.Could_not_set_no_write_sharing_access_on_file.____d_
call fcn.140007010
mov edx, 0x20
mov rcx, r13
call fcn.1400069c8
test eax, eax
jne 0x140004618
mov eax, dword [0x14002def4]
test dil, al
jne 0x1400043db
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_write_update.status_service_update_failure.____d_
mov rcx, r15
mov r8d, eax
call fcn.140007010
jmp 0x140004618
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x20a
call fcn.140008490
mov r8, r15
lea rcx, [rbp - 0x60]
mov rdx, r14
call fcn.14000903c
lea rdx, str.updater.exe
lea rcx, [rbp - 0x60]
call fcn.140006994
test eax, eax
jne 0x140004465
mov eax, dword [0x14002def4]
test dil, al
jne 0x140004452
or eax, edi
mov qword [0x14002df30], rsi
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Install_directory_updater_could_not_be_determined.
lea rcx, [0x14002df30]
jmp 0x140004613
lea r8, [rsp + 0x40]
mov rcx, r12
lea rdx, [rbp - 0x60]
call fcn.140001c98
test eax, eax
mov eax, dword [0x14002def4]
jne 0x1400044bf
test dil, al
jne 0x1400044a0
or eax, edi
mov qword [0x14002df30], rsi
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea r9, [rbp - 0x60]
mov r8, r12
lea rdx, str.Error_checking_if_the_updaters_are_the_same._nPath_1:__ls_nPath_2:__ls
lea rcx, [0x14002df30]
call fcn.140007010
jmp 0x140004618
lea r14, [0x14001da60]
cmp dword [rsp + 0x40], esi
jne 0x140004548
test dil, al
jne 0x1400044e8
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea r15, [0x14002df30]
mov r8, r12
mov rcx, r15
lea r9, [rbp - 0x60]
lea rdx, str.The_updaters_do_not_match__updater_will_not_run._nPath_1:__ls_nPath_2:__ls
call fcn.140007010
mov edx, 0x1b
mov rcx, r13
call fcn.1400069c8
test eax, eax
jne 0x140004618
mov eax, dword [0x14002def4]
test dil, al
jne 0x14000453c
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Could_not_write_update.status_updater_compare_failure.
jmp 0x140004610
test dil, al
jne 0x140004564
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea r15, [0x14002df30]
mov rcx, r15
lea rdx, str.updater.exe_was_compared_successfully_to_the_installation_directory_updater.exe.
call fcn.140006fb8
xor edx, edx
mov rcx, r12
mov r13b, dil
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x140004633
mov eax, dword [0x14002def4]
test dil, al
jne 0x1400045bc
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.updater.exe_module_could_not_be_loaded.___d_
mov rcx, r15
mov r8d, eax
call fcn.140007010
mov rcx, qword [rsp + 0x50]
mov edx, 0x1c
call fcn.1400069c8
test eax, eax
jne 0x140004618
mov eax, dword [0x14002def4]
test dil, al
jne 0x140004609
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Could_not_write_update.status_no_updater_identity.
mov rcx, r15
call fcn.140007010
lea rcx, [rbx - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14000462b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, sil
jmp 0x1400047ca
mov r9d, 0x40
lea r8, [rsp + 0x60]
mov edx, 0x3ee
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
jne 0x140004684
mov eax, dword [0x14002def4]
test dil, al
jne 0x140004672
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.The_updater.exe_application_does_not_contain_the_Mozilla_updater_identity.
mov rcx, r15
call fcn.140007010
mov r13b, sil
lea rdx, str.moz_updater.exe_4cdccec4_5ee0_4a06_9817_4cd899a9db49
lea rcx, [rsp + 0x60]
call fcn.14001d710
test eax, eax
je 0x1400046cd
mov eax, dword [0x14002def4]
test dil, al
jne 0x1400046bb
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.The_updater.exe_identity_string_is_not_valid.
mov rcx, r15
call fcn.140007010
mov r13b, sil
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test r13b, r13b
je 0x1400045d4
mov eax, dword [0x14002def4]
test dil, al
jne 0x140004703
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.The_updater.exe_application_contains_the_Mozilla_updater_identity.
mov rcx, r15
call fcn.140006fb8
mov rcx, qword [rsp + 0x48]
mov r8d, edi
mov rdx, r12
call fcn.140005ebc
test eax, eax
setne sil
jmp 0x140004618
mov eax, dword [0x14002def4]
lea r14, [0x14001da60]
mov edi, 1
test dil, al
jne 0x14000475b
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15, [0x14002df30]
mov r8, r12
mov r9d, eax
lea rdx, str.Filesystem_in_path__ls_is_not_supported___d_
mov rcx, r15
call fcn.140007010
mov edx, 0x1f
mov rcx, r13
call fcn.1400069c8
test eax, eax
jne 0x1400047c8
mov eax, dword [0x14002def4]
test dil, al
jne 0x1400047b0
or eax, edi
mov qword [0x14002df30], rsi
mov rcx, r14
mov dword [0x14002def4], eax
call fcn.1400075b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_write_update.status_service_update_failure.____d_
mov rcx, r15
mov r8d, eax
call fcn.140007010
xor al, al
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.140007300
mov rbx, qword [rsp + 0x528]
add rsp, 0x4d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret