Function at 0x4bb650
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x4bb9ad
mov ecx, dword [esp + 0x34]
mov eax, ecx
cdq
and edx, 7
push ebx
push ebp
add eax, edx
mov ebp, eax
sar ebp, 3
and ecx, 0x80000007
push edi
mov dword [esp + 0x10], ebp
jns 0x4bb685
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x50]
lea eax, [eax + eax*2]
lea edx, [ecx + ecx]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov ebx, eax
sub edx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
jmp 0x4bb6c0
mov edx, dword [esp + 0x1c]
lea ecx, [ecx]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
mov eax, dword [ecx]
add edx, ebx
push edx
call dword [eax + 4]
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [esp + 0x20]
push ebx
add edi, eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov esi, eax
add esi, ecx
test ebp, ebp
jle 0x4bb93d
lea ecx, [edi + 4]
mov al, byte [esi]
xor edx, edx
mov dx, word [esi]
and al, 0x1f
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx - 3], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
mov byte [edi], dl
xor edx, edx
mov byte [ecx - 2], bl
mov dx, word [esi + 2]
mov al, byte [esi + 2]
and al, 0x1f
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
mov byte [ecx - 1], dl
xor edx, edx
mov byte [ecx + 1], bl
mov dx, word [esi + 4]
mov al, byte [esi + 4]
and al, 0x1f
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx + 3], dl
mov dl, al
shl al, 3
shr dl, 2
or dl, al
mov byte [ecx + 4], bl
mov byte [ecx + 2], dl
mov al, byte [esi + 6]
and al, 0x1f
mov byte [esp + 0x44], al
xor edx, edx
mov dx, word [esi + 6]
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx + 6], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
mov byte [ecx + 5], dl
xor edx, edx
mov byte [ecx + 7], bl
mov dx, word [esi + 8]
mov al, byte [esi + 8]
and al, 0x1f
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx + 9], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
mov byte [ecx + 8], dl
xor edx, edx
mov byte [ecx + 0xa], bl
mov dx, word [esi + 0xa]
mov al, byte [esi + 0xa]
and al, 0x1f
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shr eax, 5
shl dl, 3
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shl al, 2
shr dl, 4
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx + 0xc], dl
mov dl, al
shl al, 3
shr dl, 2
or dl, al
mov byte [ecx + 0xb], dl
mov byte [ecx + 0xd], bl
mov al, byte [esi + 0xc]
and al, 0x1f
xor edx, edx
mov dx, word [esi + 0xc]
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx + 0xf], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
mov byte [ecx + 0xe], dl
xor edx, edx
mov byte [ecx + 0x10], bl
mov dx, word [esi + 0xe]
mov al, byte [esi + 0xe]
and al, 0x1f
mov byte [esp + 0x44], al
add edi, 0x18
add ecx, 0x18
add esi, 0x10
mov eax, edx
shr edx, 0xb
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x3f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 4
shl al, 2
or dl, al
mov al, byte [esp + 0x44]
mov byte [ecx - 6], dl
mov dl, al
shr dl, 2
shl al, 3
or dl, al
dec ebp
mov byte [ecx - 5], bl
mov byte [ecx - 7], dl
jne 0x4bb6f5
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4bb992
mov ebp, eax
mov dl, byte [esi]
xor ecx, ecx
mov cx, word [esi]
and dl, 0x1f
add edi, 3
add esi, 2
mov eax, ecx
shr ecx, 0xb
and cl, 0x1f
shr eax, 5
mov bl, cl
and al, 0x3f
shl cl, 3
shr bl, 2
or bl, cl
mov cl, al
shl al, 2
shr cl, 4
or cl, al
mov al, dl
shr al, 2
shl dl, 3
or al, dl
dec ebp
mov byte [edi - 1], bl
mov byte [edi - 2], cl
mov byte [edi - 3], al
jne 0x4bb947
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc ebx
dec eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
jne 0x4bb6b9
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret