Function at 0x140005f50
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Read file on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf98
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0xf90], rax
cmp ecx, 2
jg 0x140005fb2
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 0x140006039
lea rcx, [0x140038fa8]
lea rdx, str.Not_enough_command_line_arguments_to_execute_a_service_command
jmp 0x1400061ec
mov rsi, rdx
mov edi, ecx
lea rcx, [rsp + 0xb40]
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x1400060eb
lea rax, [0x14003042a]
mov qword [rsp + 0xd80], rax
lea rcx, [rsp + 0xb40]
lea rdx, [rsp + 0xd80]
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
mov ebx, eax
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 0x14000607c
test ebx, ebx
je 0x1400060be
mov r8, qword [rsi + 0x10]
lea rcx, [0x140038fa8]
lea rdx, str.Executing_service_command__ls
call fcn.14000d250
jmp 0x1400060eb
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140005f9f
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140005f9f
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006015
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
test ebx, ebx
jne 0x14000601d
mov r9, qword [rsp + 0xd80]
mov r8, qword [rsi + 0x10]
lea rcx, [0x140038fa8]
lea rdx, str.Executing_service_command__ls__ID:__ls
call fcn.14000d250
lea rcx, [rsp + 0xd80]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
mov rcx, qword [rsi + 0x10]
lea rdx, str.software_update
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14000615c
mov rcx, qword [rsi + 0x10]
lea rdx, str.fix_update_directory_perms
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1400061f8
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 0x140006b2e
mov r8, qword [rsi + 0x10]
lea rcx, [0x140038fa8]
lea rdx, str.Service_command_not_recognized:__ls.
call fcn.14000d2d0
xor edi, edi
jmp 0x1400062e1
cmp edi, 4
jl 0x1400061b9
mov rcx, qword [rsi + 0x20]
call fcn.14000d600
test al, al
je 0x1400061b9
mov rbx, qword [rsi + 0x20]
mov rcx, rbx
call fcn.1400173f8
cmp rax, 9
ja 0x140006357
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 0x140006e47
lea rcx, [0x140038fa8]
lea rdx, str.The_patch_directory_path_length_is_not_valid_for_this_application.
jmp 0x1400061ec
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 0x140006b71
lea rcx, [0x140038fa8]
lea rdx, str.The_patch_directory_path_is_not_valid_for_this_application.
call fcn.14000d2d0
xor edi, edi
jmp 0x140006331
mov qword [rsp + 0xd80], 0
cmp edi, 3
jg 0x140006245
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 0x140006d76
lea rcx, [0x140038fa8]
lea rdx, str.Didnt_get_an_install_dir_for_fix_update_directory_perms
call fcn.14000d2d0
xor ecx, ecx
jmp 0x140006249
mov rcx, qword [rsi + 0x18]
lea rax, [rsp + 0xd80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.1400093f0
test eax, eax
js 0x14000627e
mov edi, 1
mov rbx, qword [rsp + 0xd80]
jmp 0x1400062c8
mov edi, eax
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 0x140006db9
mov rbx, qword [rsp + 0xd80]
lea rcx, [0x140038fa8]
lea rdx, str.Unable_to_set_the_permissions_on_the_update_directory___S_:__d
mov r8, rbx
mov r9d, edi
call fcn.14000d2d0
xor edi, edi
mov qword [rsp + 0xd80], 0
test rbx, rbx
je 0x1400062e1
mov rcx, rbx
call fcn.14000e248
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 0x140006aeb
test edi, edi
lea rax, str.Failure
lea r9, str.Success
cmove r9, rax
mov r8, qword [rsi + 8]
lea rcx, [0x140038fa8]
lea rdx, str.service_command__ls_complete_with_result:__ls.
call fcn.14000d250
mov rcx, qword [rsp + 0xf90]
xor rcx, rsp
call fcn.1400192f0
mov eax, edi
add rsp, 0xf98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rbx + rax*2]
add rcx, 0xffffffffffffffec
lea rdx, [0x1400303dc]
mov r8d, 0xa
call fcn.140015afc
test eax, eax
je 0x1400063ad
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 0x140006e8a
lea rcx, [0x140038fa8]
lea rdx, str.The_patch_directory_path_subdirectory_is_not_valid_for_this_application.
jmp 0x1400061ec
cmp edi, 5
jl 0x1400063e8
mov rcx, qword [rsi + 0x28]
call fcn.14000d600
test al, al
je 0x1400063e8
lea ebx, [rdi - 3]
cmp ebx, 4
jne 0x140006475
mov rcx, qword [rsi + 0x30]
lea rdx, [0x1400303d6]
call fcn.1400173a4
test eax, eax
jne 0x140006477
jmp 0x140006623
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 0x140006ecd
lea rcx, [0x140038fa8]
lea rdx, str.The_install_directory_path_is_not_valid_for_this_application.
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x37
call fcn.14000dca0
xor edi, edi
test eax, eax
jne 0x140006331
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 0x140006f10
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_for_previous_failure.
call fcn.14000d2d0
jmp 0x140006331
jl 0x1400064ae
mov rcx, qword [rsi + 0x30]
lea rdx, str._replace
call fcn.140010108
test rax, rax
jne 0x140006623
mov rbp, qword [rsi + 0x30]
movzx ecx, word [rbp]
test cx, cx
je 0x140006623
add rbp, 2
call fcn.140017078
test eax, eax
jne 0x140006494
cmp edi, 6
jl 0x14000652a
mov rcx, qword [rsi + 0x30]
call fcn.14000d600
test al, al
je 0x14000652a
mov rdx, qword [rsi + 0x28]
mov rcx, qword [rsi + 0x30]
mov r8d, 0x104
call fcn.140015afc
test eax, eax
je 0x140006623
cmp edi, 7
jge 0x140006570
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 0x140007790
lea rcx, [0x140038fa8]
lea rdx, str.Installation_directory_and_working_directory_must_be_the_same_for_non_staged_updates._Exiting.
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x36
jmp 0x140006429
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 0x1400074e3
lea rcx, [0x140038fa8]
lea rdx, str.The_working_directory_path_is_not_valid_for_this_application.
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x38
jmp 0x140006429
mov rcx, qword [rsi + 0x38]
lea rdx, [0x1400303d6]
call fcn.1400173a4
test eax, eax
je 0x14000659d
mov rcx, qword [rsi + 0x38]
lea rdx, str._replace
call fcn.140010108
test rax, rax
je 0x1400064e4
mov r9, qword [rsi + 0x30]
lea rbp, [rsp + 0xd80]
mov rcx, rbp
call fcn.140008350
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140006933
mov rdx, qword [rsi + 0x28]
lea rcx, [rsp + 0xd80]
mov r8d, 0x104
call fcn.140015afc
test eax, eax
je 0x140006623
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 0x14000789c
lea rcx, [0x140038fa8]
lea rdx, str.The_apply_to_directory_must_be_the_same_as_or_a_child_of_the_installation_directory__Exiting.
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x34
jmp 0x1400067af
lea r14, [rsi + 0x18]
lea rbp, [rsp + 0x930]
mov r8d, 0x20a
mov rcx, rbp
xor edx, edx
call fcn.14000fe30
mov ecx, ebx
mov rdx, r14
mov r8, rbp
call fcn.140005310
test eax, eax
je 0x140006763
lea rax, [rsp + 0xd80]
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 0x1400067f7
lea rcx, [rsp + 0x930]
lea rdx, [rsp + 0xd80]
call fcn.14000c0d0
test eax, eax
je 0x1400067a6
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 0x140007569
lea rcx, [0x140038fa8]
lea rdx, str.Checking_for_Maintenance_Service_registry._key:__ls
lea rbp, [rsp + 0xd80]
mov r8, rbp
call fcn.14000d250
mov qword [rsp + 0xb50], 0
lea rax, [rsp + 0xb50]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov rdx, rbp
xor r8d, r8d
mov r9d, 0x20119
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140006801
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 0x1400075ef
lea rcx, [0x140038fa8]
lea rdx, str.The_maintenance_service_registry_key_does_not_exist.
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x39
jmp 0x1400067af
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 0x140007526
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_get_the_installation_directory
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x21
jmp 0x1400067af
mov rcx, qword [rsi + 0x20]
mov edx, 0x35
call fcn.14000dca0
test eax, eax
jne 0x1400067f0
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 0x1400075ac
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_for_previous_failure.
call fcn.14000d2d0
xor edi, edi
jmp 0x140006331
mov rcx, qword [rsp + 0xd80]
jmp 0x140006809
mov rcx, qword [rsp + 0xb50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rbp, [rsp + 0x720]
mov r8d, 0x20a
mov rcx, rbp
xor edx, edx
call fcn.14000fe30
lea rdx, [rsp + 0x930]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400178c0
lea rdx, str.updater.exe
mov rcx, rbp
call int.14000e0c0
test eax, eax
jne 0x140006888
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 0x1400077d3
lea rcx, [0x140038fa8]
lea rdx, str.Install_directory_updater_could_not_be_determined.
call fcn.14000d2d0
mov r8, qword [rsi + 0x20]
lea rcx, [rsp + 0x720]
lea rdx, [rsp + 0x930]
call fcn.140005450
mov ebp, eax
lea rcx, [rsp + 0x510]
mov r8d, 0x20a
xor edx, edx
call fcn.14000fe30
test bpl, bpl
je 0x1400069c3
lea rdx, [rsp + 0x510]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140006982
lea rcx, [rsp + 0x510]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x140006a91
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 0x140007859
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Couldnt_remove_file_spec_when_attempting_to_use_a_secure_updater_path.____d_
jmp 0x1400069bb
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 0x1400078df
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Couldnt_remove_file_spec_when_attempting_to_verify_the_working_directory_path.____d_
mov r8d, eax
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x47
jmp 0x1400067af
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 0x140007922
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_obtain_module_filename_when_attempting_to_use_a_secure_updater_path.____d_
mov r8d, eax
call fcn.14000d2d0
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 0x14000774d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_copy_path_to_secure_location.____d_
mov r8d, eax
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x31
call fcn.14000dca0
xor edi, edi
test eax, eax
jne 0x140006a50
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 0x140007816
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_could_not_copy_updater_error
call fcn.14000d2d0
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 0x14000770a
mov r8, qword [rsi + 0x10]
lea rcx, [0x140038fa8]
lea rdx, str.Service_command__ls_complete.
call fcn.14000d250
jmp 0x1400062e1
lea rdx, [0x140030154]
lea rcx, [rsp + 0x510]
call int.14000e0c0
test eax, eax
jne 0x140006bb4
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 0x140006e04
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Couldnt_append_file_spec_when_attempting_to_use_a_secure_updater_path.____d_
jmp 0x1400069bb
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006306
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006306
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000613e
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000613e
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400061de
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400061de
lea r15, [rsp + 0x510]
mov rcx, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.updater.exe
mov rcx, r15
call int.14000e0c0
mov ecx, dword [0x1400393c0]
mov edx, dword [0x140037cbc]
mov rbp, qword gs:[0x58]
mov rdx, qword [rbp + rdx*8]
mov edx, dword [rdx + 4]
test eax, eax
je 0x140006dfc
cmp ecx, edx
jg 0x140007965
mov r8, qword [r14]
mov qword [rsp + 0x20], r15
lea rcx, [0x140038fa8]
lea rdx, str.Passed_in_path:__ls__ignored___Install_dir_has:__ls__Using_this_path_for_updating:__ls.
lea rbp, [rsp + 0x720]
mov r9, rbp
call fcn.14000d250
mov rcx, r15
call fcn.140005d50
mov rcx, rbp
mov rdx, r15
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400069c3
mov qword [r14], r15
lea rcx, [rsp + 0x300]
mov r8d, 0x20a
xor edx, edx
call fcn.14000fe30
lea rcx, [rsp + 0xf0]
mov r8d, 0x20a
xor edx, edx
call fcn.14000fe30
mov rcx, r15
call fcn.1400173f8
cmp rax, 0x103
ja 0x140006cd0
lea rbp, [rsp + 0xf0]
lea rdx, [rsp + 0x510]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400178c0
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140006cd0
lea rcx, [rsp + 0xf0]
call fcn.1400173f8
add rax, 0xb
cmp rax, 0x103
jbe 0x140006f53
cmp ebx, 2
ja 0x14000706c
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 0x1400079a8
lea rcx, [0x140038fa8]
lea rdx, str.Not_enough_command_line_parameters_specified._Updating_update.status.
call fcn.14000d2d0
cmp ebx, 2
jne 0x140006d2e
mov rcx, qword [rsi + 0x20]
mov edx, 0x19
call fcn.14000dca0
xor edi, edi
test eax, eax
jne 0x140007bea
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 0x1400079eb
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 edi, edi
jmp 0x140007bea
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000622e
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000622e
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400062a5
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400062a5
cmp ecx, edx
jle 0x140006ad2
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006ad2
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006ad2
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400061a9
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400061a9
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000639a
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000639a
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000640d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000640d
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000645d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000645d
lea rdx, str.updater.ini
lea rcx, [rsp + 0xf0]
call int.14000e0c0
test eax, eax
je 0x140006cd0
lea rcx, [rsp + 0x720]
call fcn.1400173f8
cmp rax, 0x103
ja 0x140006cd0
lea rbp, [rsp + 0x300]
lea rdx, [rsp + 0x720]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400178c0
mov rcx, rbp
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x140006cd0
lea rcx, [rsp + 0x300]
call fcn.1400173f8
add rax, 0xb
cmp rax, 0x103
ja 0x140006cd0
lea rdx, str.updater.ini
lea rcx, [rsp + 0x300]
call int.14000e0c0
test eax, eax
je 0x140006cd0
lea rcx, [rsp + 0x300]
lea rdx, [rsp + 0xf0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140006cd0
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 0x140008301
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_copy_updater.ini_from:__ls_to__ls.____d_
lea r8, [rsp + 0x300]
lea r9, [rsp + 0xf0]
call fcn.14000d2d0
cmp ebx, 2
jbe 0x140006cd9
lea rbp, [rsp + 0xb50]
mov r8d, 0x20a
mov rcx, rbp
xor edx, edx
call fcn.14000fe30
mov ecx, ebx
mov rdx, r14
mov r8, rbp
call fcn.140005310
test eax, eax
je 0x1400071a8
mov rcx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
lea rdx, [rsp + 0xb50]
call fcn.140005450
mov ecx, dword [0x1400393c0]
mov edx, dword [0x140037cbc]
mov rbp, qword gs:[0x58]
mov rdx, qword [rbp + rdx*8]
mov edx, dword [rdx + 4]
test al, al
je 0x140007235
cmp ecx, edx
jg 0x140007a71
lea rcx, [0x140038fa8]
lea rdx, str.Starting_update_process_as_the_service_in_session_0.
call fcn.14000d250
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xe0], 0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0x68
lea rax, str.winsta0Default
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x58]
mov edx, ebx
mov r8, r14
xor r9d, r9d
call fcn.140002330
cmp ebx, 4
jne 0x1400072b7
mov rcx, qword [rsi + 0x30]
lea rdx, [0x1400303d6]
call fcn.1400173a4
test eax, eax
jne 0x1400072bf
mov r15d, 2
cmp r15d, ebx
jle 0x1400072ff
jmp 0x140007320
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 0x140007a2e
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_get_the_installation_directory
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x21
call fcn.14000dca0
xor edi, edi
test eax, eax
jne 0x140007bea
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 0x140007cc0
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_for_GetInstallationDir_failure.
call fcn.14000d2d0
jmp 0x140007bea
cmp ecx, edx
jg 0x140007ab4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_start_process_due_to_certificate_check_error_on_updater.exe._Updating_update.status.____d_
mov r8d, eax
call fcn.14000d2d0
mov rcx, qword [rsi + 0x20]
mov edx, 0x1a
call fcn.14000dca0
xor edi, edi
test eax, eax
jne 0x140007bea
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 0x140007d03
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_pending_state_to_update.status.____d_
mov r8d, eax
call fcn.14000d2d0
jmp 0x140007bea
mov r15d, 3
jl 0x1400072fa
mov rcx, qword [rsi + 0x30]
lea rdx, str._replace
call fcn.140010108
mov r15d, 2
test rax, rax
jne 0x1400072fa
mov rbp, qword [rsi + 0x30]
movzx ecx, word [rbp]
test cx, cx
je 0x1400072fa
add rbp, 2
call fcn.140017078
test eax, eax
jne 0x1400072de
mov r15d, 3
cmp r15d, ebx
jg 0x140007320
lea rax, [0x14003042a]
mov qword [rsp + 0x90], rax
or byte [rsp + 0xbc], 1
mov word [rsp + 0xc0], 0
lea rcx, str.MOZ_USING_SERVICE1
call fcn.140014f98
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 0x140007af7
mov r8, qword [rsp + 0x58]
lea rcx, [0x140038fa8]
lea rdx, str.Starting_service_with_cmdline:__ls
call fcn.14000d250
mov rdx, qword [rsp + 0x58]
mov rcx, qword [r14]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 0
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
jne 0x140007632
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
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 0x140007c3a
mov r9, qword [rsp + 0x58]
mov r8, qword [r14]
mov dword [rsp + 0x20], ebp
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_create_process_as_current_user__updaterPath:__ls__cmdLine:__ls.____d_
call fcn.14000d2d0
xor ebp, ebp
lea rcx, str.MOZ_USING_SERVICE
call fcn.140014f98
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140007428
call fcn.14000e248
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 0x140007b3a
test ebp, ebp
je 0x140007b80
lea rcx, [0x140038fa8]
lea rdx, str.updater.exe_was_launched_and_run_successfully_
call fcn.14000d250
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 0x140007c7d
mov rcx, qword [0x140038fa8]
test rcx, rcx
je 0x14000749e
call fcn.140015e8c
cmp edi, 8
je 0x1400074ae
cmp edi, 7
jne 0x1400074c2
mov rcx, qword [rsi + 0x30]
jmp 0x1400074b2
mov rcx, qword [rsi + 0x38]
lea rdx, [0x1400303d6]
call fcn.1400173a4
test eax, eax
je 0x1400074d9
lea rcx, [rsp + 0xb50]
call fcn.14000d710
mov edi, 1
jmp 0x140007bea
mov edi, 1
jmp 0x140007bea
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000654f
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000654f
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006788
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006788
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400066c8
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400066c8
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400067dd
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400067dd
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006745
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006745
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 0x140007d89
lea rcx, [0x140038fa8]
lea rdx, str.Process_was_started..._waiting_on_result.
call fcn.14000d250
mov rcx, qword [rsp + 0x60]
mov edx, 0xdbba0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400076a6
mov rcx, qword [rsp + 0x60]
mov r13d, 1
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [rsp + 0x54], 0
xor ebp, ebp
jmp 0x140007e89
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0xd80]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebp, eax
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 0x140007e0f
test ebp, ebp
jne 0x140007e55
lea rcx, [0x140038fa8]
lea rdx, str.Process_finished_but_could_not_obtain_return_code.
call fcn.14000d2d0
xor ebp, ebp
mov dword [rsp + 0x54], 1
jmp 0x140007e86
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006a75
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006a75
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400069e8
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400069e8
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006509
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006509
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006875
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006875
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006a3d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006a3d
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000691a
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000691a
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006602
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006602
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006958
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006958
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400069a7
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400069a7
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006c06
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006c06
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006cfe
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006cfe
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140006d53
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140006d53
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400071cd
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400071cd
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400070de
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400070de
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000723d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000723d
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007351
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007351
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000744d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
test ebp, ebp
jne 0x140007455
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Error_running_update_process._Updating_update.status____d_
mov r8d, eax
call fcn.14000d2d0
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 0x140007d46
mov rcx, qword [0x140038fa8]
test rcx, rcx
je 0x140007bd2
call fcn.140015e8c
xor edi, edi
test ebx, ebx
jne 0x140007bea
mov rcx, qword [rsi + 0x20]
mov edx, 0x18
call fcn.14000dca0
test eax, eax
je 0x140007bfc
lea rcx, [rsp + 0x510]
call fcn.140005d50
jmp 0x140006a50
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 0x140007dcc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_service_update_failure.____d_
jmp 0x1400072aa
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400073e3
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400073e3
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000748d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000748d
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000721d
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000721d
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007296
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007296
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007bc1
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007bc1
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007657
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007657
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007c21
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007c21
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400076e0
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
test ebp, ebp
je 0x1400076e8
mov r8d, dword [rsp + 0xd80]
lea rcx, [0x140038fa8]
lea rdx, str.Process_finished_with_return_code__d.
call fcn.14000d250
xor ebp, ebp
cmp dword [rsp + 0xd80], 0
sete bpl
mov dword [rsp + 0x54], 0
xor r13d, r13d
mov rcx, qword [rsp + 0x60]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r14
mov rcx, qword [rsp + 0x68]
call r14
mov r15, qword [rsi + 0x20]
lea r14, [rsp + 0xd80]
mov r8d, 0x20a
mov rcx, r14
xor edx, edx
call fcn.14000fe30
mov r8d, 0x104
mov rcx, r14
mov rdx, r15
call fcn.1400178c0
lea rdx, str.update.status
mov rcx, r14
call int.14000e0c0
test eax, eax
je 0x140007f8d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xd80]
mov edx, 0x80000000
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140007fca
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd70], xmm0
movaps xmmword [rsp + 0xd60], xmm0
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0xd60]
lea r9, [rsp + 0xec]
mov rcx, r14
mov r8d, 0x20
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140007fff
movabs rax, 0x676e69796c707061
xor r15d, r15d
cmp qword [rsp + 0xd60], rax
sete r15b
mov r12d, 1
jmp 0x14000803d
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 0x14000816f
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_append_path_for_update.status_file
call fcn.14000d2d0
jmp 0x140007404
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 0x1400081f5
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_open_update.status_file
jmp 0x140008032
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 0x140008238
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_read_from_update.status_file
call fcn.14000d2d0
xor r15d, r15d
xor r12d, r12d
mov rax, r14
add rax, 1
cmp rax, 2
jb 0x140008053
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x140007404
test r12d, r12d
je 0x140007404
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 0x1400081b2
lea rcx, [0x140038fa8]
test ebp, ebp
je 0x1400080f6
lea rdx, str.update.status_is_still_applying_even_though_update_was_successful.
call fcn.14000d250
mov rcx, qword [rsi + 0x20]
mov edx, 0x1d
call fcn.14000dca0
xor ebp, ebp
test eax, eax
jne 0x140007404
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 0x14000827b
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_still_applying_on_success_error.
call fcn.14000d2d0
jmp 0x140007404
lea rdx, str.update.status_is_still_applying_and_update_was_not_successful.
call fcn.14000d2d0
test r13d, r13d
mov eax, 0x1e
mov ecx, 0x32
cmove ecx, eax
cmp dword [rsp + 0x54], 0
mov edx, 0x33
cmove edx, ecx
mov rcx, qword [rsi + 0x20]
call fcn.14000dca0
xor ebp, ebp
test eax, eax
jne 0x140007404
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 0x1400082be
lea rcx, [0x140038fa8]
lea rdx, str.Could_not_write_update.status_still_applying_on_failure_error.
call fcn.14000d2d0
jmp 0x140007404
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007fb2
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007fb2
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x14000808a
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x14000808a
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007fef
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007fef
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140008024
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140008024
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x1400080de
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x1400080de
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140008157
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140008157
lea rcx, [0x1400393c0]
call fcn.14000e3b0
mov eax, dword [0x1400393c0]
cmp eax, 0xffffffff
jne 0x140007036
mov qword [0x140038fa8], 0
lea rcx, [0x1400022c0]
call fcn.14000e568
lea rcx, [0x1400393c0]
call fcn.14000e418
jmp 0x140007036