Function at 0x4b8880
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x4b8be3
mov ecx, dword [esp + 0x34]
mov eax, ecx
cdq
push ebx
and edx, 7
push ebp
add eax, edx
push edi
mov edi, eax
sar edi, 3
and ecx, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4b88b5
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
lea ecx, [eax + eax]
lea eax, [edx*4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
sub eax, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jmp 0x4b88f0
mov eax, dword [esp + 0x1c]
nop
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx]
mov edx, dword [ecx]
add eax, ebp
push eax
call dword [edx + 4]
mov esi, eax
add esi, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add eax, dword [esp + 0x24]
test edi, edi
jle 0x4b8b74
lea ecx, [eax + 6]
nop
mov bl, byte [ecx - 5]
mov byte [esp + 0x44], bl
mov bl, byte [ecx - 4]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
shr bl, 3
movzx bx, bl
mov dl, byte [eax]
shl ebp, 5
shr dl, 3
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi], bp
mov bl, byte [ecx - 1]
mov byte [esp + 0x44], bl
mov bl, byte [ecx]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
mov dl, byte [ecx - 2]
shr bl, 3
movzx bx, bl
shl ebp, 5
shr dl, 3
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 2]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi + 2], bp
mov bl, byte [ecx + 3]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 4]
shr bl, 3
mov dl, byte [ecx + 2]
movzx bp, bl
mov bl, byte [esp + 0x44]
shr bl, 3
movzx bx, bl
shr dl, 3
shl ebp, 5
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 4]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi + 4], bp
mov bl, byte [ecx + 7]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 8]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
mov dl, byte [ecx + 6]
shr bl, 3
movzx bx, bl
shl ebp, 5
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 6]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
shr dl, 3
movzx dx, dl
or ebp, edx
mov word [esi + 6], bp
mov bl, byte [ecx + 0xb]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 0xc]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
shr bl, 3
movzx bx, bl
mov dl, byte [ecx + 0xa]
shl ebp, 5
shr dl, 3
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 8]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi + 8], bp
mov bl, byte [ecx + 0xf]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 0x10]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
mov dl, byte [ecx + 0xe]
shr bl, 3
movzx bx, bl
shl ebp, 5
shr dl, 3
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 0xa]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi + 0xa], bp
mov bl, byte [ecx + 0x13]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 0x14]
mov dl, byte [ecx + 0x12]
shr bl, 3
movzx bp, bl
mov bl, byte [esp + 0x44]
shr bl, 3
movzx bx, bl
shr dl, 3
shl ebp, 5
movzx dx, dl
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 0xc]
shl ebp, 5
and ebx, 0x801f
or ebp, ebx
and ebp, 0xffe0
or ebp, edx
mov word [esi + 0xc], bp
mov bl, byte [ecx + 0x17]
mov byte [esp + 0x44], bl
mov bl, byte [ecx + 0x18]
shr bl, 3
mov dl, byte [ecx + 0x16]
movzx bp, bl
mov bl, byte [esp + 0x44]
shr bl, 3
movzx bx, bl
shl ebp, 5
or ebp, ebx
xor ebx, ebx
mov bx, word [esi + 0xe]
shl ebp, 5
and ebx, 0x801f
shr dl, 3
movzx dx, dl
or ebp, ebx
and ebp, 0xffe0
add esi, 0x10
add eax, 0x20
add ecx, 0x20
or ebp, edx
dec edi
mov word [esi - 2], bp
jne 0x4b8920
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jle 0x4b8bcc
mov edi, ecx
mov edi, edi
mov bl, byte [eax + 2]
mov dl, byte [eax + 1]
mov cl, byte [eax]
shr bl, 3
movzx bx, bl
shr dl, 3
movzx dx, dl
shr cl, 3
movzx cx, cl
shl ebx, 5
add esi, 2
or ebx, edx
xor edx, edx
mov dx, word [esi - 2]
shl ebx, 5
add eax, 4
and edx, 0x801f
or ebx, edx
and ebx, 0xffe0
or ebx, ecx
dec edi
mov word [esi - 2], bx
jne 0x4b8b80
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc ebp
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
jne 0x4b88eb
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret