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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1008600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10024570
mov eax, dword [0x1008c9c8]
mov ebx, fcn.10007970
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [eax + 0x10]
cmp esi, 0x1000
jbe 0x100246bd
cmp ebx, 0x1000
jbe 0x100246bd
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x34]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 8]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x3c]
cmp esi, 0x1000
jbe 0x100246f2
cmp ebx, 0x1000
jbe 0x100246f2
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x38]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0xc]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x40]
cmp esi, 0x1000
jbe 0x10024727
cmp ebx, 0x1000
jbe 0x10024727
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x3c]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x10]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x44]
cmp esi, 0x1000
jbe 0x1002475c
cmp ebx, 0x1000
jbe 0x1002475c
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x40]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x14]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x48]
cmp esi, 0x1000
jbe 0x10024791
cmp ebx, 0x1000
jbe 0x10024791
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x44]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x18]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x4c]
cmp esi, 0x1000
jbe 0x100247c6
cmp ebx, 0x1000
jbe 0x100247c6
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x48]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x1c]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x50]
cmp esi, 0x1000
jbe 0x100247fb
cmp ebx, 0x1000
jbe 0x100247fb
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x4c]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x20]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x54]
cmp esi, 0x1000
jbe 0x10024830
cmp ebx, 0x1000
jbe 0x10024830
lea eax, [ebp - 0x24]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x50]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x24]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
lea esi, [eax + 0x58]
cmp esi, 0x1000
jbe 0x10024865
cmp ebx, 0x1000
jbe 0x10024865
lea eax, [ebp - 0x28]
push eax
push 0x40
push 4
push esi
call edi
lea eax, [ebp - 0x54]
mov dword [esi], fcn.10007970
push eax
push dword [ebp - 0x28]
push 4
push esi
call edi
mov eax, dword [0x1008c9c8]
cmp dword [0x100883d0], 0
jne 0x100248ae
lea esi, [eax + 0x38]
cmp esi, 0x1000
jbe 0x100248a6
mov eax, 0x10024400
cmp eax, 0x1000
jbe 0x100248a6
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], 0x10024400
push eax
push dword [ebp - 0x2c]
push 4
push esi
call edi
jmp 0x100248a8
xor ebx, ebx
mov dword [0x100883d0], ebx
cmp dword [0x1008c7e8], 0
jne 0x1002491a
mov ecx, dword [0x1008c3f4]
mov eax, dword [0x1008877c]
add eax, 0x2f8
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, eax
cmp ebx, 0x1000
jbe 0x10024913
push 0xc
call fcn.1005d21e
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 0x10024915
xor eax, eax
mov dword [0x1008c7e8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005c8e9
mov esp, ebp
pop ebp
ret