Function at 0x24cb402
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
mov eax, 0x3000
push ebp
push esi
push edi
mov edi, dword [ebx + 0x3c]
push 4
add edi, ebx
push eax
xor eax, eax
push dword [edi + 0x50]
mov esi, dword [edi + 0x3c]
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x24d7c08], eax
push dword [edi + 0x54]
push ebx
push eax
call fcn.024cb0f6
mov ebp, dword [edi + 0x54]
xor edx, edx
dec ebp
mov ecx, edi
mov eax, ebp
sub ecx, ebx
div esi
mov ebx, dword [0x24d7c08]
add esp, 0xc
movzx eax, word [edi + 6]
sub ebp, edx
add ebx, 0xf8
add ebp, esi
add ebx, ecx
xor esi, esi
mov dword [esp + 0x1c], ebx
mov ecx, eax
mov dword [esp + 0x18], esi
test ax, ax
je 0x24cb4c3
lea ecx, [ebx + 0x24]
lea ebx, [edi + 0x100]
mov dword [ecx - 0x10], ebp
xor edx, edx
mov esi, dword [ebx]
dec esi
mov eax, esi
div dword [esp + 0x14]
mov eax, dword [ecx]
sub esi, edx
add esi, dword [esp + 0x14]
mov dword [ecx - 0x14], esi
test eax, 0x20000000
je 0x24cb4a4
and eax, 0x7fffffff
mov dword [ecx], eax
movzx edx, word [edi + 6]
add ebp, esi
mov esi, dword [esp + 0x18]
add ebx, 0x28
inc esi
add ecx, 0x28
mov dword [esp + 0x18], esi
cmp esi, edx
jne 0x24cb47d
mov ebx, dword [esp + 0x1c]
mov ecx, edx
movzx eax, cx
imul ecx, eax, 0x28
mov eax, dword [ecx + ebx - 0x18]
add eax, dword [ecx + ebx - 0x14]
mov dword [0x24d7c0c], eax
xor eax, eax
cmp word [edi + 6], ax
je 0x24cb518
lea esi, [ebx + 0x14]
mov ebx, eax
lea ebp, [edi + 0x104]
push dword [esi - 4]
mov eax, dword [ebp]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [esi]
add eax, dword [0x24d7c08]
push eax
call fcn.024cb0f6
movzx eax, word [edi + 6]
lea ebp, [ebp + 0x28]
add esp, 0xc
lea esi, [esi + 0x28]
inc ebx
cmp ebx, eax
jne 0x24cb4e9
mov ebx, dword [esp + 0x1c]
mov eax, dword [0x24d7c08]
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, dword [0x24d7e80]
sub eax, dword [0x24d7e70]
mov dword [edx + 0x80], eax
mov eax, dword [0x24d7e84]
mov dword [edx + 0x84], eax
xor eax, eax
mov dword [edx + 0xa4], 0xc
mov esi, eax
movzx eax, word [edi + 6]
test eax, eax
je 0x24cb5a7
lea ecx, [ebx + 0x10]
mov ebp, dword [ecx - 4]
cmp dword [edx + 0xa0], ebp
jb 0x24cb572
mov eax, dword [ecx]
add eax, ebp
cmp dword [edx + 0xa0], eax
jb 0x24cb57c
movzx eax, word [edi + 6]
inc esi
add ecx, 0x28
cmp esi, eax
jne 0x24cb557
jmp 0x24cb5a7
imul eax, esi, 0x28
mov ecx, dword [eax + ebx + 0x14]
sub ecx, ebp
add ecx, dword [edx + 0xa0]
je 0x24cb5a7
mov eax, dword [0x24d7c08]
xor esi, esi
mov dword [eax + ecx], esi
mov dword [eax + ecx + 4], 0xc
mov dword [eax + ecx + 8], 0x3000
mov eax, dword [0x24d7e60]
lea esi, [edi + 0xf8]
sub eax, dword [edx + 0x34]
add eax, dword [0x24d7e68]
mov ebx, dword [esp + 0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edx + 0x28], eax
movzx eax, word [edi + 6]
imul eax, eax, 0x28
sub eax, ebx
add esi, eax
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call ebp
xor eax, eax
mov edx, eax
cmp word [edi + 6], ax
je 0x24cb610
lea ecx, [edi + 0x11c]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x24cb604
and eax, 0x7fffffff
mov dword [ecx], eax
movzx eax, word [edi + 6]
inc edx
add ecx, 0x28
cmp edx, eax
jne 0x24cb5f4
mov eax, dword [0x24d7e80]
sub eax, dword [0x24d7e70]
mov dword [edi + 0x80], eax
mov eax, dword [0x24d7e84]
mov dword [edi + 0x84], eax
xor eax, eax
push eax
mov dword [edi + 0xa4], 0xc
push dword [esp + 0x14]
push esi
push ebx
call ebp
mov eax, dword [edi + 0xa4]
lea ecx, [esp + 0x10]
mov esi, dword [edi + 0xa0]
add ebx, esi
push ecx
push 0x40
push eax
push ebx
mov dword [esp + 0x34], eax
call ebp
test esi, esi
je 0x24cb674
xor eax, eax
mov dword [ebx + 4], 0xc
mov dword [ebx], eax
mov dword [ebx + 8], 0x3000
xor eax, eax
push eax
push dword [esp + 0x14]
push dword [esp + 0x2c]
push ebx
call ebp
mov eax, dword [0x24d7e60]
sub eax, dword [edi + 0x34]
add eax, dword [0x24d7e68]
mov dword [edi + 0x28], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret