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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x3000
push esi
push edi
push 4
mov edi, dword [ebx + 0x3c]
add edi, ebx
push eax
push dword [edi + 0x50]
mov esi, dword [edi + 0x3c]
push 0
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x13f4c08], eax
push dword [edi + 0x54]
push ebx
push eax
call fcn.013ea45c
mov eax, dword [edi + 0x54]
add esp, 0xc
dec eax
and dword [ebp - 0xc], 0
xor edx, edx
div esi
lea edx, [edi + 0xf8]
inc eax
imul eax, esi
mov esi, dword [0x13f4c08]
sub esi, ebx
add esi, edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
xor eax, eax
cmp ax, word [edi + 6]
je 0x13ea7da
lea ecx, [esi + 0x24]
mov esi, dword [ebp - 0x14]
lea ebx, [edx + 8]
mov dword [ecx - 0x10], esi
xor edx, edx
mov eax, dword [ebx]
lea ebx, [ebx + 0x28]
dec eax
and dword [ecx], 0x7fffffff
div dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea ecx, [ecx + 0x28]
inc eax
imul eax, dword [ebp - 8]
add esi, eax
mov dword [ecx - 0x3c], eax
movzx eax, word [edi + 6]
inc edx
mov dword [ebp - 0xc], edx
cmp edx, eax
jne 0x13ea7a1
mov esi, dword [ebp - 0x10]
lea edx, [edi + 0xf8]
movzx eax, word [edi + 6]
and dword [ebp - 0xc], 0
imul ecx, eax, 0x28
mov eax, dword [ecx + esi - 0x18]
add eax, dword [ecx + esi - 0x14]
mov dword [0x13f4c0c], eax
xor eax, eax
cmp ax, word [edi + 6]
je 0x13ea832
lea ebx, [esi + 0x14]
lea esi, [edx + 0xc]
push dword [ebx - 4]
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebx]
add eax, dword [0x13f4c08]
push eax
call fcn.013ea45c
mov ecx, dword [ebp - 0xc]
lea esi, [esi + 0x28]
movzx eax, word [edi + 6]
lea ebx, [ebx + 0x28]
add esp, 0xc
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jne 0x13ea800
mov esi, dword [ebp - 0x10]
mov eax, dword [0x13f4c08]
xor ebx, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, dword [0x13f4e80]
sub eax, dword [0x13f4e70]
mov dword [edx + 0x80], eax
mov eax, dword [0x13f4e84]
mov dword [edx + 0x84], eax
mov dword [edx + 0xa4], 0xc
movzx eax, word [edi + 6]
test eax, eax
je 0x13ea8c0
lea ecx, [esi + 0xc]
mov eax, dword [ecx]
cmp dword [edx + 0xa0], eax
jb 0x13ea886
mov eax, dword [ecx + 4]
add eax, dword [ecx]
cmp dword [edx + 0xa0], eax
jb 0x13ea894
movzx eax, word [edi + 6]
inc ebx
add ecx, 0x28
cmp ebx, eax
jne 0x13ea86f
jmp 0x13ea8c0
imul eax, ebx, 0x28
mov ecx, dword [eax + esi + 0x14]
sub ecx, dword [eax + esi + 0xc]
add ecx, dword [edx + 0xa0]
je 0x13ea8c0
mov eax, dword [0x13f4c08]
and dword [eax + ecx], 0
mov dword [eax + ecx + 4], 0xc
mov dword [eax + ecx + 8], 0x3000
mov eax, dword [0x13f4e60]
lea ecx, [edi + 0xf8]
sub eax, dword [edx + 0x34]
add eax, dword [0x13f4e68]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [edx + 0x28], eax
movzx eax, word [edi + 6]
and dword [ebp - 4], 0
imul esi, eax, 0x28
mov eax, dword [ebp + 8]
sub esi, eax
add esi, ecx
lea ecx, [ebp - 4]
push ecx
push 0x40
push esi
push eax
call ebx
xor eax, eax
xor edx, edx
cmp ax, word [edi + 6]
je 0x13ea91b
lea ecx, [edi + 0x11c]
and dword [ecx], 0x7fffffff
inc edx
movzx eax, word [edi + 6]
lea ecx, [ecx + 0x28]
cmp edx, eax
jne 0x13ea909
mov eax, dword [0x13f4e80]
sub eax, dword [0x13f4e70]
mov dword [edi + 0x80], eax
mov eax, dword [0x13f4e84]
push 0
mov dword [edi + 0x84], eax
mov dword [edi + 0xa4], 0xc
push dword [ebp - 4]
push esi
push dword [ebp + 8]
call ebx
mov eax, dword [edi + 0xa4]
lea ecx, [ebp - 4]
mov esi, dword [edi + 0xa0]
mov ebx, dword [ebp + 8]
push ecx
push 0x40
push eax
add ebx, esi
mov dword [ebp - 0x14], eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x13ea983
and dword [ebx], 0
mov dword [ebx + 4], 0xc
mov dword [ebx + 8], 0x3000
push 0
push dword [ebp - 4]
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x13f4e60]
sub eax, dword [edi + 0x34]
add eax, dword [0x13f4e68]
mov dword [edi + 0x28], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret