Function at 0x47f9e0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Inject thread
Resume thread
Set environment variable
Spawn thread to rwx shellcode
Use process replacement

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487116
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x4f9490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x13]
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp + 0x1c]
push eax
mov dword [ebp - 0x17c], ecx
call fcn.0047f630
lea ecx, [ebp - 0x13]
mov dword [ebp - 0x170], 0
add esp, 8
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp eax, ecx
je 0x47fa71
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.00480170
push esi
push str.NVMPHostname
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push edi
push str.NVMPAuthToken
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push dword [ebp - 0x178]
push str.NVMPProductId
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push dword [ebp - 0x17c]
push str.NVMPMods
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp dword [ebp - 0x15c], 0x10
lea eax, [ebp - 0x170]
cmovae eax, dword [ebp - 0x170]
push eax
push str.NVMPPortname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 1
push eax
call fcn.004832e0
add esp, 4
lea ecx, [ebp - 0x140]
push 0x10
push str._nvmpclient.dll
call fcn.00480010
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 2
push eax
call fcn.004832e0
add esp, 4
lea ecx, [ebp - 0x158]
push 0xe
push str.FalloutNV.exe
call fcn.00480010
cmp dword [ebp - 0x144], 0x10
lea ecx, [ebp - 0x194]
push ecx
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x44
push ecx
push 0
push 0
push 4
push 1
xorps xmm0, xmm0
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push 0
push 0
push 0
push eax
movlpd qword [ebp - 0x1d4], xmm0
movlpd qword [ebp - 0x1cc], xmm0
movlpd qword [ebp - 0x1c4], xmm0
movlpd qword [ebp - 0x1bc], xmm0
movlpd qword [ebp - 0x1b4], xmm0
movlpd qword [ebp - 0x1ac], xmm0
movlpd qword [ebp - 0x1a4], xmm0
movlpd qword [ebp - 0x19c], xmm0
movups xmmword [ebp - 0x194], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x47fc34
cmp dword [ebp - 0x144], 0x10
lea eax, [ebp - 0x158]
cmovae eax, dword [ebp - 0x158]
push eax
lea eax, [ebp - 0x128]
push str.Unable_to_start__s__CreateProcess_failed
push eax
call fcn.0047f670
lea eax, [ebp - 0x128]
push str.Game
push eax
call fcn.00484aa0
add esp, 0x14
jmp 0x47fe49
push dword [ebp - 0x18c]
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x47fc5c
push str.Game
push str.Unable_to_hook_Fallout:_New_Vegas_to_write_NV:MP_load_instructions
jmp 0x47fe41
push 0x4aa46c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x47fc7a
push str.Game
push str.Unable_to_load_Kernel32.dll_for_GetProcAddress
jmp 0x47fe41
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40
push 0x3000
push 0x104
push 0
push edi
mov dword [ebp - 0x17c], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov dword [ebp - 0x184], esi
test esi, esi
jne 0x47fcbc
push str.Game
push str.Access_denied_to_Fallout:_New_Vegas__please_check_you_have_ran_as_administrator_and_close_any_anti_virus_programs_running__stage_2_
jmp 0x47fe41
call fcn.00481700
push str.Allocated_Remote_Memory
push 2
push dword [section..data]
push eax
call fcn.00481780
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x140]
add esp, 0x10
cmp dword [ebp - 0x12c], 0x10
cmovae ecx, dword [ebp - 0x140]
inc eax
push 0
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x47fd11
push str.Game
push str.Entry_point_write_failed__stage_3_
jmp 0x47fe41
push 0
push 0
push esi
push dword [ebp - 0x17c]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x178], eax
test eax, eax
jne 0x47fd40
push str.Game
push str.Remote_thread_startup_failed__stage_4_
jmp 0x47fe41
cmp dword [ebp - 0x12c], 0x10
lea esi, [ebp - 0x140]
cmovae esi, dword [ebp - 0x140]
call fcn.00481700
push esi
push str.Created_remote_thread_for__s
push 2
push dword [section..data]
push eax
call fcn.00481780
call fcn.00481700
push str.Waiting_on_LoadLibrary...
push 2
push dword [section..data]
push eax
call fcn.00481780
add esp, 0x24
push 0xea60
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
mov dword [ebp - 0x180], 0
sete al
mov byte [ebp - 0x171], al
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov esi, dword [ebp - 0x180]
call fcn.00481700
push esi
push str.Resuming_Thread__u
push 2
push dword [section..data]
push eax
call fcn.00481780
add esp, 0x14
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x8000
push 0
push dword [ebp - 0x184]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x190]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x194]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x171], 0
jne 0x47fe50
push str.Game
push str.Remote_object_did_not_succeed__stage_5_
call fcn.00484aa0
add esp, 8
mov byte [ebp - 0x171], 0
mov edx, dword [ebp - 0x144]
cmp edx, 0x10
jb 0x47fe8a
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47fe80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ff22
push edx
push ecx
call fcn.00485f00
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x47fedb
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47fed1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47ff22
push edx
push ecx
call fcn.00485f00
add esp, 8
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
cmp edx, 0x10
jb 0x47ff32
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x47ff28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47ff28
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00485f00
add esp, 8
mov al, byte [ebp - 0x171]
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.00486160
mov esp, ebp
pop ebp
ret