Function at 0x140002fa0
Capabilities:
Copy file
Create service
Delete file
Modify service
Move file
Set registry value
Stop service

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4d0
mov ebp, ecx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x4c8], rax
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x140003073
mov r12, rax
lea rdi, [rsp + 0xa0]
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x105
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400030bb
lea rdx, str.MozillaMaintenance
mov rcx, r12
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
jne 0x140003103
cmp eax, 0x424
je 0x140003103
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003ef8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_service.____lu_
jmp 0x1400030f4
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003e76
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_service_manager.____lu_
mov r8d, eax
call fcn.140008ff0
xor ebp, ebp
jmp 0x14000391a
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003eb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_obtain_module_filename_when_attempting_to_install_service.____lu_
mov r8d, eax
call fcn.140008ff0
xor ebp, ebp
jmp 0x140003911
test rbx, rbx
je 0x140003577
lea rsi, [rsp + 0x2b0]
mov qword [rsi], 0
mov rcx, rbx
mov rdx, rsi
call fcn.140004ae0
mov edi, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x140003136
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x14000317b
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003f39
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_reset_security_ACE_on_service_handle._It_might_not_be_possible_to_start_the_service._This_error_should_never_happen.____lu_
mov r8d, eax
call fcn.140008ff0
lea r9, [rsp + 0x94]
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x1400031a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140003840
lea rsi, [rsp + 0x94]
mov edi, dword [rsi]
mov rcx, rdi
call fcn.14000af70
mov r14, rax
mov rcx, rbx
mov rdx, rax
mov r8d, edi
mov r9, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x140003665
cmp byte [0x14003a338], 0
je 0x1400036b3
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov rcx, qword [r14 + 0x10]
lea rax, [rsp + 0x84]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0x8c]
lea r9, [rsp + 0x88]
call fcn.140004710
mov edi, eax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x7c]
lea r9, [rsp + 0x78]
call fcn.140004710
test eax, eax
je 0x1400038c6
cmp ebp, 2
je 0x140003268
test edi, edi
je 0x140003268
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x90], eax
jae 0x140003984
mov rcx, rbx
call fcn.140002a30
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x14000393e
mov rbx, rax
lea rdx, str.MozillaMaintenance
mov rcx, rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov ecx, dword [rcx + 4]
test rbp, rbp
je 0x1400039d8
cmp eax, ecx
jg 0x140004189
lea rcx, [0x14003a118]
lea rdx, str.Sending_stop_request...
call fcn.140008ee0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea r8, [rsp + 0x2b0]
mov rcx, rbp
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x140003361
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x140003361
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004391
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Error_sending_stop_request.____lu_
mov r8d, eax
call fcn.140008ff0
mov rsi, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call rsi
mov rcx, rbp
call rsi
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400041ca
lea rcx, [0x14003a118]
lea rdx, str.Waiting_for_service_stop...
call fcn.140008ee0
lea rcx, str.MozillaMaintenance
mov edx, 0x1e
call fcn.140009f70
mov edi, eax
lea rcx, [0x1400310ea]
mov edx, 0x1e
call fcn.14000a2d0
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000420b
lea rcx, [0x14003a118]
lea rdx, str.Done_waiting_for_service_stop__last_service_state:__lu
mov r8d, edi
call fcn.140008ee0
xor ebp, ebp
cmp edi, 1
jne 0x140003a07
mov rdx, qword [r14 + 0x10]
lea rcx, [rsp + 0xa0]
call fcn.140014f38
test eax, eax
je 0x140003b07
mov rdx, qword [r14 + 0x10]
lea rcx, [rsp + 0xa0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140003d3a
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400042ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_overwrite_old_service_binary_file._This_should_never_happen__but_if_it_does_the_next_upgrade_will_fix_it__the_service_is_not_a_critical_component_that_needs_to_be_installed_for_upgrades_to_work.____lu_
mov r8d, eax
call fcn.140008ff0
mov rdi, qword [r14 + 0x10]
mov rcx, rdi
call fcn.14000b05c
cmp rax, 4
jb 0x140003b51
mov rbp, rax
inc rax
add rax, rax
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14000af70
mov rbx, rax
lea r8, [rbp + 2]
add r8, rbp
mov rcx, rax
xor edx, edx
call fcn.14000ce30
mov rcx, rbx
mov rdx, rdi
mov r8, rbp
call fcn.14000b198
lea rcx, [rbx + rbp*2]
add rcx, 0xfffffffffffffffa
lea rdx, [0x14003128c]
mov r8d, 3
call fcn.14000b198
mov rcx, qword [r14 + 0x10]
mov rdx, rbx
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x140003bd5
mov rdx, qword [r14 + 0x10]
lea rcx, [rsp + 0xa0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [0x14003a328]
mov edx, dword [0x140038d6c]
mov rbp, qword gs:[0x58]
mov rdx, qword [rbp + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140003c25
cmp ecx, edx
jg 0x140004547
lea rcx, [0x14003a118]
lea rdx, str.The_new_service_binary_was_copied_in_by_first_moving_the_old_one_out_of_the_way.
call fcn.140008ee0
mov ebp, 1
jmp 0x140003c42
test ebp, ebp
je 0x140003836
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0x10
lea rdx, str.MozillaMaintenance
lea r8, str.Mozilla_Maintenance_Service
mov rcx, r12
mov r9d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
test rax, rax
je 0x140003888
mov rbx, rax
lea rsi, [rsp + 0x2b0]
mov qword [rsi], 0
mov rcx, rax
mov rdx, rsi
call fcn.140004ae0
mov edi, eax
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000360e
call qword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x140003653
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400040c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_set_security_ACE_on_service_handle__the_service_will_not_be_able_to_be_started_from_unelevated_processes._This_error_should_never_happen.____lu_
mov r8d, eax
call fcn.140008ff0
mov rcx, rbx
call fcn.140002a30
mov ebp, 1
jmp 0x140003908
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003f7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_open_service_but_could_not_query_service_config.____lu_
mov r8d, eax
call fcn.140008ff0
mov rcx, r14
call fcn.14000b190
jmp 0x140003881
mov r15, qword [r14 + 0x10]
mov rcx, r15
call fcn.14000b05c
cmp rax, 3
jb 0x140003729
mov rdi, rax
lea rdx, str.maintenanceservice_tmp.exe
mov rcx, r15
call fcn.14000d074
test rax, rax
jne 0x140003729
cmp word [r15], 0x22
jne 0x140003729
cmp word [r15 + rdi*2 - 2], 0x22
jne 0x140003729
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000430f
lea rcx, [0x14003a118]
lea rdx, str.The_MozillaMaintenance_service_path_is_correct.
call fcn.140008ee0
jmp 0x1400031e0
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003fbb
lea rcx, [0x14003a118]
lea rdx, str.The_MozillaMaintenance_path_is_NOT_correct._It_was:__ls
mov r8, r15
call fcn.140008ee0
lea rsi, [rsp + 0x2b0]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14000ce30
mov r8d, 0x104
mov rcx, rsi
mov rdx, r15
call fcn.14000b198
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140003a14
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000403d
lea rdi, str.Couldnt_remove_file_spec.____lu_
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
mov rdx, rdi
mov r8d, eax
call fcn.140008ff0
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140003ffc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_fix_service_path._This_should_never_happen.____lu_
mov r8d, eax
call fcn.140008ff0
mov ebp, 1
jmp 0x140003900
mov ebp, 1
jmp 0x140003911
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004085
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_determine_buffer_size_for_query_service_config.____lu_
mov r8d, eax
call fcn.140008ff0
xor ebp, ebp
jmp 0x140003908
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004107
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_create_Windows_service._This_error_should_never_happen_since_a_service_install_should_only_be_called_when_elevated.____lu_
jmp 0x1400030f4
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004148
lea rcx, [0x14003a118]
lea rdx, str.Could_not_obtain_version_number_from_new_path
call fcn.140008ff0
xor ebp, ebp
mov rcx, r14
call fcn.14000b190
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x4c8]
xor rcx, rsp
call fcn.140016cb0
mov eax, ebp
add rsp, 0x4d0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000424c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_service_manager.____lu_
mov r8d, eax
call fcn.140008ff0
jmp 0x140003a05
jne 0x1400039bd
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x8c], eax
jb 0x140003268
jne 0x1400039bd
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x88], eax
jb 0x140003268
jne 0x1400039bd
mov eax, dword [rsp + 0x84]
cmp eax, dword [rsp + 0x74]
jb 0x140003268
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x14000382c
cmp eax, ecx
jg 0x14000428d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14003a118]
lea rdx, str.Could_not_open_service.____lu_
mov r8d, eax
call fcn.140008ff0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebp, ebp
mov rcx, r14
call fcn.14000b190
jmp 0x140003911
lea rdx, [0x1400310ea]
lea rdi, [rsp + 0x2b0]
mov rcx, rdi
call fcn.140028000
test eax, eax
je 0x140003b90
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
mov rcx, rbx
mov edx, 0xffffffff
mov r8d, 0xffffffff
mov r9d, 0xffffffff
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov ecx, dword [0x14003a328]
mov edx, dword [0x140038d6c]
mov rdi, qword gs:[0x58]
mov rdx, qword [rdi + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140003bc1
cmp ecx, edx
jg 0x140004495
lea rcx, [0x14003a118]
lea rdx, str.Fixed_service_path_to:__ls.
lea r8, [rsp + 0x2b0]
call fcn.140008ee0
mov byte [0x14003a338], 1
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400044d6
lea rcx, [0x14003a118]
lea rdx, str.Restarting_install_action:__d
mov r8d, ebp
call fcn.140008ee0
mov ecx, ebp
call fcn.140002fa0
mov ebp, eax
jmp 0x140003900
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400043d2
lea rcx, [0x14003a118]
lea rdx, str.File_is_already_in_the_correct_location__no_action_needed_for_upgrade.__The_path_is:___ls_
lea r8, [rsp + 0xa0]
call fcn.140008ee0
mov ebp, 1
jmp 0x140003a07
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004413
lea rcx, [0x14003a118]
lea rdx, str.Service_binary_path_was_less_than_3__service_will_not_be_updated.__This_should_never_happen.
call fcn.140008ff0
xor ebp, ebp
jmp 0x140003cb1
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004517
lea rdi, str.Couldnt_append_file_spec.____lu_
jmp 0x1400037d3
cmp ecx, edx
jg 0x14000452f
lea rdi, str.Could_not_fix_service_path.____lu_
jmp 0x1400037d3
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400045c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [r14 + 0x10]
mov dword [rsp + 0x20], eax
lea rcx, [0x14003a118]
lea rdx, str.Could_not_move_old_service_file_out_of_the_way_from:___ls__to___ls_._Service_will_not_be_upgraded.____lu_
mov r9, rbx
call fcn.140008ff0
xor ebp, ebp
jmp 0x140003ca9
cmp ecx, edx
jg 0x14000460a
lea rcx, [0x14003a118]
lea rdx, str.The_new_service_binary_could_not_be_copied_in._The_service_will_not_be_upgraded.
call fcn.140008ff0
xor ebp, ebp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x14003a328]
mov edx, dword [0x140038d6c]
mov rdi, qword gs:[0x58]
mov rdx, qword [rdi + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140003c8e
cmp ecx, edx
jg 0x140004588
lea rcx, [0x14003a118]
lea rdx, str.The_old_temp_service_path_was_deleted:__ls.
mov r8, rbx
call fcn.140008ee0
jmp 0x140003ca9
cmp ecx, edx
jg 0x14000464b
lea rcx, [0x14003a118]
lea rdx, str.The_old_temp_service_path_was_not_deleted.
call fcn.140008ff0
mov rcx, rbx
call fcn.14000b190
lea rcx, [rsp + 0xa0]
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [0x14003a328]
mov edx, dword [0x140038d6c]
mov rbx, qword gs:[0x58]
mov rdx, qword [rbx + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140003d12
cmp ecx, edx
jg 0x140004350
lea rcx, [0x14003a118]
lea rdx, str.Deleting_the_old_file_path_on_the_next_reboot:__ls.
lea r8, [rsp + 0xa0]
call fcn.140008ee0
jmp 0x140003a07
cmp ecx, edx
jg 0x140004454
lea rcx, [0x14003a118]
lea rdx, str.Call_to_delete_the_old_file_path_failed:__ls.
lea r8, [rsp + 0xa0]
call fcn.140008ff0
jmp 0x140003a07
lea rdi, [rsp + 0x2b0]
mov r8d, 0x100
mov rcx, rdi
xor edx, edx
call fcn.14000ce30
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
mov edx, dword [rsp + 0x7c]
mov r9d, dword [rsp + 0x80]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea r8, str._d._d._d._d
mov edx, 0x80
mov rcx, rdi
call fcn.140027f10
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionUninstallMozillaMaintenanceService
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20206
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003dfc
mov rcx, rdi
call fcn.14000b05c
add eax, eax
add eax, 2
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea rdx, str.DisplayVersion
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x140003e34
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400046cd
lea rcx, [0x14003a118]
lea rdx, str.The_uninstaller_version_string_could_not_be_updated.
call fcn.140008ee0
mov eax, dword [0x14003a328]
mov ecx, dword [0x140038d6c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000468c
lea rcx, [0x14003a118]
lea rdx, str.The_new_service_binary_was_copied_in.
call fcn.140008ee0
mov ebp, 1
jmp 0x140003cb1
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003098
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003098
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400030e0
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400030e0
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000305a
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000305a
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000315f
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000315f
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000368a
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000368a
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000374e
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000374e
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003810
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003810
lea rcx, [0x14003a328]
call fcn.14000b3c0
lea rdi, str.Couldnt_remove_file_spec.____lu_
cmp dword [0x14003a328], 0xffffffff
jne 0x1400037d3
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400037d3
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003865
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003865
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003637
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003637
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400038ad
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400038ad
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400038eb
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400038eb
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400032de
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400032de
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003397
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003397
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400033f3
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400033f3
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003963
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003963
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x1400039e0
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x1400039e0
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000346f
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000346f
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003711
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003711
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003cf2
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003cf2
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003345
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003345
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003b2c
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003b2c
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003b76
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003b76
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003d1a
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003d1a
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003a9c
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003a9c
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003ae3
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003ae3
lea rcx, [0x14003a328]
call fcn.14000b3c0
lea rdi, str.Couldnt_append_file_spec.____lu_
jmp 0x140004050
lea rcx, [0x14003a328]
call fcn.14000b3c0
lea rdi, str.Could_not_fix_service_path.____lu_
jmp 0x140004050
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x14000355a
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x14000355a
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003c76
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003c76
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003bfa
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003bfa
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003c2d
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003c2d
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003c96
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003c96
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003e59
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003e59
lea rcx, [0x14003a328]
call fcn.14000b3c0
cmp dword [0x14003a328], 0xffffffff
jne 0x140003e21
mov qword [0x14003a118], 0
lea rcx, [0x140002780]
call fcn.14000b578
lea rcx, [0x14003a328]
call fcn.14000b428
jmp 0x140003e21