Function at 0x4bf770
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0x1c]
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [eax]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
push eax
call fcn.0048fb50
mov esi, eax
mov eax, dword [edi]
add esp, 4
mov ecx, edi
call dword [eax + 0x10]
imul esi, eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
imul esi, eax
shr esi, 7
xor ebx, ebx
cmp esi, ebx
jbe 0x4bfaba
push ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], esi
jmp 0x4bf7c2
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 8]
mov ebp, dword [esp + 0x14]
mov edi, eax
push 0
lea eax, [esp + 0x2c]
add edi, ebp
lea ecx, [edi + 8]
push eax
call fcn.004b38a0
mov ebp, dword [esp + 0x40]
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
xor edx, edx
mov eax, ebx
div ecx
mov ecx, dword [ebp]
mov eax, dword [esp + 0x44]
mov esi, edx
mov edx, dword [ecx]
add esi, eax
call dword [edx + 0x10]
mov ecx, eax
mov eax, ebx
xor edx, edx
div ecx
mov edx, dword [esp + 0x48]
lea ecx, [esi + esi]
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ecx
mov ebx, 2
mov esi, 4
lea eax, [edx + eax*4]
mov dword [esp + 0x20], eax
jmp 0x4bf840
mov ebp, dword [esp + 0x40]
lea ebx, [ebx]
mov ecx, dword [ebp]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
mov edx, dword [ecx]
add eax, ebp
push eax
call dword [edx + 4]
add eax, dword [esp + 0x24]
mov ebp, dword [edi + 0xc]
lea ecx, [esi - 4]
shr ebp, cl
and ebp, 3
mov cl, byte [esp + ebp*4 + 0x2b]
shr cl, 4
movzx dx, cl
mov cl, byte [esp + ebp*4 + 0x2a]
shr cl, 4
movzx cx, cl
lea ebp, [esp + ebp*4 + 0x28]
shl edx, 4
or edx, ecx
mov cl, byte [ebp + 1]
shr cl, 4
movzx cx, cl
shl edx, 4
or edx, ecx
mov cl, byte [ebp]
shr cl, 4
movzx cx, cl
shl edx, 4
or edx, ecx
mov word [eax], dx
mov ebp, dword [edi + 0xc]
lea ecx, [esi - 2]
shr ebp, cl
and ebp, 3
mov dl, byte [esp + ebp*4 + 0x2b]
shr dl, 4
movzx cx, dl
mov dl, byte [esp + ebp*4 + 0x2a]
lea ebp, [esp + ebp*4 + 0x28]
shr dl, 4
movzx dx, dl
shl ecx, 4
or ecx, edx
mov dl, byte [ebp + 1]
shr dl, 4
movzx dx, dl
shl ecx, 4
or ecx, edx
mov dl, byte [ebp]
shr dl, 4
movzx dx, dl
shl ecx, 4
or ecx, edx
mov word [eax + 2], cx
mov ebp, dword [edi + 0xc]
mov ecx, esi
shr ebp, cl
and ebp, 3
mov cl, byte [esp + ebp*4 + 0x2b]
shr cl, 4
lea ebp, [esp + ebp*4 + 0x28]
movzx dx, cl
mov cl, byte [ebp + 2]
shr cl, 4
movzx cx, cl
shl edx, 4
or edx, ecx
mov cl, byte [ebp + 1]
shr cl, 4
movzx cx, cl
shl edx, 4
or edx, ecx
mov cl, byte [ebp]
shr cl, 4
movzx cx, cl
shl edx, 4
or edx, ecx
mov word [eax + 4], dx
mov ebp, dword [edi + 0xc]
lea ecx, [esi + 2]
shr ebp, cl
and ebp, 3
mov dl, byte [esp + ebp*4 + 0x2b]
shr dl, 4
movzx cx, dl
mov dl, byte [esp + ebp*4 + 0x2a]
shr dl, 4
movzx dx, dl
lea ebp, [esp + ebp*4 + 0x28]
shl ecx, 4
or ecx, edx
mov dl, byte [ebp + 1]
shr dl, 4
movzx dx, dl
shl ecx, 4
or ecx, edx
mov dl, byte [ebp]
shr dl, 4
movzx dx, dl
shl ecx, 4
or ecx, edx
mov word [eax + 6], cx
xor ecx, ecx
mov cl, bl
sub cl, 2
lea edx, [ebx - 2]
shr edx, 2
mov dx, word [edi + edx*2]
and ecx, 3
shl cl, 2
shr dx, cl
and dl, 0xf
mov cl, dl
and cl, 0xf
shr dl, 4
or cl, dl
movzx dx, cl
xor ecx, ecx
mov cx, word [eax]
shl edx, 0xc
and ecx, 0xfff
or edx, ecx
mov word [eax], dx
xor ecx, ecx
lea edx, [ebx - 1]
shr edx, 2
mov dx, word [edi + edx*2]
mov cl, bl
dec cl
and ecx, 3
shl cl, 2
shr dx, cl
and dl, 0xf
mov cl, dl
and cl, 0xf
shr dl, 4
or cl, dl
movzx dx, cl
xor ecx, ecx
mov cx, word [eax + 2]
shl edx, 0xc
and ecx, 0xfff
or edx, ecx
xor ecx, ecx
mov word [eax + 2], dx
mov cl, bl
mov edx, ebx
shr edx, 2
mov dx, word [edi + edx*2]
and ecx, 3
shl cl, 2
shr dx, cl
and dl, 0xf
mov cl, dl
shr dl, 4
and cl, 0xf
or cl, dl
movzx dx, cl
shl edx, 0xc
xor ecx, ecx
mov cx, word [eax + 4]
mov ebp, dword [esp + 0x10]
add esi, 8
and ecx, 0xfff
or edx, ecx
mov word [eax + 4], dx
xor ecx, ecx
lea edx, [ebx + 1]
shr edx, 2
mov dx, word [edi + edx*2]
mov cl, bl
inc cl
add ebx, 4
and ecx, 3
shl cl, 2
shr dx, cl
and dl, 0xf
mov cl, dl
and cl, 0xf
shr dl, 4
or cl, dl
movzx dx, cl
xor ecx, ecx
mov cx, word [eax + 6]
shl edx, 0xc
and ecx, 0xfff
or edx, ecx
inc ebp
cmp esi, 0x24
mov word [eax + 6], dx
mov dword [esp + 0x10], ebp
jb 0x4bf836
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edx, 0x10
add ecx, 4
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x4bf7be
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret