Function at 0x140011384
Capabilities:
Check if file exists
Create thread
Get common file path
Get file attributes
Inject thread

Disassembly:
jmp 0x1400203d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2e8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x7a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x14003f040]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x1400460ee]
call fcn.140011cb7
lea rcx, [rbp + 8]
call fcn.140011ca8
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, eax
mov edx, eax
lea rcx, [rbp + 8]
call fcn.1400112ad
lea rcx, [rbp + 8]
call fcn.14001110e
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 8]
call fcn.140011519
mov qword [rbp + 0x280], rax
mov r8, qword [rbp + 0x278]
xor edx, edx
mov rcx, qword [rbp + 0x280]
call fcn.14001199c
lea rcx, [rbp + 8]
call fcn.140011519
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 8]
call fcn.14001110e
mov dword [rbp + 0x280], eax
mov rdx, qword [rbp + 0x278]
mov ecx, dword [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, str.ReShade64.dll
lea rcx, [rbp + 0x1c8]
call fcn.1400115c8
mov qword [rbp + 0x278], rax
mov rax, qword [rbp + 0x278]
mov qword [rbp + 0x280], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x288], rax
lea rcx, [rbp + 8]
call fcn.140011118
mov qword [rbp + 0x290], rax
mov r8, qword [rbp + 0x288]
mov rdx, qword [rbp + 0x290]
lea rcx, [rbp + 0x48]
call fcn.140011d1b
nop
lea rcx, [rbp + 0x1c8]
call fcn.14001124e
lea rcx, [rbp + 0x48]
call fcn.140011118
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14002053a
lea rcx, [rbp + 0x48]
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001124e
jmp 0x140020747
lea rcx, str._nReShade_found_n
call fcn.140011618
lea rcx, str.Injecting_ReShade..._n
call fcn.140011618
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jne 0x1400205f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xa4], eax
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x208]
call fcn.140011bbd
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x278]
call fcn.140011118
mov r8, rax
mov edx, dword [rbp + 0xa4]
lea rcx, str.VirtualAllocEx_failed___d_:__s_n
call fcn.140011618
lea rcx, [rbp + 0x208]
call fcn.14001124e
nop
lea rcx, [rbp + 0x48]
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001124e
jmp 0x140020747
lea rcx, [rbp + 0x48]
call fcn.140011b0e
mov qword [rbp + 0x278], rax
lea rcx, [rbp + 0x48]
call fcn.140011519
mov qword [rbp + 0x280], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rbp + 0x278]
mov r8, qword [rbp + 0x280]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x1400206eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0xe4], eax
mov edx, dword [rbp + 0xe4]
lea rcx, [rbp + 0x248]
call fcn.140011bbd
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x278]
call fcn.140011118
mov r8, rax
mov edx, dword [rbp + 0xe4]
lea rcx, str.CreateRemoteThread_failed___d_:__s_n
call fcn.140011618
lea rcx, [rbp + 0x248]
call fcn.14001124e
nop
lea rcx, [rbp + 0x48]
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001124e
jmp 0x140020747
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.ReShade_loaded_n_n
call fcn.140011618
nop
lea rcx, [rbp + 0x48]
call fcn.14001124e
nop
lea rcx, [rbp + 8]
call fcn.14001124e
lea rcx, [rbp - 0x40]
lea rdx, [0x140036270]
call fcn.140011abe
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140011645
lea rsp, [rbp + 0x2a8]
pop rdi
pop rbp
ret