Function at 0x140003e24
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov eax, dword [0x14002def4]
xor r12d, r12d
mov r14, r9
mov rdi, rdx
mov esi, ecx
lea r13d, [r12 + 1]
test r13b, al
jne 0x140003e7e
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Starting_update_process_as_the_service_in_session_0.
lea rcx, [0x14002df30]
call fcn.140006fb8
xor edx, edx
lea rcx, [rbp - 0x31]
lea r8d, [rdx + 0x60]
call fcn.140008490
lea rax, str.winsta0Default
mov dword [rbp - 0x39], 0x68
mov qword [rbp - 0x29], rax
mov rdx, rdi
xor eax, eax
mov qword [rbp - 0x59], r12
mov ecx, esi
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x49], rax
call fcn.140001a4c
mov rdx, rdi
mov ecx, esi
mov r15, rax
mov ebx, 3
call fcn.140003cc4
test al, al
lea ecx, [rbx - 1]
cmovne ebx, ecx
cmp esi, ebx
jl 0x140003efc
or dword [rbp + 3], r13d
lea rax, [0x140027638]
mov qword [rbp - 0x29], rax
mov word [rbp + 7], r12w
lea rcx, str.MOZ_USING_SERVICE1
call fcn.14000cb10
mov eax, dword [0x14002def4]
test r13b, al
jne 0x140003f2f
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
mov r8, r15
lea rdx, str.Starting_service_with_cmdline:__ls
lea rcx, [0x14002df30]
call fcn.140006fb8
mov rcx, qword [rdi]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp - 0x39]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [r14], eax
mov ebx, r12d
test eax, eax
je 0x1400041ee
mov eax, dword [0x14002def4]
mov r14d, r12d
mov esi, r12d
test r13b, al
jne 0x140003fbb
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Process_was_started..._waiting_on_result.
lea rcx, [0x14002df30]
call fcn.140006fb8
mov rcx, qword [rbp - 0x59]
mov edx, 0xdbba0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x59]
cmp eax, 0x102
jne 0x140003ff9
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r14d, r13d
jmp 0x140004085
lea rdx, [rbp + 0x67]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
mov eax, dword [0x14002def4]
je 0x14000404e
test r13b, al
jne 0x14000402e
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
mov r8d, dword [rbp + 0x67]
lea rdx, str.Process_finished_with_return_code__d.
lea rcx, [0x14002df30]
call fcn.140006fb8
cmp dword [rbp + 0x67], r12d
sete bl
jmp 0x140004085
test r13b, al
jne 0x14000406f
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Process_finished_but_could_not_obtain_return_code.
lea rcx, [0x14002df30]
call fcn.140007010
mov esi, r13d
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
lea rdx, [rbp + 0x67]
mov dword [rbp + 0x67], r12d
call fcn.140003a38
test eax, eax
je 0x14000423a
cmp dword [rbp + 0x67], r12d
je 0x14000423a
mov eax, dword [0x14002def4]
test ebx, ebx
je 0x140004152
test r13b, al
jne 0x1400040eb
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.update.status_is_still_applying_even_though_update_was_successful.
lea rcx, [0x14002df30]
call fcn.140006fb8
mov rcx, qword [rdi + 8]
mov edx, 0x1d
call fcn.1400069c8
test eax, eax
jne 0x14000414a
mov eax, dword [0x14002def4]
test r13b, al
jne 0x140004137
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Could_not_write_update.status_still_applying_on_success_error.
lea rcx, [0x14002df30]
call fcn.140007010
mov ebx, r12d
jmp 0x14000423a
test r13b, al
jne 0x140004173
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.update.status_is_still_applying_and_update_was_not_successful.
lea rcx, [0x14002df30]
call fcn.140007010
mov edx, 0x1e
test esi, esi
je 0x140004196
mov edx, 0x33
jmp 0x1400041a1
test r14d, r14d
mov eax, 0x32
cmovne edx, eax
mov rcx, qword [rdi + 8]
call fcn.1400069c8
test eax, eax
jne 0x14000423a
mov eax, dword [0x14002def4]
test r13b, al
jne 0x1400041d9
or eax, r13d
mov qword [0x14002df30], r12
lea rcx, [0x14001da60]
mov dword [0x14002def4], eax
call fcn.1400075b4
lea rdx, str.Could_not_write_update.status_still_applying_on_failure_error.
lea rcx, [0x14002df30]
call fcn.140007010
jmp 0x14000423a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x14002def4]
mov esi, eax
test r13b, cl
jne 0x14000421d
or ecx, r13d
mov qword [0x14002df30], r12
mov dword [0x14002def4], ecx
lea rcx, [0x14001da60]
call fcn.1400075b4
mov r8, qword [rdi]
lea rdx, str.Could_not_create_process_as_current_user__updaterPath:__ls__cmdLine:__ls.____d_
mov r9, r15
mov dword [rsp + 0x20], esi
lea rcx, [0x14002df30]
call fcn.140007010
lea rcx, str.MOZ_USING_SERVICE
call fcn.14000cb10
mov rcx, r15
call fcn.14000c644
lea r11, [rsp + 0xe0]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret