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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4023a7
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [section..data]
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.00401649
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov ecx, eax
movq qword [eax + 0x10], xmm0
push str.left4dead2.exe
mov dword [eax + 0x18], 0
call fcn.00401280
mov esi, eax
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.00401250
lea eax, [ebp - 0x114]
push eax
call fcn.00401250
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 0x401160
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4010d4
sub ecx, edx
push 4
push 0x3000
lea eax, [ecx + 1]
push eax
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x401160
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401101
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x114]
push eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401160
push 0
push 0
push edi
push dword [ebp - 0x118]
push 0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, 0xffffffff
je 0x401160
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, str._nSuccessfully_injected__Please_close_this_window__n_n_n_n
jmp 0x401165
mov eax, str._nInjection_failed__n_n_n_n
push eax
call fcn.00401250
push str.If_you_experience_unexpected_errors__Follow_the_steps_below:_n
call fcn.00401250
push str.1._Dont_run_left4dead2.exe_in_compatibility_mode._n
call fcn.00401250
push str.2._Switch_between_Nonsteam_version_and_Steam_version_of_VR.dll._n
call fcn.00401250
push str.3._Uninstall_Reshade_ENB_or_any_d3d9_dll_based_mods._n
call fcn.00401250
push str.4._Disable_all_workshop_addons._n
call fcn.00401250
push str.5._Disable_anti_virus_softwares._n
call fcn.00401250
push str.6._Disable_Nvidia_AMD_upscalers_or_enhancers._n_n
call fcn.00401250
add esp, 0x20
call dword [sym.imp.api_ms_win_crt_conio_l1_1_0.dll__getwch]
movzx edi, ax
test esi, esi
je 0x40120e
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x4011f1
mov eax, dword [esi + 4]
inc ecx
cmp ecx, 0x1000
jb 0x4011e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40122b
mov eax, edx
push ecx
push eax
call fcn.0040163b
add esp, 8
push 0x1c
push esi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.0040163b
add esp, 8
mov eax, edi
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.0040162d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3