Function at 0x401330
Capabilities:
Allocate or change rwx memory
Create thread
Get file size
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
sub esp, 0x18
mov ecx, esp
push ecx
call fcn.004015c0
call fcn.00401160
add esp, 0x18
mov ebx, eax
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push str.D:ProjectsManualMapReleaseTargetDll.dll
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x3000
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
push 0
push esi
mov esi, eax
mov dword [esp + 0x20], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esi + 0x3c]
push ebx
push 0
add ecx, esi
push 0x1fffff
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [esp + 0x10]
mov edi, eax
push 0x40
push 0x3000
mov dword [esp + 0x20], edi
push dword [ebx + 0x50]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [ebx + 0x54]
mov dword [esp + 0x18], eax
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [ebx + 6]
jae 0x40142e
lea esi, [ebx + 0x10c]
nop dword [eax]
mov eax, dword [esi]
add eax, dword [esp + 0x14]
push 0
push dword [esi - 4]
push eax
mov eax, dword [esi - 8]
add eax, dword [esp + 0x1c]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [ebx + 6]
lea esi, [esi + 0x28]
inc edi
cmp edi, eax
jl 0x401400
mov esi, dword [esp + 0x14]
push 0x40
push 0x3000
push 0x1000
push 0
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x3c]
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xa0]
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x80]
mov ebx, dword [esp + 0x18]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov dword [esp + 0x30], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x18
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push edi
push ebx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.00401320
lea esi, [edi + 0x18]
sub eax, 0x401220
push eax
push 0x401220
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0x401c20
push edi
push 0x401140
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Address_of_Loader:
mov esi, eax
call fcn.004019f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x401c20
push dword [esp + 0x14]
mov edx, str.Address_of_Image:
push 0x401140
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004019f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401ee8
mov esp, ebp
pop ebp
ret