Function at 0x4d6c0c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 2
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.IMAGEHLP.DLL_ImageDirectoryEntryToData
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4d6e02
mov eax, dword [ebp - 0x10]
mov esi, eax
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dl, 1
mov eax, dword [0x42d604]
call fcn.00404dfc
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d6dfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
add dword [ebp - 0x14], 0x10
movzx eax, word [ebp - 0x36]
dec eax
test eax, eax
jl 0x4d6de5
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 6
jne 0x4d6d36
mov eax, dword [ebp - 0x24]
call fcn.004397b8
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.00438b18
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004d5bf8
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call fcn.00404200
mov dword [ebp - 0x28], eax
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004d5bf8
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x40
push 8
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x4d6d0d
call fcn.0041abdc
mov eax, dword [ebp - 0x28]
add eax, 0x80000000
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 8
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
jmp 0x4d6dd5
cmp dword [ebp - 0x1c], 0xa
jne 0x4d6dd5
mov eax, dword [ebp - 0x24]
call fcn.004397b8
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.00438b18
mov dl, 0xa
mov eax, dword [ebp - 4]
call fcn.004d5bf8
mov edx, dword [eax]
call dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
call fcn.00404200
mov dword [ebp - 0x28], eax
mov dl, 0xa
mov eax, dword [ebp - 4]
call fcn.004d5bf8
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x30]
push eax
push 0x40
push 8
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
test eax, eax
jne 0x4d6db1
call fcn.0041abdc
mov eax, dword [ebp - 0x28]
add eax, 0x80000000
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
push eax
push 8
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.DLL_VirtualProtect
add dword [ebp - 0x14], 8
inc dword [ebp - 0x20]
dec dword [ebp - 0x34]
jne 0x4d6c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6e02
mov eax, dword [ebp - 0x24]
call fcn.00404e2c
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret