Function at 0x4bdb10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x38]
test esi, esi
jle 0x4bde76
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 0x4bdb45
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 0x4bdb80
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 0x4bde05
lea ecx, [edi + 4]
mov al, byte [esi]
xor edx, edx
mov dx, word [esi]
shl al, 3
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
xor edx, edx
mov dx, word [esi + 6]
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shr eax, 5
shl dl, 3
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shl al, 3
shr dl, 2
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]
shl al, 3
xor edx, edx
mov dx, word [esi + 0xc]
mov byte [esp + 0x44], al
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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]
shl al, 3
mov byte [esp + 0x44], al
add edi, 0x18
add ecx, 0x18
add esi, 0x10
mov eax, edx
shr edx, 0xa
and dl, 0x1f
mov bl, dl
shl dl, 3
shr eax, 5
and al, 0x1f
shr bl, 2
or bl, dl
mov dl, al
shr dl, 2
shl al, 3
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 0x4bdbb5
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x4bde5b
mov ebp, eax
nop
mov dl, byte [esi]
xor ecx, ecx
mov cx, word [esi]
shl dl, 3
add edi, 3
add esi, 2
mov eax, ecx
shr ecx, 0xa
and cl, 0x1f
shr eax, 5
mov bl, cl
and al, 0x1f
shl cl, 3
shr bl, 2
or bl, cl
mov cl, al
shl al, 3
shr cl, 2
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 0x4bde10
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 0x4bdb79
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret