Function at 0x14000a350
Capabilities:
Copy file
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x498]
sub rsp, 0x590
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0x480], rax
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
test rax, rax
jne 0x14000a39e
xor eax, eax
jmp 0x14000a43e
mov r8d, 0xf01ff
lea rdx, str.MozillaMaintenance
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
mov rcx, rbx
test rax, rax
jne 0x14000a3c7
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000a397
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
jne 0x14000a3f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x14000a3f4
mov rcx, rdi
jmp 0x14000a3bf
mov ebx, dword [rsp + 0x50]
mov ecx, ebx
call fcn.14000daac
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.14000f4f0
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
mov rcx, rdi
test eax, eax
jne 0x14000a466
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor ebx, ebx
mov rcx, rsi
call fcn.14000dda4
mov eax, ebx
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14000d4c0
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
mov ebx, 0x20a
lea rcx, [rbp + 0x270]
mov r8d, ebx
xor edx, edx
call fcn.14000f4f0
mov rdx, qword [rsi + 0x10]
lea r8, str.maintenanceservice_tmp.exe
lea rcx, [rbp + 0x270]
call fcn.14000a2b8
test eax, eax
je 0x14000a432
mov r8d, ebx
lea rcx, [rbp + 0x60]
xor edx, edx
call fcn.14000f4f0
lea rdi, [0x14003d6d0]
mov r8d, 0x104
mov rdx, rdi
lea rcx, [rbp + 0x60]
call fcn.1400121c8
lea rdx, str.maintenanceservice.exe
lea rcx, [rbp + 0x60]
call fcn.14000a700
xor r8d, r8d
lea rdx, [rbp + 0x270]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14000a432
mov ebx, 0x68
lea rcx, [rsp + 0x70]
mov r8d, ebx
xor edx, edx
call fcn.14000f4f0
lea rax, [0x140032630]
mov dword [rsp + 0x70], ebx
mov qword [rbp - 0x80], rax
lea r8d, [rbx + 0x18]
xor eax, eax
lea rcx, [rbp - 0x20]
xor edx, edx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
call fcn.14000f4f0
lea r8d, [rbx - 0x29]
lea rdx, str.dummyparam.exe_upgrade
lea rcx, [rbp - 0x20]
call fcn.1400121c8
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x270]
mov qword [rsp + 0x38], rdi
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x14000a434
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000a434