Function at 0x101af1d0
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 [0x101bd348], eax
push dword [edi + 0x54]
push ebx
push eax
call fcn.101aeec6
mov ebp, dword [edi + 0x54]
xor edx, edx
dec ebp
add esp, 0xc
mov eax, ebp
div esi
movzx eax, word [edi + 6]
sub ebp, edx
mov ecx, eax
add ebp, esi
lea edx, [edi + 0xf8]
mov esi, dword [0x101bd348]
sub esi, ebx
xor ebx, ebx
add esi, edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
test ax, ax
je 0x101af294
lea ebx, [esi + 0x24]
lea esi, [edx + 8]
mov dword [ebx - 0x10], ebp
xor edx, edx
mov ecx, dword [esi]
dec ecx
mov eax, ecx
div dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub eax, edx
add ecx, eax
mov eax, dword [ebx]
mov dword [ebx - 0x14], ecx
test eax, 0x20000000
je 0x101af26f
and eax, 0x7fffffff
mov dword [ebx], eax
mov edx, dword [esp + 0x18]
add ebp, ecx
movzx ecx, word [edi + 6]
inc edx
add esi, 0x28
mov dword [esp + 0x18], edx
add ebx, 0x28
cmp edx, ecx
jne 0x101af246
mov esi, dword [esp + 0x1c]
lea edx, [edi + 0xf8]
xor ebx, ebx
movzx eax, cx
imul ecx, eax, 0x28
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + esi - 0x18]
add eax, dword [ecx + esi - 0x14]
mov dword [0x101bd34c], eax
cmp word [edi + 6], bx
je 0x101af2ec
lea ebx, [esi + 0x14]
mov esi, dword [esp + 0x18]
lea ebp, [edx + 0xc]
push dword [ebx - 4]
mov eax, dword [ebp]
add eax, dword [esp + 0x28]
push eax
mov eax, dword [ebx]
add eax, dword [0x101bd348]
push eax
call fcn.101aeec6
movzx eax, word [edi + 6]
lea ebp, [ebp + 0x28]
add esp, 0xc
lea ebx, [ebx + 0x28]
inc esi
cmp esi, eax
jne 0x101af2bb
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [0x101bd348]
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov eax, dword [0x101bd5c0]
sub eax, dword [0x101bd5b0]
mov dword [ecx + 0x80], eax
mov eax, dword [0x101bd5c4]
mov dword [ecx + 0x84], eax
cmp dword [0x101bd5d4], 0
je 0x101af381
mov dword [ecx + 0xa4], 0xc
movzx eax, word [edi + 6]
test eax, eax
je 0x101af38d
lea edx, [esi + 0x10]
mov ebp, dword [edx - 4]
cmp dword [ecx + 0xa0], ebp
jb 0x101af34b
mov eax, dword [edx]
add eax, ebp
cmp dword [ecx + 0xa0], eax
jb 0x101af355
movzx eax, word [edi + 6]
inc ebx
add edx, 0x28
cmp ebx, eax
jne 0x101af330
jmp 0x101af38d
imul eax, ebx, 0x28
mov edx, dword [eax + esi + 0x14]
sub edx, ebp
add edx, dword [ecx + 0xa0]
je 0x101af38d
mov eax, dword [0x101bd348]
and dword [eax + edx], 0
mov dword [eax + edx + 4], 0xc
mov dword [eax + edx + 8], 0x3000
jmp 0x101af38d
mov dword [ecx + 0xa4], ebx
mov dword [ecx + 0xa0], ebx
mov eax, dword [0x101bd5a0]
sub eax, dword [ecx + 0x34]
add eax, dword [0x101bd5a8]
mov ebx, dword [esp + 0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ecx + 0x28], eax
movzx eax, word [edi + 6]
and dword [esp + 0x10], 0
imul esi, eax, 0x28
lea eax, [edi + 0xf8]
sub esi, ebx
add esi, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push ebx
call ebp
xor ecx, ecx
mov edx, ecx
cmp word [edi + 6], cx
je 0x101af3f7
lea ecx, [edi + 0x11c]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x101af3e9
and eax, 0x7fffffff
mov dword [ecx], eax
movzx eax, word [edi + 6]
inc edx
add ecx, 0x28
cmp edx, eax
jne 0x101af3d9
xor ecx, ecx
mov eax, dword [0x101bd5c0]
sub eax, dword [0x101bd5b0]
mov dword [edi + 0x80], eax
mov eax, dword [0x101bd5c4]
mov dword [edi + 0x84], eax
cmp dword [0x101bd5d4], 0
je 0x101af472
push ecx
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 0x101af462
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
jmp 0x101af47e
mov dword [edi + 0xa4], ecx
mov dword [edi + 0xa0], ecx
mov eax, dword [0x101bd5a0]
sub eax, dword [edi + 0x34]
add eax, dword [0x101bd5a8]
mov dword [edi + 0x28], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret