Function at 0x456968
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 7]
push ebx
push ebp
push esi
movzx esi, byte [eax + 4]
push edi
mov edi, ecx
movzx ecx, byte [eax + 6]
shl edx, 8
add edx, ecx
movzx ecx, byte [eax + 5]
shl ecx, 8
add ecx, esi
movzx esi, byte [eax + 3]
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + 2]
shl esi, 8
add esi, ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 2
add eax, 4
jmp 0x4569d0
mov esi, dword [esp + 0x20]
movzx ebx, word [eax - 2]
mov edi, edx
not edi
and edi, esi
movzx esi, word [eax - 4]
add edi, esi
mov esi, dword [esp + 0x10]
and esi, edx
add esi, ecx
lea ecx, [esi + edi]
mov edi, dword [esp + 0x10]
mov esi, ecx
shr esi, 0xf
and esi, 1
lea ecx, [esi + ecx*2]
mov esi, ecx
not esi
and esi, edi
add esi, ebx
mov ebx, ecx
and ebx, edx
add ebx, dword [esp + 0x20]
mov ebp, ecx
add esi, ebx
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea esi, [ebx + esi*4]
and ebp, esi
mov ebx, esi
not ebx
and ebx, edx
add ebx, ebp
movzx ebp, word [eax]
add ebp, edi
lea edi, [ebx + ebp]
movzx ebp, word [eax + 2]
mov ebx, edi
shr ebx, 0xd
and ebx, 7
lea edi, [ebx + edi*8]
mov ebx, edi
not ebx
and ebx, ecx
add ebx, ebp
mov ebp, esi
and ebp, edi
add ebp, edx
add ebx, ebp
mov edx, ebx
shr edx, 0xb
shl ebx, 5
and edx, 0x1f
add edx, ebx
mov ebx, dword [esp + 0x14]
add ebx, 0xfffffffe
cmp ebx, 4
je 0x456a68
cmp ebx, 0xa
jne 0x456a9b
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 4]
mov ebp, edx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add ecx, ebp
mov ebp, ecx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add esi, ebp
mov ebp, esi
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add edi, ebp
mov ebp, edi
and ebp, 0x3f
movzx ebx, word [ebx + ebp*2]
add edx, ebx
movzx ebp, word [eax + 4]
mov ebx, edx
not ebx
and ebx, esi
add ebx, ebp
mov ebp, edi
and ebp, edx
add ebp, ecx
lea ecx, [ebx + ebp]
movzx ebp, word [eax + 6]
mov ebx, ecx
shr ebx, 0xf
and ebx, 1
lea ecx, [ebx + ecx*2]
mov ebx, ecx
not ebx
and ebx, edi
add ebx, ebp
mov ebp, ecx
and ebp, edx
add ebp, esi
lea esi, [ebx + ebp]
movzx ebp, word [eax + 8]
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea esi, [ebx + esi*4]
mov ebx, esi
not ebx
and ebx, edx
add ebx, ebp
mov ebp, ecx
and ebp, esi
add ebp, edi
lea edi, [ebx + ebp]
movzx ebp, word [eax + 0xa]
mov ebx, edi
shr ebx, 0xd
and ebx, 7
lea edi, [ebx + edi*8]
mov ebx, edi
not ebx
and ebx, ecx
add ebx, ebp
mov ebp, esi
and ebp, edi
add ebp, edx
add ebx, ebp
mov edx, ebx
shr edx, 0xb
shl ebx, 5
and edx, 0x1f
add edx, ebx
mov ebx, dword [esp + 0x14]
dec ebx
cmp ebx, 4
je 0x456b2b
cmp ebx, 0xa
jne 0x456b5e
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + 4]
mov ebp, edx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add ecx, ebp
mov ebp, ecx
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add esi, ebp
mov ebp, esi
and ebp, 0x3f
movzx ebp, word [ebx + ebp*2]
add edi, ebp
mov ebp, edi
and ebp, 0x3f
movzx ebx, word [ebx + ebp*2]
add edx, ebx
movzx ebp, word [eax + 0xc]
mov ebx, edx
not ebx
and ebx, esi
add ebx, ebp
mov ebp, edi
and ebp, edx
add ebp, ecx
lea ecx, [ebx + ebp]
movzx ebp, word [eax + 0xe]
mov ebx, ecx
shr ebx, 0xf
and ebx, 1
lea ecx, [ebx + ecx*2]
mov ebx, ecx
not ebx
and ebx, edi
add ebx, ebp
mov ebp, ecx
and ebp, edx
add ebp, esi
lea esi, [ebx + ebp]
movzx ebp, word [eax + 0x10]
mov ebx, esi
shr ebx, 0xe
and ebx, 3
lea ebx, [ebx + esi*4]
mov esi, ebx
not esi
and esi, edx
add esi, ebp
mov ebp, ecx
and ebp, ebx
add ebp, edi
add esi, ebp
movzx ebp, word [eax + 0x12]
mov edi, esi
shr edi, 0xd
and edi, 7
lea esi, [edi + esi*8]
mov edi, esi
not edi
and edi, ecx
add edi, ebp
mov ebp, ebx
and ebp, esi
add ebp, edx
add edi, ebp
mov ebp, dword [esp + 0x14]
mov edx, edi
shr edx, 0xb
and edx, 0x1f
shl edi, 5
add edx, edi
mov dword [esp + 0x20], ebx
cmp ebp, 4
je 0x456bf0
cmp ebp, 0xa
jne 0x456c2b
mov edi, dword [esp + 0x18]
mov edi, dword [edi + 4]
mov ebp, edx
and ebp, 0x3f
movzx ebp, word [edi + ebp*2]
add ecx, ebp
mov ebp, ecx
and ebp, 0x3f
movzx ebp, word [edi + ebp*2]
add ebx, ebp
mov ebp, ebx
and ebp, 0x3f
movzx ebp, word [edi + ebp*2]
add esi, ebp
mov ebp, esi
and ebp, 0x3f
movzx edi, word [edi + ebp*2]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
add edx, edi
mov edi, edx
not edi
and edi, ebx
movzx ebx, word [eax + 0x14]
add edi, ebx
mov ebx, esi
and ebx, edx
add ebx, ecx
lea ecx, [ebx + edi]
movzx ebx, word [eax + 0x16]
mov edi, ecx
shr edi, 0xf
and edi, 1
lea ecx, [edi + ecx*2]
mov edi, ecx
not edi
and edi, esi
add edi, ebx
mov ebx, ecx
and ebx, edx
add ebx, dword [esp + 0x20]
add edi, ebx
mov ebx, edi
shr ebx, 0xe
and ebx, 3
lea edi, [ebx + edi*4]
movzx ebx, word [eax + 0x18]
mov dword [esp + 0x20], edi
not edi
and edi, edx
add edi, ebx
mov ebx, ecx
and ebx, dword [esp + 0x20]
add ebx, esi
lea esi, [ebx + edi]
mov edi, esi
shr edi, 0xd
and edi, 7
lea esi, [edi + esi*8]
movzx edi, word [eax + 0x1a]
mov dword [esp + 0x10], esi
not esi
and esi, ecx
add esi, edi
mov edi, dword [esp + 0x20]
and edi, dword [esp + 0x10]
add edi, edx
add esi, edi
mov edx, esi
shr edx, 0xb
shl esi, 5
and edx, 0x1f
add edx, esi
lea esi, [ebp + 1]
cmp esi, 4
je 0x456cc4
cmp esi, 0xa
jne 0x456d03
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 4]
mov edi, edx
and edi, 0x3f
movzx edi, word [esi + edi*2]
add ecx, edi
mov edi, ecx
and edi, 0x3f
movzx ebx, word [esi + edi*2]
mov edi, dword [esp + 0x20]
add edi, ebx
mov dword [esp + 0x20], edi
and edi, 0x3f
movzx ebx, word [esi + edi*2]
mov edi, dword [esp + 0x10]
add edi, ebx
mov dword [esp + 0x10], edi
and edi, 0x3f
movzx esi, word [esi + edi*2]
add edx, esi
add ebp, 4
mov dword [esp + 0x14], ebp
add ebp, 0xfffffffe
add eax, 0x20
cmp ebp, 0x10
jb 0x4569cc
mov eax, dword [esp + 0x24]
mov byte [eax], cl
shr ecx, 8
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x20]
mov byte [eax + 2], cl
shr ecx, 8
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov byte [eax + 4], cl
shr ecx, 8
mov byte [eax + 6], dl
shr edx, 8
pop ebp
mov byte [eax + 5], cl
mov byte [eax + 7], dl
pop ebx
add esp, 0xc
ret 8