Function at 0x140019680
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov al, byte [0x140059d39]
lea rdx, [0x140059d40]
neg al
mov rdi, rcx
sbb rcx, rcx
or ebx, 0xffffffff
and rcx, rdx
je 0x1400196df
mov r8d, ebx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 7
mov dword [rbp - 0x7c], ebx
call fcn.140008030
mov r8, qword [rdi]
lea rdx, str._StartProcessWithNoExceptionHandler___s_
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x78], eax
call fcn.140004120
and qword [rsp + 0x58], 0
mov ecx, 0x30
call fcn.140039484
lea rdx, [0x140050924]
lea rcx, [rbp + 0x50]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x50], rax
call fcn.1400055c0
lea rdx, str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea rcx, [rbp + 0x48]
call fcn.1400055c0
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.14001522c
mov rdx, qword [rbp + 0x48]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140019755
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rbp + 0x50]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140019773
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor ebx, ebx
and qword [rsp + 0x68], rbx
and qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rsi, rax
test rax, rax
je 0x14001984f
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400152d8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x68]
je 0x14001984f
xor edx, edx
mov dword [rbp - 0x50], 0x68
lea rcx, [rbp - 0x48]
lea r8d, [rdx + 0x60]
call fcn.140021eb0
mov rdx, qword [rdi]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x60], rax
movups xmmword [rbp - 0x70], xmm0
cmp dword [rdx - 8], 1
jle 0x1400197fb
mov edx, dword [rdx - 0x10]
mov rcx, rdi
call fcn.140001b78
mov rdx, qword [rdi]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
xor ecx, ecx
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x400
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001984f
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x140019856
call fcn.14000c44c
mov edi, eax
test rbx, rbx
je 0x140019892
mov rdx, qword [rsp + 0x70]
mov rax, rbx
sub rdx, rbx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
jb 0x14001988a
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400198ce
mov rcx, rbx
call fcn.14002154c
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov r8, qword [r8 + 8]
call fcn.14000c3ac
mov rcx, qword [rsp + 0x50]
mov edx, 0x30
call fcn.14002154c
mov rbx, qword [rsp + 0x140]
mov eax, edi
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
call fcn.140025114
int3