Function at 0x1400131f0
Capabilities:
Create process on windows
Create process suspended
Inject apc
Query environment variable
Resume thread
Self delete
Terminate process
Use process replacement

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x408
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x400], rax
lea rcx, str._SystemRoot_System32_rundll32.exe
lea rdx, [rsp + 0x1f0]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
xor edi, edi
cmp eax, 0x102
ja 0x140013446
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
movaps xmmword [rax], xmm0
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x10], xmm0
mov qword [rax + 0x60], rdi
mov dword [rax], 0x68
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rdi
movaps xmmword [rcx], xmm0
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r12d, eax
test eax, eax
je 0x140013440
mov eax, dword [rbx + 0x10]
lea r8d, [rax + rax]
add r8d, 2
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x1400133c2
mov qword [rsp + 0xe0], 0
mov rax, qword [rbx + 0x10]
lea r9, [rax + rax]
add r9, 2
cmp qword [rbx + 0x18], 7
jbe 0x14001330e
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x14014ae76]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
lea rdx, [0x14014ae90]
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rbx
mov rbp, rax
lea rdx, [0x14014ae96]
mov rcx, rsi
call rbx
mov r13, rax
lea rdx, [0x14014aea2]
mov rcx, rsi
call rbx
mov r15, rax
xor eax, eax
test rbp, rbp
je 0x1400133bd
test r13, r13
je 0x1400133bd
test r15, r15
je 0x1400133bd
mov r8d, r14d
mov rdx, qword [rsp + 0x58]
mov rsi, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rbp
call rsi
mov rdx, qword [rsp + 0x58]
mov rcx, r13
mov r8, rdi
call rsi
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, r15
call rsi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, r12d
mov r12d, eax
jmp 0x140013428
mov ecx, 2
call fcn.14002c2f0
test al, al
je 0x140013418
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rsi, [rsp + 0xe0]
mov r8d, 0x1ca
mov r9d, 2
mov rcx, rsi
call fcn.14002d860
lea rcx, [rsp + 0xf0]
lea rdx, [0x14014aeae]
call fcn.140002bb0
mov rcx, rsi
call fcn.14002d9a0
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x50]
call rsi
mov edi, r12d
test edi, edi
setne dil
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.14011a370
mov eax, edi
add rsp, 0x408
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret