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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1000c624]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1000c648]
cmp eax, dword [ecx + 4]
jle 0x10004b83
push 0x1000c648
call fcn.10007175
add esp, 4
cmp dword [0x1000c648], 0xffffffff
jne 0x10004b83
push 0x10008150
mov dword [0x1000c64c], 0x10009370
call fcn.100074de
push 0x1000c648
call fcn.10007124
add esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
movzx ebx, word [eax + 0x126]
mov eax, dword [eax + 0x120]
test eax, eax
je 0x10004dcd
mov eax, dword [eax]
cmp eax, 0x3b
jne 0x10004c9c
push edi
cmp bx, 1
mov edi, 0xff34dede
mov eax, 0xffb8371b
cmovne edi, eax
cmp bx, 2
jne 0x10004bc7
mov edi, 0xffff8716
jmp 0x10004bd3
cmp bx, 3
mov eax, 0xffff4ced
cmove edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4e7409
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10004c09
lea eax, [ebp - 8]
mov dword [0x4e7409], edi
push eax
push dword [ebp - 8]
push 4
push 0x4e7409
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x4e72d0
call esi
pop edi
test eax, eax
je 0x10004c3b
lea eax, [ebp - 8]
mov byte [0x4e72d0], 3
push eax
push dword [ebp - 8]
push 1
push 0x4e72d0
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7304
call esi
test eax, eax
je 0x10004c6f
lea eax, [ebp - 8]
mov dword [0x4e7304], 0x3e99999a
push eax
push dword [ebp - 8]
push 4
push 0x4e7304
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7309
call esi
test eax, eax
je 0x10004d84
mov dword [0x4e7309], 0x3e99999a
jmp 0x10004d74
cmp eax, 0x26
jne 0x10004dcd
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4e7409
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10004ceb
cmp bx, 1
mov ecx, 0xffff9300
mov eax, 0xff4f10e1
cmovne eax, ecx
mov dword [0x4e7409], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push 0x4e7409
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x4e72d0
call esi
test eax, eax
je 0x10004d1c
lea eax, [ebp - 8]
mov byte [0x4e72d0], 3
push eax
push dword [ebp - 8]
push 1
push 0x4e72d0
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7304
call esi
test eax, eax
je 0x10004d50
lea eax, [ebp - 8]
mov dword [0x4e7304], 0x3e99999a
push eax
push dword [ebp - 8]
push 4
push 0x4e7304
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7309
call esi
test eax, eax
je 0x10004d84
mov dword [0x4e7309], 0x3fa66666
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 4
push 0x4e7309
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e730e
call esi
test eax, eax
je 0x10004db8
lea eax, [ebp - 8]
mov dword [0x4e730e], 0x3e99999a
push eax
push dword [ebp - 8]
push 4
push 0x4e730e
call esi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007116
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push 0x4e7409
mov dword [ebp - 8], 0
call esi
test eax, eax
je 0x10004e07
lea eax, [ebp - 8]
mov dword [0x4e7409], 0xffff8800
push eax
push dword [ebp - 8]
push 4
push 0x4e7409
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 1
push 0x4e72d0
call esi
test eax, eax
je 0x10004e38
lea eax, [ebp - 8]
mov byte [0x4e72d0], 1
push eax
push dword [ebp - 8]
push 1
push 0x4e72d0
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7304
call esi
test eax, eax
je 0x10004e6c
lea eax, [ebp - 8]
mov dword [0x4e7304], 0x3dcccccd
push eax
push dword [ebp - 8]
push 4
push 0x4e7304
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e7309
call esi
test eax, eax
je 0x10004ea0
lea eax, [ebp - 8]
mov dword [0x4e7309], 0x3dcccccd
push eax
push dword [ebp - 8]
push 4
push 0x4e7309
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 4
push 0x4e730e
call esi
test eax, eax
je 0x10004ed4
lea eax, [ebp - 8]
mov dword [0x4e730e], 0x3dcccccd
push eax
push dword [ebp - 8]
push 4
push 0x4e730e
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10007116
mov esp, ebp
pop ebp
ret