Function at 0x140005d90
Capabilities:
Copy file
Create directory
Create process on windows
Delete file
Get common file path
Query or enumerate registry value
Read file on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1428
call fcn.14001bee0
sub rsp, rax
mov rax, qword [0x140036030]
xor rax, rsp
mov qword [rsp + 0x1420], rax
cmp ecx, 2
jg 0x140005e19
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000640b
lea rdx, str.Not_enough_command_line_arguments_to_execute_a_service_command
call fcn.140008c60
xor edi, edi
mov rcx, qword [rsp + 0x1420]
xor rcx, rsp
call fcn.140018400
mov eax, edi
add rsp, 0x1428
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, rdx
mov edi, ecx
lea rbx, [rsp + 0xb60]
mov r8d, 0x20a
mov rcx, rbx
xor edx, edx
call fcn.14000b870
mov rcx, rbx
call fcn.1400258f0
mov ecx, dword [0x140038330]
mov edx, dword [0x140036d60]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140005e83
cmp ecx, edx
jg 0x14000648d
mov r8, qword [rsi + 0x10]
lea rdx, str.Executing_service_command__ls__ID:__ls
lea r9, [rsp + 0xb60]
call fcn.140008b50
jmp 0x140005e9b
cmp ecx, edx
jg 0x14000650f
mov r8, qword [rsi + 0x10]
lea rdx, str.Executing_service_command__ls
call fcn.140008b50
mov rcx, qword [rsi + 0x10]
lea rdx, str.software_update
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x140005f39
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400064ce
mov r8, qword [rsi + 0x10]
lea rdx, str.Service_command_not_recognized:__ls.
call fcn.140008c60
xor edi, edi
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000644c
test edi, edi
lea rax, str.Failure
lea r9, str.Success
cmove r9, rax
mov r8, qword [rsi + 8]
lea rdx, str.service_command__ls_complete_with_result:__ls.
call fcn.140008b50
jmp 0x140005df3
cmp edi, 5
jb 0x140005f8e
mov rcx, qword [rsi + 0x20]
call fcn.140008d90
test al, al
je 0x140005f8e
mov rbx, qword [rsi + 0x20]
mov rcx, rbx
call fcn.140013abc
cmp rax, 9
ja 0x140005fbf
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140006591
lea rdx, str.The_patch_directory_path_length_is_not_valid_for_this_application.
jmp 0x140005dec
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140006550
lea rdx, str.The_patch_directory_path_is_not_valid_for_this_application.
jmp 0x140005dec
lea rcx, [rbx + rax*2]
add rcx, 0xffffffffffffffec
lea rdx, str.updates0
mov r8d, 0xa
call fcn.140011dac
test eax, eax
je 0x14000600e
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400065d2
lea rdx, str.The_patch_directory_path_subdirectory_is_not_valid_for_this_application.
jmp 0x140005dec
mov rbx, qword [rsi + 0x20]
lea r14, [rsp + 0x1000]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
mov rcx, r14
call fcn.140008840
test eax, eax
je 0x14000608a
lea r14, [rsp + 0x1210]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, [0x14002fa6c]
mov rcx, rbx
mov r8, r14
call fcn.140008940
test eax, eax
je 0x14000608a
lea rcx, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x14000608a
lea rcx, [rsp + 0x1000]
call fcn.140012068
lea rcx, [rsp + 0x1000]
call fcn.140008840
test eax, eax
je 0x1400060ef
lea r14, [rsp + 0x1210]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, str..status
mov rcx, rbx
mov r8, r14
call fcn.140008940
test eax, eax
je 0x1400060ef
lea rcx, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x1400060ef
lea rcx, [rsp + 0x1000]
call fcn.140012068
lea rcx, [rsp + 0x1000]
call fcn.140008840
test eax, eax
je 0x140006154
lea r14, [rsp + 0x1210]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, [0x14002f86a]
mov rcx, rbx
mov r8, r14
call fcn.140008940
test eax, eax
je 0x140006154
lea rcx, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x140006154
lea rcx, [rsp + 0x1000]
call fcn.140012068
mov rbx, qword [rsi + 0x20]
lea r14, [rsp + 0x1000]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
mov rcx, r14
call fcn.1400258f0
test eax, eax
je 0x1400061ce
lea r14, [rsp + 0xd70]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
mov rcx, r14
call fcn.140008840
test eax, eax
je 0x1400061ce
lea r14, [rsp + 0x1210]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, [0x14002fa6c]
mov rcx, rbx
mov r8, r14
call fcn.140008940
test eax, eax
jne 0x1400061ff
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400069e4
lea rdx, str.Unable_to_write_to_secure_ID_file.
jmp 0x140005dec
lea rcx, [rsp + 0xd70]
lea rdx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x1400061ce
lea rdx, [0x14002fb94]
lea rcx, [rsp + 0xd70]
call fcn.140011f90
test rax, rax
je 0x1400061ce
mov rbx, rax
lea rdx, str._ls_n
lea r14, [rsp + 0x1000]
mov rcx, rax
mov r8, r14
call fcn.140025990
mov ebp, eax
mov rcx, rbx
call fcn.140012090
cmp ebp, 0xffffffff
je 0x1400061ce
cmp edi, 6
jb 0x140006629
mov rcx, qword [rsi + 0x28]
call fcn.140008d90
test al, al
je 0x140006629
mov r15, qword [rsi + 0x28]
mov rcx, r15
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x140006629
mov ebp, eax
mov r12d, eax
add r12, r12
mov rcx, r12
call fcn.14000a430
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call fcn.14000b870
mov rcx, r15
mov rdx, rbx
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x140006621
lea r9, [rsp + 0x1210]
mov qword [r9], 0
lea rcx, [0x140027010]
xor edx, edx
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140006621
mov r12, qword [rsp + 0x1210]
mov rcx, r12
call fcn.140013abc
test rax, rax
je 0x140006613
mov r13, rax
cmp word [r12 + rax*2 - 2], 0x5c
jne 0x1400066a8
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.140011dac
test eax, eax
je 0x140006712
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [rsp + 0x1210], 0
lea rax, [rsp + 0x1210]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
lea r8, [0x14002f6ac]
mov rcx, 0xffffffff80000002
mov r9d, 0x10002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140006621
mov r13d, dword [rsp + 0x1210]
cmp r13, 4
jb 0x140006621
shr r13d, 1
lea r15, [r13*2]
mov rcx, r15
call fcn.14000a430
mov r12, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000b870
lea rax, [rsp + 0x1210]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], 0
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersion
lea r8, [0x14002f6ac]
mov rcx, 0xffffffff80000002
mov r9d, 0x10002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140006a25
mov rcx, r12
call fcn.14000a438
jmp 0x140006621
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005de5
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005de5
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005f10
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005f10
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005e69
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005e69
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005ed9
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005ed9
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005e8b
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005e8b
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005fb3
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005fb3
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140005f82
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140005f82
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006002
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006002
test r12, r12
je 0x140006621
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call fcn.14000a438
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140006e32
lea rdx, str.The_install_directory_path_is_not_valid_for_this_application.
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x37
call fcn.140008a00
xor edi, edi
test eax, eax
jne 0x140005df3
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400070fd
lea rdx, str.Could_not_write_update.status_for_previous_failure.
call fcn.140008c60
jmp 0x140005df3
lea rax, [r13 + 1]
mov qword [rsp + 0x50], rax
lea rax, [r13*2 + 4]
add r13, 2
mov r15, 0xffffffffffffffff
cmovns r15, rax
mov rcx, r15
call fcn.14000a430
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14000b870
mov rcx, rbp
mov rdx, r13
mov r9, r12
call fcn.140008d10
mov rcx, rbx
mov rdx, rbp
mov r8, qword [rsp + 0x50]
call fcn.140011dac
mov r15d, eax
mov rcx, rbp
call fcn.14000a438
test r15d, r15d
jne 0x140006333
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, rbx
call fcn.14000a438
lea ebp, [rdi - 3]
cmp ebp, 4
jne 0x140006741
mov rcx, qword [rsi + 0x30]
lea rdx, [0x14002fb78]
call fcn.140013a68
test eax, eax
jne 0x140006747
jmp 0x140006760
jb 0x14000695e
mov rcx, qword [rsi + 0x30]
lea rdx, str._replace
call fcn.14000bb2c
test rax, rax
je 0x1400068cc
lea rbx, [rsi + 0x18]
lea r15, [rsp + 0x950]
mov r8d, 0x20a
mov rcx, r15
xor edx, edx
call fcn.14000b870
mov ecx, ebp
mov rdx, rbx
mov r8, r15
call fcn.140004f80
test eax, eax
je 0x14000688d
lea rax, [rsp + 0x1210]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMozillaMaintenanceService3932ecacee736d366d6436db0f55bce4
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140006ad2
lea rcx, [rsp + 0x950]
lea rdx, [rsp + 0x1210]
call fcn.14000a1b0
test eax, eax
je 0x14000699d
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007b07
lea rdx, str.Checking_for_Maintenance_Service_registry._key:__ls
lea r15, [rsp + 0x1210]
mov r8, r15
call fcn.140008b50
mov qword [rsp + 0x1000], 0
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
mov rdx, r15
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140006adc
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007b89
lea rdx, str.The_maintenance_service_registry_key_does_not_exist.
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x39
jmp 0x1400069a6
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007ac6
lea rdx, str.Could_not_get_the_installation_directory
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x21
jmp 0x1400069a6
mov rbx, qword [rsi + 0x30]
movzx ecx, word [rbx]
test cx, cx
je 0x140006760
add rbx, 2
call fcn.140013324
test eax, eax
jne 0x1400068d0
cmp edi, 7
jl 0x14000695e
mov rcx, qword [rsi + 0x30]
call fcn.140008d90
test al, al
je 0x14000695e
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rsi + 0x30]
mov r8d, 0x104
call fcn.140011dac
test eax, eax
je 0x140006760
cmp edi, 8
jae 0x140006bfb
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000810a
lea rdx, str.Installation_directory_and_working_directory_must_be_the_same_for_non_staged_updates._Exiting.
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x36
jmp 0x140006663
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007a85
lea rdx, str.The_working_directory_path_is_not_valid_for_this_application.
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x38
jmp 0x140006663
mov rcx, qword [rsi + 0x20]
mov edx, 0x35
call fcn.140008a00
test eax, eax
jne 0x140005df1
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007b48
lea rdx, str.Could_not_write_update.status_for_previous_failure.
jmp 0x140005dec
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400061f3
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400061f3
mov rcx, r12
mov rdx, r13
call fcn.140013be8
test rax, rax
je 0x1400063fe
mov r13, rax
cmp word [r12 + rax*2 - 2], 0x5c
jne 0x140006a5d
mov rcx, rbx
mov rdx, r12
mov r8, r13
call fcn.140011dac
test eax, eax
jne 0x1400063fe
jmp 0x140006ac5
lea rax, [r13 + 1]
mov qword [rsp + 0x50], rax
lea rax, [r13*2 + 4]
add r13, 2
mov rbp, 0xffffffffffffffff
cmovns rbp, rax
mov rcx, rbp
call fcn.14000a430
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call fcn.14000b870
mov rcx, r15
mov rdx, r13
mov r9, r12
call fcn.140008d10
mov rcx, rbx
mov rdx, r15
mov r8, qword [rsp + 0x50]
call fcn.140011dac
mov ebp, eax
mov rcx, r15
call fcn.14000a438
test ebp, ebp
jne 0x1400063fe
mov rcx, r12
call fcn.14000a438
jmp 0x14000671b
mov rcx, qword [rsp + 0x1210]
jmp 0x140006ae4
mov rcx, qword [rsp + 0x1000]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r14, [rsp + 0x740]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, [rsp + 0x950]
mov r8d, 0x104
mov rcx, r14
call fcn.140013f84
lea rdx, str.updater.exe
mov rcx, r14
call fcn.1400258a0
test eax, eax
jne 0x140006b5c
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007ff9
lea rdx, str.Install_directory_updater_could_not_be_determined.
call fcn.140008c60
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x740]
lea rdx, [rsp + 0x950]
call fcn.1400050a0
mov r14d, eax
lea rcx, [rsp + 0x530]
mov r8d, 0x20a
xor edx, edx
call fcn.14000b870
test r14b, r14b
je 0x140006ce8
lea rdx, [rsp + 0x530]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140006cab
lea rcx, [rsp + 0x530]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140006de9
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400080f5
lea rdi, str.Couldnt_remove_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x140006cd7
mov rcx, qword [rsi + 0x38]
lea rdx, [0x14002fb78]
call fcn.140013a68
test eax, eax
je 0x140006c28
mov rcx, qword [rsi + 0x38]
lea rdx, str._replace
call fcn.14000bb2c
test rax, rax
je 0x14000691f
mov r9, qword [rsi + 0x30]
lea rbx, [rsp + 0x1210]
mov rcx, rbx
call fcn.140001c80
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140006da1
mov rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0x1210]
mov r8d, 0x104
call fcn.140011dac
test eax, eax
je 0x140006760
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008193
lea rdx, str.The_apply_to_directory_must_be_the_same_as_or_a_child_of_the_installation_directory__Exiting.
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x34
jmp 0x1400069a6
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000814b
lea rdi, str.Could_not_obtain_module_filename_when_attempting_to_use_a_secure_updater_path.____lu_
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rdi
mov r8d, eax
call fcn.140008c60
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007c99
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_copy_path_to_secure_location.____lu_
mov r8d, eax
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x31
call fcn.140008a00
xor edi, edi
test eax, eax
jne 0x140006d67
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000803a
lea rdx, str.Could_not_write_update.status_could_not_copy_updater_error
call fcn.140008c60
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007cda
mov r8, qword [rsi + 0x10]
lea rdx, str.Service_command__ls_complete.
call fcn.140008b50
jmp 0x140005eeb
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400081d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Couldnt_remove_file_spec_when_attempting_to_verify_the_working_directory_path.____lu_
mov r8d, eax
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x47
jmp 0x1400069a6
lea rdx, [0x14002f902]
lea rcx, [rsp + 0x530]
call fcn.1400258a0
test eax, eax
jne 0x140006e73
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007146
lea rdi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x140006cd7
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x14000664e
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x14000664e
lea r14, [rsp + 0x530]
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.updater.exe
mov rcx, r14
call fcn.1400258a0
mov ecx, dword [0x140038330]
mov edx, dword [0x140036d60]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000713e
cmp ecx, edx
jg 0x140008228
mov r8, qword [rbx]
mov qword [rsp + 0x20], r14
lea rdx, str.Passed_in_path:__ls__ignored___Install_dir_has:__ls__Using_this_path_for_updating:__ls.
lea r15, [rsp + 0x740]
mov r9, r15
call fcn.140008b50
mov rcx, r14
call fcn.140005bc0
mov rcx, r15
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140006ce8
mov qword [rbx], r14
lea rcx, [rsp + 0x320]
mov r8d, 0x20a
xor edx, edx
call fcn.14000b870
lea rcx, [rsp + 0x110]
mov r8d, 0x20a
xor edx, edx
call fcn.14000b870
mov rcx, r14
call fcn.140013abc
cmp rax, 0x104
ja 0x140006f6e
lea r14, [rsp + 0x110]
lea rdx, [rsp + 0x530]
mov r8d, 0x105
mov rcx, r14
call fcn.140013f84
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140007994
lea r14, [rsp + 0xd70]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
mov ecx, ebp
mov rdx, rbx
mov r8, r14
call fcn.140004f80
test eax, eax
je 0x14000715e
mov rcx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
lea rdx, [rsp + 0xd70]
call fcn.1400050a0
mov ecx, dword [0x140038330]
mov edx, dword [0x140036d60]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test al, al
je 0x1400071dd
cmp ecx, edx
jg 0x140008269
lea rdx, str.Starting_update_process_as_the_service_in_session_0.
call fcn.140008b50
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf80], xmm0
movaps xmmword [rsp + 0xf90], xmm0
movaps xmmword [rsp + 0xfa0], xmm0
movaps xmmword [rsp + 0xfb0], xmm0
movaps xmmword [rsp + 0xfc0], xmm0
movaps xmmword [rsp + 0xfd0], xmm0
xor r13d, r13d
mov qword [rsp + 0xfe0], r13
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], r13
mov dword [rsp + 0xf80], 0x68
lea rax, str.winsta0Default
mov qword [rsp + 0xf90], rax
mov eax, ebp
mov qword [rsp + 0x78], rax
xor r14d, r14d
mov r15, qword [rbx + r13*8]
mov rcx, r15
mov dx, 0x22
call fcn.14000ba00
mov qword [rsp + 0x50], rax
cmp word [r15], 0
je 0x1400070bd
mov rcx, r15
lea rdx, [0x14002ce90]
call fcn.140013fcc
xor r12d, r12d
test rax, rax
setne r12b
cmp qword [rsp + 0x50], 0
jne 0x1400070c5
mov rcx, r15
call fcn.140013abc
add rax, r12
add r14, r12
add r14, rax
inc r14
inc r13
cmp r13, qword [rsp + 0x78]
jne 0x14000705d
jmp 0x140007251
mov r12d, 1
jmp 0x140007092
mov rax, r12
xor ecx, ecx
movzx edx, word [r15]
cmp edx, 0x22
je 0x1400070de
cmp edx, 0x5c
je 0x1400070f1
test edx, edx
jne 0x1400070ed
jmp 0x1400070a5
lea rdx, [rcx + 1]
cmp rdx, 1
adc rcx, 1
add rax, rcx
xor ecx, ecx
jmp 0x1400070f4
inc rcx
inc rax
add r15, 2
jmp 0x1400070ca
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006697
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006697
cmp ecx, edx
jle 0x140006e26
lea rcx, [0x140038330]
call fcn.14000a550
lea rdi, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x14000815e
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400082aa
lea rdx, str.Could_not_get_the_installation_directory
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x21
call fcn.140008a00
xor edi, edi
test eax, eax
jne 0x140007982
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400082eb
lea rdx, str.Could_not_write_update.status_for_GetInstallationDir_failure.
call fcn.140008c60
jmp 0x140007982
cmp ecx, edx
jg 0x14000832c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_start_process_due_to_certificate_check_error_on_updater.exe._Updating_update.status.____lu_
mov r8d, eax
call fcn.140008c60
mov rcx, qword [rsi + 0x20]
mov edx, 0x1a
call fcn.140008a00
xor edi, edi
test eax, eax
jne 0x140007982
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000836d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_write_pending_state_to_update.status.____lu_
mov r8d, eax
call fcn.140008c60
jmp 0x140007982
cmp r14, 1
adc r14, 0
lea rax, [r14 + r14]
test r14, r14
mov r14, 0xffffffffffffffff
cmovns r14, rax
mov rcx, r14
call fcn.14000a430
mov r13, rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov rcx, r13
xor edx, edx
mov r8, r14
call fcn.14000b870
mov qword [rsp + 0x68], r13
mov rax, qword [rsp + 0x58]
mov r12, qword [rbx + rax*8]
mov rcx, r12
mov dx, 0x22
call fcn.14000ba00
mov r14, rax
mov qword [rsp + 0x60], r12
cmp word [r12], 0
je 0x140007363
mov rcx, qword [rsp + 0x60]
lea rdx, [0x14002ce90]
call fcn.140013fcc
test rax, rax
setne al
movzx ecx, al
mov r12, r13
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x50], rcx
test r13, r13
je 0x1400072f5
mov r12, r13
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x50], rcx
test al, al
jne 0x14000736a
test r14, r14
jne 0x140007384
mov r15, qword [rsp + 0x60]
mov rcx, r15
call fcn.140013abc
mov r14, rax
mov rcx, r12
mov rdx, r15
call fcn.140013aa0
lea r12, [r12 + r14*2]
add qword [rsp + 0x50], r14
cmp qword [rsp + 0x70], 0
jne 0x1400073ea
mov rax, qword [rsp + 0x50]
lea r13, [r13 + rax*2]
mov rcx, qword [rsp + 0x58]
inc rcx
mov rax, rcx
mov qword [rsp + 0x58], rcx
cmp rcx, qword [rsp + 0x78]
je 0x1400073fb
mov word [r13], 0x20
add r13, 2
jmp 0x14000728f
mov al, 1
jmp 0x1400072cf
lea r12, [r13 + 2]
mov word [r13], 0x22
mov eax, 1
mov qword [rsp + 0x50], rax
jmp 0x1400072f5
xor eax, eax
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx]
cmp ecx, 0x22
je 0x14000739e
cmp ecx, 0x5c
je 0x1400073c6
test ecx, ecx
jne 0x1400073c2
jmp 0x140007322
lea rcx, [rax + 1]
cmp rcx, 1
adc rax, 1
mov rcx, rax
mov word [r12], 0x5c
add r12, 2
dec rcx
jne 0x1400073ad
add qword [rsp + 0x50], rax
xor eax, eax
jmp 0x1400073c9
inc rax
mov rdx, qword [rsp + 0x60]
movzx ecx, word [rdx]
mov word [r12], cx
add r12, 2
inc qword [rsp + 0x50]
add rdx, 2
mov qword [rsp + 0x60], rdx
jmp 0x140007386
mov word [r12], 0x22
inc qword [rsp + 0x50]
jmp 0x14000732e
mov word [r13], 0
cmp ebp, 4
jne 0x14000741d
mov rcx, qword [rsi + 0x30]
lea rdx, [0x14002fb78]
call fcn.140013a68
test eax, eax
jne 0x140007422
jmp 0x140007451
cmp edi, 7
jl 0x140007451
mov rcx, qword [rsi + 0x30]
lea rdx, str._replace
call fcn.14000bb2c
test rax, rax
jne 0x140007451
mov r14, qword [rsi + 0x30]
movzx ecx, word [r14]
test cx, cx
je 0x140007451
add r14, 2
call fcn.140013324
test eax, eax
jne 0x14000743b
lea rax, [0x14002fb9a]
mov qword [rsp + 0xf90], rax
or byte [rsp + 0xfbc], 1
mov word [rsp + 0xfc0], 0
lea rcx, str.MOZ_USING_SERVICE1
call fcn.140011274
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400083ae
lea rdx, str.Starting_service_with_cmdline:__ls
mov r14, qword [rsp + 0x68]
mov r8, r14
call fcn.140008b50
mov rcx, qword [rbx]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf80]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 0
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, eax
test eax, eax
je 0x140007572
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400083ef
lea rdx, str.Process_was_started..._waiting_on_result.
call fcn.140008b50
mov rcx, qword [rsp + 0xa0]
mov edx, 0xdbba0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15d, eax
cmp eax, 0x102
jne 0x1400075c1
mov rcx, qword [rsp + 0xa0]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x50], 0
xor r13d, r13d
jmp 0x14000764e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008430
mov r8, qword [rbx]
mov dword [rsp + 0x20], r14d
lea rdx, str.Could_not_create_process_as_current_user__updaterPath:__ls__cmdLine:__ls.____lu_
mov r9, qword [rsp + 0x68]
call fcn.140008c60
xor r13d, r13d
jmp 0x1400076f6
mov rcx, qword [rsp + 0xa0]
lea rdx, [rsp + 0x1210]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [0x140038330]
mov edx, dword [0x140036d60]
mov r8, qword gs:[0x58]
mov rdx, qword [r8 + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x14000762f
cmp ecx, edx
jg 0x140008471
mov r8d, dword [rsp + 0x1210]
lea rdx, str.Process_finished_with_return_code__lu.
call fcn.140008b50
xor r13d, r13d
cmp dword [rsp + 0x1210], 0
sete r13b
mov dword [rsp + 0x50], 0
jmp 0x14000764e
cmp ecx, edx
jg 0x1400084b2
lea rdx, str.Process_finished_but_could_not_obtain_return_code.
call fcn.140008c60
xor r13d, r13d
mov dword [rsp + 0x50], 1
mov rcx, qword [rsp + 0xa0]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r14
mov rcx, qword [rsp + 0xa8]
call r14
mov r14, qword [rsi + 0x20]
lea r12, [rsp + 0x1000]
mov r8d, 0x20a
mov rcx, r12
xor edx, edx
call fcn.14000b870
mov rcx, r12
call fcn.140008840
test eax, eax
je 0x1400076c5
lea r12, [rsp + 0x1210]
mov r8d, 0x20a
mov rcx, r12
xor edx, edx
call fcn.14000b870
lea rdx, str..status
mov rcx, r14
mov r8, r12
call fcn.140008940
test eax, eax
jne 0x140007bd8
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400084f3
lea rdx, str.Could_not_get_path_for_the_secure_update_status_file
call fcn.140008c60
lea rcx, str.MOZ_USING_SERVICE
call fcn.140011274
mov rcx, qword [rsp + 0x68]
call fcn.14000a438
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov ecx, dword [rcx + 4]
test r13d, r13d
je 0x140007796
cmp eax, ecx
jg 0x140008534
lea rdx, str.updater.exe_was_launched_and_run_successfully_
call fcn.140008b50
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008575
mov rcx, qword [0x140038120]
test rcx, rcx
je 0x14000777a
call fcn.140012178
cmp edi, 7
je 0x140007840
cmp edi, 8
jne 0x14000785d
mov eax, 4
jmp 0x140007845
cmp eax, ecx
jg 0x1400085b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Error_running_update_process._Updating_update.status____lu_
mov r8d, eax
call fcn.140008c60
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400085f7
mov rcx, qword [0x140038120]
test rcx, rcx
je 0x1400077e9
call fcn.140012178
xor edi, edi
test ebp, ebp
jne 0x140007982
mov rcx, qword [rsi + 0x20]
mov edx, 0x18
call fcn.140008a00
test eax, eax
jne 0x140007982
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008638
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Could_not_write_update.status_service_update_failure.____lu_
jmp 0x140007244
mov eax, 3
mov rcx, qword [rbx + rax*8]
lea rdx, [0x14002fb78]
call fcn.140013a68
test eax, eax
je 0x14000797d
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, 1
test rax, rax
je 0x140007982
mov rbx, rax
lea rdx, str.MozillaMaintenance
mov rcx, rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test r14, r14
je 0x140007982
lea r9, [rsp + 0x10c]
mov rcx, r14
xor edx, edx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x1400078d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140007bca
lea r15, [rsp + 0x10c]
mov r12d, dword [r15]
mov rcx, r12
call fcn.14000a430
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call fcn.14000b870
mov rcx, r14
mov rdx, rbx
mov r8d, r12d
mov r9, r15
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov ebp, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebp, ebp
je 0x140007973
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea rcx, [rsp + 0x1210]
mov r8d, 0x20a
xor edx, edx
call fcn.14000b870
mov r14, qword [rbx + 0x10]
mov rcx, r14
call fcn.140013abc
cmp rax, 0x104
ja 0x140007973
lea r15, [rsp + 0x1210]
mov r8d, 0x105
mov rcx, r15
mov rdx, r14
call fcn.140013f84
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140007e31
mov rcx, rbx
call fcn.14000a438
jmp 0x140007982
mov edi, 1
lea rcx, [rsp + 0x530]
call fcn.140005bc0
jmp 0x140006d67
lea rdx, str.updater.ini
lea rcx, [rsp + 0x110]
call fcn.1400258a0
test eax, eax
je 0x140006f6e
lea rcx, [rsp + 0x740]
call fcn.140013abc
cmp rax, 0x104
ja 0x140006f6e
lea r14, [rsp + 0x320]
lea rdx, [rsp + 0x740]
mov r8d, 0x105
mov rcx, r14
call fcn.140013f84
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140006f6e
lea rdx, str.updater.ini
lea rcx, [rsp + 0x320]
call fcn.1400258a0
test eax, eax
je 0x140006f6e
lea rcx, [rsp + 0x320]
lea rdx, [rsp + 0x110]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140006f6e
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008679
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str.Could_not_copy_updater.ini_from:__ls_to__ls.____lu_
lea r8, [rsp + 0x320]
lea r9, [rsp + 0x110]
call fcn.140008c60
jmp 0x140006f6e
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006983
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006983
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400068b2
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400068b2
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006805
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006805
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400069d8
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400069d8
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006873
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006873
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140007982
lea rcx, [rsp + 0x1000]
lea rdx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x1400076c5
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x1000]
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140007d1b
xorps xmm0, xmm0
lea rdx, [rsp + 0x1210]
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140007d49
movabs rax, 0x676e69796c707061
xor r14d, r14d
cmp qword [rsp + 0x1210], rax
sete r14b
mov r12d, 1
jmp 0x140007d80
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006d0d
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006d0d
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006d8c
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006d8c
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400086ba
lea rdx, str.Could_not_open_update.status_file
jmp 0x140007d75
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400086fb
lea rdx, str.Could_not_read_from_update.status_file
call fcn.140008c60
xor r14d, r14d
xor r12d, r12d
mov rax, qword [rsp + 0x58]
inc rax
cmp rax, 2
jb 0x140007d99
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r12d, r12d
je 0x1400076f6
test r14d, r14d
je 0x1400076f6
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov ecx, dword [rcx + 4]
test r13d, r13d
je 0x14000807b
cmp eax, ecx
jg 0x14000873c
lea rdx, str.update.status_is_still_applying_even_though_update_was_successful.
call fcn.140008b50
mov rcx, qword [rsi + 0x20]
mov edx, 0x1d
call fcn.140008a00
xor r13d, r13d
test eax, eax
jne 0x1400076f6
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000877d
lea rdx, str.Could_not_write_update.status_still_applying_on_success_error.
jmp 0x1400076f1
lea rdx, str.maintenanceservice_tmp.exe
lea rcx, [rsp + 0x1210]
call fcn.1400258a0
test eax, eax
je 0x140007973
lea rcx, [rsp + 0xd70]
call fcn.140013abc
cmp rax, 0x104
ja 0x140007973
lea r14, [rsp + 0x1000]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000b870
lea rdx, [rsp + 0xd70]
mov r8d, 0x104
mov rcx, r14
call fcn.140013f84
lea rdx, [0x14002f8c2]
mov rcx, r14
call fcn.1400258a0
lea rdx, [rsp + 0x1210]
mov rcx, r14
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140007973
lea r14, [rsp + 0xd70]
lea rdx, [rsp + 0x1210]
mov rcx, r14
mov r8d, 1
call fcn.1400090a0
test eax, eax
je 0x140008215
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
xor r12d, r12d
mov qword [rsp + 0x100], r12
mov dword [rsp + 0xa0], 0x68
lea rax, [0x14002fb9a]
mov qword [rsp + 0xb0], rax
lea r13, [rsp + 0x80]
mov qword [r13 + 0x10], r12
movaps xmmword [r13], xmm0
lea r15, [rsp + 0xf80]
movaps xmmword [r15 + 0x70], xmm0
movaps xmmword [r15 + 0x60], xmm0
movaps xmmword [r15 + 0x50], xmm0
movaps xmmword [r15 + 0x40], xmm0
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.dummyparam.exe_upgrade
mov r8d, 0x3f
mov rcx, r15
call fcn.140013f84
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea rcx, [rsp + 0x1210]
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140007973
mov rcx, qword [rsp + 0x80]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r14
mov rcx, qword [rsp + 0x88]
call r14
jmp 0x140007973
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006b50
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006b50
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006d5b
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006d5b
cmp eax, ecx
jg 0x1400087be
lea rdx, str.update.status_is_still_applying_and_update_was_not_successful.
call fcn.140008c60
cmp r15d, 0x102
mov eax, 0x32
mov ecx, 0x1e
cmove ecx, eax
cmp dword [rsp + 0x50], 0
mov edx, 0x33
cmove edx, ecx
mov rcx, qword [rsi + 0x20]
call fcn.140008a00
xor r13d, r13d
test eax, eax
jne 0x1400076f6
mov eax, dword [0x140038330]
mov ecx, dword [0x140036d60]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400087ff
lea rdx, str.Could_not_write_update.status_still_applying_on_failure_error.
jmp 0x1400076f1
lea rcx, [0x140038330]
call fcn.14000a550
lea rdi, str.Couldnt_remove_file_spec_when_attempting_to_use_a_secure_updater_path.____lu_
jmp 0x14000815e
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006944
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006944
lea rcx, [0x140038330]
call fcn.14000a550
lea rdi, str.Could_not_obtain_module_filename_when_attempting_to_use_a_secure_updater_path.____lu_
cmp dword [0x140038330], 0xffffffff
jne 0x140006cd7
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006cd7
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006c91
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006c91
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006dc6
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006dc6
lea rcx, [rsp + 0x1210]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140007973
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006ec4
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006ec4
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140006fdf
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140006fdf
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007183
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007183
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400071cc
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400071cc
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400071e5
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400071e5
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007237
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007237
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400074a3
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400074a3
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007526
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007526
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400075a0
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400075a0
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007602
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007602
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007637
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007637
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400076ea
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400076ea
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007738
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007738
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007769
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007769
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x14000779e
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x14000779e
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400077d8
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400077d8
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x14000782e
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x14000782e
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007a5a
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007a5a
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007d40
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007d40
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007d6e
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007d6e
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007ddb
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007ddb
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140007e25
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140007e25
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x140008083
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x140008083
lea rcx, [0x140038330]
call fcn.14000a550
cmp dword [0x140038330], 0xffffffff
jne 0x1400080e9
mov qword [0x140038120], 0
lea rcx, [fcn.140001d00]
call fcn.14000a6e8
lea rcx, [0x140038330]
call fcn.14000a5b8
jmp 0x1400080e9