Function at 0x1400197c4
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 0x140019823
mov r8d, ebx
mov qword [rsp + 0x78], rcx
mov dword [rbp - 0x80], 7
mov dword [rbp - 0x7c], ebx
call fcn.140008294
mov r8, qword [rdi]
lea rdx, str._StartProcessWithNoExceptionHandler___s_
lea rcx, [rsp + 0x78]
mov dword [rbp - 0x78], eax
call fcn.1400041a4
and qword [rsp + 0x58], 0
mov ecx, 0x30
call fcn.140039864
lea rdx, [0x1400509d4]
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.1400052a0
lea rdx, str.GOOGLE_UPDATE_NO_CRASH_HANDLER
lea rcx, [rbp + 0x48]
call fcn.1400052a0
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140015650
mov rdx, qword [rbp + 0x48]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x140019899
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 0x1400198b7
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 0x140019993
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400156fc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x68]
je 0x140019993
xor edx, edx
mov dword [rbp - 0x50], 0x68
lea rcx, [rbp - 0x48]
lea r8d, [rdx + 0x60]
call fcn.140022290
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 0x14001993f
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 0x140019993
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 0x14001999a
call fcn.14000c81c
mov edi, eax
test rbx, rbx
je 0x1400199d6
mov rdx, qword [rsp + 0x70]
mov rax, rbx
sub rdx, rbx
sar rdx, 1
add rdx, rdx
cmp rdx, 0x1000
jb 0x1400199ce
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019a12
mov rcx, rbx
call fcn.14002192c
mov r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x50]
mov r8, qword [r8 + 8]
call fcn.14000c77c
mov rcx, qword [rsp + 0x50]
mov edx, 0x30
call fcn.14002192c
mov rbx, qword [rsp + 0x140]
mov eax, edi
add rsp, 0x120
pop rdi
pop rsi
pop rbp
ret
call fcn.1400254f4
int3