Function at 0x4014a0
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Execute shellcode via indirect call
Get file size
Inject thread
Read file on windows
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x405004]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x15e
push 0x1a4
push dword [esp + 0x44]
push dword [esp + 0x44]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
sub esp, 0x18
mov ecx, esp
push 0xa
push ecx
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00401760
call fcn.00401170
add esp, 0x18
mov ebx, eax
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push str.loader.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
push eax
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x18]
push ebx
push 0
push 0x1fffff
mov esi, dword [edi + 0x3c]
add esi, edi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x3000
push dword [esi + 0x50]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x54]
mov dword [esp + 0x1c], eax
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor edi, edi
xor eax, eax
cmp ax, word [esi + 6]
jae 0x4015ef
add esi, 0x10c
nop dword [eax]
mov eax, dword [esi]
add eax, dword [esp + 0x18]
push 0
push dword [esi - 4]
push eax
mov eax, dword [esi - 8]
add eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [esp + 0x10]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 6]
cmp edi, eax
jl 0x4015c0
mov esi, dword [esp + 0x10]
push 0x40
push 0x3000
push 0x1000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0xa0]
add ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x80]
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 edx
push ebx
mov dword [esp + 0x3c], ecx
call edi
mov esi, dword [esp + 0x10]
mov eax, fcn.00401490
push 0
sub eax, 0x401390
add esi, 0x18
push eax
push 0x401390
push esi
push ebx
call edi
mov edi, dword [esp + 0x10]
push 0
push 0
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
sub esp, 0x18
mov esi, eax
mov ecx, esp
push 0xa
push ecx
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00401760
call fcn.00401170
add esp, 0x18
test eax, eax
je 0x401725
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
push 0x401ba0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Target_Process_Found._Loaded_Successfully
call fcn.00401960
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::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x7d0
call esi
push 0x401ba0
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Exiting_in_3_seconds.
call fcn.00401960
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::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xbb8
call esi
push 0xbb8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
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 + 0x44]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401bcf
mov esp, ebp
pop ebp
ret