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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1008a00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.100246a0
mov eax, dword [0x100909d0]
mov ebx, fcn.10007970
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esi, [eax + 0x10]
cmp esi, 0x1000
jbe 0x100247ed
cmp ebx, 0x1000
jbe 0x100247ed
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 [0x100909d0]
lea esi, [eax + 0x3c]
cmp esi, 0x1000
jbe 0x10024822
cmp ebx, 0x1000
jbe 0x10024822
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 [0x100909d0]
lea esi, [eax + 0x40]
cmp esi, 0x1000
jbe 0x10024857
cmp ebx, 0x1000
jbe 0x10024857
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 [0x100909d0]
lea esi, [eax + 0x44]
cmp esi, 0x1000
jbe 0x1002488c
cmp ebx, 0x1000
jbe 0x1002488c
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 [0x100909d0]
lea esi, [eax + 0x48]
cmp esi, 0x1000
jbe 0x100248c1
cmp ebx, 0x1000
jbe 0x100248c1
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 [0x100909d0]
lea esi, [eax + 0x4c]
cmp esi, 0x1000
jbe 0x100248f6
cmp ebx, 0x1000
jbe 0x100248f6
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 [0x100909d0]
lea esi, [eax + 0x50]
cmp esi, 0x1000
jbe 0x1002492b
cmp ebx, 0x1000
jbe 0x1002492b
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 [0x100909d0]
lea esi, [eax + 0x54]
cmp esi, 0x1000
jbe 0x10024960
cmp ebx, 0x1000
jbe 0x10024960
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 [0x100909d0]
lea esi, [eax + 0x58]
cmp esi, 0x1000
jbe 0x10024995
cmp ebx, 0x1000
jbe 0x10024995
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 [0x100909d0]
cmp dword [0x1008c3d0], 0
jne 0x100249de
lea esi, [eax + 0x38]
cmp esi, 0x1000
jbe 0x100249d6
mov eax, 0x10024530
cmp eax, 0x1000
jbe 0x100249d6
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], 0x10024530
push eax
push dword [ebp - 0x2c]
push 4
push esi
call edi
jmp 0x100249d8
xor ebx, ebx
mov dword [0x1008c3d0], ebx
cmp dword [0x100907e8], 0
jne 0x10024a4a
mov ecx, dword [0x100903f4]
mov eax, dword [0x1008c77c]
add eax, 0x2f8
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, eax
cmp ebx, 0x1000
jbe 0x10024a43
push 0xc
call fcn.1005fd3e
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 0x10024a45
xor eax, eax
mov dword [0x100907e8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005f409
mov esp, ebp
pop ebp
ret