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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1008000c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10024560
mov eax, dword [0x10086970]
mov ebx, fcn.10007950
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [eax + 0x10]
cmp esi, 0x1000
jbe 0x100246ad
cmp ebx, 0x1000
jbe 0x100246ad
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x34]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x3c]
cmp esi, 0x1000
jbe 0x100246e2
cmp ebx, 0x1000
jbe 0x100246e2
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x38]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x40]
cmp esi, 0x1000
jbe 0x10024717
cmp ebx, 0x1000
jbe 0x10024717
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x3c]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x10]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x44]
cmp esi, 0x1000
jbe 0x1002474c
cmp ebx, 0x1000
jbe 0x1002474c
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x40]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x14]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x48]
cmp esi, 0x1000
jbe 0x10024781
cmp ebx, 0x1000
jbe 0x10024781
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x44]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x18]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x4c]
cmp esi, 0x1000
jbe 0x100247b6
cmp ebx, 0x1000
jbe 0x100247b6
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x48]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x1c]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x50]
cmp esi, 0x1000
jbe 0x100247eb
cmp ebx, 0x1000
jbe 0x100247eb
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x4c]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x20]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x54]
cmp esi, 0x1000
jbe 0x10024820
cmp ebx, 0x1000
jbe 0x10024820
lea eax, [ebp - 0x24]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x50]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x24]
push 4
push esi
call edi
mov eax, dword [0x10086970]
lea esi, [eax + 0x58]
cmp esi, 0x1000
jbe 0x10024855
cmp ebx, 0x1000
jbe 0x10024855
lea eax, [ebp - 0x28]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x54]
mov dword [esi], fcn.10007950
push eax
push dword [ebp - 0x28]
push 4
push esi
call edi
mov eax, dword [0x10086970]
cmp dword [0x10082378], 0
jne 0x1002489e
lea esi, [eax + 0x38]
cmp esi, 0x1000
jbe 0x10024896
mov eax, 0x100243f0
cmp eax, 0x1000
jbe 0x10024896
mov ebx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x30]
mov dword [esi], 0x100243f0
push eax
push dword [ebp - 0x2c]
push 4
push esi
call edi
jmp 0x10024898
xor ebx, ebx
mov dword [0x10082378], ebx
cmp dword [0x10086790], 0
jne 0x1002490a
mov ecx, dword [0x1008639c]
mov eax, dword [0x10082724]
add eax, 0x2f8
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, eax
cmp ebx, 0x1000
jbe 0x10024903
push 0xc
call fcn.1005834e
add esp, 4
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0xc
push esi
call edi
mov ecx, dword [ebx]
mov dword [esi], ecx
mov ax, word [ebx + 4]
mov word [esi + 4], ax
mov al, byte [ebx + 6]
mov byte [esi + 6], al
lea eax, [esi + 7]
sub ebx, eax
mov byte [eax], 0xe9
add ebx, 2
mov dword [eax + 1], ebx
add eax, 0xfffffff9
jmp 0x10024905
xor eax, eax
mov dword [0x10086790], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10057a19
mov esp, ebp
pop ebp
ret