Function at 0x401220
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Execute shellcode via indirect call
Hide graphical window
Inject thread
Resume thread
Spawn thread to rwx shellcode
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x405040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push str.IMVU_MPR_v3.6.4.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401463
push esi
push 0x40
push 0x3000
push 0x1000
push 0
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x4012c1
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401587
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push str.kernel32.dll
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.LoadLibraryA
push esi
call edi
push str.ExitThread
push esi
mov dword [ebp - 0x5c], eax
call edi
push str.user32.dll
mov dword [ebp - 0x60], eax
call ebx
push str.MessageBoxA
push eax
call edi
mov ebx, dword [ebp - 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 4
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push dword [ebp - 0x58]
call edi
push 0
push 4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebx + 4]
push eax
push dword [ebp - 0x58]
call edi
push 0
push 4
lea eax, [ebp - 0x64]
push eax
lea eax, [ebx + 8]
push eax
push dword [ebp - 0x58]
call edi
push 0
push 0x100
push 0x4011f0
lea esi, [ebx + 0x10]
push esi
push dword [ebp - 0x58]
call edi
cmp dword [0x4054d8], 0xf
mov eax, 0x4054c4
push 0
push dword [0x4054d4]
cmova eax, dword [0x4054c4]
push eax
lea eax, [ebx + 0x110]
push eax
push dword [ebp - 0x58]
call edi
cmp dword [0x4054c0], 0xf
mov eax, 0x4054ac
push 0
cmova eax, dword [0x4054ac]
push dword [0x4054bc]
push eax
mov eax, dword [0x4054a8]
add eax, 0x110
add eax, ebx
push eax
push dword [ebp - 0x58]
call edi
cmp dword [0x4054a4], 0xf
mov eax, 0x405490
push 0
push dword [0x4054a0]
cmova eax, dword [0x405490]
push eax
mov ecx, dword [0x4054a8]
mov eax, dword [0x4054dc]
add ecx, 0x110
add eax, ecx
add eax, ebx
push eax
push dword [ebp - 0x58]
call edi
push 0
push 0
push 0
push esi
push 0
push 0
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x40142a
push 0x8000
push eax
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
pop edi
pop ebx
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401587
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x8000
push 0
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [ebp - 0x58]
call esi
push dword [ebp - 0x54]
call esi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401587
mov esp, ebp
pop ebp
ret 0x10