Function at 0x4019b0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push str.mapping..._n
call fcn.00401050
add esp, 4
push 4
push 0x3000
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 0x40
push 0x3000
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x50]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
push 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 0xc]
add ecx, 0xf8
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
jmp 0x401a69
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jge 0x401aad
push 0
imul edx, dword [ebp - 8], 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + edx + 0x10]
push ecx
imul edx, dword [ebp - 8], 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + edx + 0x14]
push ecx
imul edx, dword [ebp - 8], 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + edx + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x401a60
push 0x40
push 0x3000
push 0x1000
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x38], eax
mov ecx, 8
imul edx, ecx, 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x34], ecx
mov edx, 8
shl edx, 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x30], ecx
mov edx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], edx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
push 0
push 0x18
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov ecx, 0x4019a0
sub ecx, 0x4017b0
push ecx
push 0x4017b0
mov edx, dword [ebp - 0x18]
add edx, 0x18
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x18
push edx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x10
push str.Status
push str.Succes_mapped
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
push 0x8000
push 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov esp, ebp
pop ebp
ret