Function at 0x1400603a0
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 rbx
sub rsp, 0x430
mov edi, edx
mov rbx, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x428], rax
lea rsi, [rsp + 0x220]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401a48a0
lea rcx, str._SystemRoot_System32_rundll32.exe
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefc
xor r14d, r14d
cmp eax, 0xfffffefd
jb 0x1400605f0
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
mov qword [rax + 0x60], r14
mov dword [rax], 0x68
lea rcx, [rsp + 0x190]
mov qword [rcx + 0x10], r14
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 0x1400605e9
mov esi, eax
movzx eax, byte [rbx + 0x17]
test al, al
js 0x140060491
and eax, 0x7f
jmp 0x140060494
mov eax, dword [rbx + 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 0x1400605aa
mov r14, rax
lea rax, [rsp + 0x50]
mov qword [rax], 0
movzx ecx, byte [rbx + 0x17]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs rdx, qword [rbx + 8]
lea r9, [rdx + rdx + 2]
cmovs rbx, qword [rbx]
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x20], rax
mov rdx, r14
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x140330bfc]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, [0x140333886]
mov r13, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call r13
mov r15, rax
lea rdx, [0x14033388c]
mov rcx, rbx
call r13
mov r12, rax
lea rdx, [0x140333898]
mov rcx, rbx
call r13
test r15, r15
je 0x1400605a1
test r12, r12
je 0x1400605a1
mov rbx, rax
test rax, rax
je 0x1400605a1
mov r8d, edi
mov rdx, qword [rsp + 0x198]
mov rdi, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, r15
call rdi
mov rdx, qword [rsp + 0x198]
mov rcx, r12
mov r8, r14
call rdi
mov rdx, qword [rsp + 0x198]
mov rcx, rbx
xor r8d, r8d
call rdi
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1400605cb
call fcn.140218750
xor esi, esi
jmp 0x1400605cb
mov ecx, 2
call fcn.140151850
test al, al
jne 0x140060616
mov rcx, qword [rsp + 0x190]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x198]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rdi
mov rcx, qword [rsp + 0x190]
call rdi
mov r14d, esi
test r14d, r14d
setne r14b
mov rcx, qword [rsp + 0x428]
xor rcx, rsp
call fcn.1401a2750
mov eax, r14d
add rsp, 0x430
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstaller_setup_setup_util.cc
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x13b
mov r9d, 2
call fcn.140215d50
lea rcx, [rsp + 0x60]
lea rdx, [0x1403338a4]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401e2360
mov rcx, rdi
call fcn.140215dd0
jmp 0x1400605b8