Function at 0x4cb21d
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecfe8
push 0x4cbde2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
or dword [ebp - 0x3c], 0xffffffff
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x58], edx
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
cmp esi, edx
jne 0x4cb277
cmp dword [ebp + 0xc], edx
jne 0x4cb277
mov dword [ebp - 0x3c], VariantClear
jmp 0x4cb3d4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [ebp - 0x6c], eax
lea edx, [eax + eax]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], esi
mov ecx, dword [esi + 0x3c]
add ecx, esi
mov dword [ebp - 0x60], ecx
mov ebx, dword [ecx + 0x50]
mov dword [ebp - 0x28], ebx
mov ecx, dword [ecx + 0x34]
mov dword [ebp - 0x68], ecx
mov edi, 0x79cac6
mov dword [ebp - 0x34], edi
mov ecx, dword [0x79cb02]
lea ecx, [ecx + 0x79cac6]
mov dword [ebp - 0x60], ecx
mov ecx, dword [ecx + 0x50]
mov dword [ebp - 0x64], ecx
add edx, eax
add edx, ebx
lea ebx, [edx + ecx + 4]
mov dword [ebp - 0x5c], ebx
push 0x1c
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4cb3d4
cmp dword [ebp - 0x48], 0x10000
jne 0x4cb302
cmp ebx, dword [ebp - 0x4c]
jae 0x4cb302
push 0x40
push 0x1000
push ebx
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4cb32b
push 0x40
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4cb32b
mov dword [ebp - 0x3c], 0x80000080
jmp 0x4cb3d4
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push esi
push ebx
push dword [ebp - 0x20]
call fcn.004cb608
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4cb3d4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x68]
je 0x4cb363
push eax
push 0
push eax
call fcn.004cb9ae
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4cb3d4
push dword [ebp - 0x30]
call fcn.004cb882
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4cb3d4
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004cb9ae
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4cb3d4
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
test byte [ebp + 0x13], 0x40
je 0x4cb3c1
lea ecx, [ebp - 0x2c]
push ecx
xor esi, esi
push esi
push dword [ebp - 0x20]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
cmp ecx, esi
je 0x4cb3b8
mov dword [ecx], eax
jmp 0x4cb3d4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4cb3d4
push dword [ebp - 0x20]
call eax
pop ecx
jmp 0x4cb3d4
or dword [ebp - 4], 0xffffffff
xor esi, esi
cmp dword [ebp - 0x3c], esi
je 0x4cb3f6
cmp dword [ebp - 0x20], esi
je 0x4cb3f6
push 0x10000
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10