Function at 0x4b7820
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push esi
mov esi, dword [esp + 0x3c]
test esi, esi
jle 0x4b7b76
mov ecx, dword [esp + 0x38]
mov eax, ecx
cdq
and edx, 7
push ebx
add eax, edx
mov ebx, eax
sar ebx, 3
and ecx, 0x80000007
push ebp
push edi
mov dword [esp + 0x14], ebx
jns 0x4b7855
dec ecx
or ecx, 0xfffffff8
inc ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x2c], ecx
lea ecx, [eax + eax]
lea eax, [edx*4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
sub eax, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
jmp 0x4b7890
mov eax, dword [esp + 0x20]
nop
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov edx, dword [ecx]
add eax, ebp
push eax
call dword [edx + 4]
mov esi, eax
add esi, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov edi, eax
add edi, ecx
test ebx, ebx
jle 0x4b7afc
lea ecx, [edi + 6]
mov dword [esp + 0x10], ebx
mov bl, byte [ecx - 4]
mov al, byte [ecx - 5]
mov dl, byte [edi]
mov byte [esp + 0x48], bl
mov bl, byte [ecx - 3]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr al, 4
shl ebp, 4
shr dl, 4
movzx ax, al
or ebp, ebx
shl ebp, 4
movzx dx, dl
or ebp, eax
shl ebp, 4
or ebp, edx
mov word [esi], bp
mov bl, byte [ecx]
mov dl, byte [ecx - 1]
mov al, byte [ecx - 2]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 1]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
shr al, 4
or ebp, ebx
shl ebp, 4
movzx ax, al
or ebp, edx
shl ebp, 4
or ebp, eax
mov word [esi + 2], bp
mov bl, byte [ecx + 4]
mov dl, byte [ecx + 3]
mov al, byte [ecx + 2]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 5]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
shr al, 4
or ebp, ebx
shl ebp, 4
movzx ax, al
or ebp, edx
shl ebp, 4
or ebp, eax
mov word [esi + 4], bp
mov bl, byte [ecx + 8]
mov dl, byte [ecx + 7]
mov al, byte [ecx + 6]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 9]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
or ebp, ebx
shl ebp, 4
or ebp, edx
shl ebp, 4
shr al, 4
movzx ax, al
or ebp, eax
mov word [esi + 6], bp
mov bl, byte [ecx + 0xc]
mov dl, byte [ecx + 0xb]
mov al, byte [ecx + 0xa]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 0xd]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
shr al, 4
or ebp, ebx
shl ebp, 4
movzx ax, al
or ebp, edx
shl ebp, 4
or ebp, eax
mov word [esi + 8], bp
mov bl, byte [ecx + 0x10]
mov dl, byte [ecx + 0xf]
mov al, byte [ecx + 0xe]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 0x11]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
shr al, 4
or ebp, ebx
shl ebp, 4
movzx ax, al
or ebp, edx
shl ebp, 4
or ebp, eax
mov word [esi + 0xa], bp
mov bl, byte [ecx + 0x14]
mov dl, byte [ecx + 0x13]
mov al, byte [ecx + 0x12]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 0x15]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shr dl, 4
shl ebp, 4
movzx dx, dl
shr al, 4
or ebp, ebx
shl ebp, 4
movzx ax, al
or ebp, edx
shl ebp, 4
or ebp, eax
mov word [esi + 0xc], bp
mov bl, byte [ecx + 0x18]
mov dl, byte [ecx + 0x17]
mov al, byte [ecx + 0x16]
mov byte [esp + 0x48], bl
mov bl, byte [ecx + 0x19]
shr bl, 4
movzx bp, bl
mov bl, byte [esp + 0x48]
shr bl, 4
movzx bx, bl
shl ebp, 4
or ebp, ebx
shl ebp, 4
shr dl, 4
movzx dx, dl
shr al, 4
movzx ax, al
or ebp, edx
shl ebp, 4
add esi, 0x10
add edi, 0x20
add ecx, 0x20
or ebp, eax
mov eax, dword [esp + 0x10]
mov word [esi - 2], bp
dec eax
mov dword [esp + 0x10], eax
jne 0x4b78c7
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4b7b5f
mov dword [esp + 0x48], eax
jmp 0x4b7b10
mov bl, byte [edi + 3]
mov dl, byte [edi + 2]
mov cl, byte [edi + 1]
mov al, byte [edi]
shr bl, 4
movzx bx, bl
shr dl, 4
movzx dx, dl
shr cl, 4
movzx cx, cl
shl ebx, 4
shr al, 4
or ebx, edx
movzx dx, al
mov eax, dword [esp + 0x48]
shl ebx, 4
or ebx, ecx
shl ebx, 4
add esi, 2
add edi, 4
or ebx, edx
mov word [esi - 2], bx
dec eax
mov dword [esp + 0x48], eax
jne 0x4b7b10
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ebp
dec eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
jne 0x4b788b
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x20
ret