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

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
mov dword [esp + 0xc], esi
je 0x4e4ba4
mov dword [eax], esi
mov ebp, dword [esp + 0x20]
cmp ebp, esi
je 0x4e4baf
mov dword [ebp], esi
mov ebx, dword [esp + 0x24]
cmp ebx, esi
je 0x4e4bb9
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x5bf190], eax
je 0x4e4bd3
pop esi
pop ebp
mov eax, 0x10dd
pop ebx
pop ecx
ret 0x14
mov eax, dword [0x5bf194]
cmp eax, esi
jne 0x4e4e16
mov ecx, dword [esp + 0x14]
cmp ecx, esi
jne 0x4e4bf4
pop esi
pop ebp
mov eax, 6
pop ebx
pop ecx
ret 0x14
mov eax, dword [ecx]
cmp eax, esi
jne 0x4e4c11
pop esi
mov eax, 6
pop ebp
mov dword [0x5bf194], eax
mov dword [0x5bf198], ecx
pop ebx
pop ecx
ret 0x14
push edi
push esi
push eax
mov dword [esp + 0x2c], esi
call fcn.004e4710
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0
push eax
call fcn.004e4710
cmp eax, edi
mov dword [esp + 0x1c], eax
jne 0x4e4c44
cmp dword [0x5bf18c], esi
jne 0x4e4dba
jmp 0x4e4d94
test ebp, ebp
je 0x4e4c4b
mov dword [ebp], edi
test ebx, ebx
je 0x4e4c51
mov dword [ebx], eax
push 0x18
call fcn.004e943d
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
jne 0x4e4c70
mov dword [esp + 0x10], 8
jmp 0x4e4d94
call fcn.004e9420
mov eax, edi
call fcn.004e4400
mov esi, eax
test esi, esi
jne 0x4e4c8f
mov dword [esp + 0x10], 8
jmp 0x4e4d94
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e4c99
mov dword [eax], esi
mov ebp, edi
xor ebx, ebx
lea ecx, [ecx]
lea ecx, [esp + 0x20]
push ecx
push 0
push ebp
lea edx, [ebx + esi]
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x30], 0
call fcn.004e90f0
cmp dword [esp + 0x20], 0
mov ebp, eax
jne 0x4e4cf2
mov eax, dword [esp + 0x10]
mov ebx, ebp
push eax
sub ebx, edi
call fcn.004e4340
add esp, 4
test eax, eax
jne 0x4e4cf2
cmp ebx, 5
jl 0x4e4ca0
cmp ebx, 0x12
jbe 0x4e4d11
mov dword [esp + 0x10], 6
jmp 0x4e4d94
cmp ebx, 5
jge 0x4e4ce0
cmp dword [0x5bf18c], 0
mov dword [esp + 0x10], 9
jne 0x4e4d9e
jmp 0x4e4d94
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
lea edx, [esi + 0x17]
lea eax, [ebx + esi]
lea ecx, [ebx + edi]
mov dword [esi + 0x18], ecx
lea ebp, [eax + 5]
mov byte [edx], bl
mov byte [eax], 0xe9
add eax, 1
sub ecx, ebp
mov dword [eax], ecx
push edx
add eax, 4
push eax
call fcn.004e42b0
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 8
lea eax, [esp + 0x28]
push eax
push 0x40
push ebx
push edi
mov dword [esp + 0x38], 0
call ebp
test eax, eax
je 0x4e4d8a
mov ecx, edi
call fcn.004e4660
mov ebx, eax
test ebx, ebx
je 0x4e4de7
cmp word [ebx + 0x1c], 0x6544
je 0x4e4de7
lea ecx, [esp + 0x1c]
push ecx
push 0x40
push 0x40
push ebx
mov dword [esp + 0x2c], 0
call ebp
test eax, eax
jne 0x4e4dcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov dword [0x5bf194], edx
test esi, esi
je 0x4e4da9
mov eax, esi
call fcn.004e4630
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4e4dba
push eax
call fcn.004e946d
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword [0x5bf198], eax
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret 0x14
mov word [ebx + 0x1c], 0x6544
mov word [ebx + 0x1e], 0x6f74
mov word [ebx + 0x20], 0x7275
mov word [ebx + 0x22], 0x2173
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [0x5bf1a0]
mov dword [eax + 0xc], edi
mov dword [eax + 4], 0
mov dword [eax + 0x10], esi
mov edx, dword [esp + 0x28]
mov dword [eax + 0x14], edx
mov dword [eax], ecx
mov dword [0x5bf1a0], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14