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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3ee7
mov eax, dword fs:[0]
push eax
sub esp, 0x394
mov eax, dword [0x52610c]
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 ebx, edx
mov esi, ecx
mov eax, dword [ebx + 0x10]
push 0x40
push 0x1000
push eax
push 0
push esi
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
jne 0x414fbb
sub esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00404d30
mov edx, str._VirtualAllocEx_Failed
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xd0]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x414f45
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x414f72
push 0xf0
call fcn.004a0565
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404270
mov byte [ebp - 4], 1
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414f91
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x78]
call fcn.00404c40
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 3
push ecx
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.0049d027
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x415332
push 0
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.00407960
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x415099
sub esp, 8
lea ecx, [ebp - 0x190]
call fcn.00404d30
mov edx, str._WriteProcessMemory_Failed
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x180]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x190]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x41501a
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x415047
push 0xf0
call fcn.004a0565
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404270
mov byte [ebp - 4], 5
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x415066
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x128]
call fcn.00404c40
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d027
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x415332
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x41516d
sub esp, 8
lea ecx, [ebp - 0x240]
call fcn.00404d30
mov edx, str._GetModuleHandleA_kernel32.dll__Failed
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x240]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 0x10
jb 0x4150ee
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x41511b
push 0xf0
call fcn.004a0565
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404270
mov byte [ebp - 4], 9
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41513a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x1d8]
call fcn.00404c40
lea eax, [ebp - 0x1d8]
mov dword [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d027
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x415332
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x415242
sub esp, 8
lea ecx, [ebp - 0x2f0]
call fcn.00404d30
mov edx, str._GetProcAddress_LoadLibraryA__Failed
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x2e0]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 0x10
jb 0x4151c3
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x4151f0
push 0xf0
call fcn.004a0565
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00404270
mov byte [ebp - 4], 0xd
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41520f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x288]
call fcn.00404c40
lea eax, [ebp - 0x288]
mov dword [ebp - 4], 0xf
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d027
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x415332
push 0
push 0
push edi
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
test esi, esi
jne 0x41531b
sub esp, 8
lea ecx, [ebp - 0x3a0]
call fcn.00404d30
mov edx, str._CreateRemoteThread_Failed
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x390]
call fcn.004060e0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00404c20
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 0x10
jb 0x41529f
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x4152cc
push 0xf0
call fcn.004a0565
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00404270
mov byte [ebp - 4], 0x11
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.004048b0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4152eb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004099a0
lea ecx, [ebp - 0x338]
call fcn.00404c40
lea eax, [ebp - 0x338]
mov dword [ebp - 4], 0x13
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0049d027
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x415332
push 0x3e8
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
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.004a0535
mov esp, ebp
pop ebp
ret