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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e3577
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 0x414e3b
sub esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00404ce0
mov edx, str._VirtualAllocEx_Failed
mov dword [ebp - 4], edi
lea ecx, [ebp - 0xd0]
call fcn.00406090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x414dc5
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x414df2
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00404220
mov byte [ebp - 4], 1
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414e11
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x78]
call fcn.00404bf0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 3
push ecx
mov dword [ebp - 0x78], vtable.std::ios_base.0
call fcn.0049c747
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x4151b2
push 0
push dword [ebp - 0x30]
mov ecx, ebx
call fcn.00407910
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x414f19
sub esp, 8
lea ecx, [ebp - 0x190]
call fcn.00404ce0
mov edx, str._WriteProcessMemory_Failed
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x180]
call fcn.00406090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x190]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 0x14], 0x10
jb 0x414e9a
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x414ec7
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00404220
mov byte [ebp - 4], 5
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414ee6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x128]
call fcn.00404bf0
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 7
push eax
mov dword [ebp - 0x128], vtable.std::ios_base.0
call fcn.0049c747
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x4151b2
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x414fed
sub esp, 8
lea ecx, [ebp - 0x240]
call fcn.00404ce0
mov edx, str._GetModuleHandleA_kernel32.dll__Failed
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.00406090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x240]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [esi + 0x14], 0x10
jb 0x414f6e
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x414f9b
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404220
mov byte [ebp - 4], 9
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x414fba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x1d8]
call fcn.00404bf0
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.0049c747
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x4151b2
push str.LoadLibraryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4150c2
sub esp, 8
lea ecx, [ebp - 0x2f0]
call fcn.00404ce0
mov edx, str._GetProcAddress_LoadLibraryA__Failed
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x2e0]
call fcn.00406090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 0xd
cmp dword [esi + 0x14], 0x10
jb 0x415043
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x415070
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00404220
mov byte [ebp - 4], 0xd
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41508f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x288]
call fcn.00404bf0
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.0049c747
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x4151b2
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 0x41519b
sub esp, 8
lea ecx, [ebp - 0x3a0]
call fcn.00404ce0
mov edx, str._CreateRemoteThread_Failed
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x390]
call fcn.00406090
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x3a0]
call fcn.00404bd0
mov esi, eax
mov byte [ebp - 4], 0x11
cmp dword [esi + 0x14], 0x10
jb 0x41511f
mov esi, dword [esi]
mov eax, dword [0x52e1c0]
test eax, eax
jne 0x41514c
push 0xf0
call fcn.0049fc85
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00404220
mov byte [ebp - 4], 0x11
mov dword [0x52e1c0], eax
push esi
push 4
mov ecx, eax
call fcn.00404860
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41516b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409950
lea ecx, [ebp - 0x338]
call fcn.00404bf0
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.0049c747
mov al, byte [ebp - 0x29]
add esp, 4
jmp 0x4151b2
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.0049fc55
mov esp, ebp
pop ebp
ret