Function at 0x1400db660
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 r12
push rsi
push rdi
push rbx
sub rsp, 0x438
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x430], rax
lea rbx, [rsp + 0x220]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401af840
lea rcx, str._SystemRoot_System32_rundll32.exe
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefc
cmp eax, 0xfffffefd
jae 0x1400db72a
xor ebx, ebx
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebx
add rsp, 0x438
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 2
call fcn.14018cad0
test al, al
jne 0x1400db8d4
mov rcx, qword [rsp + 0x190]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov bl, 1
mov rcx, qword [rsp + 0x198]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x190]
call rsi
jmp 0x1400db6c3
xorps xmm0, xmm0
lea rax, [rsp + 0x1b0]
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
xor ebx, ebx
mov qword [rax + 0x60], rbx
mov dword [rax], 0x68
lea rcx, [rsp + 0x190]
mov qword [rcx + 0x10], rbx
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 + 0x220]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400db6c3
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1400db7b1
and eax, 0x7f
jmp 0x1400db7b4
mov eax, dword [rdi + 8]
lea r8d, [rax*2 + 2]
mov rcx, qword [rsp + 0x190]
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x1400db6e6
mov r14, rax
lea rax, [rsp + 0x50]
mov qword [rax], 0
movzx ecx, byte [rdi + 0x17]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs rdx, qword [rdi + 8]
lea r9, [rdx + rdx + 2]
cmovs rdi, qword [rdi]
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x1402bb02c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
lea rdx, [0x1402bd856]
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rbx
mov r15, rax
lea rdx, [0x1402ba7da]
mov rcx, rdi
call rbx
mov r12, rax
lea rdx, [0x1402bd85c]
mov rcx, rdi
call rbx
mov rdi, rax
test r15, r15
setne al
test r12, r12
setne cl
and cl, al
test rdi, rdi
setne bl
and bl, cl
jne 0x1400db88a
call fcn.1402298b0
jmp 0x1400db70d
mov r8d, esi
mov rdx, qword [rsp + 0x198]
mov rsi, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, r15
call rsi
mov rdx, qword [rsp + 0x198]
mov rcx, r12
mov r8, r14
call rsi
mov rdx, qword [rsp + 0x198]
mov rcx, rdi
xor r8d, r8d
call rsi
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1400db70d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x13a
mov r9d, 2
call fcn.1402274c0
lea rcx, [rsp + 0x60]
lea rdx, [0x1402bd868]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401e9050
mov rcx, rsi
call fcn.140227540
jmp 0x1400db6f8