Function at 0x14003fc30
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, 0x448
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x440], rax
lea rsi, [rsp + 0x230]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140103d70
lea rcx, str._SystemRoot_System32_rundll32.exe
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
xor edi, edi
cmp eax, 0x102
ja 0x14003feb9
xorps xmm0, xmm0
lea rax, [rsp + 0x1c0]
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 + 0x1a0]
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 + 0x230]
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14003feb3
mov r15d, eax
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14003fd1e
mov eax, dword [rbx + 8]
lea r8d, [rax + rax]
add r8d, 2
mov rcx, qword [rsp + 0x1a0]
mov dword [rsp + 0x20], 4
xor r12d, r12d
xor edx, edx
mov r9d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x14003fe2c
mov rdi, rax
lea rax, [rsp + 0x58]
mov qword [rax], 0
movzx ecx, byte [rbx + 0x17]
test cl, cl
cmovs rcx, qword [rbx + 8]
lea r9, [rcx + rcx + 2]
cmovs rbx, qword [rbx]
mov rcx, qword [rsp + 0x1a0]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rcx, [0x1401e6676]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
lea rdx, [0x1401e6690]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rsi
mov rbp, rax
lea rdx, [0x1401e6696]
mov rcx, rbx
call rsi
mov r13, rax
lea rdx, [0x1401e66a2]
mov rcx, rbx
call rsi
test rbp, rbp
je 0x14003fe27
test r13, r13
je 0x14003fe27
mov rbx, rax
test rax, rax
je 0x14003fe27
mov r8d, r14d
mov rdx, qword [rsp + 0x1a8]
mov rsi, qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, rbp
call rsi
mov rdx, qword [rsp + 0x1a8]
mov rcx, r13
mov r8, rdi
call rsi
mov rdx, qword [rsp + 0x1a8]
mov rcx, rbx
xor r8d, r8d
call rsi
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov r12d, r15d
mov r15d, r12d
jmp 0x14003fe95
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14003fe82
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_setup_util.cc
lea rsi, [rsp + 0x58]
mov rcx, rsi
mov r8d, 0x173
mov r9d, 2
call fcn.140158e40
lea rcx, [rsp + 0x68]
lea rdx, [0x1401e66ae]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400cf4f0
mov rcx, rsi
call fcn.140158f30
mov rcx, qword [rsp + 0x1a0]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x1a8]
mov rsi, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rsi
mov rcx, qword [rsp + 0x1a0]
call rsi
mov edi, r15d
test edi, edi
setne dil
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1401013e0
mov eax, edi
add rsp, 0x448
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret