Function at 0x401000
Capabilities:
Create thread
Get common file path
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4022b7
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1c
call fcn.0040155a
mov edi, eax
add esp, 4
mov dword [ebp - 0x118], edi
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], 0
mov dword [edi], 0
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0xe
mov dword [edi + 0x18], 0xf
movq xmm0, qword [str.left4dead2.exe]
movq qword [edi + 4], xmm0
mov eax, dword [0x4031ac]
mov dword [edi + 0xc], eax
mov ax, word [0x4031b0]
mov word [edi + 0x10], ax
mov byte [edi + 0x12], 0
call fcn.00401320
test eax, eax
jne 0x4010b3
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x4010a3
mov eax, dword [edi + 4]
push eax
push str.Failed_getting__s_process_ID__Make_sure_your_game_is_running_and_its_called_left4dead2.exe_n
call fcn.004012f0
add esp, 8
jmp 0x4010c8
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x4010d5
push str.Failed_process_initialization._n
call fcn.004012f0
add esp, 4
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.VR.dll
lea eax, [ebp - 0x114]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push str.DLL_Path:
call fcn.004012f0
lea eax, [ebp - 0x114]
push eax
call fcn.004012f0
add esp, 0x14
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x4011ef
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401145
sub ecx, edx
push 4
push 0x3000
lea eax, [ecx + 1]
push eax
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, eax
mov dword [ebp - 0x11c], edx
test edx, edx
je 0x4011ef
lea ecx, [ebp - 0x114]
lea eax, [ecx + 1]
mov dword [ebp - 0x120], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401182
sub ecx, dword [ebp - 0x120]
push 0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push edx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4011ef
push 0
push 0
push dword [ebp - 0x11c]
push dword [ebp - 0x118]
push 0
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
je 0x4011ef
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push dword [ebp - 0x11c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, str._nSuccessfully_injected__Please_close_this_window__n_n_n_n
jmp 0x4011f4
mov eax, str._nInjection_failed__n_n_n_n
push eax
call fcn.004012f0
push str.If_you_experience_unexpected_errors__Follow_the_steps_below:_n
call fcn.004012f0
push str.1._Remove_launch_commands_or_configs._n
call fcn.004012f0
push str.2._Re_install_Directx_and_Visual_C_Redistributable_2005_2019._n
call fcn.004012f0
push str.3._Dont_run_left4dead2.exe_in_compatibility_mode._n
call fcn.004012f0
push str.4._Uninstall_Reshade_ENB_or_any_d3d9_dll_based_mods._n
call fcn.004012f0
push str.5._Disable_all_workshop_addons._n
call fcn.004012f0
push str.6._Disable_anti_virus_softwares._n
call fcn.004012f0
push str.7._Disable_Nvidia_AMD_upscalers_or_enhancers._n
call fcn.004012f0
push str.8._Make_sure_dependable_files_are_extracted_to_game_folder._n_n
call fcn.004012f0
add esp, 0x28
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getwch]
mov ecx, dword [edi + 0x18]
movzx eax, ax
mov dword [ebp - 0x118], eax
cmp ecx, 0x10
jb 0x401296
mov eax, dword [edi + 4]
inc ecx
cmp ecx, 0x1000
jb 0x40128c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4012d4
mov eax, edx
push ecx
push eax
call fcn.0040154c
add esp, 8
push 0x1c
push edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
call fcn.0040154c
mov eax, dword [ebp - 0x118]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040153e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3